There is an increasing number of algorithmic computations in theoretical physics. These, while conceptually simple, can nevertheless be time-consuming and contain subtleties that should not be overlooked. Given the recent improvement of Large Language Models (LLM), it is natural to investigate whether LLMs equipped with a computer algebra system (CAS) runtime and sufficiently informative context can reliably carry out these algorithmic tasks. In this work, we interface Claude with Maple, and apply this framework to cosmological perturbations in modified theories of gravity. We demonstrate the current capabilities of this approach, the typical failures, and how the same can be improved. We find that a frontier LLM supplied with worked examples is able to solve most test problems.
Teaching Algorithmic Reasoning via In-context Learning
Mila(米拉研究所);Université de Montreal(蒙特利尔大学);Google Research(谷歌研究院)
大语言模型(LLM)通过扩展模型和数据大小,显示出越来越多的上下文学习能力。尽管取得了这些进展,LLM仍然无法解决算法推理问题。虽然为最终答案提供了一个基本原理,导致了多步推理问题的进一步改进,但Anil et al. 2022表明,即使是简单的算法推理任务,如奇偶校验,也远未解决。在这项工作中,我们确定并研究了成功教授算法推理的四个关键阶段:(1)将算法制定为技能,(2)同时教授多种技能(技能积累),(3)教授如何组合技能(技能组合)和(4)教授如何使用技能作为工具。我们表明,它是可以教算法推理LLMs通过上下文学习,我们称之为算法提示。我们评估我们的方法在各种算术和定量推理任务,并表现出显着的提升性能比现有的提示技术。特别是,对于长奇偶校验、加法、乘法和减法,与最佳可用基线相比,我们分别实现了约10倍、9倍、5倍和2倍的误差减少。
Assessing Algorithmic Bias in Language-Based Depression Detection: A Comparison of DNN and LLM Approaches
Computer Science University of Colorado Boulder Boulder, CO, USA;Inst. Cognitive Science \& Computer Science University of Colorado Boulder Boulder, CO, USA
Code Simulation Challenges for Large Language Models
University of Oxford(牛津大学);Technical University of Munich(慕尼黑工业大学);University of Salerno(萨勒诺大学);University of Bologna(博洛尼亚大学);University of Leeds(利兹大学)
LiveCodeBench Pro: How Do Olympiad Medalists Judge LLMs in Competitive Programming?
New York University(纽约大学);Princeton University(普林斯顿大学);University of California San Diego(加利福尼亚大学圣地亚哥分校);University of Washington(华盛顿大学);Canyon Crest Academy(峡谷克雷斯特学院);University of Waterloo(滑铁卢大学);McGill University(麦吉尔大学)
InteractBench: Benchmarking LLMs on Competitive Programming under Unrevealed Information
School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络空间科学与工程学院);Key Laboratory of Cyberspace Security, Ministry of Education(教育部网络空间安全重点实验室);Hubei Key Laboratory of Distributed System Security(湖北省分布式系统安全重点实验室)
Laboratory of Organic;Macromolecular Chemistry (IOMC), Friedrich Schiller University Jena, Humboldtstrasse 10, 07743 Jena, Germany;HIPOLE Jena (Helmholtz Institute for Polymers in Energy Applications Jena), Lessingstrasse 12-14, 07743 Jena, Germany;Center for Energy;Environmental Chemistry Jena (CEEC Jena), Friedrich Schiller University Jena, Philosophenweg 7a, 07743 Jena, Germany;Jena Center for Soft Matter (JCSM), Friedrich Schiller University Jena, Philosophenweg 7, 07743 Jena, Germany
RL Grokking Recipe: How Does RL Unlock and Transfer New Algorithms in LLMs?
University of California, Berkeley(加州大学伯克利分校);University of Wisconsin, Madison(威斯康星大学麦迪逊分校);University of Washington(华盛顿大学);Ai2 Main dataset contributor(Ai2 主数据贡献者)
Teaching LLM to Reason: Reinforcement Learning from Algorithmic Problems without Code
University of Science and Technology of China(中国科学技术大学);Alibaba Group(阿里巴巴集团);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Auditing the Use of Language Models to Guide Hiring Decisions
Harvard University(哈佛大学);Kennedy School of Government, Harvard University(哈佛大学肯尼迪政府学院);University of Chicago Law School(芝加哥大学法学院);The Wharton School, University of Pennsylvania(宾夕法尼亚大学沃顿商学院)
Empowering LLMs in Decision Games through Algorithmic Data Synthesis
Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Beihang University(北京航空航天大学);The Chinese University of Hong Kong(香港中文大学);Novosibirsk State University(新西伯利亚国立大学)
Position: We Need An Algorithmic Understanding of Generative AI
BIFOLD--Berlin Institute for the Foundations of Learning(柏林学习与数据基础研究院);University of California Los Angeles(加州大学洛杉矶分校);Halıcıoğlu Data Science Institute, University of California San Diego(哈里卡鲁斯数据科学研究所,加州大学圣地亚哥分校);Microsoft Research NYC(微软研究院纽约)