Fisher Discriminants That Learn Their Covariance Without Labels

A Fisher discriminant is the classic linear classifier that projects many measurements onto the single direction that best separates two groups. To find that direction it needs two ingredients: the average difference between the groups, and the covariance, meaning how the features vary and co-vary within each group. When a clinical study has 30 labeled patients and thousands of radiomic or gene-expression features, the covariance has millions of entries that cannot be estimated. The covariance matrix then cannot be inverted, and the classifier memorizes noise. The usual fixes regularize that matrix or project away part of it. All of them still estimate it from the same few labeled patients.

This proposal starts from a simple algebraic fact. The Fisher direction is unchanged if the within-group covariance is replaced by the covariance of the pooled, unlabeled population. In most clinical settings, scans or assays of patients whose outcome is unknown, not yet assessed, or never recorded far outnumber labeled ones. We propose to estimate the costly ingredient, the covariance, from that unlabeled pool, and the cheap ingredient, the mean difference with only $p$ numbers, from the labeled few. The pool may differ from the labeled cohort, for example by scanner, site, or selection. We guard against this with a worst-case robust Fisher formulation whose regularization strength is set from a measured discrepancy between the two pools, rather than by cross-validation on 30 patients.

Core Claim

Let $\Sigma_W$ be the within-class covariance, $\delta = \mu_1 - \mu_0$ the difference of class means, and $\pi$ the fraction of class 1. The total covariance of the mixed population is $\Sigma_{\text{tot}} = \Sigma_W + \pi(1-\pi)\,\delta\delta^T$. By the Sherman–Morrison identity, for any $\rho \ge 0$,

$$ (\Sigma_W + \rho\,\delta\delta^T)^{-1}\delta \;=\; \frac{\Sigma_W^{-1}\delta}{1 + \rho\,\delta^T\Sigma_W^{-1}\delta}, $$

so $\Sigma_{\text{tot}}^{-1}\delta$ points in exactly the Fisher direction $\Sigma_W^{-1}\delta$, whatever the class mix. The total covariance needs no labels. The labeled sample is used only to estimate $\delta$.

Two consequences matter. First, the effective sample size for the $p \times p$ matrix becomes the unlabeled pool size, which can be ten or a hundred times the labeled count. Second, the identity makes the classifier insensitive to differences in disease prevalence between the pool and the labeled cohort, because any $\rho$ gives the same direction.

This also reframes Sparsifying the Fisher Linear Discriminant by Rotation. That paper rotates data into the eigenbasis of $\Sigma + \rho\delta\delta^T$ to concentrate dense signals, and tunes $\rho$ by cross-validation. The unlabeled total covariance is that rotation matrix with $\rho = \pi(1-\pi)$, already fixed by the population, estimated without labels, and needing no tuning.

The claim we will test is narrow. When the labeled count is between about 10 and 60 and $p \gg n$, a pool-covariance Fisher discriminant with a shift-calibrated robust penalty should beat Fisher variants that estimate the covariance from the labeled patients alone. It should also match or beat simpler ways of using the unlabeled pool. Its advantage should shrink in a predictable way as the pool shrinks or the shift between pools grows.

Research Program

The method has three parts.

The first is estimating $\Sigma_{\text{tot}}$ from the pool. The pool is larger than the labeled set but often still smaller than $p$. We therefore use a low-rank-plus-diagonal estimate: the leading eigenvectors from the pool plus a scaled identity. The rank is chosen by the pool's own eigenvalue spectrum, not by labels.

The second is estimating $\delta$ from labeled data inside the pool's leading subspace. This is where the spiked-covariance argument of Hao et al. applies: dense signals concentrate in few rotated coordinates, so a $p$-dimensional mean estimate collapses to a short one. An optional sparse solve in the rotated coordinates reproduces Rotate-and-Solve with $\rho$ removed as a tuning knob.

The third is a robust correction for pool–cohort mismatch. Robust Fisher Discriminant Analysis shows that maximizing the worst-case Fisher ratio over a Frobenius-norm uncertainty set on the covariance reduces to adding $\lambda I$. Its uncertainty set is built by bootstrapping the labeled data, and the file notes this is unstable below about 20 samples. We instead set the radius from two measurable quantities. One is the pool's own estimation error, which shrinks with pool size. The other is a shift term: how far the labeled cohort's covariance deviates from the pool's within the pool's leading subspace. That subspace is low-dimensional, so even a small labeled set can estimate this deviation.

The result is a closed-form ridge Fisher rule whose $\lambda$ comes from data rather than a cross-validation grid. We say plainly that the minimax step lands on ridge. The contribution is where $\lambda$ and the covariance come from, not a new penalty shape.

We will also derive, under a spiked model, when the pool estimate beats labeled-only shrinkage. The comparison is between the error from finite pool size and the bias from shift. The predicted crossover should appear in experiments. The particle-physics use of Fisher discriminants motivates the design rather than serving as a test bed. Analyses such as the BABAR searches in del Amo Sanchez et al. work alongside large auxiliary samples, including off-resonance data. Treating the expensive statistics as something to learn from plentiful auxiliary data, rather than from the rare signal itself, is the habit we import into clinical small-sample work.

Baselines

The naive reference is nominal Fisher LDA using the pseudo-inverse of the labeled within-class scatter. It shows how badly the unregularized rule fails at each labeled count.

The first strong labeled-only competitor is ridge-regularized Fisher with $\lambda$ chosen by nested cross-validation. The robust formulation of Robust Fisher Discriminant Analysis reduces to this under Frobenius uncertainty, and it is what practitioners actually run. The file reports only figures for that paper's Sonar and Ionosphere comparisons, with no exact tabular number found on Lacuna. We will rerun it at matched training fractions.

The strongest published dense-signal method is Rotate-and-Solve ROAD from Sparsifying the Fisher Linear Discriminant by Rotation. It reports 0.93% test error on the lung cancer microarray data with $p = 12{,}533$, against 1.37% for plain ROAD, and 7.7% against 22.0% on MPEG-7 Camel vs. Horse. Those numbers come from full training sets. We will rerun RS-ROAD at each subsampled labeled count with its own cross-validated $\rho$. Beating it means lower mean error and lower split-to-split variance at labeled counts of 40 or fewer, with no worse error at the full training size.

Two more labeled-only competitors complete the set. Discriminant common vectors from the DCV comparative study projects into the null space of the within-class scatter and reports 94.9% on ORL. LLDE from Gene expression data classification using locally linear discriminant embedding reports 95.59% on Acute Leukemia with $K$-NN, against 80.29% for PCA with $K$-NN. DCV is the natural opposite of our approach: it trusts the labeled null space completely, whereas we distrust the labeled covariance completely.

Two baselines that also use the pool keep the comparison honest. One is PCA fitted on the unlabeled pool, followed by ridge Fisher with cross-validation in the top components. The other is the pool covariance with $\lambda$ chosen by cross-validation instead of by our shift calibration.

The ablations isolate each ingredient in turn. One uses the labeled covariance with our calibrated $\lambda$, isolating the pool. Another uses the pool covariance with cross-validated $\lambda$, isolating the calibration. A third uses the pool covariance with no robust term, isolating the shift guard.

Every method sees the same labeled splits and the same pool, where the method uses one. Every method gets the same hyperparameter grid size and twenty repeated splits per labeled count. Metrics are reported as mean and standard deviation of error or AUC.

Why not just…?

Why not just use shrinkage LDA on the labeled data with cross-validated $\lambda$? This is the main labeled-only threat. Robust Fisher is equivalent to it under Frobenius uncertainty, and Robust FDA's own results show the gains concentrated at small training fractions and narrowing by 80%. Its weakness is that $\lambda$ and the covariance eigenvectors both come from a handful of patients. The ablation that swaps in the pool covariance while keeping cross-validated $\lambda$ measures directly how much the eigenvectors, rather than the shrinkage amount, were the problem. If ridge-LDA matches us at 20 to 40 labeled samples, the pool is not helping and we will say so.

Why not just run PCA on the unlabeled pool and fit a classifier in the top components? This is the most serious threat, because it also uses the pool. The LLDE comparison, where PCA with $K$-NN reached 80.29% against 95.59%, faults PCA as a label-blind projection paired with a weak classifier, not pool-based subspace estimation. Our identity says the pool's full total covariance, not a truncation, gives the Fisher direction. Truncation discards low-variance directions where discriminative signal can sit, the same failure the DCV study attributes to PCA preprocessing in Laplacianfaces (90.1% vs. 94.9% on ORL). The pool-PCA baseline runs head-to-head at every labeled count. If it ties us everywhere, our contribution shrinks to a principled choice of rank and $\lambda$, and we will report it that way.

Why not just use LASSO or sparse LDA? Hao et al. show sparse LDA in raw coordinates fails on dense signals (22.0% vs. 7.7% on MPEG-7). Wang et al. report a LASSO radiomics-only model falling from AUC 0.70 in training to 0.60 in validation. We still include L1-logistic regression for reference.

Why not just fine-tune a deep network? With tens of labeled patients this is not a fair fight. Even the combined model of Zheng et al., trained on 106 patients, falls from AUC 0.89 to 0.78 on external data. We treat deep models as out of scope rather than claim to beat them.

Proposed Experiments

The first experiment is a controlled simulation under a spiked-covariance model. It varies labeled count from 10 to 100, pool size from 1 to 50 times the labeled count, and an injected covariance shift between pool and cohort. Ground truth lets us check two things: that calibrated $\lambda$ tracks the oracle $\lambda$, and that the predicted crossover against labeled-only shrinkage appears where the analysis says.

The second experiment uses the benchmarks in the file: the lung cancer, Acute Leukemia, Glioma, Prostate, and Breast microarray sets, MPEG-7, ORL, Sonar, and Ionosphere. For each, we subsample a labeled set of 10 to 60 and hide the remaining labels to form the pool. These pools are modest, only a few times the labeled set, which makes this a conservative test of the idea.

The third and most important experiment tests real shift with clinical radiomics. Where cohort access permits, we would use the temporal-CT NSCLC cohort of Zheng et al. We train on labeled subsets of its 106 training patients. The unlabeled pool is the external 110-patient center, which also serves as the test set. The reported reference there is AUC 0.78 on the external set. This tests whether calibration correctly shrinks trust in a pool from a different site.

The decisive checks are three. First, our method must beat cross-validated ridge-LDA and RS-ROAD in both mean error and variance at labeled counts of 40 or fewer. Second, it must at least tie pool-PCA. Third, the shift-calibrated $\lambda$ must beat cross-validated $\lambda$ on the pool covariance when the pool comes from a different center. If the first fails, the idea is wrong. If only the second fails, the result is a justification of an existing practice rather than a new method, and the note will be revised to say that.