mlsanityData to 14 Oct 2026

How to Correctly do Semantic Backpropagation on Language-based Agentic Systems

arXiv 2412.03624 ↗First posted 4 Dec 2024cs.AI cs.CL cs.LGcited by 18

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

Abstract (arXiv)

Language-based agentic systems have shown great promise in recent years, transitioning from solving small-scale research problems to being deployed in challenging real-world tasks. However, optimizing these systems often requires substantial manual labor. Recent studies have demonstrated that these systems can be represented as computational graphs, enabling automatic optimization. Despite these advancements, most current efforts in Graph-based Agentic System Optimization (GASO) fail to properly assign feedback to the system's components given feedback on the system's output. To address this challenge, we formalize the concept of semantic backpropagation with semantic gradients -- a generalization that aligns several key optimization techniques, including reverse-mode automatic differentiation and the more recent TextGrad by exploiting the relationship among nodes with a common successor. This serves as a method for computing directional information about how changes to each component of an agentic system might improve the system's output. To use these gradients, we propose a method called semantic gradient descent which enables us to solve GASO effectively. Our results on both BIG-Bench Hard and GSM8K show that our approach outperforms existing state-of-the-art methods for solving GASO problems. A detailed ablation study on the LIAR dataset demonstrates the parsimonious nature of our method. A full copy of our implementation is publicly available at https://github.com/HishamAlyahya/semantic_backprop

Key facts. Cited by 18 papers in the map (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 12 of its 35 references that are in the map. First posted on arXiv 4 Dec 2024.

Builds on

12 of 35 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024Symbolic Learning Enables Self-Evolving Agents26 Jun

Other references · 11

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2024A Survey on the Memory Mechanism of Large Language Model based Agentscited by 634
  3. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
  4. 2024MLLM-as-a-Judge: Assessing Multimodal LLM-as-a-Judge with Vision-Language Benchmarkcited by 372
  5. 2023GPTScore: Evaluate as You Desirecited by 361
  6. 2024TextGrad: Automatic "Differentiation" via Textcited by 273
  7. 2023Mindstorms in Natural Language-Based Societies of Mindcited by 107
  8. 2024From LLMs to LLM-based Agents for Software Engineering: A Survey of Current, Challenges and Futurecited by 86
  9. 2024Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMscited by 69
  10. 2015On Learning to Think: Algorithmic Information Theory for Novel Combinations of Reinforcement Learning Controllers and Recurrent Neural World Modelscited by 55
  11. 2024GRAD-SUM: Leveraging Gradient Summarization for Optimal Prompt Engineeringcited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 11.

18 papers.

Sort:

By area:

  1. 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 126
  2. 2025Multi-Agent Design: Optimizing Agents with Better Prompts and Topologiescited by 113
  3. 2025Self-Supervised Prompt Optimizationcited by 37
  4. 2026Self-Improvements in Modern Agentic Systems: A Surveycited by 19
  5. 2026Self-Evolving World Models for LLM Agent Planningcited by 13
  6. 2026MASPOB: Bandit-Based Prompt Optimization for Multi-Agent Systems with Graph Neural Networkscited by 9
  7. 2026Understanding the Challenges in Iterative Generative Optimization with LLMscited by 8
  8. 2025metaTextGrad: Automatically optimizing language model optimizerscited by 6
  9. 2025Compound AI Systems Optimization: A Survey of Methods, Challenges, and Future Directionscited by 4
  10. 2026Beyond Consensus: Trace-Level Synthesis in Mixture of Agentscited by 4
  11. 2025PMPO: Probabilistic Metric Prompt Optimization for Small and Large Language Modelscited by 3
  12. 2026JudgeFlow: Agentic Workflow Optimization via Block Judgecited by 3
6 more
  1. 2026Self-Optimizing Multi-Agent Systems for Deep Researchcited by 2
  2. 2025When Your Own Output Becomes Your Training Data: Noise-to-Meaning Loops and a Formal RSI Triggercited by 1
  3. 2026Compiling Deterministic Structure into SLM Harnessescited by 0
  4. 2026Telco-GAIA: Bilingual Benchmark for Agents in Telecom Domaincited by 0
  5. 2026EMAS: Stabilizing Multi-Agent System Evolution through Evidence-Guided Revisioncited by 0
  6. 2026TRACE: TRajectory Attribution for Automated Context Engineeringcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025HiVA: Self-organized Hierarchical Variable Agent via Goal-driven Semantic-Topological Evolution
  2. 2026AgentGrad: Intervention-guided Prompt Optimization for Multi Agent Systems
  3. 2025MAPGD: Multi-Agent Prompt Gradient Descent for Collaborative Prompt Optimization
  4. 2024Input Conditioned Graph Generation for Language Agents
  5. 2026Learning to Evolve: A Self-Improving Framework for Multi-Agent Systems via Textual Parameter Graph Optimization
  6. 2026AgentGL: Towards Agentic Graph Learning with LLMs via Reinforcement Learning
  7. 2024Agentic AI: The Era of Semantic Decoding
  8. 2024AgentGym: Evolving Large Language Model-based Agents across Diverse Environments