TL;DR
Generative recommendation (GR) models treat user histories as sequences, but the specific ordering of item and action tokens—the "layout"—drastically impacts both accuracy and compute cost. This paper introduces Lagged Action Conditioning (LAC), a non-interleaved layout that pairs current items with previous actions to preserve causal relationships without doubling sequence length. LAC achieves the high accuracy of expensive interleaved layouts while cutting training compute costs by over 30%.
The Layout Problem in Generative Recommendation
In Generative Recommendation, a user's interaction history is modeled autoregressively, similar to tokens in a Large Language Model. However, users don't just interact with items; they perform actions (e.g., watch time, purchase, like). The challenge lies in the layout: how to feed both items ($I$) and actions ($A$) into the model.
- Interleaved layouts (e.g., $I_1, A_1, I_2, A_2$) are causally sound but double the sequence length, leading to a quadratic increase in Transformer attention compute cost ($O(T^2)$).
- Non-interleaved layouts pack items and actions together to save space. However, many existing designs suffer from information leakage (predicting an action using the action itself) or fail to preserve the "action given item" causal direction.
Methods: Lagged Action Conditioning (LAC)
The authors establish three first principles for GR layout design: maximizing information utilization (P1), preserving natural causal direction (P2), and ensuring leakage safety (P3). To satisfy these without the overhead of interleaving, they propose Lagged Action Conditioning (LAC).
Instead of pairing an item with its corresponding action at step $t$, LAC pairs the current item with the previous action:
- Input at step $t$: $(i_t, a_{t-1})$
- Target to predict: $(i_{t+1}, a_t)$
This "lag-by-one" trick allows the model to predict the current action ($a_t$) conditioned on the current item ($i_t$) and historical context, without leaking $a_t$ into the input. It also enables "early fusion," where the Transformer uses the target item to selectively attend to relevant historical interactions deep within the network's layers.
Key Results
The authors evaluated LAC on Amazon Reviews, Kuaisar (short-video), and a massive proprietary industrial dataset.
Accuracy and Scalability
LAC consistently outperforms other non-interleaved baselines and performs on par with (or slightly better than) the compute-heavy interleaved layout across all datasets. As shown in the scaling analysis, the performance benefits of LAC hold firm as model size increases from 50M to 774M parameters.
Efficiency and Inference
Because LAC maintains a sequence length of $T$ rather than $2T$, it reduces training costs by 31.3% to 42.7% compared to interleaved approaches. Furthermore, LAC supports efficient one-pass parallel scoring for candidate items, keeping inference FLOPs significantly lower than interleaved methods.
Conclusion
Layout is a critical, often overlooked degree of freedom in Generative Recommendation. By treating layout as a first-class design axis, the authors demonstrate that LAC provides a principled recipe for building efficient, high-performance GR systems. Future work may extend this framework to multi-modal action spaces and alternative architectural backbones.
Summary updated