推理如何从训练数据中演变:使用国际象棋的实证研究
How Reasoning Evolves from Post-Training Data: An Empirical Study Using Chess
AI总结:
研究语言模型推理从监督微调到强化学习的演变,发现直接预测最佳走法的微调能提升性能,但强化学习阶段导致不一致推理,而多步轨迹训练则能获得更稳定的推理。
摘要:
我们研究语言模型推理从监督微调(SFT)到强化学习(RL)的演变,通过分析理论启发的数据集如何影响国际象棋语言模型性能。我们发现,微调模型直接预测最佳走法能有效提升RL和下游性能,但RL阶段会产生不一致的推理。相反,训练多步轨迹能获得可比的下游性能和忠实推理,且RL更稳定。我们分析了多种定性和定量指标,发现SFT检查点指标(涵盖评估性能、幻觉率和推理质量)能预测RL后的模型性能。最后,我们通过测量自定义数据集的国际象棋信息密度来验证结果。我们发布了模型、训练数据、评估和代码,使7B参数模型在国际象棋上超越领先开源推理模型。代码、模型和数据可在https://github.com/lucasdino/lang-chess获取。
英文摘要:
We study how reasoning evolves in a language model -- from supervised fine-tuning (SFT) to reinforcement learning (RL) -- by analyzing how a set of theoretically-inspired datasets influences language model performance in chess. We find that fine-tuning a model to directly predict the best move leads to effective RL and the strongest downstream performance -- however, the RL stage elicits \textit{unfaithful} reasoning (reasoning inconsistent with the chosen move). Alternatively, training on multi-move trajectories yields comparable downstream performance with faithful reasoning and more stable RL. We analyze multiple qualitative and quantitative measures and highlight how these evolve from SFT through RL; we find several SFT-checkpoint metrics -- spanning evaluation performance, hallucination rates, and reasoning quality -- to be predictive of post-RL model performance. Finally, we ground our results with an experiment measuring \textit{chess information density} in our custom datasets. We release models as well as training data, evaluations, and code that allowed us to surpass leading open-source reasoning models in chess with a 7B-parameter model. Code, models, and data are available at https://github.com/lucasdino/lang-chess.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。