arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.06834cs.CLcs.AI
收藏

在LLM推理数据选择中的步长混淆问题

On the Step Length Confounding in LLM Reasoning Data Selection

College of Computer Science and Technology, Jilin University(吉林大学计算机科学与技术学院);Key Laboratory of Symbolic Computation and Knowledge Engineering, MoE, Jilin University(吉林大学符号计算与知识工程教育部重点实验室);Alibaba Cloud Computing(阿里云);School of Artificial Intelligence, Jilin University(吉林大学人工智能学院);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Department of Mathematics, University of Michigan(密歇根大学数学系);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能研究中心)

Bing Wang, Rui Miao, Chen Shen, Shaotian Yan, Kaiyuan Liu, Ximing Li, Xiaosong Yuan, Sinan Fan, Jun Zhang, Jieping Ye

AI总结:

本文分析了自然性基于的数据选择方法在LLM推理数据中系统性偏好长推理步骤的问题,并提出ASLEC-DROP和ASLEC-CASL方法以缓解此混淆。

摘要:

大型推理模型近期在需要长链推理的复杂任务上表现出色,通过在大规模高质量数据集上进行监督微调实现。为构建此类数据集,现有流程从更强大的大型语言模型(LLMs)生成长推理数据,并应用人工启发式或基于自然性的选择方法过滤高质量样本。尽管基于自然性的数据选择方法在排名数据时通过LLMs分配的平均对数概率已被证明有效,但我们的分析显示,当应用于LLM推理数据集时,它系统性地偏好具有更长推理步骤(即每步更多令牌)的样本,而非高质量样本,这一现象我们称为步长混淆。通过定量分析,我们将此现象归因于推理步骤中低概率的首令牌;更长的步骤稀释了它们的影响,从而膨胀了平均对数概率。为解决此问题,我们提出两种变体方法:ASLEC-DROP,它在计算平均对数概率时丢弃首令牌概率;以及ASLEC-CASL,它应用因果去偏回归以去除首令牌的混淆效应。在四个LLM和五个评估基准上的实验展示了我们方法在缓解步长混淆问题上的有效性。

英文摘要:

Large reasoning models have recently demonstrated strong performance on complex tasks that require long chain-of-thought reasoning, through supervised fine-tuning on large-scale and high-quality datasets. To construct such datasets, existing pipelines generate long reasoning data from more capable Large Language Models (LLMs) and apply manually heuristic or naturalness-based selection methods to filter high-quality samples. Despite the proven effectiveness of naturalness-based data selection, which ranks data by the average log probability assigned by LLMs, our analysis shows that, when applied to LLM reasoning datasets, it systematically prefers samples with longer reasoning steps (i.e., more tokens per step) rather than higher-quality ones, a phenomenon we term step length confounding. Through quantitative analysis, we attribute this phenomenon to low-probability first tokens in reasoning steps; longer steps dilute their influence, thereby inflating the average log probabilities. To address this issue, we propose two variant methods: ASLEC-DROP, which drops first-token probabilities when computing average log probability, and ASLEC-CASL, which applies a causal debiasing regression to remove the first tokens' confounding effect. Experiments across four LLMs and five evaluation benchmarks demonstrate the effectiveness of our approach in mitigating the step length confounding problem.

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

↑