Designing Algorithms Empowered by Language Models: An Analytical Framework, Case Studies, and Insights
Not on the map. Why?
Abstract (arXiv)
This work presents an analytical framework for the design and analysis of LLM-based algorithms, i.e., algorithms that contain one or multiple calls of large language models (LLMs) as sub-routines and critically rely on the capabilities of LLMs. While such algorithms, ranging from basic LLM calls with prompt engineering to complicated LLM-powered agentic workflows and compound AI systems, have achieved remarkable empirical success, their design and optimization oftentimes require extensive trial-and-errors and case-by-case analysis. Our proposed framework serves as an attempt to mitigate such headaches, offering a formal and systematic approach for analyzing how the accuracy and efficiency of an LLM-based algorithm will be impacted by critical design choices, such as the pattern and granularity of task decomposition, or the prompt for each LLM call. Through a wide range of case studies covering diverse algorithm patterns (including parallel/hierarchical/recursive task decomposition and generic directed acyclic graphs), we demonstrate the proposed framework in action and derive interesting insights that generalize across scenarios, accompanied by systematic empirical validation in synthetic settings.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 20 Jul 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 2; 2025: 2.
4 papers.
- 2024Provable Scaling Laws for the Test-Time Compute of Large Language Modelscited by 25
- 2024Aviary: training language agents on challenging scientific taskscited by 23
- 2025Position: Scaling LLM Agents Requires Asymptotic Analysis with LLM Primitivescited by 7
- 2025EarthSE: A Benchmark for Evaluating Earth Scientific Exploration Capability of LLMscited by 7
- 2025EarthSE: A Benchmark for Evaluating Earth Scientific Exploration Capability of LLMs22 May 2025
- 2025Position: Scaling LLM Agents Requires Asymptotic Analysis with LLM Primitives4 Feb 2025
- 2024Aviary: training language agents on challenging scientific tasks30 Dec 2024
- 2024Provable Scaling Laws for the Test-Time Compute of Large Language Models29 Nov 2024
Similar, not cited
Close in wording, no citation either way
- 2024Creating an LLM-based AI-agent: A high-level methodology towards enhancing LLMs with APIs
- 2025Large Language Model Agent: A Survey on Methodology, Applications and Challenges
- 2024Large Language Model based Multi-Agents: A Survey of Progress and Challenges
- 2024Large Language Model-Based Agents for Software Engineering: A Survey
- 2024Understanding the planning of LLM agents: A survey
- 2024A Review of Prominent Paradigms for LLM-Based Agents: Tool Use (Including RAG), Planning, and Feedback Learning
- 2025From Language to Action: A Review of Large Language Models as Autonomous Agents and Tool Users
- 2024Practical Considerations for Agentic LLM Systems