arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.14333cs.CLcs.AI
收藏

基于大型语言模型的推理自动模型选择

Automatic Model Selection with Large Language Models for Reasoning

National University of Singapore(新加坡国立大学);The Hong Kong University of Science and Technology(香港科技大学)

James Xu Zhao, Yuxi Xie, Kenji Kawaguchi, Junxian He, Michael Qizhe Xie

AI总结:

提出一种基于LLM在CoT和PAL间动态选择的模型选择方法,在多个推理数据集上显著提升性能并降低计算成本,于GSM8K和SVAMP上达到SOTA。

摘要:

Chain-of-Thought (CoT) 和 Program-Aided Language Models (PAL) 代表两种不同的推理方法,各有优势。CoT 采用自然语言,提供灵活性和可解释性,而 PAL 利用编程语言,产生更结构化和严谨的逻辑。我们引入一种模型选择方法,通过大型语言模型 (LLM) 动态选择以结合两者优势。理论分析证实了该方法的可行性,实证结果进一步支持了这一点。我们提出的方法在八个推理数据集上,使用 Codex、ChatGPT 和 GPT-4 均实现了显著的性能提升。此外,该方法与 self-consistency 互补;结合使用时,可进一步提升性能并大幅降低计算成本。我们在 GSM8K 和 SVAMP 上取得了新的最先进结果,准确率分别为 96.8% 和 93.7%。

英文摘要:

Chain-of-Thought (CoT) and Program-Aided Language Models (PAL) represent two distinct reasoning methods, each with its own strengths. CoT employs natural language, offering flexibility and interpretability, while PAL utilizes programming language, yielding more structured and rigorous logic. We introduce a model selection method to combine the best of both worlds by employing a large language model (LLM) to dynamically select between them. Our theoretical analysis underscores the feasibility of this method, which is further corroborated by empirical results. Our proposed method demonstrates significant performance improvements across eight reasoning datasets with Codex, ChatGPT, and GPT-4. Additionally, our method is complementary to self-consistency; when integrated, it can further enhance performance while significantly reducing computation costs. Moreover, we achieve new state-of-the-art results on GSM8K and SVAMP, with respective accuracies of 96.8% and 93.7%. Our code, data and prompts are available at https://github.com/XuZhao0/Model-Selection-Reasoning

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

↑