← projects

Clinical AI for Brain Lesions: Detection, Localization, Supervision, and Evaluation

Saanvi S. Subramanian

Division of Biology and Biological Engineering, California Institute of Technology. With the Lab for Early-Age Neuroimaging at Stanford, Stanford Department of Radiology, and the Caltech Computer Vision Lab. Each paper's full author list appears with its thread below.

A clinical model can post a strong number and still be wrong about what matters at the bedside, so the evaluation has to match how the model would actually be used.

A clinical model is only as trustworthy as the assumption printed beside its headline number.

When a clinical model reports a gain, is it a gain a clinician could obtain in practice, or one that exists only because the evaluation already assumed part of the answer?

Abstract

A clinical model is usually judged by one benchmark number, and that number can be correct while the conclusion drawn from it is wrong. I build and evaluate clinical imaging models against the decision they would actually support at the bedside. The main study asks whether an anatomical localization prior helps a 3D detector recover epileptogenic lesions it would otherwise miss. Restricting the search to the suspected lobe and looking for several candidate peaks recovers 14 of 25 missed lesions, 56%, against 1.4 expected by chance, with P below 0.001. That number is an upper bound reported under oracle localization, which means it assumes the correct lobe is already known, so I report it as a ceiling rather than an achievable EEG-guided result. Four further threads carry the same standard. A routing policy decides per patient whether to wait, predict, or defer, and answers at 88.4% accuracy on cross-segment self-agreement against 70.0% on the model's own confidence. A label-degradation study shows that the usual protocol, scoring a fixed model against corrupted masks, ranks the reference rather than the supervision, and reverses once you train on the degraded labels instead. A check on medical video encoders finds a single still frame matching the full 16-frame clip. The last thread is a catalogue of seven ways a clinical evaluation can report the right number and still support the wrong conclusion, drawn from corrections to my own work.

14 of 25
Missed lesions recovered under oracle localization, a ceiling rather than an achievable result
1.4
Recoveries expected by chance, against the 14 observed
P < 0.001
Significance of the recovery against the chance baseline
oracle
The lobe is assumed known, so the achievable EEG-guided number is lower

01, The Challenge

The slide number and the bedside number are different things

A clinical model is usually judged by a single benchmark score, but a score can be arithmetically right while the conclusion drawn from it is wrong. A detector can look strong on average while missing the subtle lesions clinicians actually need help finding, or it can appear to discover a region that the evaluation quietly supplied in advance. This work evaluates clinical models against the bedside decisions they would actually support and states the assumptions behind every number.

The central question

When a clinical model reports a gain, is that a gain a clinician could obtain in practice, or a gain that only exists because the evaluation already assumed part of the answer?

focal cortical dysplasia A subtle malformation of the cortex that causes epilepsy and is easy to miss on MRI.

These lesions can be small and low-contrast, so a detector that works on obvious cases can still fail on the subtle ones that bring a patient to imaging in the first place. The subtle ones are what I care about here, because the obvious lesions do not need a model.

oracle localization A result reported under the assumption that the correct region is already known.

When a method is told which lobe to search, its recovery numbers are an upper bound on what a deployable pipeline could achieve, because a deployable pipeline has to find the region first. Reporting the oracle number is useful, as long as it is read as the ceiling it is.

02, Results

Five threads, one standard of evidence

The first two threads ask whether a model helps a decision a clinician actually makes, where to look and when to answer. The third and fourth ask whether the measurement protocols underneath those models report what they claim to, in supervision quality and in temporal information. The fifth is the checklist the other four are held to.

Detecting subtle epileptic lesions

Recovering Failures in Brain Lesion Detection: Multimodal EEG-MRI Approach for Epilepsy
Oral presentation at AI4M3D, the AI for Medical 3D Vision workshop at ECCV 2026.
Subramanian, Esmeraldo, Ikedo, Gatidis, Chambers, Holland, Kumar, Vasanawala, Soares. Caltech, the Lab for Early-Age Neuroimaging at Stanford, Stanford Radiology, the Medical University of Vienna, and the Stanford Center for Artificial Intelligence in Medicine and Imaging.

Standard 3D lesion detectors apply one global threshold across the brain, which either sets the bar too high and misses faint lesions or sets it too low and floods the output with false positives. To test whether anatomical priors can recover missed lesions, I adjusted a 3D nnU-Net detection threshold across SynthSeg anatomical parcels, lowering the threshold inside the suspected lobe and raising it to 0.90 outside. Within that restricted lobe, the pipeline searches for multiple candidate peaks instead of a single maximum.

what the pipeline uses Annotated localization zones, not a raw EEG signal.

The zones come from clinical annotations and anatomical parcels, so the pipeline is told where to look. It works from those annotations rather than an EEG trace, which is why every recovery number here is an upper bound rather than an achievable EEG-guided result. Naming that gap is the part that matters.

  1. Zone-conditioned threshold Lower the bar inside the suspected zone, raise it outside. The method adjusts a 3D nnU-Net detection threshold by anatomical zone defined on SynthSeg parcels, lowering it inside the zone and raising it to 0.90 outside, so a faint lesion in the right place is kept while false positives elsewhere are suppressed.
  2. Lobe-restricted multi-peak search Look for several candidate peaks within the lobe. Inside the restricted lobe, the method searches for multiple peaks rather than a single maximum, which is what recovers lesions that a single-threshold detector places just below its cutoff.

Under oracle localization, where the correct lobe is supplied from clinical annotations rather than measured EEG, this lobe-restricted multi-peak search recovers 14 of 25 previously missed lesions (56%), compared to 1.4 expected by chance (P < 0.001). Because the pipeline is told where to look, this figure is an upper bound rather than an achievable EEG-guided result.

The cohort is 175 confirmed-FCD scans. The baseline 3D nnU-Net, trained on FLAIR volumes with five-fold cross-validation, detects 150 of them (85.7%) and misses 25 completely, where a complete miss means no voxel above threshold anywhere inside the lesion. Two nulls calibrate the recovery, shuffling the detector's probabilities inside each zone (1.4 recoveries) and drawing a random connected cluster of matched size inside the zone (4.0). The recovery stage adds no training at all on top of the detector. What it adds is where to look.

The recovery leans on the zone restriction rather than on detector confidence, since only 8 of the 14 recovered lesions clear the per-case detection threshold on their own. Of the 25 misses, 24 are frontal or temporal.

14 of 25
Missed lesions recovered (56%) under oracle localization, against 1.4 expected by chance, P < 0.001
Bar chart: the oracle localization zone recovers 14 of 25 complete misses, against 4.0 for a random in-zone cluster null and 1.4 for a probability shuffle null.
Figure 1. Detection, then recovery. The baseline T2-FLAIR nnU-Net detects 150 of 175 lesions (85.7%) across the four cohorts and misses 25 completely. The recovery search covers 24 of those 25 (one 193-voxel lesion is omitted), which split into 17 silent, meaning no suprathreshold output at all, and 7 mislocalized, meaning a confident prediction away from the lesion. Restricting a multi-peak search to the lesion lobe recovers 14 of the 25, including 10 of the 17 silent, against 1.4 and 4.0 for two spatially uninformative nulls (P < 0.001). Every recovery appears within the top four candidate peaks. The lobe is a stand-in for the region an EEG work-up would flag, so this is a ceiling rather than an achievable EEG-guided number.
Finding 1

As an upper bound under perfect (oracle) localization, the lobe-restricted multi-peak search recovered 14 of 25 missed lesions, which is 56%, against 1.4 expected by chance, with P < 0.001. This is an oracle ceiling rather than an achievable EEG-guided result.

The granularity and accuracy of the prior both matter. Restricting the search further to a subregion adds no significant gain and drops two cases that the lobe-level search recovered. A wrong prior actively hurts performance, as pointing the search at the opposite-side lobe drops recovery from 14 of 25 down to 1, which is worse than the 9 lesions the model recovers with no prior at all.

Finding 2

Finer subregional restriction added no significant improvement over the lobe, so the lobe is the level at which the localization prior helps, and the right granularity for it.

Finding 3

The failure case worth stating is a wrong prior. Pointing the search at the opposite-side lobe drops recovery from 14 of 25 to 1, below the 9 the model recovers with no prior at all, so a wrong localization actively suppresses true lesions. Tightening the zone also costs, since the subregional zone dropped two cases the lobe had recovered. The prior has to be right, and no finer than the lobe.

Why call it an upper bound?

The recovery of 14 of 25 assumes the correct lobe is already known. A deployable pipeline would have to find the lobe from data first, so the achievable number is lower than this oracle number. A companion analysis on the fusion side makes that concrete: a realistically accurate prior applied after segmentation transfers almost no benefit, with a break-even near chance. The gap between this ceiling and a deployable result is the open problem, not a solved one, which is why I report the ceiling as a ceiling every time it appears.

This matters because the lesions that reach imaging are the subtle ones, and a prior that recovers 14 of 25 of the misses would change a patient's path only if a deployable pipeline can supply the lobe without being told it. The oracle number shows the ceiling is high enough to aim for, and the next step is reaching it from measured data.

Limitations. The localization zones are simulated from confirmed lesion lobes rather than derived from raw EEG or clinical reports. No EEG signal and no EEG report is processed anywhere in this pipeline. Recovery hyperparameters (fusion scale, flood-fill thresholds, the 0.90 out-of-zone threshold, and the 10 mm margin) were fixed a priori and remain stable across a sweep, but they were set on this cohort without a held-out split or an external test set. Eighteen of the confirmed-FCD cases were in the detector's training data, and a documented-only, FCD-only retrain has not been run. A separate journal manuscript frames the same work on a 231-case all-comers cohort with different denominators, so the two sets of numbers should not be mixed. The method still needs a specificity check on healthy controls and a shift to measured EEG inputs.

Routing EEG localization decisions

Wait, predict, or defer? Evaluating an offline sequential routing policy for EEG localization

Forcing a model to predict on every patient guarantees confident errors on hard cases, which can direct clinical attention to the wrong hemisphere. I evaluated an offline sequential routing policy on 166 patients that watches a localizer's output as 10-second EEG segments arrive. At each step, the policy decides whether to report the current hemisphere, wait for another segment, or defer the patient once an observation budget runs out. No models were retrained, and all routing thresholds were chosen strictly on training patients.

At 40% coverage, the strongest signal for when to answer is cross-segment self-agreement (how often separate segments point to the same hemisphere) rather than the model's own confidence. Routing on self-agreement reaches 88.4% accuracy, compared to 70.0% for model confidence, 67.3% for random routing, and 68.7% for answering every patient. The bootstrap gap between self-agreement and confidence is 18.7 percentage points (95% CI [+7.3, +30.6] over 4,000 resamples). The sequential policy reaches this accuracy using about 7.9 segments per answered patient. Reading every available segment before deciding raises accuracy only to 89.0% while tripling the observation cost.

Left, at 40% coverage self-agreement answers at 88.4% versus 70.0% for confidence and 67.3% random. Right, a risk-coverage curve where only self-agreement rises as coverage falls.
Figure 2. Who to answer, and when. Left, accuracy on the answered patients at 40% coverage. A policy that routes on cross-segment self-agreement reaches 88.4%, while the model's own confidence (70.0%) and random routing (67.3%) barely beat answering every patient (68.7%, dashed). Right, the risk-coverage trade-off. As the policy answers fewer patients, self-agreement accuracy climbs along a smooth curve, from 68.7% at full coverage to 94.3% at 20%, while confidence stays flat near 63 to 71% at every coverage, so self-agreement isolates the patients it should answer and confidence does not. 166 patients, one 10-second EEG segment per observation.
Finding 4

At 40% coverage, routing on cross-segment self-agreement answers patients at 88.4% accuracy against 70.0% for the model's own confidence and 68.7% for answering everyone, a bootstrap gap of 18.7 points [CI +7.3, +30.6], so the signal that knows when to answer is agreement across segments rather than confidence.

Why evaluate a routing policy at all?

The useful quantity in the clinic is not average accuracy, it is how often the model is confidently wrong on a case a clinician would have caught. A policy that knows when to abstain can be worth more than one that is slightly more accurate on average, and the way to see that is to evaluate the decision, not the raw score.

This matters because it applies the same standard as thread 1 to deployment, that a model should be judged on the action it supports. Here the action is a triage choice, and the question is whether the policy improves that choice rather than whether it posts a higher number.

Limitations. This is an offline replay of cached out-of-fold predictions from a single clinical corpus rather than a prospective clinician-agent study. Deferrals have no measured downstream clinical outcome, and segment arrival was tested via random within-patient reorderings rather than prospective logs.

What a label-degradation study actually measures

In preparation for the CVPR 2027 main track. Not submitted, not accepted.
Started inside the FCD work above, then moved to natural images so the claim could be tested at scale.

Annotation quality is usually probed by holding a trained segmenter fixed and scoring it against deliberately degraded masks. I started this on focal cortical dysplasia MRI and found that the ordering of corruption types the protocol produces can be reproduced by an eroded copy of the expert mask, with no learned model involved at all. The fixed model is ranking the reference, not the supervision. That makes the whole protocol a measurement of the corruption operator rather than of what a model can learn from imperfect labels.

the two protocols Score a fixed model against degraded labels, or train on degraded labels and score against clean ones.

Only the second asks the question people mean to ask. The first measures how far a corruption moves a mask away from the reference, which an eroded mask reproduces without any model. The two protocols do not merely differ in sensitivity. On the same data they put the label types in opposite orders.

Asked the right way, by training on degraded labels and scoring against clean ones, the ranking reverses. In pre-registered tests on ADE20K and COCO, labels that are precise but partial (scribbles) trained better segmenters than labels that are complete but coarse (boxes) at matched training-label fidelity when both were trained as dense masks. A fixed model scored against those same labels ranked them the other way. The reversal held for two modern pretrained backbones.

Figure 3. The same labels, two protocols, opposite orders. Left, the usual protocol holds a trained model fixed and scores it against degraded masks, which ranks a coarse but complete box above a precise but partial scribble. Right, training on the degraded labels and scoring against clean ones puts the scribble first. The figure shows the structure of the reversal, not per-dataset scores. The datasets, the matched-fidelity condition and the direction of the reversal are the measured parts.

How much the label type matters depends on how poor the labels are. The effect showed up most clearly when the most label had been removed, and at higher fidelity it depended on the model and the loss. On PASCAL-Part the type effect was present but about 18 times smaller than the effect of how much label was removed, so the headline is the amount of supervision, with type as a second-order term that can still flip a conclusion.

Finding 5

A fixed model scored against corrupted masks ranks the reference rather than the supervision, since an eroded expert mask reproduces the same ordering with no model at all. Training on the degraded labels reverses the ranking of scribbles against boxes at matched fidelity on ADE20K and COCO.

Why this belongs next to the lesion work

The FCD detector is trained on expert masks, so what those masks need to be worth is a live question for it. The failure found here is the same shape as the one in thread 1. A protocol can supply part of its own answer, and the number it returns is then about the protocol rather than about the model.

Limitations. The natural-image results are the pre-registered grid on ADE20K, COCO and PASCAL-Part. The medical replication that motivated the question has not been redone under the corrected protocol, so the claim is currently about segmentation supervision in general and not specifically about lesion masks.

Do medical video models use time at all?

Ongoing, for RCP. Preliminary, and stated as such.

Video foundation models are used to score medical movement, which presumes they read the movement rather than the frame. Across the encoders I have tested so far, a single still frame matched the full 16-frame clip. That is a preliminary result and not a conclusion, because matching performance does not by itself show that temporal information is unused, only that it is not needed for this score on this data. The next experiments isolate order, change and static appearance separately, so the representation claim can be falsified rather than inferred from a tie.

Why it is here and not on its own page

It is the same question as thread 3 pointed at a different axis. If one frame does the work, a temporal benchmark reports something other than temporal understanding, and any clinical claim resting on movement has a gap under it.

Seven failures in clinical ML evaluation

Right number, wrong conclusion: seven failures in clinical ML evaluation

This work catalogues seven self-reported corrections from my own EEG-localization research where a statistic was computed accurately but licensed a false conclusion. Six were caught with simple checks, while the seventh required a larger seed sweep.

Seven corrections where a correctly computed number changed meaning after a check, chance floor, break-even threshold, coordinate ablation, missing control, axis granularity, the re-analysis, and cohort scope.
Figure 4. Right number, wrong conclusion. The seven corrections, each with the number as it first read and what the check changed it to. In every row the value was computed correctly. What moved was the claim it supported. Five of the seven right-hand entries are not hypothetical, they existed in internal write-ups, and one retracts another.
  1. Flattering denominator A 2.00× gain over density-matched chance looked like spatial skill, but a spatial-blind readout still cleared 1.57× by learning class-frequency priors. The corrected floor is a model-free prior-only predictor at 1.37×.
  2. Seed-dependent threshold A 90%-accurate prior beat no-prior at 3 seeds, but at 8 seeds the two were indistinguishable (p = 0.55). Break-even sits at or above 90%, invalidating the claim that the localizer cleared the bar.
  3. Ablation that could not fail Corrupting coordinates barely moved performance (2.30× to 2.13×) because the readout indexed tokens by channel position, leaking sensor identity. Removing identity first caused the same corruption to drop performance from 1.53× to 1.22×.
  4. Missing control Comparing two pretrained encoders against one random-init baseline credited EEGPT's full 1.604 score to pretraining. Against its own random-init twin (1.532), pretraining added +0.072.
  5. Incomparable granularities An apparent sensor-dominance gap (0.068 vs. 0.80) came from testing different readouts at different severities. Matching the severities turned it into a tie (0.300 vs. 0.295).
  6. Flawed correction Block permutation whitened the signal rather than removing order, making its cost collinear with spectral distortion (r = 0.998). Clean order-only and identity-only probes showed the sensor axis actually wins by 14.9 standard deviations.
  7. Single-site result labeled cohort-wide A 262-case column was accidentally capped at 25 cases from a single site due to a sorted-filename prefix. Rerunning the full cohort yielded 259 of 262 with signs unchanged.
Finding 6

Across seven self-reported corrections the value was computed correctly each time and the check changed what it licensed. Six were cheap to notice, a single run or count or question, and the seventh, the break-even threshold, had no cheap diagnostic, which is why I report it as an ordering rather than a threshold.

Why write the failures down?

Each failure is a trap the rest of this work is built to avoid, and naming them turns a set of habits into a standard someone else can apply. A reader can take the catalogue to a result, mine included, and ask which of the seven it might be making.

This matters because a correct number with a wrong conclusion is the hardest kind of clinical result to catch, since it passes review on its arithmetic. The catalogue is the review the arithmetic does not get.

Takeaways

What the threads add up to

Label the assumption
A localization prior recovered 14 of 25 missed lesions, reported as an upper bound under oracle localization rather than an achievable EEG-guided result.
Report the harm
The same method that recovers missed lesions can suppress well-detected ones, and that failure case is stated next to the gain.
Evaluate the decision
A routing policy that answers on cross-segment self-agreement reaches 88.4% at 40% coverage, against 70.0% for the model's own confidence.
Check the protocol first
A fixed model scored against corrupted masks ranks the reference, not the supervision, and training on the degraded labels reverses the ranking.
Make the standard explicit
The seven-failures catalogue is the checklist the other four threads are held to, applied first to my own numbers.

Also running

Two imaging-and-genomics threads are underway at the Caltech Computer Vision Lab with no results to report yet. The first is a CLIP-style model that links 3D CT scans of kidney tumors to the tumors' gene mutations in one embedding space, for which I built and fine-tuned the CT encoder. The second asks what the genomic side of such a model encodes, before it is trusted to stand in for a tumor's biology. They are listed here so the record is complete, not because there is a finding.

Limitations

Limitations across the line. The strongest detection result is an oracle upper bound that a deployable pipeline has not yet reached, the routing result is an offline replay rather than a clinician-agent study, the label-degradation reversal is established on natural images and not yet replicated on lesion masks under the corrected protocol, the video result is a preliminary tie rather than a demonstration that time is unused, and the failure-mode catalogue is a set of self-reported corrections to my own EEG-localization work rather than a general audit of the field. None of these numbers should be quoted outside the papers until the appendices are complete.

Cite

@misc{subramanian2026fcd, author = {Subramanian, Saanvi S. and Esmeraldo, Mateus A. and Ikedo, Matheus Tonholo and Gatidis, Sergios and Chambers, Stefanie and Holland, Robbie and Kumar, Ashwin and Vasanawala, Shreyas and Soares, Bruno P.}, title = {Recovering Failures in Brain Lesion Detection: Multimodal EEG-MRI Approach for Epilepsy}, year = {2026}, note = {Preprint} } @misc{subramanian2026rcmlr, author = {Saanvi S. Subramanian}, title = {Right Number, Wrong Conclusion: Seven Failures in Clinical ML Evaluation}, year = {2026}, note = {Preprint} }

← all projects