arXiv:2610.21713cs.CROct 2026

Manuscript Offprint

arXiv:2610.21713

Encoded but Exposed: Language Embeddings can Reveal More Than They Should in Recommender Systems

Linda Beková, Rodrigo Alves

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Language embeddings are increasingly used in recommenders to represent item content, but their privacy risks remain poorly understood. We study whether item embeddings can reveal item identities when an adversary has access to auxiliary item text from external sources. We show that a simple cosine-similarity attack can recover item identities with high mean reciprocal rank across language models and candidate-set settings on two real-world datasets. Leakage is strongest when the adversary's partial information overlaps with the victim representation, but it also persists through semantic alignment between independently sourced descriptions. We further show that item leakage can propagate to user re-identification from sparse ratings. Finally, we evaluate obfuscated descriptions as a mitigation and find a clear leakage–utility tradeoff.

Keywords: Recommender Systems, Language Embeddings, Privacy Leakage

1 Introduction

Motivation Recommender Systems (RSs) rely on effective representations of users and items to capture preferences [13], intent [19], and contextual signals [2, 22]. Recent advances in language models have made it possible to derive richer representations from natural language data, such as item descriptions, reviews, and queries [39]. Consequently, natural language embeddings are increasingly used in both research [16, 32] and industrial settings [6, 15, 26] to support more accurate and context-aware recommendations.

Besides improving downstream recommendation tasks, language embeddings are often perceived as privacy-preserving because they are high-dimensional and not directly interpretable by humans. For instance, embedding representations of users and items are frequently shared with third-party service providers [8, 11, 36]. However, this assumption can be particularly fragile in recommendation system scenarios [3, 4]. Although a potential adversary may not have access to the original corpus used to generate the embeddings, domain knowledge and the abundance of publicly available item data [9, 10, 35] can make attacks more feasible than in settings where the underlying information is entirely internal or difficult to obtain. Therefore, even if an attacker does not have access to the exact movie plots used by a streaming provider to generate such embeddings, publicly available movie datasets [27, 28] can be used to construct a similar corpus, enabling effective inference attacks. Our work focuses on studying the robustness of item embeddings generated by different language models in recommender settings by examining whether it is possible to identify which items correspond to a given set of embeddings.

Related Literature Song and Raghunathan [29] provide a taxonomy of privacy attacks against embeddings, showing that the typical goals are to infer private attributes from embeddings (e.g., the title or genre of a movie) [12, 18, 30], determine whether specific data or contexts were used during training [21, 23], or reconstruct the original input text from its representation [12, 24]. Our work is more closely related to the first category. In this setting, the adversary is assumed to have access to the embedding function and to an auxiliary labeled dataset that contains labels of a discrete sensitive attribute. The attacker then learns a classifier over the embedding space in order to infer sensitive attributes directly from the embedding representations.

Attribute inference from embedding-based models has been studied as a privacy risk across domains. Prior work shows that text embeddings can encode sensitive attributes even when the original text is unavailable [41], and similar leakage has been observed in computer vision embeddings designed for utility tasks [1]. More broadly, [30] show that models can encode information beyond the training objective, a phenomenon they call overlearning. In RSs, this risk has mainly been studied for user representations: transferred [11] or graph-based [38] recommender embeddings can leak private user attributes, motivating recent attribute-unlearning and in-training defenses [7, 20, 36]. In contrast, our work shifts the focus to item-level privacy, treating item identity as a discrete sensitive attribute inferred from item embeddings.

Another line of work in RS privacy and security studies whether users or user-item interactions can be de-anonymized from recommendation data. Early work showed that sparse rating patterns are often distinctive enough to re-identify users in anonymized datasets [25]. Subsequent studies demonstrated that even without explicit demographics, rating behavior can reveal sensitive user attributes: for example, [34] infers user gender from ratings using only a small set of users with disclosed demographic labels. More recent work extends this perspective to membership inference, asking whether a user or a specific user-item interaction was part of a recommender's training data [37, 40], and to cross-domain record linkage, where rating patterns are used to link user identities across datasets from different domains [31]. Our work connects to this direction by showing that item-level identity leakage can propagate to user-level privacy risks.

Contributions. Our contributions are as follows: we (i) formulate item-identity inference from exposed language embeddings in RSs; (ii) show substantial leakage across datasets, candidate settings, and models; (iii) study obfuscation and its leakage–utility tradeoff; and (iv) show that item leakage can propagate to user re-identification.

References (40)