arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.24461cs.LG
收藏

基于 Logits 的微调

Logits-Based Finetuning

The Chinese University of Hong Kong(香港中文大学);Huawei Noah’s Ark Lab(华为诺亚实验室);Hong Kong University of Science and Technology(香港科技大学)

Jingyao Li, Senqiao Yang, Sitong Wu, Han Shi, Chuanyang Zheng, Hong Xu, Jiaya Jia

AI总结:

提出融合教师 logits 与真实标签的微调框架,构建120万样本数据集训练科学模型,在多个数学基准上显著优于传统SFT。

摘要:

近年来,开发紧凑高效的大型语言模型(LLM)已成为一个蓬勃发展的研究领域。传统的监督微调(SFT)依赖单一的真实标签,往往无法捕捉 token 级依赖关系和语言多样性。为解决这些局限,我们提出一种基于 logits 的微调框架,融合了监督学习与知识蒸馏的优势。该方法通过将教师 logits 与真实标签相结合来构建丰富的训练目标,同时保留正确性和语言多样性,从而确保训练更加可靠且有效。我们构建了一个包含 120 万条样本的大规模 logits 数据集,并训练了一系列专注于科学领域的模型。实验结果表明,我们的方法取得了显著提升:在 Mawps 上准确率提高 18%,在 TabMWP 上提高 22.7%。在九个广泛使用的数学基准测试中,该方法始终优于以往的 SFT 模型,平均提升 7.28%。代码可在 https://github.com/dvlab-research/Logits-Based-Finetuning 获取。

英文摘要:

In recent years, developing compact and efficient large language models (LLMs) has emerged as a thriving area of research. Traditional Supervised Fine-Tuning (SFT), which relies on singular ground truth labels, often fails to capture token-level dependencies and linguistic diversity. To address these limitations, we propose a logits-based fine-tuning framework that integrates the strengths of supervised learning and knowledge distillation. Our approach constructs enriched training targets by combining teacher logits with ground truth labels, preserving both correctness and linguistic diversity. This ensures more reliable and effective training. We constructed a large-scale 1.2M logits dataset and trained a series of science-focused models. Experimental results demonstrate that our method achieves significant improvements, with accuracy gains of 18% on Mawps and 22.7% on TabMWP. Across nine widely used mathematical benchmarks, our method consistently outperforms prior SFT models, achieving an average improvement of 7.28%. Codes are available at https://github.com/dvlab-research/Logits-Based-Finetuning.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑