Litcius/Paper detail

Tool-Entropy Collapse: A Cross-Architecture Signature of Agent WANDERING Failure

Caio Vicentino

2026Open MIND24 citationsDOIOpen Access PDF

Abstract

We identify a 34% blind spot in probe-based LLM agent failure monitoring on Qwen3.6-27B SWE-bench Pro: the WANDERING sub-class where probe says success but agent never emits finish_tool. We test six detector designs across three signal channels (text, residual cross-layer, action entropy) and find that tool-use entropy collapse is the breakthrough signal—WANDERING agents collapse onto a small set of repeated tool calls (W/S median ratio 0.41 in Qwen and Llama, 0.71 in GPT-5), enabling a Tier-3 autonomous-termination detector at 70% recall × 5% false-positive cost. Cross-architecture validation: Llama-70b (n=2,315, p<10⁻¹⁵, ratio 0.41) and GPT-5 router (n=1,419, p=8.9×10⁻³⁵, ratio 0.71) confirm. Cross-task validation on METR MALT is NULL (p=0.81), scoping the claim to multi-turn code-execution agent tasks with rich action spaces. The paper provides a three-tier deployment framework (forensics / advisory escalation / autonomous termination), all shippable. Mid-layer ablation suggests edge-layer (L11, L55) involvement in the cross-layer disagreement signal, but we hedge between edge-specificity vs layer-count interpretations. Reproducibility: all code, per-trajectory output JSONs, and figure-generation scripts at GitHub under Apache-2.0. OpenInterp Phase 6 dataset (99 trajectories × per-turn residuals at L11/L23/L31/L43/L55 in bf16 safetensors) will be released at HuggingFace upon paper acceptance.

Topics & Concepts

ResidualComputer scienceDetectorArtificial intelligenceEntropy (arrow of time)Software deploymentSet (abstract data type)Data miningAction (physics)Scripting languageInferenceFault detection and isolationSIGNAL (programming language)Likelihood-ratio testBoomMachine learningReliability engineeringPattern recognition (psychology)RouterSignature (topology)Action recognitionTest suiteMeasure (data warehouse)Security and Verification in ComputingSoftware System Performance and ReliabilitySoftware Testing and Debugging Techniques