GR4AD-X lifts Kuaishou ad revenue 3.07% over deployed GR4AD

Towards Reliable, Scalable, and Value-Aligned Generative Recommendation for Large-Scale Advertising

Yatong Xiao, Yibo Sheng, Lixiang Wang, Mingjie Sun, Yunhao Sha, Pengfei Zhang, Shengyu Wang, Peng Wang, Wenjin Wu, Peng Jiang

cs.IR, cs.LG

2026-10-28

On Kuaishou, GR4AD-X adds multi-path SIDs, five-axis scaling, and prefix-level eCPM alignment, for a 3.07% cumulative ad-revenue gain over deployed GR4AD.

What problem this solves

GR4AD already turns ad retrieval into autoregressive generation on Kuaishou, serving more than 400 million users. Each ad is a semantic ID (SID): a discrete token sequence from quantizing its embedding one level at a time. Production then showed three leaks.

An ad near a coarse cluster boundary is forced onto one first-level centroid. Beam search keeps a limited set of partial sequences by generation probability. Prune that prefix and the ad cannot be generated later. Making the backbone bigger is a weak trade. From 0.03B to 0.50B parameters, serving throughput (QPS) falls to 18% of the 0.03B variant, and the revenue curve flattens. The model fits the next logged token. The ad system wants eCPM, expected revenue per thousand impressions. HitRate@10 between the two top-10 lists is about 0.02. A sequence-level reward treats the whole SID as one action, so prefixes in the middle receive no credit.

Method

Multi-Path SID changes only level one. Residual quantization (RQ-KMeans) normally keeps the nearest codebook centroid, subtracts it, and passes the residual down. Here the first level keeps the m nearest centroids. Each finishes its own residual path, so the ad gets m SIDs of equal length. The last token is still GR4AD's hash of non-semantic ad features, shared by every path of that ad. Setting m to 1 recovers the old single path. Branching stops at level one, so the path count does not grow exponentially with depth. Training packs the paths into one forward pass. A blockwise causal mask lets them share the user context and hides them from each other. At inference, candidates that land on the same ad are deduplicated and only the highest-scoring path is kept.

Capacity is not added by making the Transformer wider or deeper. It is added on five axes. Inputs take more than 20 user and context features from the production ranker, with the sequence budget reallocated so the length stays fixed. Embeddings of high-cardinality features go from 16 to 64 dimensions, and the feed-forward block becomes SwiGLU. Prefix-Conditioned Gated Memory (PCGM) gives every decoder layer its own SID table and stores 1-gram, 2-gram, and 3-gram prefixes with polynomial hashing. The retrieved vector replaces the dense feed-forward gate, and the lookup uses only tokens already generated. The first SID is predicted with no memory. Diagonal Hyper-Connections split the hidden state into four residual streams with read and write gates, while each attention and feed-forward sublayer still runs once. SARP inserts one continuous token between BOS and the first SID. A frozen first-level codebook is reclustered into a smaller coarse codebook, and prototype classification plus a cosine loss pull that token toward the ad's coarse cluster. At inference the token is computed from the BOS state alone.

UniVGD attaches eCPM before, during, and after generation inside one model. Before decoding, PV-RSPO averages sampled ad rewards onto each prefix and aggregates them up the tree. A light head at each level fits those values with listwise RSPO. During decoding, PV-BeamSearch starts at level two: keep 2k expansions by probability, fuse that ranking with the prefix-value ranking by reciprocal rank fusion (RRF), and retain k. Level one stays probability-only. In experiments the value head nominated coarse codes that contain almost no valid ads, and decode validity dropped. After decoding, one extra step builds a rank token from the full SID plus ad-side features, including eCPM signals. User memory is not recomputed. Lambda Loss aligns one head with position-sensitive eCPM order. Ordinal logistic regression aligns the other with conversion depth. The two rankings are fused with RRF again.

Results

Online A/B tests stack components on deployed GR4AD. Every row is cumulative revenue against that same baseline.

Stackvs GR4AD
Multi-Path SID+0.58%
Input and encoder+0.96%
PCGM+1.43%
Diagonal Hyper-Connections+1.72%
SARP+2.00%
PV-RSPO+2.28%
PV-BeamSearch+2.49%
Discriminative rerank+3.07%

Multi-Path delivers its 0.58% at the same beam width and the same decoding depth, with no added latency. The five scaling axes add 1.42 points. UniVGD adds 1.07. Reranking is the largest single step, from 2.49% to 3.07%. PV-RSPO and PV-BeamSearch add 0.28 and 0.21 points. Training-time alignment still lets decoding prune high-eCPM prefixes.

The scaling baseline is the 0.16B model with Multi-Path SID, at 100% QPS. All five axes reach 0.49B parameters, about 3.1 times larger, +1.41% revenue, and 85% QPS. In the same experiments a dense backbone at 0.50B reaches only +0.53% revenue and 33% QPS. PCGM moves the model from 0.20B to 0.46B while QPS recovers from 90% to 95%, because part of the dense gate is replaced by a lookup. SARP adds almost no parameters and cuts first-level SID loss by about 3%.

Boundary ads are common. Across 7.556 million ad embeddings and 16,384 first-level centroids, the distance ratio r=d1/d2 is at least 0.90, 0.95, and 0.99 for 48.34%, 29.31%, and 7.21% of ads. About 2.21 million ads have r at least 0.95, so the second centroid is at most 5.26% farther than the nearest. First-level HitRate@1 rises from 14.38% to 17.58%, a relative gain of 22.28%. HitRate@16 goes from 51.25% to 55.78%, and HitRate@64 from 72.58% to 77.03%.

Before UniVGD, full-SID HitRate@10 against eCPM is 0.021. Level one alone is 0.017 and the first two levels are 0.019. After UniVGD the full SID reaches 0.298, about 14 times higher. Level one does not use value fusion, yet its HitRate@10 still rises to 0.145, from PV-RSPO updating the shared representations. UniVGD barely changes the parameter count, adds one token, and keeps 75% of that earlier Base QPS.

Why it matters

The 3.07% is revenue measured against GR4AD already running on an ad system with more than 400 million users. It is a second production step, and a modest one. Each increment cleared an online A/B test.

When latency is capped, half a billion parameters spent on vocabulary memory and extra residual streams returns more revenue and keeps more throughput than spending them on a wider backbone. On a hierarchical SID, leaf eCPM has to be written back onto prefixes, and beam pruning should fuse ranks. Log probability and the value head do not share a scale, so mixing the raw scores does not line them up. Multi-Path does not deepen decoding, and the tail token stays the old hash. Patching boundary coverage on an existing generative retriever is a smaller change than replacing the backbone.

Limitations

The paper has no separate limitations section.

The A/B tests stack in a fixed order. Each gain is conditional on the components already added. There is no leave-one-out run, and no confidence interval, traffic share, or test duration. One table is relative to deployed GR4AD. The other is relative to the 0.16B Multi-Path model. Those QPS figures cannot be divided into end-to-end throughput versus the original system. The paper says latency constraints still hold, and it does not report p99 latency or absolute QPS.

The production value of m is not stated. Extra paths occupy beam slots. After dedup, the share of slots taken by repeated ads is not reported. The net effect is only the 0.58% revenue line. Every level below the first still keeps a single centroid, so boundary ambiguity deeper in the tree is untouched.

After alignment, full-SID HitRate@10 is still 0.298. About seven in ten of the top-10 eCPM ads are outside the model's top 10. Handing level one to the value head makes valid candidates clearly worse. That is why fusion starts at level two, but the size of the drop is not reported. Prefix eCPM comes from ads rolled out by the current policy. Whether that credit assignment keeps narrowing the distribution is unchecked. There is no public-dataset comparison against generative retrievers such as TIGER. Higher revenue is not a measurement of user experience or advertiser outcomes. Conversion depth is constrained only inside the rerank behavior head.

Terms

Source

What people are saying

Related papers

All paper explainers