Where the Signal Sits in the Spectrum: Correcting the Variance Bias of Few-Label Probes

Self-supervised foundation models, which are networks pretrained on large unlabeled corpora, are usually adapted to small clinical cohorts in one way. Practitioners freeze the network and fit a regularized linear classifier, called a linear probe, on its embeddings. Under a standard L2 (ridge) penalty, this probe is not neutral. It is a soft form of principal component analysis (PCA). Fitting a label along a low-variance direction requires a large weight, the penalty charges for large weights, and so with few labels the probe effectively attends only to the embedding's high-variance directions. This is the classic failure of unsupervised dimensionality reduction: variance is not relevance. Here it reappears implicitly, inside the default adaptation step, and it bites hardest when labels are fewest.

We propose to measure this bias and correct it with a one-parameter "spectral prior" for linear probes. The prior's shape comes from the large unlabeled pool, which in label-efficient settings is free. Its single parameter, which says where in the eigen-spectrum task signal is expected to sit, is estimated from the few labels by maximizing the marginal likelihood of the labels rather than by cross-validation. The hypothesis is concrete. The documented "generalist gap" of electrocardiogram (ECG) foundation models is partly a probing artifact, not only a representation failure. On subtle targets such as cardiac structure, label-relevant signal sits in the low-variance tail of the embedding, beneath dominant rhythm and heart-rate variation, where ridge probes cannot reach it with tens of labels.

Core Claim

Let $\Sigma$ be the covariance of frozen embeddings, estimated from the unlabeled pool. Let $w$ be the probe's weight vector. We place a Gaussian prior on the weights:

$$ w \sim \mathcal{N}\!\left(0,\ \tau^2\, \Sigma^{-\gamma}\right), $$

Here $\tau$ is an overall scale and $\gamma$ controls how prior predictive variance is spread across eigen-directions. Under this prior, an eigen-direction with variance $\lambda$ contributes $\tau^2\lambda^{1-\gamma}$ to the prior variance of the output $w^\top x$. That gives three regimes:

  • $\gamma = 0$ is ordinary ridge. It favors high-variance directions.
  • $\gamma = 1$ is whitening. All directions are equally weighted.
  • $\gamma > 1$ favors the low-variance tail.

We fit $\tau$ and $\gamma$ by maximizing the Laplace-approximated evidence of the logistic likelihood on the $N$ labeled examples, then take the posterior-mode probe.

The claim has three parts:

  1. The best $\gamma$ varies systematically across clinical tasks.
  2. It can be estimated from as few as 16 to 64 labels, because it is one scalar and $\Sigma$ is estimated from the unlabeled pool, which makes it well-conditioned.
  3. Fitting it closes a measurable part of the gap between frozen probes and supervised training on fine-grained targets, while doing no harm on coarse targets where $\gamma$ should fall back toward zero.

The two-sentence version: default probes inherit PCA's preference for high-variance directions, and with few labels this hides subtle clinical signal. We let the labels choose how much to undo that preference, using covariance learned from unlabeled data.

Relation to Prior Work

Three papers motivate the proposal by documenting the symptom.

None of these papers separates two explanations: "the information is gone" versus "the information is present but low-variance and penalized away by the probe." Our diagnostic is designed to tell them apart. Where the Label Blindness Theorem holds, our method should fail, and that is a falsifiable outcome.

Supervised dimensionality reduction for the regime with many more features than samples supplies the conceptual toolkit, and it also constrains the design.

We differ from these methods in two ways. First, we estimate the nuisance geometry from unlabeled data, so the singular-covariance problem largely disappears. Second, we replace a labeled-data subspace search with a single spectral shape parameter chosen by evidence, which is the kind of quantity that can be estimated from very few labels.

For Better or For Worse? Learning Minimum Variance Features With Label Augmentation is a direct warning. Models pushed toward low-variance features latch onto spurious low-variance cues. A large $\gamma$ risks exactly this, so we treat shortcut robustness as a primary test rather than an afterthought.

LP++: A Surprisingly Strong Linear Probe for Few-Shot CLIP shows that much of linear probing's apparent weakness comes from optimization and the choice of priors. It obtains its prior from text embeddings, which unimodal ECG has no counterpart to. Our unlabeled covariance plays the role of the text prior.

Research Program

The relevance spectrum diagnostic. For each task, we use the full labeled data to fit a well-tuned probe on frozen embeddings. We then decompose its predictive signal by eigen-band of the unlabeled covariance, which tells us what fraction of the separating direction lives in the top 1%, top 10% and remaining tail of variance. This gives each task a "relevance spectrum." We test whether tasks with tail-heavy spectra are the ones where frozen probes trail supervised S4 in the reality-check suite.

The spectral-prior probe. We implement the probe above with $\Sigma$ estimated from the unlabeled pool using light shrinkage. We fit $(\tau, \gamma)$ by evidence maximization with a Laplace approximation, and use a one-vs-rest extension for multi-label tasks. The diagnostic gives a ground-truth check: the $\gamma$ chosen from 32 labels should rank tasks in the same order as the relevance spectra computed from thousands of labels.

The site-geometry safeguard. We estimate $\Sigma$ on unlabeled data pooled across acquisition sites, so that between-site differences appear as high-variance directions. Those directions are then de-emphasized when $\gamma$ is large. We test whether this keeps high-$\gamma$ probes from adopting site shortcuts of the kind documented in Unveiling COVID-19 from Chest X-ray with deep learning: a hurdles race with small data.

Baselines

The naive reference is an L2-regularized logistic probe on the frozen ECG-CPC encoder with $\lambda$ chosen by cross-validation, which is the $\gamma=0$ special case. On PTB-XL diagnostic statements with full labels, Self-supervised representation learning from 12-lead ECG data reports a frozen CPC linear-evaluation macro AUC of 0.927. Below the same frozen encoder sits a trivial prevalence predictor, which gives the chance floor.

The strongest existing competitors depend on label budget.

  • Full fine-tuning of the CPC encoder. It reaches macro AUC 0.9418 on PTB-XL against a 0.9318 purely supervised baseline in the same paper. Deep Learning for ECG Analysis: Benchmarks and Insights from PTB-XL reports about 0.939 for ensembles.
  • Supervised S4 trained from scratch. This is the competitor the reality-check paper found surprisingly strong on fine-grained categories. That paper reports category-level dominance claims, but no reported result was found on Lacuna for cardiac structure/function AUROC at small $N$, so we will produce those numbers ourselves.

Classical alternatives are run on the same frozen features:

  • PCA retaining 95% of variance, followed by logistic regression.
  • Shrinkage linear discriminant analysis using the unlabeled covariance.
  • CSPCA with $\kappa$ chosen by cross-validation.
  • CFAD fit on labeled data only.

Ablations isolate the two ingredients:

  • $\gamma$ fixed at 1, which is plain whitening, isolates the value of learning $\gamma$.
  • $\Sigma$ estimated from the labeled examples only isolates the value of the unlabeled pool.
  • $\gamma$ chosen by cross-validation instead of evidence isolates the selection rule.

All methods use the same frozen embeddings, the same labeled subsamples (20 random draws per budget), the same unlabeled pool, and a matched hyperparameter budget. Fine-tuning and S4 receive their standard tuning grids.

Beating the baselines means two things. The first is a statistically reliable macro-AUROC gain over the CV-ridge probe at $N \le 128$ on tail-heavy task categories. The second is that the gain is not explained by the $\gamma=1$ ablation.

Why not just…?

Why not just tune the ridge penalty more carefully? For every value of $\lambda$, ridge still ranks directions by variance. Tuning chooses how hard to shrink, not which part of the spectrum to trust. If the relevance spectra show that signal on fine-grained tasks sits in the tail, no $\lambda$ can recover it at small $N$ without also inflating noise in the head. The $\gamma=0$ baseline with a generous $\lambda$ grid tests this directly.

Why not just whiten the embeddings, or use shrinkage linear discriminant analysis with the unlabeled covariance? This is the real threat. Both are close to fixing $\gamma = 1$, and both are cheap. If fixed $\gamma=1$ matches the learned $\gamma$ across tasks, we will report that the contribution reduces to two findings: the diagnostic itself, and the recommendation to whiten with unlabeled data. That would still be a useful and simple result. The case for learning $\gamma$ rests on the prediction that coarse rhythm tasks prefer $\gamma$ near 0, where whitening amplifies noise and should hurt, while structural tasks prefer $\gamma$ at or above 1. The per-category comparison settles this.

Why not just fine-tune the encoder, or train S4 from scratch? At thousands of labels, fine-tuning wins on PTB-XL (0.9418 versus 0.927 frozen), and we expect it to stay best there. At tens of labels, the small-cohort evidence in Unveiling COVID-19 from Chest X-ray with deep learning: a hurdles race with small data shows deep models memorizing acquisition artifacts. The label-budget sweep will locate the crossover point rather than assume it.

Why not just use CFAD or CSPCA directly? Both estimate label-relevant structure from the labeled set. CFAD additionally assumes Gaussian classes, and CSPCA's own analysis flags $\kappa$ selection as unstable below 30 samples. We include both. If CFAD on labeled data alone matches our probe, then the unlabeled pool is not the source of the gain.

Proposed Experiments

Primary setting. We use the frozen 3.8-million-parameter ECG-CPC encoder on PTB-XL and on the reality-check suite's adult interpretation, cardiac structure/function and outcome categories. Labeled budgets are $N \in \{16, 32, 64, 128, 256, \text{full}\}$, with the remaining records serving as the unlabeled pool. The metric is macro AUROC with confidence intervals over the 20 draws.

Decisive check one. The $\gamma$ estimated from 32 labels should correlate positively, across tasks, with the tail mass of the full-label relevance spectrum.

Decisive check two. Gains over CV-ridge should concentrate on tail-heavy tasks. They should vanish on rhythm statements, where the estimated $\gamma$ should drift toward zero.

Decisive check three. Under train-site/test-site splits of the suite's datasets, high-$\gamma$ probes with the pooled-site $\Sigma$ should not lose more cross-site AUROC than ridge does. Losing more would signal the spurious low-variance capture predicted by the label-augmentation paper.

Secondary transfer test. We take a frozen chest X-ray self-supervised encoder, using Masked Record Modeling weights if they are obtainable, which Advancing Radiograph Representation Learning with Masked Record Modeling reports at 88.5% mean AUC on CheXpert with 1% labels. We train on small subsets and test cross-site on CORDA. There, Unveiling COVID-19 from Chest X-ray with deep learning: a hurdles race with small data reports sensitivity 0.54 and specificity 0.80 with RSNA pretraining.

Falsification condition. If the relevance spectra of lagging tasks turn out to be head-heavy, or the tail carries no recoverable signal even with full labels, then the generalist gap is a representation failure in the sense of label blindness. That would redirect effort toward pretraining objectives rather than probes.