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

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

Ruizhe Chen, Wenhao Chai, Zhifei Yang, Xiaotian Zhang, Joey Tianyi Zhou, Tony Q. S. Quek, Soujanya Poria, Zuozhu LiuarXiv 2025 · OpenReview

Abstract

Inference-time alignment provides an efficient alternative for aligning LLMs with humans. However, these approaches still face challenges, such as limited scalability due to policy-specific value functions and latency during the inference phase. In this paper, we propose a novel approach, Diffusion-styled Preference Optimization (DiffPO), which provides an efficient and policy-agnostic solution for aligning LLMs with humans. By directly performing alignment at sentence level, DiffPO avoids the time latency associated with token-level generation. Designed as a plug-and-play module, DiffPO can be seamlessly integrated with various base models to enhance their alignment. Extensive experiments on AlpacaEval 2, MT-bench, and HH-RLHF demonstrate that DiffPO achieves superior alignment performance across various settings, achieving a favorable trade-off between alignment quality and inference-time latency. Furthermore, DiffPO demonstrates model-agnostic scalability, significantly improving the performance of large models such as Llama-3-70B.

Introduction

Aligning Large Language Models (LLMs) with human values typically involves Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO). While effective, these methods are resource-intensive and policy-specific, requiring full model retraining to alter behavior. Inference-time alignment, such as "Best-of-N" (BoN) sampling, offers a flexible alternative but often hits a "latency-performance" wall. These methods either require generating numerous candidate responses or rely on token-level value functions that scale poorly.

DiffPO (Diffusion-styled Preference Optimization) addresses these challenges by treating the refinement of LLM outputs as a sentence-level "denoising" process. By shifting alignment from slow, token-by-token generation to iterative sentence-level transitions, DiffPO achieves superior human-preference alignment with significantly lower latency than traditional search-based methods.

Methods

DiffPO reconceptualizes alignment as a sentence-level denoising process, drawing an analogy to diffusion models in image generation.

Overview of the DiffPO framework, illustrating alignment objectives, the iterative denoising process, and parallel inference.

Sentence-Level Denoising

Instead of adjusting one token at a time, DiffPO views an unaligned response as a "noisy" version of a preferred response. It iteratively refines the entire sentence to improve style, format, and safety. This approach captures global stylistic preferences (e.g., "more professional" or "more respectful") better than token-level rewards.

Consistency Optimization

Inspired by Consistency Models, DiffPO is trained to map any intermediate, unaligned generation directly to a final, aligned target. This is achieved through two primary losses:

  • Consistency Loss: Ensures the model maps "noisy" inputs to the "clean" aligned output.
  • Autoregressive (AR) Loss: Maintains linguistic coherence during refinement.

Parallel Decoding

To minimize latency, DiffPO utilizes parallel decoding. Instead of sequential token generation, it predicts sentence-level transitions in a few iterative steps, bypassing the time-intensive nature of standard autoregressive generation.

Evaluation and Key Insights

The framework was evaluated on standard benchmarks including AlpacaEval 2, MT-bench, and HH-RLHF. Training data (alignment trajectories) was derived from UltraFeedback, where responses were ranked by the ArmoRM reward model to create the denoising path.

Key insights from the study include:

  • Style is Global: Human preferences are often reflected in overall sentence style rather than individual token choices.
  • Model-Agnostic Scalability: DiffPO is a "one-for-all" aligner. A single DiffPO-9B model can improve outputs from various base models, including Llama-3, Mistral, and even black-box APIs like GPT-4o.
  • Weak-to-Strong Supervision: A smaller 9B aligner can significantly enhance much larger 70B base models, suggesting alignment logic is highly transferable.

Key Results

DiffPO establishes a new Pareto frontier for the trade-off between alignment quality and inference speed.

Comparison of GPT-4 scores and inference time, showing DiffPO's superior efficiency-performance trade-off compared to baselines like BoN.
  • Performance: On AlpacaEval 2, DiffPO-9B applied to Llama-3-8B-Instruct achieved a length-controlled win rate of 55.84%, outperforming DPO (47.20%) and SimPO (52.57%).
  • Efficiency: Compared to BoN sampling, DiffPO achieved higher GPT-4 scores while being 3x to 5x faster.
  • Scalability: When applied to Llama-3-70B-Instruct, DiffPO-9B boosted the MT-bench score from 7.5 to 7.75 and the AlpacaEval 2 win rate from 46.14% to 58.18%.

Conclusion

DiffPO provides an efficient, model-agnostic solution for LLM alignment. While it requires an additional model during inference—increasing memory footprint—it significantly reduces the latency-performance gap. Future work will focus on tighter integration with base model decoding strategies and deeper theoretical analysis of the diffusion analogy in discrete text alignment.

Summary updated

BibTeX
@misc{chen2025diffpo,
  author = {Ruizhe Chen and Wenhao Chai and Zhifei Yang and Xiaotian Zhang and Joey Tianyi Zhou and Tony Q. S. Quek and Soujanya Poria and Zuozhu Liu},
  title = {{DiffPO: Diffusion-styled Preference Optimization for Efficient Inference-Time Alignment of Large Language Models}},
  year = {2025},
  eprint = {2503.04240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.04240},
}
Figure