mlsanityData to 7 Oct 2026

On the Reliability and Explainability of Language Models for Program Generation

arXiv 2302.09587 ↗First posted 19 Feb 2023cs.SEcited by 17

Not on the map. Why?

Abstract (arXiv)

Recent studies have adopted pre-trained language models, such as CodeT5 and CodeGPT, for automated program generation tasks like code generation, repair, and translation. Numerous language model-based approaches have been proposed and evaluated on various benchmark datasets, demonstrating promising performance. However, there is still uncertainty about the reliability of these models, particularly their realistic ability to consistently transform code sequences. This raises the question: are these techniques sufficiently trustworthy for automated program generation? Consequently, Further research is needed to understand model logic and assess reliability and explainability. To bridge these research gaps, we conduct a thorough empirical study of eight popular language models on five representative datasets to determine the capabilities and limitations of automated program generation approaches. We further employ advanced explainable AI approaches to highlight the tokens that significantly contribute to the code transformation. We discover that state-of-the-art approaches suffer from inappropriate performance evaluation stemming from severe data duplication, causing over-optimistic results. Our explainability analysis reveals that, in various experimental scenarios, language models can recognize code grammar and structural information, but they exhibit limited robustness to changes in input sequences. Overall, more rigorous evaluation approaches and benchmarks are critical to enhance the reliability and explainability of automated program generation moving forward. Our findings provide important guidelines for this goal.

Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Feb 2023.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 7; 2025: 9; 2026: 1.

17 papers.

Sort:

By area:

  1. 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 26
  2. 2024Selective Prompt Anchoring for Code Generationcited by 16
  3. 2024Evaluating Software Development Agents: Patch Patterns, Code Quality, and Issue Complexity in Real-World GitHub Scenarioscited by 16
  4. 2024Towards More Trustworthy and Interpretable LLMs for Code through Syntax-Grounded Explanationscited by 10
  5. 2024An Empirical Study on Capability of Large Language Models in Understanding Code Semanticscited by 7
  6. 2025Towards Transparent AI: A Survey on Explainable Large Language Modelscited by 7
  7. 2024Looking into Black Box Code Language Modelscited by 5
  8. 2025Can LLMs Handle WebShell Detection? Overcoming Detection Challenges with Behavioral Function-Aware Frameworkcited by 5
  9. 2025How Programming Concepts and Neurons Are Shared in Code Language Modelscited by 4
  10. 2025Towards Transparent AI: A Survey on Explainable Language Modelscited by 3
  11. 2025Neuron-Guided Interpretation of Code LLMs: Where, Why, and How?cited by 3
  12. 2024Icing on the Cake: Automatic Code Summarization at Ericssoncited by 2
5 more
  1. 2024Protect Your Secrets: Understanding and Measuring Data Exposure in VSCode Extensionscited by 1
  2. 2025Identifying & Interactively Refining Ambiguous User Goals for Data Visualization Code Generationcited by 1
  3. 2025Mapping the Trust Terrain: LLMs in Software Engineering -- Insights and Perspectivescited by 0
  4. 2025Automated Code Review Using Large Language Models with Symbolic Reasoningcited by 0
  5. 2026On the Impact of Code Comments for Automated Bug-Fixing: An Empirical Studycited by 0