paper-with-me

홈 › Papers

Toward Explaining Large Language Models in Software Engineering Tasks

2025-12-23 · Antonio Vitale, Khai-Nguyen Nguyen, Denys Poshyvanyk, Rocco Oliveto, Simone Scalabrino, Antonio Mastropaolo arxiv

Recent progress in Large Language Models (LLMs) has substantially advanced the automation of software engineering (SE) tasks, enabling complex activities such as code generation and code summarization. However, the black-box nature of LLMs remains a major barrier to their adoption in high-stakes and safety-critical domains, where explainability and transparency are vital for trust, accountability, and effective human supervision. Despite increasing interest in explainable AI for software engineering, existing methods lack domain-specific explanations aligned with how practitioners reason about SE artifacts. To address this gap, we introduce FeatureSHAP, the first fully automated, model-agnostic explainability framework tailored to software engineering tasks. Based on Shapley values, FeatureSHAP attributes model outputs to high-level input features through systematic input perturbation and task-specific similarity comparisons, while remaining compatible with both open-source and proprietary LLMs. We evaluate FeatureSHAP on two bi-modal SE tasks: code generation and code summarization. The results show that FeatureSHAP assigns less importance to irrelevant input features and produces explanations with higher fidelity than baseline methods. A practitioner survey involving 37 participants shows that FeatureSHAP helps practitioners better interpret model outputs and make more informed decisions. Collectively, FeatureSHAP represents a meaningful step toward practical explainable AI in software engineering. FeatureSHAP is available at https://github.com/deviserlab/FeatureSHAP.

📄 PDF Abstract BibTeX arXiv:2512.20328

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

On the validity of pre-trained transformers for natural language processing in the software engineering domain

2021-09-10 · Julian von der Mosel, Alexander Trautsch, Steffen Herbold

Transformers are the current state-of-the-art of natural language processing in many domains and are using traction within software engineering research as well. Such models are pre-trained on large amounts of data, usua…

Towards Automatic Support of Software Model Evolution with Large Language~Models

2023-12-19 · Christof Tinnes, Thomas Fuchß, Uwe Hohenstein, Sven Apel

Modeling structure and behavior of software systems plays a crucial role, in various areas of software engineering. As with other software engineering artifacts, software models are subject to evolution. Supporting model…

CodeTrans: Towards Cracking the Language of Silicon's Code Through Self-Supervised Deep Learning and High Performance Computing

2021-04-06 · Ahmed Elnaggar, Wei Ding, Llion Jones, Tom Gibbs 외

Currently, a growing number of mature natural language processing applications make people's life more convenient. Such applications are built by source code - the language in software engineering. However, the applicati…

API Sequence RecommendationCode Comment GenerationCode Documentation GenerationCode Generation+7

Agentic AI for Software: thoughts from Software Engineering community

2025-08-24 · Abhik Roychoudhury arxiv

AI agents have recently shown significant promise in software engineering. Much public attention has been transfixed on the topic of code generation from Large Language Models (LLMs) via a prompt. However, software engin…

Code GenerationProgram Repair

Unified Software Engineering agent as AI Software Engineer

2025-06-17 · Leonhard Applis, Yuntong Zhang, Shanchao Liang, Nan Jiang 외

The growth of Large Language Model (LLM) technology has raised expectations for automated coding. However, software engineering is more than coding and is concerned with activities including maintenance and evolution of …

Large Language Model