Chameleon: Plug-and-Play Compositional Reasoning with Large Language Models
Pan Lu, Baolin Peng, Hao Cheng, Michel Galley, Kai-Wei Chang, Ying Nian Wu, Song-Chun Zhu, Jianfeng Gao
摘要
Large language models (LLMs) have achieved remarkable progress in solving various natural language processing tasks due to emergent reasoning abilities. However, LLMs have inherent limitations as they are incapable of accessing up-to-date information (stored on the Web or in task-specific knowledge bases), using external tools, and performing precise mathematical and logical reasoning. In this paper, we present Chameleon, an AI system that mitigates these limitations by augmenting LLMs with plug-and-play modules for compositional reasoning. Chameleon synthesizes programs by composing various tools (e.g., LLMs, off-the-shelf vision models, web search engines, Python functions, and heuristic-based modules) for accomplishing complex reasoning tasks. At the heart of Chameleon is an LLM-based planner that assembles a sequence of tools to execute to generate the final response. We showcase the effectiveness of Chameleon on two multi-modal knowledge-intensive reasoning tasks: ScienceQA and TabMWP. Chameleon, powered by GPT-4, achieves an 86.54% overall accuracy on ScienceQA, improving the best published few-shot result by 11.37%. On TabMWP, GPT-4-powered Chameleon improves the accuracy by 17.0%, lifting the state of the art to 98.78%. Our analysis also shows that the GPT-4-powered planner exhibits more consistent and rational tool selection via inferring potential constraints from instructions, compared to a ChatGPT-powered planner. The project is available at https://chameleon-llm.github.io.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 170 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TravelPlanner: A Benchmark for Real-World Planning with Language Agents 引用了 Language Models are Few-Shot Learners
- TravelPlanner: A Benchmark for Real-World Planning with Language Agents 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language Feedback 引用了 ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings
- LayoutGPT: Compositional Visual Planning and Generation with Large Language Models 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Self-Refine: Iterative Refinement with Self-Feedback 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Large Language Models are Zero-Shot Reasoners 引用了 Language Models are Few-Shot Learners
- Large Language Models are Zero-Shot Reasoners 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts 引用了 Language Models are Few-Shot Learners
- MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts 引用了 Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering
- Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering 引用了 Language Models are Few-Shot Learners
- Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answering 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings 引用了 Language Models are Few-Shot Learners
- ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool Embeddings 引用了 Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
引用它的顶会 Paper170
- MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual ContextsPan Lu, Hritik Bansal, Tony Xia, Jiacheng Liu 等ICLR 2024 · 1,472 次引用
- LayoutGPT: Compositional Visual Planning and Generation with Large Language ModelsWeixi Feng, Wanrong Zhu, Tsu-Jui Fu, Varun Jampani 等NeurIPS 2023 · 462 次引用
- TravelPlanner: A Benchmark for Real-World Planning with Language AgentsJian Xie, Kai Zhang, Jiangjie Chen, Tinghui Zhu 等ICML 2024 · 376 次引用
- ToolkenGPT: Augmenting Frozen Language Models with Massive Tools via Tool EmbeddingsShibo Hao, Tianyang Liu, Zhen Wang, Zhiting HuNeurIPS 2023 · 315 次引用
- MINT: Evaluating LLMs in Multi-turn Interaction with Tools and Language FeedbackXingyao Wang, Zihan Wang, Jiateng Liu, Yangyi Chen 等ICLR 2024 · 308 次引用
它引用的 Paper24
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma 等NeurIPS 2022 · 22,562 次引用
- Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo 等NeurIPS 2022 · 8,168 次引用
- Self-Refine: Iterative Refinement with Self-FeedbackAman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan 等NeurIPS 2023 · 4,972 次引用
- Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question AnsweringPan Lu, Swaroop Mishra, Tanglin Xia, Liang Qiu 等NeurIPS 2022 · 2,727 次引用
相关 Paper
- CRAFT: Customizing LLMs by Creating and Retrieving from Specialized ToolsetsLifan Yuan, Yangyi Chen, Xingyao Wang, Yi Fung 等ICLR 2024 · 117 次引用
- On the Planning Abilities of Large Language Models - A Critical InvestigationKarthik Valmeekam, Matthew Marquez, Sarath Sreedharan, Subbarao KambhampatiNeurIPS 2023 · 509 次引用
- ChatCoT: Tool-Augmented Chain-of-Thought Reasoning on Chat-based Large Language ModelsZhipeng Chen, Kun Zhou, Beichen Zhang, Zheng Gong 等EMNLP Findings 2023 · 30 次引用
- ChemAgent: Self-updating Memories in Large Language Models Improves Chemical ReasoningXiangru Tang, Tianyu Hu, Muyang Ye, Yanjun Shao 等ICLR 2025
- Do great minds think alike? Investigating Human-AI Complementarity in Question Answering with CAIMIRAMaharshi Gor, Hal Daumé III, Tianyi Zhou, Jordan L. Boyd-GraberEMNLP 2024 · 7 次引用
