paper-with-me

Papers

StrategyLLM: Large Language Models as Strategy Generators, Executors, Optimizers, and Evaluators for Problem Solving

2023-11-15 · Chang Gao, Haiyun Jiang, Deng Cai, Shuming Shi, Wai Lam

Most existing prompting methods suffer from the issues of generalizability and consistency, as they often rely on instance-specific solutions that may not be applicable to other instances and lack task-level consistency across the selected few-shot examples. To address these limitations, we propose a comprehensive framework, StrategyLLM, allowing LLMs to perform inductive reasoning, deriving general strategies from specific task instances, and deductive reasoning, applying these general strategies to particular task examples, for constructing generalizable and consistent few-shot prompts. It employs four LLM-based agents: strategy generator, executor, optimizer, and evaluator, working together to generate, evaluate, and select promising strategies for a given task. Experimental results demonstrate that StrategyLLM outperforms the competitive baseline CoT-SC that requires human-annotated solutions on 13 datasets across 4 challenging tasks without human involvement, including math reasoning (34.2\% $\rightarrow$ 38.8\%), commonsense reasoning (70.3\% $\rightarrow$ 72.5\%), algorithmic reasoning (73.7\% $\rightarrow$ 85.0\%), and symbolic reasoning (30.0\% $\rightarrow$ 79.2\%). Further analysis reveals that StrategyLLM is applicable to various LLMs and demonstrates advantages across numerous scenarios.

📄 PDF Abstract BibTeX arXiv:2311.08803

Code (1)

gao-xiao-bai/strategyllm 공식 구현

Tasks

Math

Similar Papers 제목 키워드 기반

Reasoning Like Program Executors

2022-01-27 · Xinyu Pi, Qian Liu, Bei Chen, Morteza Ziyadi 외

Reasoning over natural language is a long-standing goal for the research community. However, studies have shown that existing language models are inadequate in reasoning. To address the issue, we present POET, a novel re…

Logical ReasoningMathQuestion Answering

SURGE: On the Potential of Large Language Models as General-Purpose Surrogate Code Executors

2025-02-16 · Bohan Lyu, Siqiao Huang, Zichen Liang

Large language models (LLMs) have demonstrated remarkable capabilities in code-related tasks, such as code understanding and code generation. However, an equally important yet underexplored question is whether LLMs can s…

Code Generation

Coupling Distributed and Symbolic Execution for Natural Language Queries

2016-12-08 · ICML 2017 8 · Lili Mou, Zhengdong Lu, Hang Li, Zhi Jin

Building neural networks to query a knowledge base (a table) with natural language is an emerging research topic in deep learning. An executor for table querying typically requires multiple steps of execution because que…

Natural Language Queries

Responsible Task Automation: Empowering Large Language Models as Responsible Task Automators

2023-06-02 · Zhizheng Zhang, Xiaoyi Zhang, Wenxuan Xie, Yan Lu

The recent success of Large Language Models (LLMs) signifies an impressive stride towards artificial general intelligence. They have shown a promising prospect in automatically completing tasks upon user instructions, fu…

Prompt Engineering

Large Language Models as Code Executors: An Exploratory Study

2024-10-09 · Chenyang Lyu, Lecheng Yan, Rui Xing, Wenxi Li 외

The capabilities of Large Language Models (LLMs) have significantly evolved, extending from natural language processing to complex tasks like code understanding and generation. We expand the scope of LLMs' capabilities t…