Skip to main content
QUICK REVIEW

[论文解读] Textual Equilibrium Propagation for Deep Compound AI Systems

Min Chen, Wenlong Deng|arXiv (Cornell University)|Jan 28, 2026
Topic ModelingComputer Science被引用 0
一句话总结

TEP 引入基于局部平衡的学习框架,以优化深度复合型 AI 系统,缓解文本梯度的爆炸与消失,并在工作流深度增加时显著优于全局反向传播方法(如 TextGrad)。

ABSTRACT

Large language models (LLMs) are increasingly deployed as part of compound AI systems that coordinate multiple modules (e.g., retrievers, tools, verifiers) over long-horizon workflows. Recent approaches that propagate textual feedback globally (e.g., TextGrad) make it feasible to optimize such pipelines, but we find that performance degrades as system depth grows. In particular, long-horizon agentic workflows exhibit two depth-scaling failure modes: 1) exploding textual gradient, where textual feedback grows exponentially with depth, leading to prohibitively long message and amplifies evaluation biases; and 2) vanishing textual gradient, where limited long-context ability causes models overemphasize partial feedback and compression of lengthy feedback causes downstream messages to lose specificity gradually as they propagate many hops upstream. To mitigate these issues, we introduce Textual Equilibrium Propagation (TEP), a local learning principle inspired by Equilibrium Propagation in energy-based models. TEP includes two phases: 1) a free phase where a local LLM critics iteratively refine prompts until reaching equilibrium (no further improvements are suggested); and 2) a nudged phase which applies proximal prompt edits with bounded modification intensity, using task-level objectives that propagate via forward signaling rather than backward feedback chains. This design supports local prompt optimization followed by controlled adaptation toward global goals without the computational burden and signal degradation of global textual backpropagation. Across long-horizon QA benchmarks and multi-agent tool-use dataset, TEP consistently improves accuracy and efficiency over global propagation methods such as TextGrad. The gains grows with depth, while preserving the practicality of black-box LLM components in deep compound AI system.

研究动机与目标

  • 识别全局文本反向传播在深度复合型 AI 工作流中的深度相关失败。
  • 提出带自由阶段的文本平衡传播(TEP),用于局部平衡与带限编辑的引导阶段。
  • 在多步问答与工具使用基准上证明 TEP 随深度扩展的可扩展性更好。
  • 展示 TEP 在准确性与效率方面优于 TextGrad 及相关基线方法。

提出的方法

  • 将复合型 AI 系统建模为具有节点本地参数的随机计算图。
  • 将爆炸与消失的文本梯度形式化为深度相关的失败模式。
  • 提出两阶段的文本平衡传播:自由阶段用于局部平衡,带有对提示编辑的有界 nudged 阶段。
  • 使用节点本地的评估器与近端更新以确保有界、与任务对齐的改进。
  • 通过与 TextGrad 及其他基线在多个基准上的经验比较进行验证。
  • 提供消融研究,显示两阶段对全球协同的重要性。

实验结果

研究问题

  • RQ1TEP 是否能在深度复合型 AI 流水线中优于全局文本反向传播方法(如 TextGrad)?
  • RQ2当流水线深度增加时,爆炸与消失的文本梯度在实践中如何表现,TEP 是否能缓解?
  • RQ3TEP 的哪些组成部分(自由阶段、nudged 阶段)对性能提升的贡献最大?
  • RQ4在多步问答与代码生成等任务的深度扩展下,TEP 是否具备鲁棒性?

主要发现

  • TEP 在所测试的四个基准上均实现最佳性能,在 HotpotQA 上的增益显著(8.1% 对比次佳),BigCodeBench 上增益为 3.4%。
  • TEP 在多步问答与工具使用任务中持续优于 TextGrad 与 TextGrad+Summarization。
  • 消融实验表明移除自由阶段或 nudged 阶段中的任意一个都会降性能,凸显它们的互补作用。
  • TEP 展现出对深度的稳定扩展能力,避免信息长度呈指数级增长与特异性丧失的问题。
  • 在解题优化设置中,TEP 提高了 GPQA 准确率与对象计数准确率,相较基线有提升。
  • TextGrad 结合摘要可能在推理任务上降低性能,显示了基于压缩的方法的局限性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。