[论文解读] Learning to Recommend Multi-Agent Subgraphs from Calling Trees
该论文将多智能体系统中的代理人与代理系统推荐建模为一个受约束的两阶段问题:使用检索从历史调用树中形成可行候选集,并使用学习排序在该集合内进行优化,支持单代理与子图(系统)推荐。
Multi-agent systems (MAS) increasingly solve complex tasks by orchestrating agents and tools selected from rapidly growing marketplaces. As these marketplaces expand, many candidates become functionally overlapping, making selection not just a retrieval problem: beyond filtering relevant agents, an orchestrator must choose options that are reliable, compatible with the current execution context, and able to cooperate with other selected agents. Existing recommender systems -- largely built for item-level ranking from flat user-item logs -- do not directly address the structured, sequential, and interaction-dependent nature of agent orchestration. We address this gap by extbf{formulating agent recommendation in MAS as a constrained decision problem} and introducing a generic extbf{constrained recommendation framework} that first uses retrieval to build a compact candidate set conditioned on the current subtask and context, and then performs extbf{utility optimization} within this feasible set using a learned scorer that accounts for relevance, reliability, and interaction effects. We ground both the formulation and learning signals in extbf{historical calling trees}, which capture the execution structure of MAS (parent-child calls, branching dependencies, and local cooperation patterns) beyond what flat logs provide. The framework supports two complementary settings: extbf{agent-level recommendation} (select the next agent/tool) and extbf{system-level recommendation} (select a small, connected agent team/subgraph for coordinated execution). To enable systematic evaluation, we construct a unified calling-tree benchmark by normalizing invocation logs from eight heterogeneous multi-agent corpora into a shared structured representation.
研究动机与目标
- 促使在大型、重叠的代理市场中超越逐项检索的需求,因为兼容性和协作性至关重要。
- 提出一个受约束的两阶段框架:(i) 通过检索构建可行性;(ii) 通过学习得分函数优化效用。
- 在历史调用树中扎根,并支持代理级和系统级(子图)推荐。
- 提供一个统一的、归一化的调用树数据集,覆盖八个语料库,以实现一致评估。
- demonstrate improved stability, coherence, and end-to-end execution quality over baselines.
提出的方法
- 两阶段受约束的推荐框架:先构建候选集的可行性,然后在该集合内使用学习得分函数进行优化。
- SARL:单代理推荐学习,使用检索形成 A_feasible(t),并用具有共享评分函数 s_theta(q_t, a) 的重新排序器。
- ASRL:代理-系统推荐学习扩展到子图 g,检索可行的代理系统 G_feasible(t),并用系统级得分函数 s_theta(q, g) 进行排序。
- 评分模型整合特征:与任务查询的关系、代理/系统能力、图结构关系、历史可靠性,以及候选板块的上下文。
- 使用 Phi 向量的特殊线性实例化来实现可解释的线性学习排序:s_theta(q, a) = w^T Phi(q, a),s_theta(q, g) 亦同。
- 令牌复杂度分析支持两阶段设计相较于朴素排序在令牌预算友好性方面的优势。

实验结果
研究问题
- RQ1受约束的分层推荐是否能在大型、重叠市场中改善可执行代理和代理子图的选择?
- RQ2检索基础的可行性构建与学习得到的效用排序如何协同提升多智能体系统的稳定性、协调性和端到端执行质量?
- RQ3该框架是否可通过共同的评分骨架推广到代理级与系统级(子图)推荐?
- RQ4可以建立何种统一数据集,以在不同多智能体语料库上公平评估代理与代理-系统推荐?
- RQ5在大规模 MAS 编排中部署基于大型语言模型的检索与排序时,实际的令牌预算考虑因素有哪些?
主要发现
- 受约束的两阶段框架在多数据集上始终能够比强基线给出更高质量的代理选择与更连贯的代理系统。
- SARL(单代理)在若干正向数据集上优于直接检索和基于余弦相似度的排序,且当检索阶段提供强候选集时提升显著。
- ASRL(代理-系统)达到最强性能,在所有六个中等数据集上达到 Top-1 的100%,优于单阶段和基于余弦相似度的基线。
- 通过将八个异质语料库归一化,构建了一个统一的调用树数据集,使代理级和系统级设置的评估保持一致。
- 检索成功率(阶段1)在 SARL 与 ASRL 上在各数据集保持较高水平,且两阶段方法在令牌预算内具备高效扩展性。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。