[Paper Review] Making Large Language Models Better Reasoners with Alignment
This paper introduces Alignment Fine-Tuning (AFT), a three-step paradigm that improves large language models' reasoning by addressing the Assessment Misalignment problem—where models fail to rank high-quality chain-of-thought (COT) responses higher than low-quality ones. AFT uses a novel constraint alignment loss to ensure high-quality COTs receive higher scores while capping negative scores to prevent degradation, significantly boosting performance across reasoning benchmarks, including in multi-task and out-of-distribution settings.
Reasoning is a cognitive process of using evidence to reach a sound conclusion. The reasoning capability is essential for large language models (LLMs) to serve as the brain of the artificial general intelligence agent. Recent studies reveal that fine-tuning LLMs on data with the chain of thought (COT) reasoning process can significantly enhance their reasoning capabilities. However, we find that the fine-tuned LLMs suffer from an extit{Assessment Misalignment} problem, i.e., they frequently assign higher scores to subpar COTs, leading to potential limitations in their reasoning abilities. To address this problem, we introduce an extit{Alignment Fine-Tuning (AFT)} paradigm, which involves three steps: 1) fine-tuning LLMs with COT training data; 2) generating multiple COT responses for each question, and categorizing them into positive and negative ones based on whether they achieve the correct answer; 3) calibrating the scores of positive and negative responses given by LLMs with a novel constraint alignment loss. Specifically, the constraint alignment loss has two objectives: a) Alignment, which guarantees that positive scores surpass negative scores to encourage answers with high-quality COTs; b) Constraint, which keeps the negative scores confined to a reasonable range to prevent the model degradation. Beyond just the binary positive and negative feedback, the constraint alignment loss can be seamlessly adapted to the ranking situations when ranking feedback is accessible. Furthermore, we also delve deeply into recent ranking-based alignment methods, such as DPO, RRHF, and PRO, and discover that the constraint, which has been overlooked by these approaches, is also crucial for their performance. Extensive experiments on four reasoning benchmarks with both binary and ranking feedback demonstrate the effectiveness of AFT.
Motivation & Objective
- To identify and address the Assessment Misalignment problem in vanilla fine-tuned LLMs, where models fail to distinguish high-quality from low-quality COTs.
- To propose a three-stage Alignment Fine-Tuning (AFT) paradigm that enhances reasoning by recalibrating model confidence in COT quality.
- To demonstrate that a constraint term in alignment loss is crucial for preventing model degradation and improving performance.
- To show that AFT enhances both binary and ranking feedback-based alignment methods by incorporating a bounded score constraint.
- To validate AFT's effectiveness across in-domain, multi-task, and out-of-distribution reasoning scenarios.
Proposed method
- Fine-tune LLMs on COT training data using standard maximum likelihood estimation.
- Generate multiple COT responses per question and categorize them as positive (correct answer) or negative (incorrect answer).
- Apply a novel constraint alignment (CA) loss that enforces positive scores to exceed negative scores (alignment) while constraining negative scores to a reasonable lower bound (constraint).
- The CA loss is designed to be adaptable to both binary feedback and ranking feedback settings, enabling broader application.
- The boundary constraint uses a hyper-parameter β to regulate the lower bound of negative scores, balancing score discrimination and generative capability.
- The method is compatible with self-consistency inference, where high-quality COTs are more likely to be selected due to higher scores.
Experimental results
Research questions
- RQ1Does vanilla fine-tuning (VFT) lead to Assessment Misalignment, where models assign higher scores to lower-quality COTs?
- RQ2Can a constraint-aware alignment loss improve LLM reasoning by better distinguishing high- and low-quality COTs?
- RQ3How does AFT perform compared to standard VFT and other alignment methods like DPO, RRHF, and PRO in reasoning benchmarks?
- RQ4Does AFT enhance self-consistency by increasing the likelihood of sampling high-quality COTs?
- RQ5Can AFT improve performance in multi-task and out-of-distribution reasoning scenarios?
Key findings
- AFT significantly improves reasoning performance on four reasoning benchmarks, with gains of up to 2.29% on GSM8K and 2.10% on ECQA compared to VFT.
- On the MMLU benchmark (zero-shot, out-of-distribution), AFT outperforms VFT, demonstrating improved generalization and transferability.
- AFT enhances self-consistency: as the number of sampled COT paths increases, AFT shows greater performance gains than VFT, indicating better selection of high-quality reasoning paths.
- The ablation study confirms that the boundary constraint term (β) is critical—performance peaks at β ≈ 0.3 and degrades with overly large or small values, highlighting the need for careful hyperparameter tuning.
- The constraint term is also vital for ranking-based alignment methods like DPO, RRHF, and PRO, which underperform when this constraint is omitted.
- AFT maintains strong performance across multi-task training, improving all evaluated test sets simultaneously when training on combined datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.