[論文レビュー] Free Lunch for Pass@$k$? Low Cost Diverse Sampling for Diffusion Language Models
要約: 学習不要で低コストな推論時手法ODDを提案。以前のサンプルと新しいサンプルを直交的に反発させることで拡散言語モデルのサンプリングを多様化し、追加オーバーヘッドを最小に抑えつつPass@kを向上させる。
Diverse outputs in text generation are necessary for effective exploration in complex reasoning tasks, such as code generation and mathematical problem solving. Such Pass@$k$ problems benefit from distinct candidates covering the solution space. However, traditional sampling approaches often waste computational resources on repetitive failure modes. While Diffusion Language Models have emerged as a competitive alternative to the prevailing Autoregressive paradigm, they remain susceptible to this redundancy, with independent samples frequently collapsing into similar modes. To address this, we propose a training free, low cost intervention to enhance generative diversity in Diffusion Language Models. Our approach modifies intermediate samples in a batch sequentially, where each sample is repelled from the feature space of previous samples, actively penalising redundancy. Unlike prior methods that require retraining or beam search, our strategy incurs negligible computational overhead, while ensuring that each sample contributes a unique perspective to the batch. We evaluate our method on the HumanEval and GSM8K benchmarks using the LLaDA-8B-Instruct model. Our results demonstrate significantly improved diversity and Pass@$k$ performance across various temperature settings. As a simple modification to the sampling process, our method offers an immediate, low-cost improvement for current and future Diffusion Language Models in tasks that benefit from diverse solution search. We make our code available at https://github.com/sean-lamont/odd.
研究の動機と目的
- 複雑な推論タスクにおける拡散言語モデルの多様な出力の必要性を動機づける。
- 推論時のサンプル多様性を高めるための低オーバーヘッドの学習不要メカニズムを導入する。
- バッチサンプル間の直交反発がPass@kを標準ベンチマークで改善することを示す。
- 温度設定やバッチサイズに対するオーバーヘッドとロバスト性を分析する。
提案手法
- モデルの出力分布に基づく軽量な特徴抽出器を定義して、サンプルごとの特徴ベクトルを作成する。
- 前のサンプルが張る部分空間から新しいサンプルを直交基底(Gram–Schmidtベース)で反発させる直交多様性損失を導入する。
- 現在のサンプルのロジットのみを更新する停止勾配射影を適用し、バッチ対応で効率的にする。
- 拡散タイムステップとともに多様性強度を線形にアニーリングして初期探索を優先し、後期の品質を保つ。
- ベースラインとグローバルDPPベースの多様性目的と比較して、性能とレイテンシを評価する。
- オープンソースのコードと実験データを公開する。

実験結果
リサーチクエスチョン
- RQ1推論時の直交多様性(ODD)は再学習なしで拡散言語モデルのPass@kを改善するか?
- RQ2ODDは品質-多様性のトレードオフの点で、グローバル多様性目的(例:DPPベース)と比較してどうか?
- RQ3ODDの計算オーバーヘッドは標準サンプリングと比べてどうか。また温度とバッチサイズでどうスケールするか?
- RQ4多様性モデリングにおける特徴選択が多様性と出力品質のバランスにどう影響するか?
主な発見
- ODDはGSM8KおよびHumanEvalで温度設定のさまざまな条件下で一貫してPass@kを改善する。
- ODDはほとんどオーバーヘッドを生じず、モデルサイズに依存せずスケールするため推論時の多様性確保に実用的である。
- グローバルDPP目的と比較して、 greedyで停止勾配を用いた直交アプローチはバッチ多様性とカバレージを向上させる可能性がある。
- ODDはパレート型の改善を示す:多くの設定で個々のサンプル品質の損失がほとんどない(あるいはむしろ向上)で、バッチ全体のカバレージを高める。
- この手法はHumanEvalでの問題空間の探索が改善され、希薄信号条件下での解空間の探索が向上する。
- 実験結果は、低温度での多様性利益が顕著で、反発強度を慎重に大きくすると効果が高いことを示している。

この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。