NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DiffPO: Diffusion-styled Preference Optimization for Inference Time Alignment of Large Language Models

Ruizhe Chen, Wenhao Chai, Zhifei Yang, Xiaotian Zhang, Ziyang Wang, Tony Q. S. Quek, Joey Tianyi Zhou, Soujanya Poria, Zuozhu Liu

Introduction

Aligning Large Language Models (LLMs) with human preferences—ensuring they are helpful, honest, and harmless—is a critical challenge in AI development. Traditional methods like Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO) are effective but resource-intensive, requiring costly full-model retraining.

DIFFPO (Diffusion-styled Preference Optimization) introduces a novel "plug-and-play" framework that aligns LLMs during inference. By treating alignment as a sentence-level denoising process—analogous to how diffusion models generate images from noise—DIFFPO achieves superior performance and faster inference speeds compared to existing post-processing methods.

The Alignment Challenge

Existing inference-time alignment methods often face a steep "performance-latency" trade-off. For instance, Best-of-N (BoN) sampling generates multiple candidates and selects the best one, which is computationally slow. Other "token-level" methods attempt to adjust the model's output word-by-word, which can be computationally expensive and often requires access to the base model's internal parameters.

The authors of DIFFPO identify a need for a model-agnostic, efficient way to refine full sentences at once, bypassing the sequential bottleneck of standard autoregressive generation.

The DIFFPO Framework

DIFFPO reconceptualizes alignment as a sentence-level denoising process. Instead of generating text token-by-token, it treats the raw, unaligned output of a base LLM as a "noisy" version of the desired aligned response.

Overview of the DIFFPO framework including alignment objectives, the iterative refinement process, and inference-time application.

Core Innovations:

  1. Diffusion Analogy: DIFFPO transforms an unaligned sentence into an aligned one through iterative refinement steps, similar to image generation.
  2. Parallel Decoding: By predicting or refining an entire sentence in one go, DIFFPO avoids the time latency associated with traditional autoregressive decoding.
  3. Consistency & AR Loss: The model is trained using a Consistency Loss to ensure intermediate versions map correctly to the final aligned output, and an Autoregressive (AR) Loss to maintain the model's basic linguistic coherence.
  4. Plug-and-Play Versatility: As a post-processor, DIFFPO can be attached to any model (e.g., Llama, Mistral, or even closed-source APIs like GPT-4o) without needing internal parameter access.

Key Results and Insights

Experimental evaluations across benchmarks like AlpacaEval 2, MT-bench, and HH-RLHF demonstrate that DIFFPO consistently outperforms traditional inference-time baselines.

The Pareto frontier showing DIFFPO's superior trade-off between GPT-4 Score and Inference Time compared to baselines like BoN and Aligner.

Major Findings:

  • Superior Trade-offs: As shown in the performance-latency graph, DIFFPO occupies the "top-right" quadrant, providing higher quality scores with significantly lower latency than methods like BoN.
  • Weak-to-Strong Supervision: Remarkably, a smaller DIFFPO model (e.g., 9B parameters) can improve the performance of much larger state-of-the-art models like Llama-3-70B and GPT-4o, suggesting it can effectively fill "alignment gaps" in even the best models.
  • Win Rate Improvements: On AlpacaEval 2, DIFFPO-9B improved the Llama-3-8B-Instruct model's length-controlled win rate from 36.83% to 55.84%.

Discussion and Future Work

While DIFFPO offers a significant leap in efficiency, it does introduce the overhead of running an additional refiner model alongside the base LLM. Future research may focus on more tightly integrating the diffusion process into the initial generation phase to further reduce latency. Additionally, while the 9B parameter version is highly effective, scaling gains for smaller refiner models (e.g., 2B) remain a challenge.

Ultimately, DIFFPO demonstrates that sentence-level refinement is a powerful "sweet spot" for aligning AI with human intentions and values, offering a more natural and efficient path toward safer LLMs.

Summary updated

BibTeX
@inproceedings{chen2025diffpo,
  author = {Ruizhe Chen and Wenhao Chai and Zhifei Yang and Xiaotian Zhang and Ziyang Wang and Tony Q. S. Quek and Joey Tianyi Zhou and Soujanya Poria and Zuozhu Liu},
  title = {{DiffPO: Diffusion-styled Preference Optimization for Inference Time Alignment of Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure