Skip to content

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

Jul 2026 · arXiv.org · Vol abs/2607.24601 · 0 citations
Computer Science

Abstract

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.

View source

Similar papers

Review

Efficient human-AI collaboration for code review

The results show that AI effectively lowers cognitive barriers by summarizing pull requests, detecting minor localized errors, and helping developers discover system-level problems, but AI tools must adopt a "do more with less" design philosophy where the design should focus on high-reliability features and not overloa...

Oscar Karlsson · 0 citations
Review Jul 2026

From Human-Centric to Agentic Code Review: The Impact of Different Generations of Generative AI Technology on Review Quality

The results show that agent-involved collaboration patterns, especially reviews initiated by AI agents or involving multiple AI agents, are associated with faster review decisions under Gradual AI Adoption and Rapid AI Agent Adoption, but these efficiency gains do not translate into better review quality.

Suzhen Zhong, Shayan Noei, Bram Adams et al. · 2 citations
Review Jul 2026

Is Agentic Code Review Helpful? Mining Developers' Feedback to CodeRabbit Reviews in the Wild

An empirical study of agentic code reviews using CodeRabbit as a case study shows that agentic reviews receive mixed reception, and finds that lightweight learning-based methods achieve up to 76% F1 score, suggesting learnable patterns exist between code reviews and their corresponding feedback.

Hong-Yi Lin, Mingzhao Liang, Patanamon Thongtanunam et al. · 1 citation
Review

Utility and Trustworthiness of Generative AI in Peer Review

The findings suggest that modern Large Language Models can provide useful and consistent support for scientific peer review, however remaining differences between AI-generated and human-generated evaluations indicate that current systems should be viewed as complementary tools that assist human reviewers rather than re...

Vuk D. Tomić, T. Heyman, E. V. van Nieuwenburg · 0 citations
#artificial intelligence Preprint Aug 2026

Epistemic Transfer in AI-Assisted Verification: A Framework and Evaluation Protocol

This paper introduces the Epistemic Transfer Effect (ETE), which compares delayed unassisted performance across conditions, and Tool-Removal Cost (TRC), which measures the immediate drop in performance when the tool is taken away, and turns these ideas into a practical evaluation protocol that can be used in online exp...

Christoph Trattner · 0 citations

Related blog posts

GPT-Lab Oct 14, 2026

Building trustworthy AI: The role of AI harnesses, intent contracts and evals

AI is moving beyond impressive demos. After World Summit AI 2026 in Amsterdam, GPT-Lab's Muhammad Waseem reflects on what organizations need to make AI agents reliable, responsible and genuinely useful in everyday work. The post Building trustworthy AI: The role of AI harnesses, intent contracts and evals appeared first on GPT-Lab.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.