Manuscript Offprint

arXiv:2608.25546

An Event is Worth One Token: Event Tokenization for Industrial-scale LLM Recommendation

Fan Xia, Zhaoheng Zheng, Iman Setayesh, Ruogu Lin, Yiqin Pan, Samarth Mittal, Wentao Bao, Vinti Pandey, Sachin Patil, Jianpeng Cheng, Jun Xiao, Zhuang Wang, Xiangjun Fan, Sri Reddy, Minghai Chen

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

Fan Xia ∗,†^{*,\dagger}, Zhaoheng Zheng ∗^{*}, Iman Setayesh ∗^{*}, Ruogu Lin ∗^{*}, Yiqin Pan ∗^{*}, Samarth Mittal ∗^{*}, Wentao Bao, Vinti Pandey, Sachin Patil, Jianpeng Cheng, Jun Xiao, Zhuang Wang, Xiangjun Fan, Sri Reddy, Minghai Chen

*Core contributors, †\daggerCorrespondence, AI at Meta

LLM-based recommendation has scaled along model capacity and sequence length, yet each position encodes only text, semantic IDs, or a few categorical features—discarding rich user, item, context, and outcome signals available at each event. Under autoregressive modeling, this yields weak queries at each position and, since each position becomes context for the next, the degradation compounds across the sequence. We propose an event-centric paradigm that represents each interaction by its full temporal snapshot, and identify a new scaling dimension we term snapshot resolution: the amount of information encoded per event. To efficiently scale snapshot resolution, we introduce AMBER (Autoregressive Modeling via Bottlenecked Event Representation), which compresses each temporal snapshot into a compact Event Token, a new LLM input modality. The representation is learned end-to-end, while Event Tokens are pre-computed and cached for serving, decoupling snapshot resolution from real-time serving compute. On industrial-scale ranking and retrieval benchmarks, AMBER advances the compute-quality Pareto frontier relative to alternative recommendation paradigms. At sufficient capacity, a single unified tokenizer even outperforms dedicated per-entity tokenizers, demonstrating positive transfer across structurally different entity types. AMBER's Event Tokens also transfer across model architectures: when integrated into a heavily optimized non-LLM ranker as serving-time historical features, they yield statistically significant improvements. Further scaling Event Tokenizer capacity provides additional improvements.

Date: August 24, 2026

Correspondence: Fan Xia at xiafanaifb@meta.com

Meta

1 Introduction

Large autoregressive models are increasingly applied to sequential prediction tasks that operate over real-world events: recommendation model sequences of user interaction events [5, 24, 26], world models predict future states from observation-action sequences [3, 11, 19], and financial models forecast market movements from financial event sequences [23]. These domains share a common structure: each sequence position encodes a temporal snapshot—a structured record of the system’s observations at event time—collectively described by a heterogeneous set of signals. We refer to foundational models that predict future states from structured event sequences as Large Event Models (LEMs). While LLMs operate over a fixed vocabulary, LEMs operate over temporal snapshots of real-world events.

The distinction between LEMs and LLMs lies in what we call snapshot resolution. At each moment, the true system state contains far more information than any system can record; snapshot resolution is how much of it a model actually captures—formally, the number of distinct signals encoded per event. For example, recommendation events contain user, item, context, and outcome signals, while robotic-control events contain visual observations, joint states, and active subgoals. Under autoregressive training, higher snapshot resolution at each position improves both sides of the attention mechanism: the query expresses more fine-grained intent, and the key-value history retains more contextual detail for all downstream positions.

Industrial recommendation—a representative large-scale LEM instance—currently faces a strict trade-off between sequence length and snapshot resolution, driven by serving compute requirements: in large-scale recommendation systems, feature-related operations (storage, deserialization, and network transfer) can rival or even exceed GPU compute. This bottleneck forces architectures into compromises. Traditional pointwise models [6, 28] retain comprehensive heterogeneous features for the current query but represent the user history sparsely. Conversely, recent autoregressive models excel at sequence modeling but are forced to reduce detailed historical events to simple item-semantic representations [4, 5, 7, 24] or manually curated feature subsets [12, 26]. In both cases, this forced information loss weakens individual predictions, and because each position acts as context for the next, the degradation compounds progressively across the sequence.

Prior work demonstrates that LLMs can process compressed latent representations, such as visual tokens, after alignment with their embedding space [21, 22]. Therefore, we propose AMBER

Fan Xia et al.

Figure

Figure 1: Scaling snapshot resolution under total training and serving FLOPs, including CPU feature materialization. Moving from Semantic IDs and content-understanding embeddings to item features and then full event features progressively advances the Pareto frontier. By asynchronously computing and caching Event Tokens, AMBER makes full-feature scaling practical and gives Event Tokenizer scaling a more favorable compute-quality trend than User LLM scaling (Sec. 5.4).

(Autoregressive Modeling via Bottlenecked Event Representation), an architecture centered around a unified Event Tokenizer. Rather than feeding raw features directly to the sequence model, the tokenizer encapsulates the vast heterogeneous signals of each temporal snapshot into a compact Event Token, which is then consumed autoregressively by the downstream sequence model. The entire pipeline is trained end-to-end, learning an efficiently compressed event token representation that scales effectively with downstream LLM capacity. At serving time, because tokenization is per-event and history-independent, it is triggered asynchronously as events occur, and the resulting Event Tokens are cached into the user's history sequence (Figure 2). Consequently, caching each Event Token after a single asynchronous computation avoids materializing raw features during real-time inference, decoupling snapshot resolution from serving compute requirements.

We verify that snapshot resolution is a viable and effective scaling dimension for industrial recommendation. On top of this finding, we demonstrate that the event token paradigm has the following additional properties that make it well-suited for industrial recommendation at scale:

First, Event Tokenizer capacity can be scaled independently to improve downstream performance with minimal impact on real-time serving compute. Since tokenization is triggered once per impression and cached, scaling Event Tokenizer capacity yields a favorable compute-quality trade-off. It yields substantial downstream quality improvements while adding negligible compute requirements to the primary online serving path.

Second, downstream LLM performance scales predictably with capacity over Event Tokens. By treating these compact tokens as a standardized continuous input modality, the downstream sequential model yields monotonic performance improvements as its parameter capacity increases. This indicates that rather than experiencing excessive compression, the Event Tokens retain sufficient fine-grained semantic information to successfully unlock the scaling laws of the downstream model.

In addition to these contributions, we share practical lessons from operating AMBER in a large-scale recommendation system, focusing on recurrent representation drift and Event Token storage. Periodic tokenizer retraining required by open vocabularies and evolving user trends shifts the representation space, making newly generated tokens incompatible with cached histories. We mitigate this instability with an adversarial recurrent alignment strategy that constrains drift across encoder updates. We also apply Matryoshka Dropout and quantization-aware training to reduce Event Token storage.

We evaluate AMBER in a large-scale production environment, covering both ranking and retrieval. Under total training and serving compute, AMBER advances the compute-quality Pareto frontier relative to alternative recommendation paradigms. By aligning Event Tokens with the LLM embedding space, AMBER enables pretrained weights to outperform random initialization, supporting Event Tokens as a new LLM input modality. Large-scale evaluation further shows that an existing non-LLM ranker can directly consume Event Tokens as additional historical features, yielding a statistically significant improvement.

In summary, AMBER introduces event-level tokenization to incorporate heterogeneous features into event sequences, enables compute-efficient scaling through asynchronous tokenization, and addresses the representation drift and storage challenges of large-scale use.

References (17)