arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.03048cs.LGcs.CL
收藏

LLM库学习失败:以LEGO-Prover为例的案例研究

LLM Library Learning Fails: A LEGO-Prover Case Study

University of Toronto(多伦多大学);Vector Institute(向量研究所);Dalhousie University(达尔豪斯大学)

Ian Berlot-Attwell, Frank Rudzicz, Xujie Si

AI总结:

本文以LEGO-Prover为例,发现LLM库学习未实现引理的直接或软重用,且在考虑计算成本后任务准确率提升消失,呼吁对基于LLM的库学习进行严肃重新审视并采用更严格的评估标准。

摘要:

近期LLM在编程、推理和工具使用能力上的进步激发了对库学习(即通过创建、存储和检索可重用与可组合的函数、知识、检查清单或引理来进行在线学习)的兴趣。这类系统通常承诺通过自动创建广泛适用的工具来提升任务性能,并通过缓存推理(即存储生成的工具)来实现卓越的计算性能。然而,我们发现有充分的理由对此持怀疑态度。我们深入研究了这样一个系统LEGO-Prover,它声称能为数学推理学习可重用的引理。我们没有发现直接重用已学引理的证据,反而发现了反对软重用(即通过修改相关示例进行重用)已学引理的证据。关键在于,我们发现LEGO-Prover实际上并没有超越简单的提示模型基线——一旦考虑计算成本,任务准确率的提升就会消失。我们的研究结果表明,人们对这些技术的有效性存在严重误解,需要对基于LLM的库学习现状进行严肃的重新审视,并且我们需要更严格的评估标准,包括行为分析以及确保基线使用相等的计算预算。

英文摘要:

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.

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

↑