测试表明大模型库学习无法真正复用知识,效果不如直接提示。
LLM Library Learning Fails: A LEGO-Prover Case Study
- 通过分析LEGO-Prover系统,考察其能否复用数学推理中的可重用结论。
- 实验显示学习到的结论基本未被直接或间接复用,性能提升消失于计算成本后。
- 适合关注大模型工具学习真实有效性与评估标准的研究者参考。
近期大语言模型在编码、推理和工具使用方面取得进展,推动了库学习(即通过创建、存储和检索可复用函数、知识、检查清单或引理进行在线学习)的发展。此类系统常宣称能通过自动构建通用工具提升任务表现,并通过缓存推理过程(即存储生成工具)实现更优计算效率。然而我们发现存在强烈质疑依据。本文深入分析了一个名为LEGO-Prover的系统,该系统声称可学习用于数学推理的可复用引理。结果显示:不存在学习引理的直接复用证据,且存在反证表明软复用(即修改相关示例实现复用)也未发生。关键发现是,一旦考虑计算成本,LEGO-Prover的实际性能并未优于简单提示基线,任务准确率的提升随之消失。研究结果表明,当前对这类技术有效性的认知存在严重误解,亟需重新审视大模型库学习现状,并建立更强的评估标准,包括行为分析与确保基线拥有同等计算预算。
原文摘要 · Abstract (English)
Recent advancements in the coding, reasoning, and tool-using abilities of LLMs have spurred interest in library learning (i.e., online learning through the creation, storage, and retrieval of reusable and composable functions, knowledge, checklists, or lemmas). Such systems often promise improved task performance through the automatic creation of broadly applicable tools, as well as superior computational performance through the caching of reasoning (i.e., the storage of generated tools). However, we find strong reason to be skeptical. We perform a deep dive into one such system, LEGO-Prover, which purports to learn reusable lemmas for mathematical reasoning. We find no evidence of the direct reuse of learned lemmas, and find evidence against the soft reuse of learned lemmas (i.e., reuse by modifying relevant examples). Crucially, we find that LEGO-Prover does not in fact improve over the simple baseline of prompting the model - the improvements in task accuracy vanish once computational cost is accounted for. Our findings suggest that serious misconceptions exist as to the effectiveness of these techniques, that a serious re-examination of the state of LLM-based library learning is required, and that we require much stronger standards for evaluation including behavioural analysis and ensuring that an equal computational budget is used for baselines.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。