Google Research Introduces Retrieve-for-Train (R4T): An RL-Compiled Diffusion Retriever for 12× to 20× Faster Query Fan-Out

2026年9月17日 06:19
站內 AI 整理稿

Search and recommendation systems increasingly need to return a set of results, not one best match.A query like ‘camping gear’ should return a tent, a sleeping bag, a stove, and a headlamp.It should not return 10 near-identical tents.

Google Research has introduced Retrieve-for-Train (R4T) for this problem.The framework uses reinforcement learning (RL) once, offline, to learn good query fan-out.It then distills that behavior into a small diffusion model that produces all retrieval directions in 1 pass.

Why Standard Fan-Out Falls Short Query fan-out splits one broad prompt into several sub-queries.The research team identifies 2 problems when a generic LLM does this at inference time.The first is paraphrastic collapse.

For ‘Bohemian festival style,’ zero-shot Qwen3-4B wrote ‘bohemian festival fashion’ and ‘festival bohemian clothes.’ These near-synonyms retrieve a homogeneous slate.The second is latency.Autoregressive generation plus repeated retrieval calls is slow.

Best-of-N sampling improves quality but multiplies inference cost.The 3-Step R4T Pipeline Fan-out LM training: A fan-out language model (FOLM) generates k sub-queries.A frozen dense retriever executes them.A set-level reward scores the whole retrieved set, not each item alone.

Supervision synthesis: The trained FOLM samples 128 fan-outs per query at temperature 0.9.These become (query, target set) training pairs with no human labels.For open-ended tasks, targets are retrieved-content embeddings.For compositional tasks, targets are sub-query embeddings.

Diffusive retriever training: A 53.9M-parameter diffusion transformer learns to map a query embedding to a full set of target embeddings.It uses a variance-exploding formulation within the EDM framework.At inference, it generates all embeddings in a single non-autoregressive pass.

Nearest-neighbor search then maps each embedding to database items.Reward Design and Reward Hacking For open-ended abstract retrieval (OAR), the reward combines 3 weighted terms: Groundedness (λg = 0.6): penalizes distance between each sub-query embedding and its nearest database item.

Diversity (λd = 0.2): the Vendi Score over representative retrieved items, such as the top-1 item per sub-query.Alignment (λa = 0.2): mean cosine similarity between each sub-query and the original query.

For weakly supervised compositional retrieval (WSCR), the reward is the fraction of reference-set items the fan-out retrieves.The ablation explains why all 3 OAR terms are important.With groundedness alone, Gemma3-4B converged to strings like ‘line ending line ending line ending.

’ Adding alignment made collapse even faster, as the policy repeated paraphrases of the query.Adding diversity closed both shortcuts.Training uses GRPO with soft PPO regularization, which adds forward and reverse KL penalties.

Key settings include group size 8, learning rate 1×10⁻⁷, and global batch size 512.Interactive Explainer (function(){var f=document.getElementById("r4t-mtp-frame");window.addEventListener("message",function(e){if(!f||e.source!==f.contentWindow)return;var d=e.data;if(d&&typeof d.

r4tHeight==="number"&&d.r4tHeight>200){f.style.height=d.r4tHeight+"px";}});})(); Results Experiments used the Polyvore fashion outfit dataset with a CLIP-based matryoshka encoder at 128 dimensions.They also used a proprietary expert-playlist music dataset with MuLan embeddings.

Every fan-out method produced k = 10 sub-queries, and Best-of-N used N = 5.OAR quality was scored by an LLM judge on 5-point Likert scales.On Polyvore, Gemma3-4B R4T-FOLM averaged 49.1, versus 40.9 for Best-of-N and 38.5 zero-shot.Diversity rose from 56.0 zero-shot to 76.8.

R4T-Diffusion retained most of it at 74.3.On Music, Gemma3-4B R4T-FOLM averaged 58.1 versus 49.2 for Best-of-N.Groundedness is not reported for R4T-Diffusion, since it produces no text sub-queries.WSCR results on Polyvore show a coverage and diversity trade-off.R4T-FOLM (Qwen) reached 20.

9 Recall@5K and 64.6 Hit@5K, versus 15.7 and 52.1 for Gemini-2.5-Flash.Its Vendi Score, however, dropped to 27.5.The authors link this to reduced output entropy under strong RL optimization.R4T-Diffusion (Qwen) kept a higher Vendi Score of 34.7 with 16.5 Recall@5K.

Efficiency At batch size 8, autoregressive fan-out took about 1.46 seconds.The diffusion model took 0.07 seconds.At batch size 1024, autoregressive fan-out reached nearly 50 seconds, versus 4.21 seconds for diffusion.The authors report a consistent 12× to 20× speedup.

Key Takeaways R4T runs RL once offline, then deploys a 53.9M-parameter diffusion retriever.3 rewards (groundedness, diversity, alignment) block reward hacking and paraphrastic collapse.Gemma3-4B R4T-FOLM lifted Polyvore OAR average from 40.9 (Best-of-N) to 49.1.

Diffusion fan-out runs 12× to 20× faster than autoregressive fan-out.Check out the Paper and Technical details.All credit goes to the researcher of this project.Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter.Wait!

are you on telegram?now you can join us on telegram as well.Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.?

Connect with us The post Google Research Introduces Retrieve-for-Train (R4T): An RL-Compiled Diffusion Retriever for 12× to 20× Faster Query Fan-Out appeared first on MarkTechPost.

Related

相關文章

智東西生成式AI

英特爾與騰訊發佈基於至強6+的雲實例,曬智能體AI基礎設施全家桶

作者 | ZeR0 編輯 | 漠影 11月3日報道,近日,在2026騰訊全球數字生態大會上,英特爾與騰訊雲發佈基於英特爾至強6+處理器的騰訊雲新一代雲實例,並全面展示英特爾的芯片產品與雲端實踐。 全新至強6+處理器擁有最高288顆能效核,單顆處理器最高可支持超過1000個智能體的穩定部署,這也為騰訊雲服務器提供更高併發、更低時延、更優能效的雲端算力服務。

2 小時前
雷峰網生成式AI

智元榮獲2026世界互聯網大會傑出貢獻獎

11月3日,2026年世界互聯網大會烏鎮峰會在浙江烏鎮隆重開幕,國務院總理李強出席開幕式並發表主旨演講。開幕式上,智元憑藉在具身智能領域的系統性技術突破與產業化實踐,獲頒世界互聯網大會傑出貢獻獎。智元合夥人、高級副總裁朱潔在領獎時表示:人工智能的終局,不在於屏幕與雲端,而紮根於工廠一線和尋常煙火。具身智能賽道的競爭,早已跳出單點技術的競速,轉向軟硬協同、工程化落地、產業組織與治理體系的綜合比拼。智元期待與各界同心同行,堅守務實,躬身落地。

2 小時前

電動車退燒、AI 儲能燒起來:LG 新能源把產能挪向數據中心

11 月 3 日,首席財務官李昌植在財報電話會上給出時間表:今年底軟包儲能系統(ESS)產能將超 50 吉瓦時,明年進一步拉到 70 GWh 以上。在他看來,電動車增速放緩之際,AI 數據中心的大規模新建為電池廠撕開了新口子——第三季度 ESS 在手訂單已達 160 GWh,公司正與電力企業、超大型數據中心運營商談新項目,今年 9 月還作為儲能供應商擠進了英偉達的 DSX Ready 計劃。

3 小時前4700
雷峰網生成式AI

最高288核的至強6+,為了Agent高密度部署還下了哪些「雲功夫」?

作者 | 陳悅琳編輯 | 包永剛 一個智能體能順利完成任務,不代表成百上千個智能體就能同時高效運行。 對於承載大量智能體任務的雲服務器而言,除了提升計算速度,如何在任務集中到來時迅速準備好執行環境、怎樣減少暫時閒置的任務對內存資源的佔用,也成為亟待解決的問題。 對此,在一年一度的騰訊全球數字生態大會上,英特爾與騰訊雲聯合發佈了基於至強6+處理器的新一代雲實例,圍繞任務啟動效率、內存資源利用率等關鍵因素進行優化後,其綜合性能較上一代提升30%以上。

3 小時前

聯合國副秘書長點贊!千問AI耳夾式耳機亮相烏鎮互聯網大會

他認為,產品非常實用,適合自己日常工作中需要使用多國語言進行交流的場景。面對面交流時,用戶可以通過耳機收聽譯文;會議中的討論內容,也能通過AI聽記整理為結構化紀要,方便會後回顧。連接千問App後,用戶還可通過語音交辦資料研究等任務、接收完成提醒,讓耳機成為日常辦公的隨身助手。

4 小時前