GBC: Gradient-Based Connections for Optimizing Multi-Agent Systems

Agentic AI
Published: arXiv: 2606.28187v1
Authors

Xiaocheng Yang Abdulrahman Alrabah Dilek Hakkani-Tür Gokhan Tur

Abstract

Multi-agent systems (MAS) built on large language models (LLMs) provide a promising framework for solving complex tasks through role specialization and structured interaction. However, their performance is often limited by miscoordination and, more fundamentally, the lack of fine-grained credit assignment across agents. Existing approaches typically rely on coarse-grained feedback, making it difficult to identify which agents or interaction steps are responsible for errors. We propose Gradient-Based Connections (GBC), an approach for fine-grained attribution and optimization of multi-agent systems. GBC models a MAS as a computational graph and introduces gradient-based connection weights to quantify the influence of each agent's output on downstream agents at the token level. By constructing an attribution graph and propagating task-specific loss signals backward, our method enables precise identification of error sources and targeted prompt optimization. We further develop AgentChord, an efficient implementation that leverages prefix-based gradient computation. Experiments on MultiWOZ and τ-bench show that GBC improves multi-agent performance and outperforms strong single-agent and multi-agent baselines, and higher attribution quality is associated with greater optimization effectiveness. Code is available at: https://github.com/yxc-cyber/AgentChord.

Paper Summary

Problem
Multi-agent systems, which use large language models to solve complex tasks, often fail to outperform strong single-agent baselines. This is due to issues like miscoordination, inefficient communication, and the lack of fine-grained credit assignment. When errors occur, it's difficult to identify which agents or interaction steps are responsible, making it hard to optimize and improve the system.
Key Innovation
The researchers propose Gradient-Based Connections (GBC), a new approach that enables fine-grained attribution and optimization of multi-agent systems. GBC models a multi-agent system as a computational graph and introduces gradient-based connection weights to quantify the influence of each agent's output on downstream agents at the token level.
Practical Impact
GBC has the potential to revolutionize the way we design and optimize multi-agent systems. By enabling precise identification of error sources and targeted prompt optimization, GBC can improve multi-agent performance and help overcome the limitations of current approaches. This could lead to breakthroughs in areas like task-oriented dialogue, software engineering, and open-ended simulations.
Analogy / Intuitive Explanation
Imagine a team of workers trying to build a house. Each worker has a specific task, like laying bricks or hammering nails. If the house is not built correctly, it's hard to figure out which worker made the mistake. GBC is like a system that can analyze the work of each worker and identify exactly where the mistake was made. This allows the team to target their efforts and fix the problem more efficiently.
Paper Information
Categories:
cs.MA
Published Date:

arXiv ID:

2606.28187v1

Quick Actions