mlsanityData to 14 Oct 2026

Evaluating the Impact of Explainable AI on Trust in AI-Assisted Code Review

arXiv 2607.24601 ↗First posted 27 Jul 2026cs.SE cs.AI cs.HCcited by 0

Not on the map. Why?

Abstract (arXiv)

Background: Large language models (LLMs) are increasingly used to automate code review, but the reasoning behind their decisions remains hard to understand. Developers struggle to assess the validity of LLM-generated reviews, making it difficult to gauge how much trust to place in them. The role of Explainable AI (XAI) in code review and its impact on trust remain underexplored. Objective: We study the influence of XAI on developer trust in AI-assisted code reviews. Method: We conducted a within-subjects user study with 34 participants, comparing three LLM-based code review systems with varying levels of XAI support: Condition A (detailed explanation and review feedback), Condition B (review feedback only), and Condition C (no explanations). Participants reviewed real-world code change requests alongside the AI-generated reviews. We measured trust perceptions, agreement with the AI recommendation, the reasoning given for each decision, and the time taken. Results: The level of explanation significantly influences both trust and agreement with AI recommendations, but in different ways. Full explanations (A) yield the highest perceived trust (M = 3.99/5) but not the highest agreement, whereas moderate explanations (B) achieve the highest agreement (89.22%). This could suggest that more explanation prompts developers to question AI recommendations more frequently. No explanations (C) results in the lowest trust and agreement. Explanation level did not significantly affect review time. The most commonly cited reasons for decisions were code readability and correctness. Conclusion: Incorporating XAI into code review significantly changes trust perceptions and agreement with AI recommendations. These results inform the design and evaluation of trustworthy AI-based code review systems, as well as studies on the human factors of AI-assisted software development.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 16 of its 40 references that are in the map. First posted on arXiv 27 Jul 2026.

Builds on

16 of 40 references.

References · 16

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023A Survey on Evaluation of Large Language Modelscited by 1,242
  3. 2020Formalizing Trust in Artificial Intelligence: Prerequisites, Causes and Goals of Human Trust in AIcited by 167
  4. 2021Explainable AI (XAI): A Systematic Meta-Survey of Current Challenges and Future Opportunitiescited by 125
  5. 2022Investigating Explainability of Generative AI for Code through Scenario-based Designcited by 47
  6. 2024Usable XAI: 10 Strategies Towards Exploiting Explainability in the LLM Eracited by 46
  7. 2024Fine-Tuning and Prompt Engineering for Large Language Models-based Code Review Automationcited by 23
  8. 2025BitsAI-CR: Automated Code Review via LLM in Practicecited by 22
  9. 2024Code Review Automation: Strengths and Weaknesses of the State of the Artcited by 20
  10. 2024On Explaining Recommendations with Large Language Models: A Reviewcited by 15
  11. 2025Rethinking Code Review Workflows with LLM Assistance: An Empirical Studycited by 10
  12. 2025Evaluating Large Language Models for Code Reviewcited by 7
4 more
  1. 2025Towards Transparent AI: A Survey on Explainable Large Language Modelscited by 7
  2. 2024Investigating the Role of Cultural Values in Adopting Large Language Models for Software Engineeringcited by 5
  3. 2023ToxiSpanSE: An Explainable Toxicity Detection in Code Review Commentscited by 4
  4. 2025On the Need to Rethink Trust in AI Assistants for Software Development: A Critical Reviewcited by 2

Built on by

Not cited yet.