Apple ML ★ 98 4 min

DACA-GRPO: Denoising-Aware Credit Assignment for Reinforcement Learning in Diffusion Language Models

🔗 https://machinelearning.apple.com/research/denoising-aware-credit-assignment

📌 【Apple ML 研究】擴散語言模型的 RL 訓練,漏掉了「哪一步比較重要」

TL;DR:DACA-GRPO 幫擴散語言模型的強化學習補上時序信任分配,插即用最多帶來 36.3pp 提升。

擴散大型語言模型(diffusion LLM)被視為自迴歸模型的另一種可能,但當研究者把主流的 GRPO 強化學習方法直接搬過來用時,卻忽略了一件事:去噪過程中的每一步,重要性真的都一樣嗎?

🤔 GRPO 用在擴散模型上的兩個結構性問題

Apple ML 團隊指出,現有把 GRPO 套用在擴散語言模型上的做法,存在兩個根本弱點。第一,缺乏跨去噪軌跡的時序信任分配(temporal credit assignment):所有去噪步驟被一視同仁地對待,沒有區分哪一步的決策對最終結果影響更大。第二,用於策略最佳化的 mean-field 概似估計本身帶有系統性偏誤,而且變異度高,這會直接影響梯度更新的品質。

🧩 兩個輕量機制:去噪進度分數 + 分層遮罩概似

論文提出 DACA-GRPO(Denoising-Aware Credit Assignment for GRPO),設計成可以直接疊加在任何 GRPO 風格訓練器上的輕量插件,包含兩個互補機制:

第一是去噪進度分數(Denoising Progress Scores):從模型的中間預測結果中,直接萃取每個 token 的重要性權重,且不需要額外的前向傳遞成本。第二是分層遮罩概似(Stratified Masking Likelihood):把 token 位置切分成不同的層(strata),讓每個 token 在被預測時,都能參考序列中大部分的上下文,藉此降低 mean-field 估計帶來的偏誤。

📊 七項基準測試,最高提升 36.3 個百分點

作者將 DACA-GRPO 疊加在三種 GRPO 基礎方法之上,並在涵蓋數學推理、程式碼生成、約束滿足與受限生成的七項基準上測試,結果顯示效果一致提升:

任務類型最高提升幅度
數學推理5.6 個百分點
程式碼生成7.4 個百分點
約束滿足36.3 個百分點
JSON schema 遵循5.9 個百分點

其中約束滿足任務的提升幅度特別顯著,遠高於其他任務類別。

💡 把「去噪步驟不等價」這件事真正納入訓練訊號

這篇研究的核心貢獻,是把擴散語言模型獨有的結構特性(多步去噪、每步預測品質不一)真正轉化為可用的訓練訊號,而不是像過去那樣直接套用為自迴歸模型設計的信任分配邏輯。兩個機制都刻意設計成低成本、可插拔,這意味著它不是要取代 GRPO,而是補上一塊原本被忽略的資訊,這對已經投入 GRPO 訓練管線的團隊而言,遷移成本相對友善。

🎯 實務啟示

如果團隊正在用 GRPO 類方法訓練擴散語言模型,且在約束滿足或格式遵循類任務上表現不如預期,這篇論文提出的兩個機制,特別是不需要額外前向成本的去噪進度分數,值得作為優先嘗試的低成本改進項。

🔗 來源

#AppleML #DiffusionLanguageModel #ReinforcementLearning #GRPO #RLVR #LLM #NLP #MachineLearning #CodeGeneration #MathReasoning

原始資料 Apple ML · 收集於 2026-09-17
來源原標題
DACA-GRPO: Denoising-Aware Credit Assignment for Reinforcement Learning in Diffusion Language Models
原始連結
https://machinelearning.apple.com/research/denoising-aware-credit-assignment

摘要原文

research area Methods and Algorithms , research area Speech and Natural Language Processing content type paper published September 2026 DACA-GRPO: Denoising-Aware Credit Assignment for Reinforcement Learning in Diffusion Language Models Authors Amin Karimi Monsefi†‡**, Dominic Culver‡, Nikhil Bhendawade, Lokesh Boominathan, Manuel R. Ciosici, Yizhe Zhang, Irina Belousova View publication Copy Bibtex Diffusion large language models are a compelling alternative to autoregressive models, yet existing RL methods for diffusion treat all denoising steps as equally important and rely on biased, high-variance likelihood estimates. We identify two fundamental weaknesses: the absence of temporal credit assignment across the denoising trajectory, and the systematic bias of mean-field likelihood estimates used for policy optimization. To address these, we propose Denoising-Aware Credit Assignment for GRPO (DACA-GRPO), a lightweight, plug-and-play enhancement for any GRPO-style trainer. DACA-GRPO introduces two complementary mechanisms: Denoising Progress Scores, which extract per-token importance weights from intermediate predictions at no additional forward cost, and Stratified Masking Likelihood, which partitions token positions into strata so that each token is predicted with most of the sequence as context, reducing the mean-field bias. Applied on top of three GRPO base methods, DACA-GRPO achieves consistent improvements across seven benchmarks spanning mathematical reasoning, code generation, constraint satisfaction, and constrained generation, with gains of up to 5.6pp on math reasoning, 7.4pp on code generation, 36.3pp on constraint satisfaction, and 5.9pp on JSON schema adherence. ‡ Equal contribution † The Ohio State University ** Work done while at Apple Related readings and updates. GRPO Beyond English: A Large-Scale Study of GRPO in Non-English and Multilingual Settings August 18, 2026 research area Speech and Natural Language Processing Reinforcement Learning with Verifiable Rewards (RLVR), often optimized with Group Relative Policy Optimization (GRPO), has become a central recipe for improving the reasoning capabilities of pretrained language models but current studies remain heavily English-centric. We conduct a large-scale empirical study of multilingual and non-English GRPO across a wide range of base models, training languages, and different reasoning language rewards. We… Read more Personalized Group Relative Policy Optimization for Heterogenous Preference Alignment April 2, 2026 research area Methods and Algorithms , research area Speech and Natural Language Processing Despite their sophisticated general-purpose capabilities, Large Language Models (LLMs) often fail to align with diverse individual preferences because standard post-training methods, like Reinforcement Learning with Human Feedback (RLHF), optimize for a single, global objective. While Group Relative Policy Optimization (GRPO) is a widely adopted on-policy reinforcement learning framework, its group-based normalization implicitly assumes that all… Read more Discover opportunities in Machine Learning. Our research in machine learning breaks new ground every day. Work with us

由 claude-code/sonnet 自動生成