arXiv:2609.07729cs.LGSep 2026

Manuscript Offprint

arXiv:2609.07729

Attributing Cohen's d: Training Data Attribution for Disease-Related Effects in Normative Age Biomarkers

Jakob Snel, Marc-Andre Schulz

Abstract

Normative age models are trained to predict chronological age in a nominally healthy cohort. Applied to patients, they deviate, and the gap between predicted and chronological age is read as disease risk. Here, we attribute the disease-related effect size of the age gap directly to individual training samples, rather than using a prediction-level loss as the attribution target. For Cohen's d, the resulting closed-form influence functional, validated against leave-one-out retraining, ranks training samples by their effect on held-out case-control separation. Across four diseases and two biomarker modalities in UK Biobank, removing the 10% most influential training samples raises held-out disease-related effect size in every seed. It more than doubles the metabolomic-age effect for type 2 diabetes and raises the brain-age effect for multiple sclerosis by roughly a third. Random removal leaves effect size flat even at 50% removal, confirming the gain comes from which samples are removed, not how many. Flagged subjects carry subclinical cardiometabolic burden that diagnosis-based exclusion misses, on markers the model never sees. For type 2 diabetes, where the method gains most, the marker recovered is HbA1c, the standard measure of blood sugar control. We release pyinfluence, our influence-function package, for reproducibility and reuse.

1 Introduction

A normative age biomarker is a model trained to predict chronological age in a nominally healthy cohort [3]. Applied to a patient, it misses, and the gap between predicted and chronological age is read as disease risk (Figure 1a). The gap carries signal because the model never saw disease in training.

Reported brain-age effect sizes for the same disease vary widely across studies with similar methods [4, 10]. Reference-cohort contamination is one suspected source [21]. When a nominally healthy training cohort contains people with pre-diagnostic disease, the contamination inflates the variance of disease-carrying features, and an optimiser minimising age-prediction error learns to downweight exactly those features. In fact, models with worse age-prediction accuracy can show larger disease-related effects [21]. A control who is pre-diabetic but undiagnosed, for example, still enters training labelled healthy, and the model learns to treat their elevated glucose-linked features as normal variation, not signal.

✉ Corresponding author: marc-andre.schulz@uni-tuebingen.de

Preprint.

Figure

Figure 1: Influence-guided removal in the multiple sclerosis cohort widens the separation in mean age gap between held-out controls and cases. (a) We plot predicted age against chronological age for individual subjects in this cohort, and define the age gap as predicted age minus chronological age. A subject on the diagonal has an age gap of zero and reads as healthy. The marked subject above it has a positive age gap and reads as at elevated disease risk. (b) We train a model on its nominally healthy training pool of 40,000 subjects, rank every training subject by its influence on Cohen's d, and retrain the model without the 10% most influential subjects (magenta), keeping the remainder. (c) Attribution-based top-10% removal (top) widens the separation in mean age gap between cases and controls to 5.2 years, a paired gain of 1.8 years over random removal of the same share (bottom), which leaves a separation of 3.4 years. Small, lighter dots show single-seed means. The larger, more saturated dot shows the mean across seeds. Removing the flagged 10% moves the case group away from its matched controls while the control group stays near zero.

As in many other domains [13], current practice for composing the reference cohort relies on domain experience [2, 5, 6]. Experts build exclusion lists that flag subjects who deviate from the normative ageing trajectory, based on recorded diagnoses such as diabetes or chronic kidney disease. These lists are applied a priori, before training, and no post-hoc approach exists to catch subclinical or undiagnosed cases that never appear on any exclusion list.

Training data attribution offers a natural way to address this gap. It conventionally identifies the training points most responsible for an individual prediction, for example to debug models or detect dataset errors [8, 9, 11, 12, 15, 16]. However, a normative age biomarker is not evaluated by individual prediction accuracy. It is trained on the reference cohort for prediction accuracy, but evaluated by the disease-related effect size of the resulting age gaps, quantified by Cohen's d between held-out cases and matched controls. This mismatch is not unique to our setting. Nguyen et al. [14] find that practitioners' metric preferences are individual to the user, with no consistent preference for loss.

We therefore use the disease-related effect size itself as the attribution target rather than an individual age prediction, and call the resulting method Cohen's d influence functions (Figure 1b). This directly targets training samples that reduce the downstream effect size. Under the hypothesis that reference-cohort contamination limits this effect, three predictions follow. First, flagged samples should carry subclinical disease-related phenotypes. Second, removing them should increase evaluation effect size. Third, removing random individuals should not.

Our experiments show all three predictions hold (Section 4.1). Figure 1c shows the resulting age gap for multiple sclerosis cases and controls. We make the following contributions. First, Cohen's d influence functions, a closed-form method for attributing disease-related effect size rather than the training loss, benchmarked against leave-one-out retraining (Section 2). Second, empirical validation across four conditions. Attribution-based removal raises disease-related effect size where random removal of the same size does not, across four diseases and two UK Biobank modalities, in every seed (Section 4.1). Third, phenotypic characterisation of flagged samples. Flagged samples carry subclinical cardiometabolic burden that diagnosis-based exclusion misses (Section 4.3).

References (23)