{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2508-00890","title":"AgentTTS: Large Language Model Agent for Test-time Compute-optimal Scaling Strategy in Complex Tasks","arxiv_id":"2508.00890","date":"2025-07-26","proceeding":"NeurIPS","authors":["Fali Wang","Hui Liu","Zhenwei Dai","Jingying Zeng","Zhiwei Zhang","Zongyu Wu","Chen Luo","Zhen Li","Xianfeng Tang","Qi He","Suhang Wang"],"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.","url_abs":"https://arxiv.org/abs/2508.00890","url_pdf":"https://arxiv.org/pdf/2508.00890","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2508.00890","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2508.00890"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/FairyFali/AgentTTS","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"unverified":5},"by_repo_kind":{"found_in_text":{"samples":5,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"6f9ada868beb8194","entry":"assign_chatchain_cycleNum","repo":"FairyFali/AgentTTS","repo_kind":"found_in_text","path":"code_chatdev/gen_configs.py","file_url":"https://github.com/FairyFali/AgentTTS/blob/HEAD/code_chatdev/gen_configs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6f9ada868beb8194"}},{"code_sha256_prefix":"1abfe61beaf52e0a","entry":"assign_phase_models","repo":"FairyFali/AgentTTS","repo_kind":"found_in_text","path":"code_chatdev/gen_configs.py","file_url":"https://github.com/FairyFali/AgentTTS/blob/HEAD/code_chatdev/gen_configs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1abfe61beaf52e0a"}},{"code_sha256_prefix":"1008279aff0e9c6c","entry":"flatten","repo":"FairyFali/AgentTTS","repo_kind":"found_in_text","path":"code_others/archon_taskbench.py","file_url":"https://github.com/FairyFali/AgentTTS/blob/HEAD/code_others/archon_taskbench.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1008279aff0e9c6c"}},{"code_sha256_prefix":"313bb52aeba6a1b8","entry":"get_config","repo":"FairyFali/AgentTTS","repo_kind":"found_in_text","path":"code_chatdev/gen_configs.py","file_url":"https://github.com/FairyFali/AgentTTS/blob/HEAD/code_chatdev/gen_configs.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"313bb52aeba6a1b8"}},{"code_sha256_prefix":"043fc4b1c4483d0c","entry":"get_prompt","repo":"FairyFali/AgentTTS","repo_kind":"found_in_text","path":"code_others/archon_taskbench.py","file_url":"https://github.com/FairyFali/AgentTTS/blob/HEAD/code_others/archon_taskbench.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"043fc4b1c4483d0c"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.AI","source":"arxiv_api"},"syntology_extracted_results":null}