mlsanityData to 7 Oct 2026

LIDL: LLM Integration Defect Localization via Knowledge Graph-Enhanced Multi-Agent Analysis

arXiv 2601.05539 ↗First posted 9 Jan 2026cs.SEcited by 2

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

LLM-integrated software, which embeds or interacts with large language models (LLMs) as functional components, exhibits probabilistic and context-dependent behaviors that fundamentally differ from those of traditional software. This shift introduces a new category of integration defects that arise not only from code errors but also from misaligned interactions among LLM-specific artifacts, including prompts, API calls, configurations, and model outputs. However, existing defect localization techniques are ineffective at identifying these LLM-specific integration defects because they fail to capture cross-layer dependencies across heterogeneous artifacts, cannot exploit incomplete or misleading error traces, and lack semantic reasoning capabilities for identifying root causes. To address these challenges, we propose LIDL, a multi-agent framework for defect localization in LLM-integrated software. LIDL (1) constructs a code knowledge graph enriched with LLM-aware annotations that represent interaction boundaries across source code, prompts, and configuration files, (2) fuses three complementary sources of error evidence inferred by LLMs to surface candidate defect locations, and (3) applies context-aware validation that uses counterfactual reasoning to distinguish true root causes from propagated symptoms. We evaluate LIDL on 146 real-world defect instances collected from 105 GitHub repositories and 16 agent-based systems. The results show that LIDL significantly outperforms five state-of-the-art baselines across all metrics, achieving a Top-3 accuracy of 0.64 and a MAP of 0.48, which represents a 64.1% improvement over the best-performing baseline. Notably, LIDL achieves these gains while reducing cost by 92.5%, demonstrating both high accuracy and cost efficiency.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 24 of its 51 references that are in the map. First posted on arXiv 9 Jan 2026.

Builds on

24 of 51 references.

Closest ancestors · 7

Same direction, newest first

  1. 2025Can Agents Fix Agent Issues?27 May
  2. 2025Why Do Multi-Agent LLM Systems Fail?17 Mar
  3. 2024Defining and Detecting the Defects of the Large Language Model-based Autonomous Agents24 Dec
  4. 2024SWE-Search: Enhancing Software Agents with Monte Carlo Tree Search and Iterative Refinement26 Oct
  5. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  6. 2024Agentless: Demystifying LLM-based Software Engineering Agents1 Jul
  7. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 17

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2024Qwen2.5 Technical Reportcited by 4,713
  3. 2023MetaGPT: Meta Programming for A Multi-Agent Collaborative Frameworkcited by 1,761
  4. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,050
  5. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
  6. 2025Kimi K2: Open Agentic Intelligencecited by 523
  7. 2024AutoCodeRover: Autonomous Program Improvementcited by 272
  8. 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 88
  9. 2024CodexGraph: Bridging Large Language Models and Code Repositories via Code Graph Databasescited by 62
  10. 2024Alibaba LingmaAgent: Improving Automated Issue Resolution via Comprehensive Repository Explorationcited by 58
  11. 2024Are LLMs Correctly Integrated into Software Systems?cited by 13
  12. 2025Bridging Bug Localization and Issue Fixing: A Hierarchical Localization Framework Leveraging Large Language Modelscited by 11
5 more
  1. 2024FlexFL: Flexible and Effective Fault Localization with Open-Source Large Language Modelscited by 8
  2. 2025A Functional Software Reference Architecture for LLM-Integrated Systemscited by 8
  3. 2024A Survey on Failure Analysis and Fault Injection in AI Systemscited by 7
  4. 2025When Deep Learning Meets Information Retrieval-based Bug Localization: A Surveycited by 6
  5. 2021IncBL: Incremental Bug Localizationcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LocAgent: Graph-Guided LLM Agents for Code Localization
  2. 2025Assessing the Impact of Code Changes on the Fault Localizability of Large Language Models
  3. 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexion
  4. 2026SelfHeal: Empirical Fix Pattern Analysis and Bug Repair in LLM Agents
  5. 2025OrcaLoca: An LLM Agent Framework for Software Issue Localization
  6. 2026Who Broke the System? Failure Localization in LLM-Based Multi-Agent Systems
  7. 2025Exploring the Potential and Limitations of Large Language Models for Novice Program Fault Localization ↗
  8. 2026TraceCoder: A Trace-Driven Multi-Agent Framework for Automated Debugging of LLM-Generated Code