Manuscript Offprint

arXiv:2610.39175

PRISM: Personalized Item Representations in User History

Renzhi Wu, Zikun Cui, Junjie Yang, Li Sheng, Yongjun Xie, Jerry Fu, Nipun Mathur, Sri Reddy, Hong Li

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

Renzhi Wu¹, Zikun Cui¹, Junjie Yang¹, Li Sheng¹, Yongjun Xie¹, Jerry Fu², Nipun Mathur¹, Sri Reddy¹, Hong Li¹

¹Meta MRS, ²Facebook Discovery

Sequential recommenders typically construct history inputs from item identifiers or content features using an embedding map shared across users. The same item therefore yields the same initial embedding representation, even when users have different relationships to the item. We propose personalized item representations in user history, where each item’s embedding expresses its relationship to the user. Personalization becomes a property of the history inputs themselves, supplying richer evidence for later sequence modeling. We instantiate this idea with PRISM, which reuses upstream ranking computation to generate personalized item embeddings. An autoencoder jointly compresses all layer states from a user tower, a user-item tower, and same-request candidate mixing into one embedding per scored pair for downstream replay. Offline evaluation on Surface 1, a major recommendation surface at billion scale, reports an average downstream normalized entropy (NE) change of −0.15%, compared with −0.07% for VISTA at similar history lengths. We further identify an empirical sequence-length scaling law: over history lengths of 26–240 events, NE gain follows a fitted power law with exponent 0.468, increasing from 0.06% to 0.17%. Therefore, personalized item representations in user history provide a new scaling dimension for improving recommendation quality.

Date: October 30, 2026

Correspondence: Renzhi Wu at renzhiwu@meta.com

Keywords: Sequential Recommendation, Sequence Modeling

∞ Meta

1 Introduction

Sequence modeling is central to personalized recommendation. Existing models, including SASRec (Kang and McAuley, 2018), HSTU (Zhai et al., 2024), CMSL (Cui et al., 2026), and OneTrans (Zhang et al., 2025), share a common starting point: each item in user history is mapped to an embedding before sequence processing, using item-side features such as item IDs, creator IDs, and content descriptors. The embedding map is shared across users, so the same item receives the same initial embedding in different users’ histories. After this step, sequence encoders and target-aware interaction learn user-dependent states from these inputs (Zhou et al., 2017, 2018).

Item embeddings: from shared to personalized. The above mentioned standard practice limits personalization at the input stage. For example, a cooking video may be occasional entertainment for a casual viewer but a recurring source of ideas for a food creator. A shared initial embedding does not express these different relationships. Motivated by this limitation, we propose personalized item representations in user history. As illustrated in Figure 1, each history entry represents how an item relates to the user. In the cooking video example, personalized embeddings can distinguish entertainment from professional interest. Furthermore, even for the same user, the same item can receive different embeddings across repeated events as interests and context evolve. This personalizes the initial history inputs for each user and each moment, giving sequence models richer evidence for learning user preferences.

However, our proposal introduces a scalability challenge. A naive approach would train and run a separate user-item model to generate rich embeddings across a large volume of historical events. We observe that recommendation systems often already use an upstream ranker to provide learned user embedding features and teacher labels for downstream models. Such a ranker reads user history and combines user, item, and context features to predict engagement; its hidden states provide learned evidence about each user-item

Figure

Figure 1 From shared item history to personalized item history. A cooking video (A) has the same initial item vector for a casual viewer and a food creator. PRISM represents historical items in relation to the user, supplying personalized evidence to a later sequence model. Hue identifies the item; vector glyphs schematically illustrate shared versus personalized inputs.

encounter. Therefore, we retain this computation in a compact embedding per scored pair and chronologically replay these embeddings to construct a personalized history for later sequence modeling, amortizing generation computation.

The three complementary views through PRISM. We introduce PRISM, an upstream ranker designed to generate personalized item embeddings for downstream sequence modeling. Its representation learning captures three complementary views. User state describes the user's interests at the moment of viewing the item. User-item interaction describes how the item relates to that user state. Session interaction describes the item's relationships with other candidates in the same session, providing evidence about the user's immediate context. Together, these views express the user-item relationship comprehensively at the moment of the historical encounter.

Figure 2 maps these views to a dedicated user tower, a user-item tower, and same-request candidate mixing. The user tower reads prior history and other user features; its states also inform pair modeling. Candidate mixing contextualizes each item through the other items in its request. A detached autoencoder jointly compresses their hidden states from every layer, including candidate-specific and pooled session states, into one personalized embedding. Joint compression allocates one code budget across sources and depths; downstream models learn how to read the retained evidence for their own prediction objectives.

We evaluate PRISM history as an additional input to the ranker for Surface 1, a major recommendation surface at billion scale. PRISM achieves an average normalized entropy (NE; lower is better) change of -0.15%, compared with -0.07% for VISTA (Chen et al., 2025) using similar history lengths. We further identify an empirical sequence-length scaling law (Figure 3): NE gain follows a fitted power law g(L)∝L0.468g(L) \propto L^{0.468}. The sublinear exponent captures improving recommendation quality per additional event at log scale. Therefore, personalized item representations in user history provide a new scaling dimension for improving recommendation quality.

We make four contributions:

  • Personalized item representations in user history. We introduce a new history input design for sequential recommendation in which each item's representation is personalized to the user, allowing the same item to differ across users and time.

  • Embedding generation through upstream reuse. We instantiate this idea with an efficient design, which exports compact embeddings from scored pairs and replays them as history, amortizing upstream ranking computation across future reads.

  • PRISM's three modeling components. We propose the PRISM upstream user model that captures the three complementary views through a user tower, a user-item tower, and same-request candidate mixing. A detached autoencoder then jointly compresses states from every layer into one personalized embedding.

  • An empirical scaling law for personalized history. We identify a scaling law relationship between personalized history length and downstream ranking quality, providing a new scaling dimension for improving recommendation systems.

Figure

Figure 2 Complete PRISM architecture. User states seed the pair workspace; detached pair states feed session mixing. Colored taps gather every layer, including contextual and pooled session states. An autoencoder compresses them for event export and downstream replay. Its decoder learns reconstruction during training.

References (20)