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

仅需两个样本的自一致性:CoT-PoT集成实现高效LLM推理

Self-Consistency from Only Two Samples: CoT-PoT Ensembling for Efficient LLM Reasoning

Carnegie Mellon University Qatar(卡内基梅隆大学(卡塔尔));Qatar Computing Research Institute(卡塔尔计算研究院)

Raman Saparkhan, Majd Hawasly, Md Rizwan Parvez, Mohammad Raza

AI总结:

提出一种混合集成方法,结合思维链与程序化推理两种模式,通过仅需两个样本即可实现自一致性,将采样量减少9.3倍,并在78.6%的任务上达到最优。

摘要:

自一致性(SC)是一种通过聚合多个采样输出来提高大型语言模型推理准确性的流行技术,但由于大量采样,其计算成本高昂。我们引入了一种混合集成方法,利用两种不同推理模式(思维链(CoT)和程序化推理(PoT))的互补优势。我们描述了一个通用框架,用于在自一致性中结合这两种推理形式,并提出了全采样和早停的特定策略。我们表明,CoT-PoT集成不仅提高了整体准确性,而且将SC所需的样本数量大幅减少了9.3倍。特别是,大多数任务(78.6%)仅需两个样本即可解决,这在之前的任何SC方法中都是不可能的。

英文摘要:

Self-consistency (SC) is a popular technique for improving the reasoning accuracy of large language models by aggregating multiple sampled outputs, but it comes at a high computational cost due to extensive sampling. We introduce a hybrid ensembling approach that leverages the complementary strengths of two distinct modes of reasoning: Chain-of-Thought (CoT) and Program-of-Thought (PoT). We describe a general framework for combining these two forms of reasoning in self-consistency, as well as particular strategies for both full sampling and early-stopping. We show that CoT-PoT ensembling not only improves overall accuracy, but also drastically reduces the number of samples required for SC by a factor of 9.3x. In particular, the majority of tasks (78.6%) can be addressed with only two samples, which has not been possible with any prior SC methods.

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

↑