mlsanityData to 14 Oct 2026

Large Language Models for Test-Free Fault Localization

arXiv 2310.01726 ↗First posted 3 Oct 2023cs.SE cs.LGcited by 67

Not on the map. Why?

Abstract (arXiv)

Fault Localization (FL) aims to automatically localize buggy lines of code, a key first step in many manual and automatic debugging tasks. Previous FL techniques assume the provision of input tests, and often require extensive program analysis, program instrumentation, or data preprocessing. Prior work on deep learning for APR struggles to learn from small datasets and produces limited results on real-world programs. Inspired by the ability of large language models (LLMs) of code to adapt to new tasks based on very few examples, we investigate the applicability of LLMs to line level fault localization. Specifically, we propose to overcome the left-to-right nature of LLMs by fine-tuning a small set of bidirectional adapter layers on top of the representations learned by LLMs to produce LLMAO, the first language model based fault localization approach that locates buggy lines of code without any test coverage information. We fine-tune LLMs with 350 million, 6 billion, and 16 billion parameters on small, manually curated corpora of buggy programs such as the Defects4J corpus. We observe that our technique achieves substantially more confidence in fault localization when built on the larger models, with bug localization performance scaling consistently with the LLM size. Our empirical evaluation shows that LLMAO improves the Top-1 results over the state-of-the-art machine learning fault localization (MLFL) baselines by 2.3%-54.4%, and Top-5 results by 14.4%-35.6%. LLMAO is also the first FL technique trained using a language model architecture that can detect security vulnerabilities down to the code line level.

Key facts. Cited by 67 papers in the map (data through 14 Oct 2026). Builds on 19 of its 52 references that are in the map. First posted on arXiv 3 Oct 2023.

Builds on

19 of 52 references.

References · 19

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2020Scaling Laws for Neural Language Modelscited by 6,586
  4. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  6. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  7. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
  8. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
  9. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 498
  10. 2022A Systematic Evaluation of Large Language Models of Codecited by 363
  11. 2019Devign: Effective Vulnerability Identification by Learning Comprehensive Program Semantics via Graph Neural Networkscited by 272
  12. 2020Deep Learning based Vulnerability Detection: Are We There Yet?cited by 144
7 more
  1. 2015Program Synthesis using Natural Languagecited by 41
  2. 2015On the "Naturalness" of Buggy Codecited by 35
  3. 2022DEAR: A Novel Deep Learning-based Approach for Automated Program Repaircited by 22
  4. 2021Fault Localization with Code Coverage Representation Learningcited by 16
  5. 2019Empirical Review of Java Program Repair Tools: A Large-Scale Experiment on 2,141 Bugs and 23,551 Repair Attemptscited by 12
  6. 2018A Large-Scale Study of Call Graph-based Impact Prediction using Mutation Testingcited by 3
  7. 2016Assessing and Comparing Mutation-based Fault Localization Techniquescited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 20; 2025: 33; 2026: 13.

67 papers.

Sort:

By area:

  1. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 421
  2. 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 71
  3. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
  4. 2024Vul-RAG: Enhancing LLM-based Vulnerability Detection via Knowledge-level RAGcited by 68
  5. 2025SWE-Debate: Competitive Multi-Agent Debate for Software Issue Resolutioncited by 53
  6. 2025LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insightscited by 47
  7. 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 45
  8. 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 45
  9. 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debuggingcited by 35
  10. 2025Evaluating Agent-based Program Repair at Googlecited by 35
  11. 2024How secure is AI-generated Code: A Large-Scale Comparison of Large Language Modelscited by 24
  12. 2025Agentic Bug Reproduction for Effective Automated Program Repair at Googlecited by 22
38 more
  1. 2025SWE-Synth: Synthesizing Verifiable Bug-Fix Data to Enable Large Language Models in Resolving Real-World Bugscited by 22
  2. 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
  3. 2024Security Vulnerability Detection with Multitask Self-Instructed Fine-Tuning of Large Language Modelscited by 14
  4. 2026Where Do AI Coding Agents Fail? An Empirical Study of Failed Agentic Pull Requests in GitHubcited by 13
  5. 2024Are Large Language Models Memorizing Bug Benchmarks?cited by 12
  6. 2024LLMs: A Game-Changer for Software Engineers?cited by 11
  7. 2025VulnLLM-R: Specialized Reasoning LLM with Agent Scaffold for Vulnerability Detectioncited by 11
  8. 2024Location is Key: Leveraging Large Language Model for Functional Bug Localization in Verilogcited by 10
  9. 2025Traceability and Accountability in Role-Specialized Multi-Agent LLM Pipelinescited by 10
  10. 2024ChatDBG: Augmenting Debugging with Large Language Modelscited by 9
  11. 2024A Multi-Agent Approach to Fault Localization via Graph-Based Retrieval and Reflexioncited by 9
  12. 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
  13. 2024BLAZE: Cross-Language and Cross-Project Bug Localization via Dynamic Chunking and Hard Example Learningcited by 7
  14. 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 6
  15. 2025One Bug, Hundreds Behind: LLMs for Large-Scale Bug Discoverycited by 6
  16. 2026RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repaircited by 6
  17. 2026MASPrism: Lightweight Failure Attribution for Multi-Agent Systems Using Prefill-Stage Signalscited by 6
  18. 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Developmentcited by 5
  19. 2025Generative AI for Self-Adaptive Systems: State of the Art and Research Roadmapcited by 5
  20. 2026Reducing False Positives in Static Bug Detection with LLMs: An Empirical Study in Industrycited by 5
  21. 2023ConDefects: A New Dataset to Address the Data Leakage Concern for LLM-based Fault Localization and Program Repaircited by 4
  22. 2024Can Language Models Pretend Solvers? Logic Code Simulation with LLMscited by 4
  23. 2024Integrating Various Software Artifacts for Better LLM-based Bug Localization and Program Repaircited by 4
  24. 2025Evaluating the Effectiveness of LLMs in Fixing Maintainability Issues in Real-World Projectscited by 4
  25. 2025Assessing the Impact of Code Changes on the Fault Localizability of Large Language Modelscited by 4
  26. 2025Improving LLM Reasoning for Vulnerability Detection via Group Relative Policy Optimizationcited by 4
  27. 2025From Trace to Line: LLM Agent for Real-World OSS Vulnerability Localizationcited by 4
  28. 2025Past, Present, and Future of Bug Tracking in the Generative AI Eracited by 4
  29. 2024Order Matters! An Empirical Study on Large Language Models' Input Order Bias in Software Fault Localizationcited by 3
  30. 2025COSMosFL: Ensemble of Small Language Models for Fault Localisationcited by 3
  31. 2025Where's the Bug? Attention Probing for Scalable Fault Localizationcited by 3
  32. 2024Generative transformations and patterns in LLM-native approaches for software verification and falsificationcited by 2
  33. 2025WhatsCode: Large-Scale GenAI Deployment for Developer Efficiency at WhatsAppcited by 2
  34. 2026Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?cited by 2
  35. 2024ANVIL: Anomaly-based Vulnerability Identification without Labelled Training Datacited by 1
  36. 2024SPDZCoder: Combining Expert Knowledge with LLMs for Generating Privacy-Computing Codecited by 1
  37. 2025Fault Localization via Fine-tuning Large Language Models with Mutation Generated Stack Tracescited by 1
  38. 2025OpenDerisk: An Industrial Framework for AI-Driven SRE, with Design, Implementation, and Case Studiescited by 1

50 most cited of 67 All 67 (JSON)