Notes

One-Shot NAS

Architecture search spent its first years paying the same bill over and over: propose a network, train it from scratch, read its score, throw the weights away. One-shot NAS refuses to pay twice. Every candidate architecture is treated as a sub-graph of one big network, and that single network is trained once.

The supernet and weight sharing
The oversized parent is the supernet: it contains every operation the search space allows, and any legal architecture is a path through it. Because an operation's weights are shared by every architecture that uses it, training the supernet trains all candidates at once. Evaluating a candidate then costs one forward pass over validation data with its inherited weights — seconds, not GPU-days. Recipes differ in how paths are sampled during training: path dropout zeroes random operations, while single-path methods train exactly one uniformly sampled architecture per step.

Where it is weakest
Inherited weights are a proxy, and the correlation between a sub-network's one-shot score and its accuracy after honest retraining is frequently weak. Operations co-adapt inside the supernet, high-capacity paths get optimised at the expense of others, and candidates that share parameters interfere with each other. A one-shot search can rank architectures confidently and still crown a mediocre one, which is why finalists are always retrained standalone.

The family it spawned
Nearly every affordable NAS method is one-shot in some form: ENAS puts an RL controller over shared weights, DARTS makes path selection differentiable, single-path uniform sampling trains the supernet then searches with evolution, and Once-for-All turns the supernet itself into the deliverable.

One-shot NAS treats every architecture in the search space as a sub-graph of one oversized supernet and trains that supernet a single time. Candidates are then scored with inherited, shared weights in a forward pass instead of being trained from scratch, cutting search cost by orders of magnitude. Its weakness is rank correlation: one-shot scores track standalone accuracy imperfectly, so finalists are retrained. ENAS, DARTS and Once-for-All are all one-shot methods.

Think of a Swiss Army knife with every possible blade attached. Rather than manufacturing and testing hundreds of separate tools, you sharpen the one multi-tool, then judge each blade by folding the others away. One-shot NAS does this with neural networks. It builds one oversized network containing every design option, trains that network once, and then tests a candidate design by switching off everything the candidate does not use. Evaluating a design drops from days to seconds. The catch is that a blade on a multi-tool never quite behaves like the standalone knife, so the winning candidates are rebuilt and trained properly at the end.