Papers › Textual Equilibrium Propagation for Deep Compound AI Systems

Textual Equilibrium Propagation for Deep Compound AI Systems

28 Jan 2026arXiv:2601.21064added by Syntology

Minghui Chen, Wenlong Deng, James Zou, Han Yu, Xiaoxiao Li

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2601.21064")

Code

Syntology Ran 0 of 15 code samples harvested from 1 repository linked to this paper; 15 have no recorded run.

By repository: found in paper text by Syntology: 15 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

MinghuiChen43/TEP found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

15 samples harvested; 0 ran; 0 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

15unverified

Licence: 0 of the 15 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from MinghuiChen43/TEP. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

collect_trainable_components MinghuiChen43/TEP/src/tep/runtime/prompt_state.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 10499876ed9a8c47 · report
describe_prompt_state_coverage MinghuiChen43/TEP/src/tep/runtime/prompt_state.py found in paper text by Syntology unverified Apache-2.0 (permissive) · f20e933a9a8baf2a · report
eval_system MinghuiChen43/TEP/src/tep/runtime/core.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 30ab1ccfd5eb254b · report
f1_score MinghuiChen43/TEP/src/tep/metrics/f1.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 6ce524d71a9b9d78 · report
get_llm_output MinghuiChen43/TEP/src/tep/runtime/core.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c0b4b62f55624b7a · report
load_prompt_state_dict MinghuiChen43/TEP/src/tep/runtime/prompt_state.py found in paper text by Syntology unverified Apache-2.0 (permissive) · cf41f610b0f11103 · report
make_raw_chat_prompt MinghuiChen43/TEP/src/tep/tasks/bigcodebench/common.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 51412732efc5c512 · report
mrr MinghuiChen43/TEP/src/tep/metrics/mrr.py found in paper text by Syntology unverified Apache-2.0 (permissive) · af9c48b788c853d4 · report
normalize_answer MinghuiChen43/TEP/src/tep/metrics/f1.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 03171efd2aab7e80 · report
parse_k_grid MinghuiChen43/TEP/src/tep/runtime/split_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 0d9d167c2aabf1f8 · report
read_json MinghuiChen43/TEP/src/tep/runtime/split_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 9b813f8c08247898 · report
run_untrusted_check MinghuiChen43/TEP/src/tep/tasks/bigcodebench/common.py found in paper text by Syntology unverified Apache-2.0 (permissive) · aa2bc40da3858a9d · report
sanitize_code MinghuiChen43/TEP/src/tep/tasks/bigcodebench/common.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 81b735d03866d49a · report
setup_logger MinghuiChen43/TEP/src/tep/runtime/core.py found in paper text by Syntology unverified Apache-2.0 (permissive) · cb199a9c59c7dbb3 · report
split_ids_for_examples MinghuiChen43/TEP/src/tep/runtime/split_utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 5e56946e001d6e4c · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.21064, was issued in January 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections