Hardware-aware architecture search tries to find, for each target chip, the network that is most accurate within a latency or memory budget. The dominant approach trains one large "supernet" whose smaller subnetworks share its weights, then picks the right subnetwork for each device. The narrow subnetworks are usually taken as the first $k$ channels of each layer. Ordinary training gives channel indices no meaning, because hidden units can be reordered without changing the function. Shared weights therefore get pulled in conflicting directions by subnetworks of different widths, and expensive multi-stage training schedules are needed to keep the small subnetworks accurate.
We propose to remove that conflict at its source. Each layer is trained with an explicit importance ordering: every channel's output is multiplied by a fixed, decreasing scale, so channel 1 always matters most. Under that ordering, every prefix of the layer is a sensible smaller layer by construction. We then make the ordering hardware-aware by making the scale decrease in steps that match the target device's tile or vector width, so the cheap cut points are also the accurate cut points. Width search then reduces to choosing one cut index per layer against a measured latency table. We test whether this replaces progressive shrinking for the width dimension. We also test whether it does better than what a reviewer would try first: sorting channels by weight magnitude after ordinary elastic training.
Core Claim
Breaking permutation symmetry during supernet training gives width-elastic subnetworks that are closer to independently trained networks of the same width than index slicing does. It should also be at least as good as post-hoc magnitude sorting, at a fraction of the training schedule complexity. Quantizing the ordering to hardware tile boundaries should further improve the accuracy-versus-measured-latency frontier on edge devices.
The idea is a deliberate inversion of the alignment line of work. Git Re-Basin shows that two networks can be merged after training by solving for the permutation that best matches their units. It also reports that this works for wide models but leaves persistent loss barriers for thin ones. Thin networks are exactly the regime edge-device search targets (HAT, DUCCIO). Aligning subnetworks after the fact is therefore the wrong tool here. Removing the symmetry before training avoids needing an alignment solver at all.
Mechanism and Relation to Prior Work
The method comes from Adaptive Width Neural Networks. That paper multiplies each neuron's activation by a monotonically decreasing factor and rescales the initialization ("Kaiming+") so the signal does not vanish across layers. This breaks permutation symmetry, stops redundant neurons from competing for the same features, and lets trailing units be cut after training with little accuracy loss. It works on dense layers, optimizes only the task loss, and has no notion of hardware. It also needs bounded activations such as ReLU6 to remain stable. ReLU6 is conveniently the activation already used by MobileNet-style edge backbones.
We extend the ordering to convolutional channels and make it hardware-aware. For layer $l$ with channels $i = 1, \dots, C_l$, each channel's output is scaled by
$$s_i = \sigma\!\left(\beta_l \left(\tau_l - \lceil i/g \rceil\right)\right),$$
where $\sigma$ is the logistic function, $g$ is the hardware granularity (the channel group size at which measured latency steps up, read from the device's latency table), $\tau_l$ is a learned soft width, and $\beta_l$ is a sharpness parameter. When $g = 1$ this is a smooth ordering in the spirit of the adaptive-width work. Larger $g$ makes channels within one hardware tile share importance, so importance drops only where cost also jumps.
During training we sample several cut points per layer, using the usual smallest/largest/random-middle sampling, and apply knowledge distillation from the full network. We do not run progressive shrinking for width. Kernel size and depth stay elastic in the standard way.
At deployment, the subnetwork is defined by per-layer cut indices $k_l$, chosen to solve
$$\max_{k_1,\dots,k_L} \hat{A}(k_1,\dots,k_L) \quad \text{s.t.} \quad \sum_l \mathrm{Lat}_l(k_l) \le T,$$
where $\hat{A}$ is an accuracy predictor, $\mathrm{Lat}_l$ is the measured per-layer latency at width $k_l$, and $T$ is the budget. This is the same additive lookup-table cost model used by MoGA and HW-NAS-Bench. HW-NAS-Bench warns that this additive model ignores operator fusion and cache effects, so every final model is also measured end to end.
Two other parts of the file shape the design. Once-for-All and CompOFA supply the supernet, the search procedure, and the baselines. CompOFA reduces interference by coupling depth and width into 243 configurations. We attack interference in the width dimension directly, without restricting the space, and the two approaches can be combined. Gyro-Permutation and PQF show that channel order affects hardware efficiency for sparse and quantized kernels. Both reorder channels after training on a fixed architecture. We fix the order during training so that the reordering is free at deployment.
The weight-space symmetry noted by Gyro-Permutation also cuts the other way. A reordering costs nothing mathematically but can break contiguous memory access on real hardware. A learned prefix ordering needs no index remapping at all, which is a small but real deployment advantage.
Research Program
The work has three stages.
The first stage is a diagnostic study of interference in elastic width. We will train standard elastic-width supernets and ordered ones. For each, we measure two things. The first is the cosine similarity between gradients that different-width subnetworks send to shared weights. The second is how far each prefix subnetwork is from an independently trained network of the same width, after applying Git Re-Basin weight matching. Here permutation alignment serves as a measuring instrument rather than a training method. If ordered training works as claimed, the prefix of an ordered supernet should be close to a standalone network without any permutation. An unordered supernet prefix should need a large permutation to match, or fail to match at all.
The second stage is the method itself. We will build the hardware-quantized ordering, compare smooth ($g = 1$) and tile-quantized orderings, and integrate the cut-index selection with measured latency tables.
The third stage is scale-up. We will move to the Once-for-All MobileNetV3 space on ImageNet and to microcontroller deployment.
Baselines
The do-nothing reference trains an elastic-width supernet with plain first-$k$ slicing, sampled widths, and distillation, but no progressive shrinking and no ordering. It isolates how much interference costs when nothing is done about it.
The strongest existing method is Once-for-All with its full progressive-shrinking schedule. It reports 80.0% ImageNet top-1 in the mobile setting (under 600M MACs) at roughly 1,200 V100 GPU hours. CompOFA reports matching that frontier with about 500 GPU hours by coupling depth and width. We will rerun both from their public recipes in the same search space, with the same distillation teacher, data augmentation, and evolutionary search budget. We report GPU hours alongside accuracy.
Beating them means either of two outcomes. One is matching their accuracy-versus-measured-latency frontier, within run-to-run noise, at substantially less training compute. The other is exceeding their frontier at equal compute. We will also report ordered training combined with CompOFA's coupling, since the two are complementary.
The baseline most likely to threaten the idea is post-hoc magnitude sorting. Here an ordinary elastic supernet has each layer's channels reordered by weight norm before slicing. This uses the same compute as our method and the same width sampling, differing only in whether the order is imposed before training or recovered after it.
On the microcontroller track, the strongest baseline is DUCCIO. It handles multiple hard constraints in differentiable search and reports, on Visual Wake Words on the GAP8 RISC-V chip, an 87.4% memory reduction and a 54.2% latency reduction with a 2% accuracy gain over the seed model. Beating it means reaching higher accuracy at the same measured memory and latency, starting from the same seed model.
For constraint satisfaction on NATS-Bench, ConNAS reports finding architectures within 0.14% to 0.65% of the best feasible one, with 100% feasibility. That gap is our target to match or close.
Two ablations isolate the key ingredient. The first compares smooth ordering with tile-quantized ordering, which isolates the hardware component. The second compares ordered training with and without progressive shrinking, which tests whether ordering actually substitutes for the schedule.
Why not just…?
Why not just sort channels by magnitude after ordinary elastic training? This is the most serious threat. Training with sampled widths already updates the first channels most often, which may produce an implicit ordering that sorting then cleans up. No result on Lacuna directly compares this to explicit symmetry breaking. The diagnostic stage settles the question with matched compute on the same search spaces, using gradient conflict, distance to standalone networks after weight matching, and final frontier accuracy. If sorting matches ordered training everywhere, our contribution shrinks to the hardware-quantized ordering and the deployment advantage of needing no index remapping. We would report it that way.
Why not just couple width to depth as CompOFA does? CompOFA reduces interference by sampling far fewer configurations. Its authors note that the coupling rule is hand-designed for convolutional backbones, and it removes asymmetric width profiles that particular devices may favor. HW-NAS-Bench, for example, shows that an architecture searched for an edge GPU runs about 50% faster there than one searched for a Raspberry Pi 4. Ordering keeps the full width space intact. The combined CompOFA-plus-ordering run tests whether the two gains add up.
Why not just add a latency penalty to differentiable search? Penalty methods need careful tuning of the penalty weight and frequently miss hard budgets. ConNAS documents FBNet and TAS failing constraints that gradient steering always meets. Our selection step uses the measured latency table as a hard constraint, so we include DUCCIO and ConNAS as direct comparisons rather than argue the point.
Why not just train a large model and compress it after training? Gyro-Permutation and PQF compress a fixed architecture very well. They cannot redistribute depth and width across layers per device, and they require a separate compression run for each target. Our NATS-Bench regret measurements under several latency budgets on different devices show whether per-device architecture changes matter.
Proposed Experiments
The first experiment uses the NATS-Bench size space. Every channel configuration in this space has ground-truth standalone accuracy on CIFAR-10, CIFAR-100, and ImageNet-16-120, which makes it the cleanest testbed. We report Kendall rank correlation between supernet-inherited accuracy and ground-truth accuracy for all baselines. No reported result was found on Lacuna for supernet rank correlation in this space, so all methods are measured here ourselves. Latency tables come from our own measurements on Raspberry Pi 4 and Jetson TX2, the devices HW-NAS-Bench profiles. We report regret against the best feasible architecture under three budgets per device.
The second experiment uses the MobileNetV3-based Once-for-All space on ImageNet. We compare top-1 accuracy against measured latency, and training GPU hours, against Once-for-All and CompOFA.
The third experiment is the microcontroller track: Visual Wake Words on GAP8, with peak-memory and latency budgets, compared against DUCCIO.
Two results decide the outcome. The idea fails if, on NATS-Bench, ordered training does not beat post-hoc magnitude sorting in rank correlation or budgeted regret at equal compute. Separately, the hardware claim fails if tile-quantized ordering does not improve the measured-latency frontier over smooth ordering on devices whose latency steps are coarse. Both outcomes are reported regardless of direction.
References
- Git Re-Basin: Merging Models modulo Permutation Symmetries
- HAT: Hardware-Aware Transformers for Efficient Natural Language Processing
- Enhancing Neural Architecture Search With Multiple Hardware Constraints for Deep Learning Model Deployment on Tiny IoT Devices
- Adaptive Width Neural Networks
- MoGA: Searching Beyond Mobilenetv3
- HW-NAS-Bench: Hardware-Aware Neural Architecture Search Benchmark
- Once-for-All: Train One Network and Specialize it for Efficient Deployment
- CompOFA - Compound Once-For-All Networks for Faster Multi-Platform Deployment
- Toward Efficient Permutation for Hierarchical N:M Sparsity on GPUs
- Permute, Quantize, and Fine-Tune: Efficient Compression of Neural Networks
- Constraint-guided Hardware-aware NAS through Gradient Modification