arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.06859cs.LGcs.AI
收藏

精确更简单:合作大语言模型代理的信用分配

The Trace Is the State: Exact Credit Assignment for LLM Agent Teams

Eastern Institute of Technology(东部技术研究所);The Hong Kong Polytechnic University(香港理工大学);Harbin Institute of Technology(哈尔滨工业大学)

Yanjun Chen, Yirong Sun, Hanlin Wang, Jinghan Wang, Xinming Zhang, Xiaoyu Shen, Wenjie Li, Wei Zhang

AI总结:

本文提出C3方法,通过精确历史恢复实现合作大语言模型代理的信用分配,证明精确方法在效果、成本和效率上均优于近似方法,并引入三种可审计指标用于信用评估。

摘要:

在合作团队中移除一个代理以测量其贡献似乎很自然,但在多代理大语言模型系统中,这种评估会扭曲其声称测量的结果。这种失败并非孤立:学习的批评者、轨迹级基线和代理移除的反事实都继承自标准多代理强化学习的一个前提,即精确反事实评估需要特权环境访问,因此是近似的。在合作大语言模型系统中,这一前提是错误的。交互历史是可观测文本的确定性函数,没有隐藏状态,因此任何决策点都可以精确恢复,使直接因果测量成为可能,而无需参数近似。C3利用这一特性,在每个决策点固定完整历史,根据冻结的行为策略采样替代动作,并通过无参数的leave-one-out基线计算无偏的每决策优势。在六个涵盖数学推理和代码生成的基准、两个模型家族和两种多代理拓扑中,C3始终优于所有基线;受控分解证实收益源于信用质量,而非架构。检查点恢复减少了训练token消耗。精确解证明比所有近似方法更简单、更便宜、更有效。使精确信用分配成为可能的相同结构属性也使精确验证成为可能:三个独立可计算的诊断指标,信用保真度、组内方差和跨代理影响,构成了第一个方法无关的多代理大语言模型信用分配审计工具。我们的代码可在https://github.com/EIT-EAST-Lab/C3获取。

英文摘要:

Credit assignment for a team of LLM agents, what each message was worth, has mostly been treated as prediction: a learned critic, a trajectory-level score, or an agent ablation stands in for the counterfactual that defines credit, which is rarely run. Teams that communicate through a shared context are different: when everything a downstream agent reads is written into the trace, the trace is the state, and that counterfactual can be executed. A credit signal can then be judged as any estimator is: by bias, variance, and agreement with an independent reference. C3, credit assignment by counterfactual continuation, substitutes one message at a decision point and continues the run to the terminal reward, so its credit is unbiased, exact up to Monte Carlo error. Given the sampled alternatives, that error's variance follows a derived law with no term for the number of agents, and the observed noise follows the law on 6 workflows of 2 to 10 decision points. On the 2-agent chain, from 4 continuations, C3 ranks alternatives at 0.69 rank correlation against a 16-continuation reference, near the 0.73 at which 2 such references agree; a critic trained on the same rollouts reaches 0.29. Used as the advantage in training a 2-agent team, C3 beats MAGRPO, the stronger baseline in our comparison, and spends 37% fewer training tokens than MAPPO, since only the messages downstream of a decision point are regenerated. When the trace is the state, credit need not be predicted; it can be exact.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑