mlsanityData to 14 Oct 2026

Building LLM Agent Systems the Deep Learning Way: From Modular Design to Architecture Search

arXiv 2610.04961 ↗First posted 4 Oct 2026cs.CLcited by 0

On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks

Abstract (arXiv)

Large Language Models (LLMs) have revolutionized AI research and enabled exciting agent systems. To build a complex LLM agent system, most existing research relies on insights from other domains or heuristics to manually build the agent system. However, this approach often requires heavy hand-engineering and fails to fully optimize for the downstream task of interest. Inspired by the tremendous success of deep learning, we propose to construct LLM agent systems in a modular manner, similar to building a deep neural network. Our key insight is to make analogies between LLM building blocks, such as retrievals, memories, and prompting strategies, and the successful deep learning modules, such as MLPs, attention, and recurrent modules. We further design forward inference and feedback mechanisms for LLMs, where prompts in LLMs are considered as the weights in deep models, and the prompt optimization from feedback is analogous to the back-propagation algorithm. We additionally leverage a search algorithm to search for the best configuration of LLM agent systems, similar to the neural architecture search (NAS) in deep learning research. Comprehensive experimental results demonstrate that the proposed deep learning recipe for LLM agent systems is highly effective, in particular: (1) Organizing LLM modules into deep-learning-style architectures yields noticeable performance gain; (2) Automatic prompt optimization, equivalent to backpropagation, is efficient in incorporating feedback from the task of interest and achieves at least 5% performance improvement; (3) NAS equivalent algorithm works well for further optimizing the LLM agent system architecture with 11% performance gain compared with randomly designed architectures. Overall, our research demonstrates the exciting opportunity of transferring the success of deep learning to building LLM agent systems.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 34 of its 55 references that are in the map. First posted on arXiv 4 Oct 2026.

Builds on

34 of 55 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023A Survey on Large Language Model based Autonomous Agents22 Aug
  2. 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviors21 Aug
  3. 2023ExpeL: LLM Agents Are Experiential Learners20 Aug
  4. 2023Multi-Agent Collaboration: Harnessing the Power of Intelligent LLM Agents5 Jun

Other references · 30

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  5. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
  6. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,501
  7. 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
  8. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
  9. 2018Dual Attention Network for Scene Segmentationcited by 1,003
  10. 2023Graph of Thoughts: Solving Elaborate Problems with Large Language Modelscited by 886
  11. 2018Efficient Neural Architecture Search via Parameter Sharingcited by 837
  12. 2021Did Aristotle Use a Laptop? A Question Answering Benchmark with Implicit Reasoning Strategiescited by 743
18 more
  1. 2022Recipe for a General, Powerful, Scalable Graph Transformercited by 713
  2. 2021Transformer in Transformercited by 633
  3. 2020Heterogeneous Graph Transformercited by 582
  4. 2019Graph Transformer Networkscited by 523
  5. 2017Progressive Neural Architecture Searchcited by 487
  6. 2017Residual Attention Network for Image Classificationcited by 386
  7. 2023Check Your Facts and Try Again: Improving Large Language Models with External Knowledge and Automated Feedbackcited by 353
  8. 2019Cross Attention Network for Few-shot Classificationcited by 219
  9. 2023Head-to-Tail: How Knowledgeable are Large Language Models (LLMs)? A.K.A. Will LLMs Replace Knowledge Graphs?cited by 168
  10. 2023SmartPlay: A Benchmark for LLMs as Intelligent Agentscited by 125
  11. 2023How to Train Your DRAGON: Diverse Augmentation Towards Generalizable Dense Retrievalcited by 118
  12. 2021MagNet: A Neural Network for Directed Graphscited by 107
  13. 2023Automating Customer Service using LangChain: Building custom open-source GPT Chatbot for organizationscited by 61
  14. 2023LLM as OS, Agents as Apps: Envisioning AIOS, Agents and the AIOS-Agent Ecosystemcited by 38
  15. 2019Single Headed Attention RNN: Stop Thinking With Your Headcited by 26
  16. 2019RTHN: A RNN-Transformer Hierarchical Network for Emotion Cause Extractioncited by 25
  17. 2022Introspective Learning : A Two-Stage Approach for Inference in Neural Networkscited by 20
  18. 2016Survey on the attention based RNN model and its applications in computer visioncited by 15

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023The Rise and Potential of Large Language Model Based Agents: A Survey
  2. 2024Enhancing the General Agent Capabilities of Low-Parameter LLMs through Tuning and Multi-Branch Reasoning
  3. 2025From Language to Action: A Review of Large Language Models as Autonomous Agents and Tool Users
  4. 2024AgentSquare: Automatic LLM Agent Search in Modular Design Space
  5. 2023AgentTuning: Enabling Generalized Agent Abilities for LLMs
  6. 2024Offline Training of Language Model Agents with Functions as Learnable Weights
  7. 2023An In-depth Survey of Large Language Model-based Artificial Intelligence Agents
  8. 2024A Survey on the Memory Mechanism of Large Language Model based Agents