[논문 리뷰] 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를 향상시킴을 입증한다.
- 온도 설정과 배치 크기에 따른 오버헤드 및 로버스트성을 분석한다.
제안 방법
- 모델의 출력 분포에 작용하는 경량 특성 추출기를 정의하여 샘플별 특징 벡터를 생성한다.
- 그람-슈미트 기반 직교 기저를 사용하여 이전 샘플들이 펼친 부분 공간으로부터 각 새 샘플을 반발시키는 직교 다양성 손실을 도입한다.
- 현재 샘플의 로짓만 업데이트되도록 stop-gradient 프로젝션을 적용하여 배치 인식을 가능하고 효율적으로 만든다.
- 확산 타임스텝에 따라 다양성 강도를 선형적으로 어닐링하여 초기 탐색을 선호하고 후기 품질을 보존한다.
- 성능과 대기 시간을 평가하기 위해 기준선 및 전역 DPP 기반 다양성 목표와 비교한다.
- 오픈 소스 코드와 실험 데이터가 공개된다.

실험 결과
연구 질문
- RQ1추론 시 직교 다양성(ODD)이 재훈련 없이 확산 언어 모델의 Pass@k를 향상시키는가?
- RQ2전역 다양성 목표(예: DPP 기반)와의 품질-다양성 트레이드오프 측면에서 ODD는 어떠한가?
- RQ3표준 샘플링에 비한 ODD의 계산 오버헤드는 얼마나 되며, 온도 및 배치 크기에 따라 어떻게 확장되는가?
- RQ4다양성 모델링을 위한 특징 선택이 다양성과 출력 품질의 균형에 어떤 영향을 미치는가?
주요 결과
- ODD는 다양한 온도에서도 GSM8K 및 HumanEval에서 Pass@k를 일관되게 향상시킨다.
- ODD는 거의 오버헤드가 없고 모델 크기에 독립적으로 확장되어 추론 시 다양성에 실용적이다.
- 전역 DPP 목표와 비교하면 그리디하고 스톱-그래디언트 직교 접근 방식이 더 높은 배치 다양성 및 커버리지를 제공할 수 있다.
- ODD는 파레토 유사한 개선을 보이며, 많은 설정에서 배치 커버리지가 높아지고 개별 샘플 품질의 손실은 거의 없거나 오히려 증가한다.
- 이 방법은 HumanEval에서 누적 문제 커버리지를 증가시켜 희박 신호 조건에서 해 공간의 더 나은 탐색을 시사한다.
- 실험 결과는 ODD의 다양성 이득이 낮은 온도에서 가장 뚜렷하고 반발 강도가 더 클 때도 신중히 사용될 때 뚜렷하다고 나타난다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.