Adaptive-Solver Framework for Dynamic Strategy Selection in Large Language Model Reasoning

Jianpeng Zhou, Wanjun Zhong, Yanlin Wang, Jiahai Wang
10/1/2023
34 citations
cs.CLcs.AI

Official code: john1226966735/Adaptive-Solver (6 stars, Python, last commit 2026-03-31).

Abstract

Large Language Models (LLMs) demonstrate impressive ability in handling reasoning tasks. However, unlike humans who can instinctively adapt their problem-solving strategies to the complexity of task, most LLM-based methods adopt a one-size-fits-all approach.

Show full abstract

These methods employ consistent models, sample sizes, prompting methods and levels of problem decomposition, regardless of the problem complexity. The inflexibility of these methods can bring unnecessary computational overhead or sub-optimal performance. To address this limitation, we introduce an Adaptive-Solver (AS) framework tha dynamically adapts solving strategies to suit various problems, enabling the flexible allocation of test-time computational resources. The framework functions with two primary modules. The initial evaluation module assesses the reliability of the current solution using answer consistency. If the solution is deemed unreliable, the subsequent adaptation module comes into play. Within this module, various types of adaptation strategies are employed collaboratively. Through such dynamic and multi-faceted adaptations, our framework can help reduce computational consumption and improve performance. Experimental results from complex reasoning benchmarks reveal that our method can significantly reduce API costs (up to 85%) while maintaining original performance. Alternatively, it achieves up to 4.5% higher accuracy compared to the baselines at the same cost. The code and dataset are available at https://github.com/john1226966735/Adaptive-Solver.

View on arXivView PDF

Code Implementations(1)

This repository contains the codes and data for the paper "Adaptive-Solver Framework for Dynamic Strategy Selection in Large Language Model Reasoning" which will soon be published in Information Processing & Management.

61PythonDec 23, 20248 months ago

Similar Papers

Cite this paper

@article{zhou2023adaptivesolver,
  title  = {Adaptive-Solver Framework for Dynamic Strategy Selection in Large Language Model Reasoning},
  author = {Jianpeng Zhou and Wanjun Zhong and Yanlin Wang and Jiahai Wang},
  year   = {2023},
  eprint = {2310.01446},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.01446v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.01446.svg)](https://codeofpaper.com/paper/2310.01446)

Discussion