arXiv:2609.06213cs.SESep 2026

Manuscript Offprint

arXiv:2609.06213

Beyond Lexical Metrics: Sentence-Embedding Detection of Reviewer Habituation in AI Code Review

Haoran Yu, Lifei Liu, Danping Zhang

Haoran Yu¹, Lifei Liu², and Danping Zhang³

¹ Independent Researcher, United States haoranyu889@gmail.com

² Independent Researcher, United States lliu.lifei@gmail.com

³ Nanchang Hangkong University, China zhangdanping@nchu.edu.cn

Abstract. Code review is the primary quality checkpoint between AI-generated code and production. As AI coding agents submit pull requests at scale, an open question is whether reviewers progressively reduce review rigor — and whether this can be detected from the language of their review comments. We conduct a longitudinal study of 11,429 code reviews from 400 repeat reviewers across 207 days, paired with 10,104 human-authored inline comments from the AIDev corpus. We confirm a significant population-level rise in approval rate with reviewer exposure level (30.5% → 36.6%, Wilcoxon p=8.6×10−8p = 8.6 \times 10^{-8}, Cohen's d=0.25d = 0.25). However, four widely cited manually designed linguistic features of comment informativeness — lexical diversity (MTLD), Shannon entropy, technical specificity, and constructive actionability — show no monotonic decline across reviewer exposure deciles (all Spearman ∣ρ∣≤0.53|\rho| \leq 0.53, p≥0.11p \geq 0.11; Bonferroni-corrected Mann-Whitney p≥0.36p \geq 0.36). A logistic-regression classifier built on these features predicts a reviewer's exposure phase at F1=0.485F_1 = 0.485, worse than the majority-class baseline. In contrast, sentence-embedding distributional structure (all-MiniLM-L6-v2) does carry signal: each reviewer's late-period comment centroid shifts further from their early-period centroid than from a random within-reviewer permutation (Wilcoxon p<10−3p < 10^{-3}), and a small MLP over three embedding statistics reaches F1=0.74F_1 = 0.74 (5-fold reviewer-stratified CV). A Granger-causality analysis on 50-bin signals challenges the temporal claim popular in earlier preprints: approval-rate change robustly Granger-predicts subsequent shifts in technical specificity (p<10−3p < 10^{-3} at all lags), while the reverse direction is significant at only one of four lags. Our results offer a corrective: reviewer adaptation in AI-agent code review is real and detectable, but it lives in latent distributional structure, not in classical lexical metrics, and the linguistic shift trails the approval behavior shift rather than leading it.

Keywords: code review · reviewer adaptation · computational linguistics · sentence embeddings · Granger causality · AI agents · behavioral drift

2 H. Yu et al.

1 Introduction

Code review is the primary human gate separating AI-generated code from production software [1,17]. As AI coding agents—GitHub Copilot, Devin, OpenAI Codex, Cursor, and Claude Code—increasingly submit pull requests (PRs) to open-source repositories, the reliability of this gate depends on whether reviewers maintain consistent scrutiny over time.

A natural and intuitive hypothesis is the rubber-stamping effect [10]: reviewers, after repeatedly approving high-quality agent code, gradually reduce inspection effort and approve reflexively. This mirrors automation complacency [14,9] and vigilance decrement [11]. If habituation manifests in review language before it affects approval decisions, then natural language processing could provide an early-warning signal.

We tested this hypothesis on the AIDev dataset [10] (207 days; five agent systems; ~26,900 inline comments). Our results are mixed and instructive:

What replicates. Approval rate rises systematically with reviewer experience (RQ1): +6.1 pp early-vs-late, with a clean +14.9 pp gradient across experience deciles.

What does not. We find no statistically significant monotonic decline in lexical diversity, Shannon entropy, technical specificity, or constructive actionability across reviewer experience (RQ2). All four hand-crafted metrics are essentially flat at the population level, even on length-controlled subsets.

What reverses. A bivariate Granger-causality analysis on 50-percentile experience bins shows that approval-rate changes robustly predict subsequent technical-specificity shifts (p<10−3p < 10^{-3} at lags 1–4); the reverse direction is significant at only a single lag (p=0.036p = 0.036 at lag 2), indicating a predominantly unidirectional AR-to-language flow (RQ3).

What works instead. Sentence-embedding geometry detects per-reviewer style drift that the four hand-crafted metrics miss. A reviewer's late-period embedding centroid lies further from their early-period centroid than under a random within-reviewer permutation null (paired Wilcoxon p<10−3p < 10^{-3}). A small MLP over three embedding statistics reaches F1=0.74F_1 = 0.74 on reviewer-stratified 5-fold cross-validation, where the same MLP using the four canonical linguistic features reaches only 0.59 (RQ4).

The narrative coherent with these results is not “language degrades, behavior follows.” It is: reviewers’ approval calibration shifts first; their stylistic representation shifts in idiosyncratic, per-individual directions; and these directions are visible only in distributional embedding space. We argue this has implications both for habituation monitoring and for what kind of NLP features researchers should compute when looking for slow changes in human reviewer behavior.

Contributions. (1) We confirm the behavioral-drift finding on AIDev with 400 reviewers and 11,429 reviews. (2) We report a clean negative result on four canonical hand-crafted linguistic indicators (MTLD, Shannon entropy, technical specificity, constructive actionability), including length-controlled robustness checks.

(3) We supply a Granger-causality analysis showing that the dominant temporal direction is behavior-to-language, challenging the popular “language leads behavior” framing. (4) We show that sentence-embedding geometry (MiniLM) reveals per-reviewer style drift the canonical metrics miss, and that a small MLP over three embedding statistics yields a usable habituation classifier (F1=0.74F_1 = 0.74). (5) Every numerical claim in this paper is reproduced by an open script in the accompanying release.