Rethinking Supervised Fine-Tuning: Emphasizing Key Answer Tokens for Improved LLM Accuracy
Xiaofeng Shi, Qian Kou, Yuduo Li, Hua Zhou
TL;DR
The paper tackles the issue that conventional SFT distributes learning equally across all target tokens, allowing lengthy CoT reasoning to overshadow the final answer. It introduces SFTKey, a two-stage fine-tuning framework that first trains on full Tag-formatted data with Thinking/Answer markers and then fine-tunes only the Answer tokens to boost accuracy, with a complementary SFTKey-Tag variant that emphasizes Tag-based training. A composite scoring approach balances accuracy and format adherence, demonstrating that SFTKey-Tag achieves higher overall performance (often >5% on average) than standard SFT across multiple models and datasets, with larger models benefiting most. The work provides a practical mechanism to balance CoT learning with precise answer generation, supported by thorough ablations on tagging strategies and one-stage versus two-stage training. It offers insights into token-importance-driven fine-tuning and lays groundwork for more reliable reasoning-guided fine-tuning in LLM systems, while acknowledging limitations in scale and domain coverage.
Abstract
With the rapid advancement of Large Language Models (LLMs), the Chain-of-Thought (CoT) component has become significant for complex reasoning tasks. However, in conventional Supervised Fine-Tuning (SFT), the model could allocate disproportionately more attention to CoT sequences with excessive length. This reduces focus on the much shorter but essential Key portion-the final answer, whose correctness directly determines task success and evaluation quality. To address this limitation, we propose SFTKey, a two-stage training scheme. In the first stage, conventional SFT is applied to ensure proper output format, while in the second stage, only the Key portion is fine-tuned to improve accuracy. Extensive experiments across multiple benchmarks and model families demonstrate that SFTKey achieves an average accuracy improvement exceeding 5\% over conventional SFT, while preserving the ability to generate correct formats. Overall, this study advances LLM fine-tuning by explicitly balancing CoT learning with additional optimization on answer-relevant tokens.
