mlsanityData to 24 Nov 2026

CLEW: Log-Anchored Backward Tracing for Root-Cause Code Localization

arXiv 2611.19448 ↗Submitted 14 Nov 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Failures in industrial software systems may involve multiple components and be difficult to reproduce outside the production environment. Root-cause code localization therefore often relies on issue descriptions and runtime logs. However, log evidence may be noisy or incomplete, and the code reporting a symptom may differ from the code containing the underlying defect. These conditions make it challenging to identify relevant log evidence and determine which functions could have caused the reported failure. To address this gap, we introduce CLEW, an agentic approach that combines rule-based log-to-code anchoring with LLM-guided backward code tracing. CLEW organizes selected observations into diagnostic states, guides source exploration from anchored symptom functions, and returns ranked candidate functions, an affected module, and an explanation comprising a proposed mechanism path and associated log events. For evaluation, we construct LogLoc, a benchmark comprising 192 real-world issue and fault-injection cases. Against three baselines, CLEW records the highest observed Acc@1 (77.3%) and MRR (81.3%) on LogLoc-Issues and matches the leading baselines at 97.6% Acc@1 on LogLoc-Airflow. Averaged over all 192 cases, CLEW's wall-clock time is approximately 73% lower than LocAgent's at a similar average inference cost. No aggregate degradation is observed under the tested perturbations, with modest changes in Acc@1 and MRR across the evaluated seeds and base models. These results suggest that CLEW can combine function-level localization with evidence links and runtime efficiency under the evaluated conditions.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 19 of its 37 references that are in the map. Submitted 14 Nov 2026.

Builds on

19 of 37 references.

References · 19

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
  2. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
  3. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,155
  4. 2024AutoCodeRover: Autonomous Program Improvementcited by 303
  5. 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 104
  6. 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 99
  7. 2023Automatic Root Cause Analysis via Large Language Models for Cloud Incidentscited by 91
  8. 2023Large Language Models for Test-Free Fault Localizationcited by 71
  9. 2024Quantifying Variance in Evaluation Benchmarkscited by 70
  10. 2024Exploring LLM-based Agents for Root Cause Analysiscited by 63
  11. 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 54
  12. 2023A Quantitative and Qualitative Evaluation of LLM-Based Explainable Fault Localizationcited by 53
7 more
  1. 2021Anomaly Detection and Failure Root Cause Analysis in (Micro)Service-Based Cloud Applications: A Surveycited by 50
  2. 2025Issue Localization via LLM-Driven Iterative Code Graph Searchingcited by 27
  3. 2025COCA: Generative Root Cause Analysis for Distributed Systems with Code Knowledgecited by 13
  4. 2021Studying Duplicate Logging Statements and Their Relationships with Code Clonescited by 8
  5. 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projectscited by 7
  6. 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localizationcited by 7
  7. 2025LogPilot: Intent-aware and Scalable Alert Diagnosis for Large-scale Online Service Systemscited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Demystifying Faulty Code with LLM: Step-by-Step Reasoning for Explainable Fault Localization
  2. 2025Enhancing LLM-based Fault Localization with a Functionality-Aware Retrieval-Augmented Generation Framework ↗
  3. 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localization
  4. 2026RGFL: Reasoning Guided Fault Localization for Automated Program Repair Using Large Language Models
  5. 2026Similar Pattern Annotation via Retrieval Knowledge for LLM-Based Test Code Fault Localization ↗
  6. 2026A Study on the Impact of Fault localization Granularity for Repository-Scale Code Repair Tasks
  7. 2026LogSemFuse: Semantic Evidence Fusion for Explainable Log Anomaly Detection ↗
  8. 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexion