2025-08-08 · 进阶 · 机器学习 · 自然语言处理

InfiAlign: A Scalable and Sample-Efficient Framework for Aligning LLMs to Enhance Reasoning Capabilities

InfiAlign提出了一种可扩展且样本高效的框架,通过结合监督微调和直接偏好优化来对齐大型语言模型,以增强推理能力。

更新于 2025-09-10。作者:Shuo Cai、Su Lu、Qi Zhou、Kejing Yang、Zhijie Sang、Congkai Xie、Hongxia Yang。

中文摘要

大型语言模型(LLMs)在众多复杂任务上展现了令人印象深刻的推理能力。然而,通过后训练来增强这些能力仍然需要大量的资源,尤其是在数据和计算成本方面。尽管最近的研究试图通过选择性数据整理来提高样本效率,但现有方法通常依赖于启发式或特定任务的策略,这阻碍了可扩展性。在这项工作中,我们介绍了InfiAlign,这是一个可扩展且高效的样本后训练框架,它将监督微调(SFT)与直接偏好优化(DPO)相结合,以增强LLMs的推理能力。InfiAlign的核心是一个稳健的数据选择管道,该管道能够使用多维质量指标自动从开源推理数据集中整理高质量的对齐数据。这个管道能够在大幅减少数据需求的同时显著提升性能,并且可以扩展到新的数据源。当应用于Qwen2.5-Math-7B-Base模型时,我们的SFT模型在性能上与DeepSeek-R1-Distill-Qwen-7B相当,而只使用了大约12%的训练数据,并在各种推理任务上表现出强大的泛化能力。通过应用DPO,我们还获得了额外的改进,特别是在数学推理任务上取得了显著的进步。该模型在AIME 24/25基准测试上平均提高了3.89%。我们的结果突出了将原则性的数据选择与全阶段后训练相结合的有效性,为以可扩展和数据高效的方式对齐大型推理模型提供了一个实用解决方案。模型检查点可在以下链接获取:https://huggingface.co/InfiX-ai/InfiAlign-Qwen-7B-SFT。

英文摘要

Large language models (LLMs) have exhibited impressive reasoning abilities on a wide range of complex tasks. However, enhancing these capabilities through post-training remains resource intensive, particularly in terms of data and computational cost. Although recent efforts have sought to improve sample efficiency through selective data curation, existing methods often rely on heuristic or task-specific strategies that hinder scalability. In this work, we introduce InfiAlign, a scalable and sample-efficient post-training framework that integrates supervised fine-tuning (SFT) with Direct Preference Optimization (DPO) to align LLMs for enhanced reasoning. At the core of InfiAlign is a robust data selection pipeline that automatically curates high-quality alignment data from open-source reasoning datasets using multidimensional quality metrics. This pipeline enables significant performance gains while drastically reducing data requirements and remains extensible to new data sources. When applied to the Qwen2.5-Math-7B-Base model, our SFT model achieves performance on par with DeepSeek-R1-Distill-Qwen-7B, while using only approximately 12% of the training data, and demonstrates strong generalization across diverse reasoning tasks. Additional improvements are obtained through the application of DPO, with particularly notable gains in mathematical reasoning tasks. The model achieves an average improvement of 3.89% on AIME 24/25 benchmarks. Our results highlight the effectiveness of combining principled data selection with full-stage post-training, offering a practical solution for aligning large reasoning models in a scalable and data-efficient manner. The model checkpoints are available at https://huggingface.co/InfiX-ai/InfiAlign-Qwen-7B-SFT.

解读

一句话总结

InfiAlign提出了一种可扩展且样本高效的框架,通过结合监督微调和直接偏好优化来对齐大型语言模型,以增强推理能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源