Explainable Fault Localization in Neural-Augmented Codebases

  • Authors

    • Dr. Lei Weing Department of Data Science, Tsinghua University, Beijing, China. Author

    DOI:

    https://doi.org/10.67228/30713498/IJADSMC-2018PII3C8Z

    Published 09-05-2018

  • Explainable Artificial Intelligence (XAI), Fault Localization, Neural-Augmented Codebases, Interpretable Machine Learning, Software Debugging, Program Analysis, Hybrid Software Systems, Neural Code Generation, Explainability Metrics, Runtime Tracing

    Issue

    Section

    Articles

    How to Cite

    [1]
    L. Weing, “Explainable Fault Localization in Neural-Augmented Codebases”, IJADSMC, vol. 1, no. 2, pp. 01–17, Sep. 2018, doi: 10.67228/30713498/IJADSMC-2018PII3C8Z.
  • Abstract

    Modern software development increasingly integrates neural models such as code completion engines, automated refactoring systems, and learned optimization modules into traditional codebases, creating hybrid environments commonly referred to as neural-augmented codebases. While these systems achieve significant productivity gains, debugging them presents unique challenges due to the opaque reasoning processes of neural components. Conventional fault localization techniques are insufficient, as they cannot effectively attribute errors originating from model-generated code, neural decision boundaries, or interactions between learned and symbolic components. This paper proposes an explainable fault localization framework that combines program analysis, runtime tracing, and interpretable machine learning techniques to identify, rank, and justify the root causes of failures in neural-augmented codebases. By integrating explainability mechanisms such as attention heatmaps, causal dependency graphs, and interpretable embeddings, the framework enhances developer trust, reduces debugging cost, and provides actionable diagnostic insights. Experimental evaluation on real-world hybrid systems demonstrates improved fault detection accuracy, reduced false positives, and higher interpretability scores compared to state-of-the-art approaches. The results show that explainability is not merely an auxiliary feature, but a critical enabler of scalable, safe adoption of neural components in modern software engineering workflows.

  • References

    “A practical evaluation of spectrum-based fault localization.” Journal of Systems and Software, Volume 82, Issue 11, November 2009, Pages 1780–1792.

    [2] Sedlmeyer, R. L., Thompson, W. B., & Johnson, P. E. (1983). Knowledge-based fault localization in debugging. Journal of Systems and Software, 3(4), 301–307.

    [3] Cleve, H., & Zeller, A. (2005). Locating causes of program failures. Proceedings of the 27th International Conference on Software Engineering (ICSE), 342–351.

    [4] Reps, T., Ball, T., Das, M., & Larus, J. (1997). The use of program profiling for software maintenance. Proceedings of ESEC/FSE, 432–449.

    [5] Renieres, M., & Reiss, S. P. (2003). Fault localization with nearest neighbor queries. Proceedings of ASE, 30–39.

    [6] Jones, J. A., Harrold, M. J., & Stasko, J. (2002). Visualization of test information to assist fault localization. Proceedings of ICSE.

    [7] Abreu, R., Zoeteweij, P., & Van Gemund, A. J. (2007). On the accuracy of spectrum-based fault localization. Testing: Academic and Industrial Conference.

    [8] Liblit, B., Naik, M., Zheng, A. X., Aiken, A., & Jordan, M. I. (2005). Scalable statistical bug isolation. Proceedings of PLDI.

    [9] Chilimbi, T., Liblit, B., Mehra, K., Nori, A., & Vaswani, K. (2009). Holmes: Effective statistical debugging via efficient path profiling. Proceedings of ICSE.

    [10] Abreu, R., Hofer, B., Perez, A., & Wotawa, F. (2009). A practical evaluation of spectrum-based fault localization. Journal of Systems and Software.

    [11] Do, H., Elbaum, S., & Rothermel, G. (2005). Supporting controlled experimentation with testing techniques. Empirical Software Engineering.

    [12] Arumuga Nainar, P., Chen, T., Rosin, J., & Liblit, B. (2007). Statistical debugging using compound Boolean predicates. Proceedings of ISSTA.

    [13] Wong, W. E., Gao, R., Li, Y., Abreu, R., & Wotawa, F. (2016). A survey on software fault localization. IEEE Transactions on Software Engineering.

    [14] de Souza, H. A., Chaim, M. L., & Kon, F. (2016). Spectrum-based software fault localization: A survey of techniques, advances, and challenges.

  • Downloads