paper-with-me

홈 › Papers

Log-Likelihood, Simpson's Paradox, and the Detection of Machine-Generated Text

2026-05-07 · Tom Kempton, Viktor Drobnyi, Maeve Madigan, Stuart Burrell arxiv

The ability to reliably distinguish human-written text from that generated by large language models is of profound societal importance. The dominant approach to this problem exploits the likelihood hypothesis: that machine-generated text should appear more probable to a detector language model than human-written text. However, we demonstrate that the token-level signal distinguishing human and machine text is non-uniform across the hidden space of the detector model, and naively averaging likelihood-based token scores across regions with fundamentally different statistical structure, as most detectors do, causes a form of Simpson's paradox: a strong local signal is destroyed by inappropriate aggregation. To correct for this, we introduce a learned local calibration step grounded in Bayesian decision theory. Rather than aggregating raw token scores, we first learn lightweight predictors of the score distributions conditioned on position in hidden space, and aggregate calibrated log-likelihood ratios instead. This single intervention dramatically and consistently improves detection performance across all baseline detectors and all datasets we consider. For example, our calibrated variant of Fast-DetectGPT improves AUROC from $0.63$ to $0.85$ on GPT-5.4 text, and a locally-calibrated DMAP detector we introduce achieves state-of-the-art performance across the board. That said, our central contribution is not a new detector, but a precise diagnosis of a significant cause of under-performance of existing detectors and a principled, modular remedy compatible with any token-averaging pipeline. This will serve as a foundation for the community to build upon, with natural avenues including richer distributional models, improved calibration strategies, and principled ensembling with hidden-space geometry signals via the full Bayes-optimal decision rule.

📄 PDF Abstract BibTeX arXiv:2605.06294

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Resolution of Simpson's paradox via the common cause principle

2024-03-01 · A. Hovhannisyan, A. E. Allahverdyan

Simpson's paradox is an obstacle to establishing a probabilistic association between two events $a_1$ and $a_2$, given the third (lurking) random variable $B$. We focus on scenarios when the random variables $A$ (which c…

valid

Omitted Labels Induce Nontransitive Paradoxes in Causality

2023-11-12 · Bijan Mazaheri, Siddharth Jain, Matthew Cook, Jehoshua Bruck

We explore "omitted label contexts," in which training data is limited to a subset of the possible labels. This setting is standard among specialized human experts or specific, focused studies. By studying Simpson's para…

Causal Inference

De-paradox Tree: Breaking Down Simpson's Paradox via A Kernel-Based Partition Algorithm

2026-03-02 · Xian Teng, Yu-Ru Lin arxiv

Real-world observational datasets and machine learning have revolutionized data-driven decision-making, yet many models rely on empirical associations that may be misleading due to confounding and subgroup heterogeneity.…

Causal Inference

FedCFA: Alleviating Simpson's Paradox in Model Aggregation with Counterfactual Federated Learning

2024-12-25 · Zhonghua Jiang, Jimin Xu, Shengyu Zhang, Tao Shen 외

Federated learning (FL) is a promising technology for data privacy and distributed optimization, but it suffers from data imbalance and heterogeneity among clients. Existing FL methods try to solve the problems by aligni…

counterfactualDistributed OptimizationFederated Learning

Beyond Simpson's Paradox: A Cascade of Confounders in AI Agent Pull-Request Co-Authorship

2026-06-21 · Haoran Yu, Xiaochong Jiang, Lifei Liu, Su Wang 외 arxiv

Pooled across five AI coding agents, pull requests (PRs) with a human Co-Authored-By trailer merge less often than purely-autonomous ones (53.8% vs. 79.8%) -- yet this aggregate finding is a textbook Simpson's Paradox. S…