← Back to Paper List

A Hierarchical Error-Corrective Graph Framework for Autonomous Agents with LLM-Based Action Generation

Cong Cao, Jingyao Zhang, Kun Tong
Independent Researcher, Hangzhou, China, Beihang University, Hangzhou, China
arXiv (2026)
Agent RAG Memory KG

📝 Paper Summary

Agentic AI Graph-based RAG pipeline
HECG improves autonomous agent reliability by embedding LLM action generation within a graph-structured framework that actively monitors errors and triggers hierarchical corrections (local adjustment, strategy switching, or re-planning) based on structured failure attribution.
Core Problem
LLM-based agents often fail in dynamic environments because they rely on single-dimensional success metrics that miss context, lack structured diagnosis for why failures occur, and use shallow vector retrieval that ignores causal dependencies.
Why it matters:
  • Traditional transfer mechanisms rely on simple success rates, leading to negative transfer where strategies work in one context but fail in a semantically similar but structurally different one
  • Current agents typically receive binary success/failure feedback without understanding the root cause (e.g., script error vs. strategy error), preventing effective self-correction
  • Standard RAG based on vector similarity retrieves experiences that are semantically close but may be causally invalid for the current sequence of events
Concrete Example: If a robot manipulator fails to grasp an object, a standard LLM planner might simply retry the same action or hallucinate a new plan. In contrast, the proposed framework identifies the error type (e.g., end-effector positioning error), triggers a 'Local Correction' to adjust by a few centimeters, and only escalates to a different strategy (e.g., tilting the object) if the local fix fails.
Key Novelty
Hierarchical Error-Corrective Graph (HECG)
  • Represents task plans as directed graphs where nodes are actions and edges are transitions triggered by specific error thresholds (Error-Driven Graph Traversal)
  • Decomposes correction into three levels: Local Correction (fine-tuning parameters), Optional Action Switching (trying alternative pre-defined strategies), and Task Re-Planning (regenerating the sequence via LLM)
  • Uses Causal-Context Graph Retrieval (CCGR) to retrieve historical subgraphs based on causal structure rather than just embedding similarity
Evaluation Highlights
  • Quantitative results are not reported in the provided text snippet (the text ends before the Experiments section).
  • The framework introduces a structured 'Error Matrix Classification' (EMC) distinguishing 10 error types (e.g., Strategy Error, Script Parsing Error) to guide correction.
Breakthrough Assessment
7/10
Proposes a highly structured, logical integration of LLM planning with classical control hierarchies and graph retrieval. While the methodology is sound and addresses key robustness gaps, the text lacks experimental evidence to validate the claims.
×