Architecture search methods, which automatically pick a network's layers and wiring, are almost always judged by one question: which candidate reaches the highest accuracy when trained on a large labeled dataset. Practitioners in medicine face a different question. They have plenty of unlabeled recordings and very few labeled ones. They will pretrain a model on the unlabeled data with a self-supervised task, a training signal the data provides on its own, such as predicting the next stretch of a signal. Then they will fine-tune it on a few hundred labels. Nobody has checked whether the architecture that wins the first question also wins the second. Nobody has checked whether the cheap scoring shortcuts that make search affordable predict the second question at all.
We propose to answer both for 12-lead electrocardiograms (ECGs). There is concrete evidence that architecture matters more than scale in this domain: a 3.8M-parameter state-space model pretrained with contrastive predictive coding beat foundation models 25 times larger on 5 of 7 clinical task categories (Benchmarking ECG FMs). Yet every architecture in that benchmark was chosen by hand. We will build a ground-truth table of a few hundred ECG architectures, each pretrained without labels and fine-tuned at several label budgets. On that table we will test whether the ranking of architectures changes with the label budget. We will then test whether a short burst of self-supervised pretraining, lasting minutes per candidate, predicts the low-label ranking better than scores computed from untrained networks.
Core Claim
Our hypothesis is that, for label-scarce targets, the right cheap signal for choosing an architecture comes from how the architecture behaves early in self-supervised training, not from its properties at random initialization and not from short supervised training. Concretely, we will train each candidate for a few hundred steps of contrastive predictive coding (CPC), a pretext task in which the model predicts the learned representation of future signal segments from past context. We then score the candidate with a linear probe fit on a small labeled subset. The claim is that this score recovers the top architectures under a 1% to 10% label budget far better than existing proxies, at roughly a hundredth of the cost of full evaluation.
The claim is falsifiable in two separate ways. First, rankings might turn out to be stable across label budgets. In that case ordinary supervised low-fidelity search already suffices and our method is unnecessary. Second, rankings might shift but no cheap estimator might track the shift. We report either outcome.
Where This Sits
Three lines of work already connect self-supervision and architecture search. None of them asks our question.
Supernet methods search with self-supervised losses. SSNAS replaces the cross-entropy loss in differentiable search with a SimCLR contrastive loss, and it holds up with scarce CIFAR-100 labels (83.36% versus 64.46% for supervised DARTS). SSWP-NAS searches label-free at full target size and keeps the search weights for fine-tuning. BossNAS ranks blocks by self-supervised bootstrapping. It reports a Spearman correlation of 0.78 on MBConv at about 10 GPU days. MaskTAS stabilizes masked-image search with a pretrained teacher.
These papers motivate us, because they show the search objective matters when labels are scarce. They also constrain us. The teacher MaskTAS depends on does not exist for ECG. SSWP-NAS reports that BYOL-style objectives conflict with path sampling. Rethinking Performance Estimation shows that one-shot weight sharing loses global rank correlation. For these reasons we avoid supernets and score candidates that are trained independently. None of these papers measures, against ground truth, how rankings depend on the label budget.
Training-free proxies score networks at initialization. EZNAS evolves scoring formulas and reaches Kendall's τ = 0.65 on NAS-Bench-201 CIFAR-10, against 0.57 for NASWOT and Synflow, but it struggles within the top 10% of architectures. IBFS uses the spectral entropy of the Jacobian on an unlabeled batch to find few-shot architectures in 0.1 hours, and it explicitly leaves domain shift to biosignals open. On Random Weights shows that wiring alone carries useful structure. These papers supply our strongest cheap baselines. Because IBFS is already label-free, "a label-free zero-cost proxy" is not new in itself. What is new is scoring against the correct target, which is performance after self-supervised pretraining at a given label budget.
The low-fidelity idea itself comes from Rethinking Performance Estimation. That paper chooses the smallest training budget that preserves rank and reports roughly a 1,000× speedup. We reuse its principle but apply it to the pretraining stage rather than the supervised stage.
Research Program
Search space. We will define a search space of 1D ECG encoders built from stages. Each stage picks one of three block types: a structured state-space block, a dilated convolution, or self-attention. Each stage also sets its width, state dimension, downsampling rate, and depth. The space will include a configuration close to ECG-CPC so the hand-designed reference is a point inside it. The medical architecture search survey (MedNAS Survey) notes that medical search is dominated by U-Net image spaces and supervised objectives, so this space is itself a contribution.
Ground truth. We will sample about 300 architectures, grouped by parameter count so that size alone cannot explain the ranking. Each architecture gets full CPC pretraining on the unlabeled PTB-XL training folds. Each is then fine-tuned with 1%, 10%, and 100% of the PTB-XL labels, with three seeds, and scored by macro AUC on the held-out test fold. Transfer is measured on ICBEB2018. Because these models have only a few million parameters, the total cost is a few hundred to about a thousand GPU hours. That is expensive once but reusable, and we will release the table.
Cheap estimators. We will compare three families of estimators on this table.
- Scores at initialization: Synflow, NASWOT, Jacobian spectral entropy, and parameter count.
- Short supervised training: a few hundred steps at the target label budget.
- Our estimator: a few hundred steps of CPC followed by a probe on $k$ labeled records. We also test a variant that needs no labels at all, using the drop in pretext loss and the effective rank of the features.
The best estimator then drives an evolutionary search. We report the search's regret, $R = \mathrm{AUC}^{*}_{b} - \mathrm{AUC}_{b}(\hat a)$. Here $\mathrm{AUC}^{*}_{b}$ is the best test AUC in the table at label budget $b$, and $\hat a$ is the architecture the search selects.
Baselines
Hand-designed reference. The "do nothing" point is to skip search and CPC-pretrain the ECG-CPC-like configuration with the same data and schedule. The closest published figure for this recipe comes from Self-supervised representation learning from 12-lead ECG data. That paper reports a PTB-XL macro AUC of 0.9418 for CPC with fine-tuning and 0.9318 for purely supervised training. Those numbers are at full labels, and we found no reported result on Lacuna at 1% or 10% labels. We therefore rerun the recipe inside our pipeline. Beating this reference means that the architecture selected by search achieves higher mean macro AUC at the 1% and 10% budgets, beyond seed variance, at equal or lower parameter count.
Strongest cheap proxy. The strongest cheap competitor is Jacobian spectral entropy from IBFS. It is already label-free and already aimed at few-shot learning. We found no reported result on Lacuna for it on ECG. The general bar for proxy ranking quality is EZNAS's τ = 0.65 on NAS-Bench-201. Every proxy is computed on the same unlabeled batches.
Short supervised training. This is the supervised low-fidelity estimator in the style of Rethinking Performance Estimation. It gets the same wall-clock budget per candidate as our estimator.
Key ablation. Our estimator run without the CPC steps, meaning a probe on randomly initialized features, isolates whether the self-supervised trajectory is what carries the signal.
Criterion for all estimators. Beating a baseline means higher Kendall's τ and higher top-10% precision against the ground truth at the 1% budget, together with lower search regret, all at matched GPU hours.
Why not just…?
Why not just CPC-pretrain the known good backbone and skip search? This is a serious possibility, since ECG-CPC is already strong (Benchmarking ECG FMs). The ground-truth table settles it directly. If the hand-designed configuration sits in the top few percent at every label budget, search buys nothing here and we will say so. The broad variation in internal representations that the same benchmark found among equally accurate models suggests the space is not trivially dominated, but only the table can confirm that.
Why not use zero-cost proxies such as NASWOT or Jacobian entropy? They cost seconds, and IBFS is already label-free. However, EZNAS documents that such proxies fail to separate the top 10% of architectures. None of these proxies has been checked against performance after pretraining, and IBFS's authors flag biosignal domain shift as untested. We measure these proxies on exactly the target we care about. If one of them matches our estimator's top-10% precision, we will adopt it and the contribution shrinks to the benchmark.
Why not search with supervised labels at full data, then pretrain the winner? This works if the architecture ranking is invariant to the label budget. The hints that it is not are indirect. SSNAS shows supervised search degrading with scarce labels, and SSWP-NAS argues that labels narrow what search finds. The rank correlation between the 1% and 100% columns of our table is the direct test. A high correlation there would make this alternative sufficient.
Decisive Checks
The project hinges on three outcomes.
Rank shift across label budgets. Kendall's τ between the 1%-label and 100%-label rankings must fall clearly below 1. We also need the top-10% sets at the two budgets to differ substantially. If they do not, label-aware search is moot.
Estimator quality. The short-CPC-plus-probe estimator must beat Jacobian entropy and short supervised training on top-10% precision at the 1% budget, at no more than about 1% of the full-evaluation cost. Its advantage must also disappear when the CPC steps are removed.
End-to-end gain. The architecture found by search must beat the hand-designed CPC reference at 1% and 10% labels on PTB-XL. The gain must hold on ICBEB2018 transfer.
As a secondary check that the finding is not specific to ECG, we will repeat the rank-shift analysis on 200 NAS-Bench-201 cells. Each cell is SimCLR-pretrained on CIFAR-100 and fine-tuned with 10% of the labels, matching the scarce-label setting of SSNAS.
References
- Benchmarking ECG FMs: A Reality Check Across Clinical Tasks
- Self-supervised Neural Architecture Search
- Towards Self-Supervised and Weight-preserving Neural Architecture Search
- BossNAS: Exploring Hybrid CNN-transformers with Block-wisely Self-supervised Neural Architecture Search
- Masked Distillation Advances Self-Supervised Transformer Architecture Search
- Rethinking Performance Estimation in Neural Architecture Search
- EZNAS: Evolving Zero-Cost Proxies For Neural Architecture Scoring
- Revisiting Neural Networks for Few-Shot Learning: A Zero-Cost NAS Perspective
- On Random Weights and Unsupervised Feature Learning
- Medical Neural Architecture Search: Survey and Taxonomy
- Self-supervised representation learning from 12-lead ECG data