Uncategorized

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



Download a PDF of the paper titled StrategyLLM: Large Language Models as Strategy Generators, Executors, Optimizers, and Evaluators for Problem Solving, by Chang Gao and 4 other authors

Download PDF

Abstract:Most existing chain-of-thought (CoT) 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 cases and lack task-level consistency in their reasoning steps. To address these limitations, we propose a comprehensive framework, StrategyLLM, harnessing the capabilities of LLMs to construct generalizable and consistent few-shot prompts for various tasks automatically. To this end, StrategyLLM employs four LLM-based agents: strategy generator, executor, optimizer, and evaluator, working together to generate, evaluate, and select promising strategies for a given task. The 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.21% $\rightarrow$ 38.79%), commonsense reasoning (70.3% $\rightarrow$ 72.5%), algorithmic reasoning (51.7% $\rightarrow$ 62.0%), and symbolic reasoning (30.0% $\rightarrow$ 79.2%).

Submission history

From: Chang Gao [view email]
[v1]
Wed, 15 Nov 2023 09:18:09 UTC (266 KB)
[v2]
Fri, 16 Feb 2024 08:06:25 UTC (319 KB)



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *