arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.19890cs.CLcs.AI
收藏

利用长度条件的极其简单的多数投票法

Frustratingly Easy Majority Voting Using Length Conditioning

University of Modena and Reggio Emilia(摩德纳和雷焦艾米利亚大学);University of Pisa(比萨大学);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)

Fiorenzo Parascandolo, Enver Sangineto, Xiaoyi Yu, Wenhui Tan, Jipei He, Ruihua Song, Rita Cucchiara

AI总结:

本研究提出长度条件多数投票(LCMV),利用测试时训练结合长度条件先验概率,在不微调大语言模型的情况下,提升多数投票法的推理准确率,且优于现有聚合策略。

摘要:

多数投票(Majority Voting, MV)是一种简单且广泛使用的策略,通过分配额外的推理时计算来提升大语言模型(Large Language Models, LLMs)的推理准确率。具体而言,在MV中会独立采样多个思维链(Chain-of-Thoughts, CoTs),并选择出现频率最高的最终答案。本研究提出了长度条件多数投票(Length-Conditioned Majority Voting, LCMV),这是一种测试时训练方法,利用了近期多项研究证实的经验观察:更长的CoTs往往与更低的正确概率相关。我们将这种归纳偏差建模为长度条件先验概率,该概率由一个简单的逻辑函数表示。此外,我们仅使用未标记的测试数据在测试时调整该先验,且无需微调LLM。最后,调整后的先验被用于对每个采样答案的投票进行加权。在多个LLMs和推理基准上开展的大量实验表明,LCMV在保持MV的简洁性和模型无关性的同时,始终优于标准MV以及现有的基于长度和基于置信度的聚合策略。我们的代码可在该https URL获取。

英文摘要:

Majority Voting (MV) is a simple and widely used strategy which improves the reasoning accuracy of Large Language Models (LLMs) by allocating additional inference-time computation. Specifically, in MV multiple Chain-of-Thoughts (CoTs) are independently sampled and the most frequent final answer is selected. In this work, we propose Length-Conditioned Majority Voting (LCMV), a Test-Time Training approach which improves MV leveraging an empirical observation that has recently been established in several studies: longer CoTs tend to be associated with a lower probability of correctness. We formulate this inductive bias as a length-conditioned prior probability, which is modeled by a simple logistic function. Moreover, we adapt this prior at test time using only unlabeled testing data and without fine-tuning the LLM. Finally, the adapted prior is used to weight the vote of each sampled answer. Extensive experiments across multiple LLMs and reasoning benchmarks show that LCMV consistently improves over both standard MV and existing length-based and confidence-based aggregation strategies, while retaining the simplicity and model-agnostic nature of MV. Our code is available at: https://github.com/aimagelab/LCMV.

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

↑