Papers › CORRECT: COndensed eRror RECognition via knowledge Transfer in multi-agent systems

CORRECT: COndensed eRror RECognition via knowledge Transfer in multi-agent systems

28 Sep 2025ICMLarXiv:2509.24088added by Syntology

Yifan Yu, Moyan Li, Shaoyuan Xu, Jinmiao Fu, Xinhai Hou, Fan Lai, Bryan Wang

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

Multi-agent systems (MAS) are increasingly capable of tackling complex real-world tasks, yet their reliance on inter-agent coordination, tool use, and long-horizon reasoning makes error recognition particularly challenging. Minor errors can propagate across agents, escalating into task failures while producing long, intertwined execution trajectories that impose significant costs for both human developers and automated systems to debug and analyze. Our key insight is that, despite surface differences in failure trajectories (e.g., logs), MAS errors often recur with similar structural patterns. This paper presents CORRECT, the first lightweight, training-free framework that leverages an online cache of distilled error schemata to recognize and transfer knowledge of failure structures across new requests. This cache-based reuse allows LLMs to perform targeted error localization at inference time, avoiding the need for expensive retraining while adapting to dynamic MAS deployments in subseconds. To support rigorous study in this domain, we also introduce CORRECT-Error, a large-scale dataset of over 2,000 annotated trajectories collected through a novel error-injection pipeline guided by real-world distributions, and further validated through human evaluation to ensure alignment with natural failure patterns. Experiments across seven diverse MAS applications show that CORRECT improves step-level error localization up to 19.8% over existing advances while at near-zero overhead, substantially narrowing the gap between automated and human-level error recognition.

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="2509.24088")

Code

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

By repository: found in paper text by Syntology: 22 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.

UIUC-MLSys/CORRECT found in paper text by SyntologyNOASSERTION 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

22 samples harvested; 0 ran; 0 honoured the contract we drafted; 22 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.

22unverified

Licence: 22 of the 22 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 UIUC-MLSys/CORRECT. “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.

all_at_once_baseline_parallel UIUC-MLSys/CORRECT/src/Lib/cloud_paper.py found in paper text by Syntology unverified licence not identified · pointer only · 15569da03b75f0a9 · report
all_at_once_with_schemata UIUC-MLSys/CORRECT/src/Lib/utils.py found in paper text by Syntology unverified licence not identified · pointer only · e40ecf0918fb5052 · report
all_at_once_with_schemata_gemini UIUC-MLSys/CORRECT/src/Lib/utils.py found in paper text by Syntology unverified licence not identified · pointer only · f6f8f547e2c47f02 · report
analyze_all_at_once_cloud_with_schemata_parallel UIUC-MLSys/CORRECT/src/Lib/cloud_paper.py found in paper text by Syntology unverified licence not identified · pointer only · bf55923066bb8924 · report
clean_text UIUC-MLSys/CORRECT/src/Lib/cloud_paper.py found in paper text by Syntology unverified licence not identified · pointer only · 18f2cdd35c9ac991 · report
compute_trajectory_similarities UIUC-MLSys/CORRECT/src/generate_trajectory_similarities.py found in paper text by Syntology unverified licence not identified · pointer only · 112a1056fe290fc3 · report
create_prompt UIUC-MLSys/CORRECT/src/error_schema_generator_cloud.py found in paper text by Syntology unverified licence not identified · pointer only · 4e0a44a338e3f88e · report
evaluate_accuracy UIUC-MLSys/CORRECT/src/evaluate.py found in paper text by Syntology unverified licence not identified · pointer only · dae296eb6fedbbee · report
generate_schema_gpt UIUC-MLSys/CORRECT/src/error_schema_generator_cloud.py found in paper text by Syntology unverified licence not identified · pointer only · d8713ffdb148722b · report
get_json_number UIUC-MLSys/CORRECT/src/inference_whoandwhen.py found in paper text by Syntology unverified licence not identified · pointer only · 1e5e91786e60a1d3 · report
load_error_schemata UIUC-MLSys/CORRECT/src/inference_whoandwhen.py found in paper text by Syntology unverified licence not identified · pointer only · 4be6f57b3ad00321 · report
load_error_schemata_for_dataset UIUC-MLSys/CORRECT/src/inference_correct_error.py found in paper text by Syntology unverified licence not identified · pointer only · 239cd36280f88974 · report
load_trajectory_similarities UIUC-MLSys/CORRECT/src/inference_whoandwhen.py found in paper text by Syntology unverified licence not identified · pointer only · 2ca759932c4174c6 · report
load_trajectory_similarities_for_dataset UIUC-MLSys/CORRECT/src/inference_correct_error.py found in paper text by Syntology unverified licence not identified · pointer only · c1ef5172b5348107 · report
make_openai_client UIUC-MLSys/CORRECT/src/Lib/utils.py found in paper text by Syntology unverified licence not identified · pointer only · 223eb1ddf722c450 · report
mean_pooling UIUC-MLSys/CORRECT/src/generate_trajectory_similarities.py found in paper text by Syntology unverified licence not identified · pointer only · 972474c3a3186d59 · report
read_actual_data UIUC-MLSys/CORRECT/src/evaluate.py found in paper text by Syntology unverified licence not identified · pointer only · 77a00911d05aa11b · report
read_error_logs UIUC-MLSys/CORRECT/src/error_schema_generator.py found in paper text by Syntology unverified licence not identified · pointer only · bae9a32d2cb23f25 · report
read_predictions UIUC-MLSys/CORRECT/src/evaluate.py found in paper text by Syntology unverified licence not identified · pointer only · d7e23813e9b7b1b0 · report
read_trajectory_json UIUC-MLSys/CORRECT/src/generate_trajectory_similarities.py found in paper text by Syntology unverified licence not identified · pointer only · 71ef2fc32f694208 · report
setup_tokenizer UIUC-MLSys/CORRECT/src/error_schema_generator.py found in paper text by Syntology unverified licence not identified · pointer only · 5c88eda8b39859f6 · report
str_to_bool UIUC-MLSys/CORRECT/src/inference_correct_error.py found in paper text by Syntology unverified licence not identified · pointer only · ba4052d14f6915b6 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2509.24088, was issued in September 2025, 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