CTU logo
EARL 2026 · CIKM 2026 · Rome

Encoded but Exposed

Language Embeddings can Reveal More Than They Should in Recommender Systems

Embeddings Leave the Platform

Platforme.g., a movie streamertitles and plots
$\phi$
item embeddingshigh-dimensional, not readable
Third partyrecommender service,partner, vendor,research communityidentity hidden: protects users and company data?leaked or sharedAdversarypublic catalogueIMDb, TMDb, an LLMitem identities recoveredembedding → title

Why It Matters

Everywhere
Language embeddings of item descriptions, reviews and queries are increasingly used in recommenders, in research and in industry.
Shared as if private
High-dimensional and not readable, they are often perceived as privacy-preserving and are shared with third-party providers.
Items are public
Movies and books are described in public catalogues and datasets: an adversary can rebuild a similar corpus without the original one.
Our question
Can an exposed embedding reveal which item it represents, and through the items, the users?

Who Knows What

Victim
$x_1$
$y_1$
$\phi$
$z_1$
$x_2$
$y_2$
$\phi$
$z_2$
$x_i$
$y_i$
$\phi$
$z_i$
keeps text and titles, exposes only the embeddingsAdversarysame encoder
$\phi$
a common assumptionlabelled public catalogue
$\bar{x}_1$
$\bar{y}_1$
$\bar{x}_2$
$\bar{y}_2$
$\bar{x}_j$
$\bar{y}_j$
titles known: IMDb, TMDb, or written by an LLM
Closed candidate set
$\mathcal{I} = \bar{\mathcal{I}}$
every candidate is a victim item
Open candidate set
$\mathcal{I} \subsetneq \bar{\mathcal{I}}$
victim items hidden among distractors
victim item distractor

A Simple Attack

leaked embedding
$z_i$
public catalogue
$\bar{x}_1$
$\phi$
$\bar{z}_1$
$\bar{x}_2$
$\phi$
$\bar{z}_2$
$\bar{x}_n$
$\phi$
$\bar{z}_n$
cosinesimilarityranking of the candidates1234best match
$\hat{y}_i = \bar{y}_{j^*}$
No training
Score $\pi_i(j) = \cos(z_i, \bar{z}_j)$ and predict $\hat{y}_i = \bar{y}_{j^*}$, with $j^* = \arg\max_{j} \pi_i(j)$. A non-parametric attacker measures what the space itself reveals.

What We Tested

Six sentence-transformersMiniLM-L6d = 384MiniLM-L3d = 384mMiniLM-L12d = 384DistilRoBERTad = 768MPNet-QAd = 768ALBERT-smalld = 768Two domains, top 10K items eachMovieLens 32Mmovie plotsGoodReadsbook synopsesVictim text vs adversary textvictimadversary
$T{+}D$
$D$
$\bar{T}$
titles onlyLLM
$\bar{D}$
D and D̄ come from different sources
Candidates and metricclosedopen1,0003,0005,0002,0003,0004,000metric: mean reciprocal rank (MRR)
Each value is averaged over 100 random samples of the victim and candidate items.

Item Identities Leak

Open candidate set, 4,000 candidates
MovieLensadversary: titlesadversary: descriptions
$T{+}D$
$D$
$T{+}D$
$D$
MiniLM-L60.990.870.740.72MiniLM-L30.950.710.690.65mMiniLM-L120.910.720.670.64DistilRoBERTa0.990.880.740.71MPNet-QA0.960.840.740.75ALBERT-small0.940.720.670.62victim text
GoodReadsadversary: titlesadversary: descriptions
$T{+}D$
$D$
$T{+}D$
$D$
MiniLM-L60.910.600.870.62MiniLM-L30.820.450.690.44mMiniLM-L120.660.360.510.34DistilRoBERTa0.910.610.870.62MPNet-QA0.860.580.800.58ALBERT-small0.870.500.770.51victim text
Overlap: the title
adversaryvictimsame title
$\bar{T}$
$T{+}D$
00.51movies0.91 to 0.99books0.66 to 0.91
A title is almost enough.
No overlap: independent descriptions
adversaryvictimLLM≈meaning
$\bar{D}$
$D$
00.51movies0.62 to 0.75books0.34 to 0.62
Semantics alone can reveal the item.

Obfuscation: A Leakage–Utility Tradeoff

Obfuscated descriptions $\tilde{D}$
gpt-oss-20b rewrites 5,000 plots without titles, cast or franchise names. MovieLens MRR over the six encoders:
00.51adversary: titlesadversary: descriptions
$T{+}D$
0.95 to 1.00
$D$
0.78 to 0.92
$\tilde{D}$
0.12 to 0.17
$T{+}D$
0.73 to 0.81
$D$
0.70 to 0.82
$\tilde{D}$
0.43 to 0.51
closed 1,000 open 4,000
But utility drops
Inductive matrix factorisation $R \approx MH$ on MovieLens: with $\tilde{D}$, every encoder predicts and ranks worse.
RMSE, lower is better0.910.920.930.94Spearman, higher is better0.510.530.55MiniLM-L6MiniLM-L3mMiniLM-L12DistilRoBERTaMPNet-QAALBERT-small
$T{+}D$
$D$
obfuscated
$\tilde{D}$

From Items to Users

Re-identifying a user
$u^\star$
$A_{u^\star} = \{(j, y)\}:\ k\ \text{known ratings}$
$\bar{x}_{1}$
★
$\bar{x}_{2}$
★
$\bar{x}_{3}$
★match through item similarityall users
$u_{1}$
$u_{2}$
$u_{3}$
$u_{4}$
$u_{5}$
$u_{6}$
score, then rankrank 1
$\mathrm{score}(u) = \sum_{(j, y) \in A_{u^\star}} \max_{i:\, r_{ui} = y} S_{ij}$
for each known rating $(j, y)$: the item $i$ that $u$ rated $y$ and that is most similar to $j$
MovieLens, $|\bar{\mathcal{I}}| = 3{,}000$
Closed set00.512345
$k\ \text{known ratings}$
user MRR
Open set00.512345
$k\ \text{known ratings}$
user MRR
$\bar{T}\ \text{vs}\ T{+}D$titles vs titles and descriptions
$\bar{D}\ \text{vs}\ D$descriptions vs descriptions
$\bar{D}\ \text{vs}\ \tilde{D}$descriptions vs obfuscated
$\bar{T}\ \text{vs}\ \tilde{D}$titles vs obfuscated
line: mean over the six encoders; band: their range
A few ratings find the user. Only obfuscation against a title-only adversary stops it.

Takeaways

Not anonymous
0.91 to 1.00
item MRR from titles
Independent descriptions still reach 0.62 to 0.82.
Leakage spreads
0.94 to 0.96
user MRR from 5 ratings
A few known ratings are enough to find the user.
Costly defence
0.07 to 0.17
item MRR from titles, obfuscated
Descriptions still leak, and quality drops.
Nextstronger attacksbroader domainsdefences that keep the semantics
CTU logo
EARL 2026 · Encoded but Exposed

Thank you!

Questions?