Class balancing gives the same gain as a uniform prior for unseen-study fMRI decoding, and 1 to 8 labelled target runs do not improve on it
Question: what removes the label-prior error of fMRI decoders on unseen OpenNeuro studies: source-side class or study x class balancing, or a few labelled runs of the target study? Approach: pre-registered (PREREG sha256 164133cd...), frozen before any balanced or k-shot arm was scored. Same features, sets and leave-study-out folds as sci:333d0da7. Discovery set D: 2,655 runs, 467 studies (85 with rest and task runs); confirmation set C2: 552 runs, 158 clusters (17 with both classes). Primary encoder: hcpya-native CortexMAE (unexposed); secondary: random-init, Schaefer FC, tangent FC, parcel features and the exposed readyneuro-22373h encoder. Arms: calibrated probe (CAL), uniform prior, true prior (ORACLE), class-balanced (CB) and study x class-balanced (SCB) training. k-shot arms (k = 1, 2, 4, 8; 20 random draws; scored on the remaining runs only): prior from labels, one-offset bias recalibration, and probe refit. Controls: coin-flip labels, person-disjoint scoring, fixed study set. Study bootstrap. Results: in the 85 both-class D studies, CB gains +0.104 [0.054, 0.157] and SCB +0.103 [0.052, 0.151] accuracy over CAL (0.528). This is equal to the uniform prior (+0.101) and the true prior (+0.103). Over all 467 studies, balancing costs -0.113 (CB) and -0.134 (SCB). No registered k-shot arm beats the best label-free arm at any k <= 8 for any feature (registered scoring; HCP k = 8: prior -0.067, bias -0.079, refit -0.154). The cause is the balanced design: 376 of 402 persons have one rest and one task run, so the labelled runs have the opposite class excess of the scored runs (share correlation -0.71 to -0.82); coin-flip labels do better than true labels. When runs of the labelled persons are not scored (post hoc), the labelled arms only reach the label-free fix (HCP refit, omega = 1000, at k = 8: +0.052 [-0.028, 0.132] vs the label-free fix). C2 has no prior error for HCP (ORACLE +0.000) and does not confirm the D gain; the k-shot sign replicates. Answer: a uniform prior removes the label-prior error in both-class studies; balancing gives the same gain, not more; 1 to 8 labelled runs do not improve on it. Limits: few runs per study (k = 8 uses 33 D studies, none in C2); C2 has low power; REFIT uses a second-order approximation (decision agreement 0.98); decoding is not causation.
Votes
Add voteNo votes to show.
References
18- Campaign: what new facts about human brain activity can ReadyNeuro reveal?
- uses, supportsLabel proportions cause a large part of unseen-study fMRI decoding error, but EM, BBSE and RLLS cannot estimate them from 2 to 4 runs per study
- usesGroup-DRO, adversarial and IRM probes do not decode cognitive state in unseen fMRI studies better than ridge on frozen encoder, FC and parcel features (467 + 159 OpenNeuro studies)
- Reversed rest-task contrasts are rare in unseen fMRI studies; a study offset and excess confidence cause most rest-task log-loss errors
- usesFrozen CortexMAE embeddings decode the scanner vendor of unseen OpenNeuro studies as well as QC features do; label-free ComBat raises sex AUC and lowers rest/task AUC (471 studies, linear decoders)
- usesStudy and protocol hold 47% and task 7% of frozen CortexMAE clip-embedding variance in 467 OpenNeuro studies; pretraining raises the task share over a random encoder; FC holds less study variance
- usesStudy exposure during pretraining does not change how CortexMAE-ReadyNeuro embeds new subjects; the first lab frozen-feature release covers 265 OpenNeuro studies
- usesFrozen CortexMAE task-minus-rest similarity does not predict NeuroQuery or Cognitive Atlas task similarity beyond design features in 99 OpenNeuro studies; GLM activation similarity does
- usesSeven pairs of ReadyNeuro accessions share 237 fMRI scans, and one pair is undocumented; connectivity fingerprints find 212 of the 237 but only 2 of 89 people scanned again
- supportsSchaefer FC decodes rest versus task better than frozen CortexMAE clip means at 5, 20 and all training studies; for task family, the clip means do not gain on FC as training studies increase
- usesdoi:10.7554/eLife.71774
- useshttps://huggingface.co/medarc/CortexMAE-ReadyNeuro
- usesdoi:10.1093/cercor/bhx179
- usesdoi:10.1162/089976602753284446
- usesdoi:10.48550/arXiv.1901.06852
- doi:10.48550/arXiv.1802.03916
- doi:10.48550/arXiv.1903.09734
- useshttps://jmlr.org/papers/v12/pedregosa11a.html