English

AgentTTS: Large Language Model Agent for Test-time Compute-optimal Scaling Strategy in Complex Tasks

Artificial Intelligence 2025-10-23 v2 Computation and Language Machine Learning

Abstract

Test-time scaling (TTS) enhances the performance of large language models (LLMs) by allocating additional compute resources during inference. However, existing research primarily investigates TTS in single-stage tasks; while many real-world problems are multi-stage complex tasks, composed of a sequence of heterogeneous subtasks with each subtask requires LLM of specific capability. Therefore, we study a novel problem: the test-time compute-optimal scaling in multi-stage complex tasks, aiming to select suitable models and allocate budgets per subtask to maximize overall performance. TTS in multi-stage tasks introduces two fundamental challenges: (i) The combinatorial search space of model and budget allocations, combined with the high cost of inference, makes brute-force search impractical. (ii) The optimal model and budget allocations across subtasks are interdependent, increasing the complexity of the compute-optimal search. To address this gap, we conduct extensive pilot experiments on four tasks across six datasets, deriving three empirical insights characterizing the behavior of LLMs in multi-stage complex tasks. Informed by these insights, we propose AgentTTS, an LLM-agent-based framework that autonomously searches for compute-optimal allocations through iterative feedback-driven interactions with the execution environment. Experimental results demonstrate that AgentTTS significantly outperforms traditional and other LLM-based baselines in search efficiency, and shows improved robustness to varying training set sizes and enhanced interpretability.

Keywords

Cite

@article{arxiv.2508.00890,
  title  = {AgentTTS: Large Language Model Agent for Test-time Compute-optimal Scaling Strategy in Complex Tasks},
  author = {Fali Wang and Hui Liu and Zhenwei Dai and Jingying Zeng and Zhiwei Zhang and Zongyu Wu and Chen Luo and Zhen Li and Xianfeng Tang and Qi He and Suhang Wang},
  journal= {arXiv preprint arXiv:2508.00890},
  year   = {2025}
}

Comments

Accepted by NeurIPS 2025

R2 v1 2026-07-01T04:29:56.561Z