← Latest papers
🤖 machine learning

xGR: Efficient Generative Recommendation Serving at Scale

The paper presents xGR, a specialized serving system that optimizes generative recommendation workloads through unified staged computation, early sorting termination, and multi-level pipeline parallelism to achieve significantly higher throughput under strict low-latency constraints.

Original authors: Qingxiao Sun, Tongxuan Liu, Shen Zhang, Siyu Wu, Peijun Yang, Haotian Liang, Menxin Li, Xiaolong Ma, Zhiwei Liang, Ziyi Ren, Minchao Zhang, Yifan Wang, Xinyu Liu, Ke Zhang, Hailong Yang, Depei Qian

Published 2026-06-30
📖 4 min read☕ Coffee break read

Original authors: Qingxiao Sun, Tongxuan Liu, Shen Zhang, Siyu Wu, Peijun Yang, Haotian Liang, Menxin Li, Xiaolong Ma, Zhiwei Liang, Ziyi Ren, Minchao Zhang, Yifan Wang, Xinyu Liu, Ke Zhang, Hailong Yang, Depei Qian

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are running a massive, high-speed digital library (a recommendation system) that suggests the next book, movie, or product for millions of people at once. For years, this library used a "filtering" method: it would look at a huge pile of books, throw away the bad ones in stages, and finally show you a short list.

Recently, a new method called Generative Recommendation (GR) arrived. Instead of filtering, it acts like a creative writer who reads your entire life story (your history of clicks and views) and then writes the perfect recommendation for you from scratch.

The problem? This new "writer" is incredibly slow when you have thousands of people asking for books at the exact same second. The paper introduces xGR, a new system designed to make this writer fast enough to handle the rush hour without breaking a sweat.

Here is how xGR solves the three main headaches, explained with simple analogies:

1. The "Shared Story" Problem (Solving Memory Waste)

The Issue: Imagine 128 different people (called "beams") are all asking the writer to continue the same story. In old systems, the writer would read the first 1,000 pages of the story 128 separate times, once for each person. This is like a librarian running to the same shelf 128 times to grab the same book, clogging up the aisles.

The xGR Solution: xGR realizes that everyone is reading the same first part of the story. It creates a "Shared Reading Room" where that first part is loaded only once. Then, it sets up separate, small desks for the unique endings each person needs.

  • The Result: The librarian stops running back and forth. The system saves massive amounts of memory and time, allowing it to handle more people at once.

2. The "Sorting Chaos" Problem (Solving Search Slowness)

The Issue: To find the best recommendation, the writer generates many possible endings and has to sort through them to pick the top ones. In the old way, the writer would generate every possible ending, even ones that don't exist (like a book titled "12345" that isn't a real product), and then waste time throwing them away. It's like a chef cooking 1,000 meals, only to realize 500 of them are made of plastic, and then spending time cleaning up the plastic.

The xGR Solution:

  • The "Valid Path" Filter: Before the writer even starts cooking, xGR gives them a list of only the real ingredients (real products). They can't accidentally make a plastic meal.
  • The "Early Stop" Rule: The writer starts sorting the meals. As soon as they find a meal that is clearly worse than the best one they've already found, they stop checking that specific option immediately. They don't waste time finishing the sorting of bad options.
  • The Result: The chef stops wasting time on fake ingredients and stops checking bad dishes halfway through.

3. The "Assembly Line" Problem (Solving Scheduling Delays)

The Issue: In the old system, the manager (the scheduler) would prepare the ingredients, hand them to the chef, wait for the chef to finish, and then prepare the next batch. Everyone stood around waiting. Also, the kitchen was so small that only one chef could work at a time, even though there were many chefs available.

The xGR Solution: xGR turns the kitchen into a high-speed assembly line.

  • Overlapping Work: While the chef is cooking the current dish, the manager is already prepping the ingredients for the next dish. They happen at the same time.
  • Multi-Stream Cooking: Instead of one chef working on one big order, xGR splits the work so multiple chefs can cook different parts of the orders simultaneously without bumping into each other.
  • The Result: The kitchen never stops moving. There is no waiting time between orders.

The Bottom Line

The paper tested xGR on real-world data from a massive e-commerce platform. They found that under strict time limits (where the system must respond in under 200 milliseconds), xGR was at least 2.89 times faster than the best existing systems.

It achieved this not by making the computer chips faster, but by reorganizing how the work is done: sharing the common parts of the story, filtering out impossible options early, and ensuring the kitchen staff never stand idle. This allows the system to serve hundreds of millions of users smoothly, even during the busiest shopping hours.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →