
Image: METAL
Summary
- R4T trains a fan-out language model with reinforcement learning, then uses the data that model produces to teach a small diffusion model that emits ten sub-queries in a single pass at inference time, with no chain-of-thought tokens.
- The reward blends groundedness at 0.6, diversity at 0.2 and alignment at 0.2, and without the diversity term the model collapsed into a shortcut of generating nonsensical strings.
- The OpenReview record notes that whether gains on semantic metrics translate into service metrics such as click-through rate remains an open question.
Google Research on September 15 published on its company blog a new framework called Retrieve-for-Train, or R4T, that returns search results as a set rather than a single item. The post was written by Student Researcher Pengcheng Jiang and Senior Research Engineer Judith Yue Li, and the underlying paper, Efficient, Property-Aligned Fan-Out Retrieval via RL-Compiled Diffusion, was accepted to ICML 2026 under the names of 11 researchers from Google Research and the University of Illinois Urbana-Champaign. The core idea is to stop asking a large language model to split a query into several directions on every search, and instead run reinforcement learning exactly once and transfer that behavior into a small diffusion model with 53.9 million parameters. According to the paper and the OpenReview record, both of which METAL read in full, the approach expanded queries 12 to 20 times faster than the autoregressive method.
The problem setup explains why. According to Jiang and Li, search and recommendation today should return, for a query like camping gear, not ten variations on a four-person tent but a complementary set such as a tent, a sleeping bag, a portable stove and a headlamp. Systems do this with a fan-out technique that spreads a broad query into several sub-queries, and handing that to a general-purpose language model runs into two problems. One is repetition. Given the query bohemian festival style, a standard model produces synonyms such as bohemian festival fashion and bohemian festival clothes, missing the directions a fashion expert would name, like fringe jackets, crochet dresses or suede boots. The other is latency. Producing good sub-queries requires generating hundreds of chain-of-thought tokens first, and a structure that emits tokens one at a time does not fit the sub-second response a search bar demands.
R4T has three steps. First, 4-billion-parameter open models such as Gemma3-4B and Qwen3-4B are trained with reinforcement learning to produce ten sub-queries per query. The reward is a composite of three terms: groundedness, which measures how close a sub-query is to a real item in the database, diversity, measured with the Vendi Score, and alignment, which checks that the sub-query has not drifted from the original query. The default weights in the paper are 0.6 for groundedness and 0.2 each for diversity and alignment. Optimization uses Soft-GRPO, group relative policy optimization with soft PPO regularization. In the second step, the trained model is frozen and used offline to synthesize pairs of queries and target sets, with no human labels at all. According to the authors' rebuttal, 128 samples were drawn per query at temperature 0.9 so the training data captured the whole distribution rather than a single best trajectory. In the third step, the 53.9-million-parameter diffusion model learns to go directly from a query embedding to a set of target embeddings, and at inference it produces ten directions in one non-autoregressive pass and maps them to real items by nearest-neighbor retrieval.
The part of the reward design the authors stressed most is preventing shortcuts. Jiang and Li wrote, "Without a diversity term, the model quickly collapses into generating degenerate, nonsensical strings, like line ending line ending, to mathematically exploit the vector coordinates of the database." Adding alignment on top of groundedness made it collapse even faster, this time by simply repeating paraphrases of the original query, and only with all three in place was the policy pushed into a balanced region where it had to land on real items while finding genuinely different directions. In the paper's weighting experiments, too much groundedness broke alignment, and too much alignment and diversity suppressed exploration.
Performance was measured on two tasks. In open-ended abstract retrieval, where there is no ground truth, Gemini-2.5-Pro served as judge and scored diversity, alignment and groundedness on a five-point scale; in compositional retrieval with weak reference sets, the paper reports recall and hit rate. The data are Polyvore, a fashion benchmark of user-curated outfits, and a proprietary set of expert-made music playlists. In the paper's tables, the Gemma3-4B average on the fashion task went from 38.5 zero-shot and 40.9 for Best-of-N, which picks the best of five candidates, to 49.1 for the RL-trained R4T model, and the diversity score rose from 56.0 to 76.8. On music the average went from 48.1 to 58.1. Recall at 5,000 on the compositional task rose from 6.0 to 16.9 for Gemma and from 10.1 to 20.9 for Qwen, surpassing Gemini-2.5-Flash at 15.7, and the distilled diffusion models scored 15.0 and 16.5. Speed was more dramatic still. The autoregressive model took 1.46 seconds at batch size 8 and nearly 50 seconds at batch size 1,024, while the diffusion model took 0.07 and 4.21 seconds respectively.
From an engineer's perspective, the paper's real claim is about where to put reinforcement learning. Jiang and Li wrote, "We demonstrated that RL can be highly effective when used as a one-time objective transducer rather than an online inference engine." The logic is that separating the heavy computation of finding behaviors through rewards from the model that actually ships lets set-level objectives that humans cannot label be turned into supervised training data. METAL has reported that Google took a similarly reversed synthesis approach for tool-use data, generating the answer first and attaching the question afterward. Both studies point in the direction of inventing data where labels do not exist.
The review record spells out what more is needed for the method to leave the paper. According to OpenReview, the paper was accepted as a regular paper, but the meta-review recommended a weak accept, and one reviewer kept their score after the rebuttal, noting that the paper does not show whether improvements on semantic metrics such as diversity and alignment translate into real service metrics such as click-through or conversion rates. The authors added a human evaluation during the rebuttal. For each model family they gave 35 broad queries to five or six raters, 419 ratings in total, and Qwen's diversity score rose from 2.74 to 3.26 with a p-value of 0.0003, while Gemma's went from 3.48 to 3.75 with a p-value of only 0.08. The paper's appendix states that the reinforcement learning stage becomes costly when the database is very large or changes often, that preferences hard to write as a scalar reward, such as creativity or cultural sensitivity, are difficult to capture, and that evaluation on the open-ended task relies on a language-model judge. The authors replied that in a production setting the stage-one reward could include click-through proxies or a reward model learned from user feedback, and whether that link holds in a real search bar is the framework's next test.





Comments