LongDPO: Unlock Better Long-form Generation Abilities for LLMs via Critique-augmented Stepwise Information
Bowen Ping, Jiali Zeng, Fandong Meng, Shuo Wang, Jie Zhou, Shanghang Zhang
TL;DR
LongDPO addresses the persistent challenge of high-quality long-form generation by introducing stepwise, process-supervised learning. It leverages Monte Carlo Tree Search to collect stepwise preferences, a global memory pool to uphold factual consistency, and critique-augmented candidate refinement, followed by stepwise DPO training. Empirical results on LongBench-Write-en and LongGenBench across Llama and Qwen backbones show improved length adherence and writing quality with near-lossless general-task performance, and ablations confirm the effectiveness of the memory pool and external critiques. This work advancing long-horizon generation exposes a practical pathway for applying granular process supervision to complex, extended text tasks beyond traditional outcome-focused feedback.
Abstract
Long-form generation is crucial for academic writing papers and repo-level code generation. Despite this, current models, including GPT-4o, still exhibit unsatisfactory performance. Existing methods that utilize preference learning with outcome supervision often fail to provide detailed feedback for extended contexts. This shortcoming can lead to content that does not fully satisfy query requirements, resulting in issues like length deviations, and diminished quality. In this paper, we propose enhancing long-form generation by incorporating process supervision. We employ Monte Carlo Tree Search to gather stepwise preference pairs, utilizing a global memory pool to maintain consistency. To address the issue of suboptimal candidate selection, we integrate external critiques to refine and improve the quality of the preference pairs. Finally, we apply step-level DPO using the collected stepwise preference pairs. Experimental results show that our method improves length and quality on long-form generation benchmarks, with almost lossless performance on general benchmarks across various model backbones.
