LearnQuestion bank

Kuaishou’s OneRec replaced the retrieve-then-rank cascade with one generative encoder–decoder, aligned through a reward model and reinforcement learning, and reported operating cost at about a tenth of the cascade. Make the case for and against end-to-end generative recommendation, and say how you would test the idea at a company that runs a mature cascade today.

ResearchTechnicalHard

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Cascade weaknesses: stages optimised for inconsistent objectives, fragmented compute with low accelerator utilisation, and error compounding across retrieve/rank/rerank.
  • Generative case: one objective end-to-end, LLM-like MFU, compute that scales with model size within reported bounds, and lower communication/storage overhead; OneRec reports roughly a tenth of cascade operating cost.
  • RL with a reward model aligns several objectives but risks reward hacking and a reward model that drifts from real user behaviour.
  • Costs: autoregressive decoding latency, loss of explicit control points for business rules and diversity, harder debugging; OneRec-V2 found sequence encoding dominated compute and moved to a lazy decoder-only design.
  • Staged test: run on a small share of traffic beside the cascade, compare engagement and long-term retention, and monitor diversity, freshness and cost per request.

In full

The core case for end-to-end generative recommendation is that it removes the cascade’s structural mismatch: retrieve, rank and rerank are optimised for different objectives, run as fragmented stages with poor accelerator utilisation, and compound errors as candidates flow down. A single generative encoder-decoder optimises one objective, behaves more like an LLM with high MFU, and reportedly scales within bounds while cutting communication and storage overhead, with OneRec reporting operating expense at about 10.6% of the cascade’s. The RL-with-reward-model step is what makes it attractive, because it can align several objectives at once, but it is also the main risk: the policy can learn to satisfy the reward model rather than the user, and the reward model itself can drift from real behaviour as preferences and inventory change. The honest counterpoints are latency from autoregressive decoding, the loss of explicit control points for business rules, safety and diversity, and harder debugging when a bad recommendation is produced by one opaque model rather than an inspectable stage; OneRec-V2’s move to a lazy decoder-only design after finding sequence encoding dominated compute is a useful reminder that the naive architecture is not the final answer. So I would not replace the cascade on day one: I would run the generative model beside the cascade on a small share of live traffic, compare engagement and long-term retention rather than only immediate clicks, and track diversity, freshness and cost per request, with a clear rollback path if the generative path wins on cost but loses on retention or control.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Names cascade weaknesses: stages optimised for inconsistent objectives, fragmented compute with low accelerator utilisation, and error compounding between stages.
  • Explains the generative case: one objective, compute that scales with model size (OneRec reports scaling within bounds), LLM-like MFU, and lower communication and storage overhead.
  • Discusses RL with a reward model: preference alignment across several objectives, but risks of reward hacking and of a reward model that drifts from real user behaviour.
  • Covers the costs: autoregressive decoding latency, loss of explicit control points for business rules and diversity, and harder debugging; notes OneRec-V2 found sequence encoding dominated compute and moved to a lazy decoder-only design.
  • Proposes a staged test: run on a small share of traffic beside the cascade, compare engagement and long-term retention, and monitor diversity, freshness and cost per request.

Common mistakes

  • Assuming a single model removes the need for any re-ranking or policy layer.

Follow-ups

  • Which metric would make you stop the rollout even if watch time went up?
  • How would you stop the reward model being exploited by the policy?