Is the Robustness Barrier a Permutation Artifact?

When two copies of the same network are trained from different random starts, averaging their weights usually produces a broken model. The loss climbs sharply partway along the straight line between them; this is the linear mode connectivity barrier. Much of that barrier turns out to come from bookkeeping. Hidden units can be listed in any order without changing what the network computes, and once one network's units are reordered to match the other's (permutation alignment), the straight line between them often stays low-loss. A separate and less-studied barrier appears when one endpoint is a standard model and the other is an adversarially trained model, meaning one hardened against small worst-case input perturbations by training on attacked examples. Bridging Mode Connectivity in Loss Landscapes and Adversarial Robustness found that on curved paths between such models, ordinary loss stays flat while robust loss (loss on attacked inputs) hits a steep hill. They concluded that standard and robust solutions live in disconnected regions. That work never reordered units first.

This note asks whether that robustness barrier survives permutation alignment, and what follows if it does not. Suppose that after alignment and a variance correction the robust model sits at a roughly linear offset from a standard model. Then robustness acts like a transferable direction in weight space, and an expensive adversarial training run could be reused across many cheaply trained models. The practical target is robust architecture search. Every candidate there normally needs adversarial training, which multiplies cost by roughly the number of attack steps. The cheap substitutes in use today, zero-cost proxies scored at initialization, rank candidates unreliably.

Core Claim

The claim has two parts, and the second is only worth pursuing if the first holds. The first part is a measurement. Once units are permuted to match and activation statistics are renormalized, the robust-loss barrier between a standard-trained and an adversarially trained network of the same architecture shrinks substantially compared with the unaligned barrier. It shrinks most when the matching is computed on adversarial rather than clean inputs.

The second part is a method. If the barrier does shrink, a "robustness offset" taken from one adversarially trained donor can be transplanted into a standard-trained recipient. The donor and recipient differ in seed or in width, and alignment is done by matching the recipient's units to the donor's. A short adversarial fine-tune then finishes the job. The transplanted model should rank architectures in a width search space nearly as well as full adversarial training of each candidate, at a fraction of the cost.

We measure the barrier along the path $\theta(\alpha) = (1-\alpha)\,\pi(\theta_S) + \alpha\,\theta_R$. Here $\theta_S$ is the standard model, $\theta_R$ is the robust model, and $\pi$ is the unit permutation applied to $\theta_S$. The barrier height is

$$B_{rob} = \max_{\alpha \in [0,1]} \Big[ L_{rob}(\theta(\alpha)) - \big((1-\alpha) L_{rob}(\pi(\theta_S)) + \alpha L_{rob}(\theta_R)\big) \Big],$$

where $L_{rob}$ is the cross-entropy on inputs perturbed by a PGD attack (projected gradient descent, an iterative attack) within an $\ell_\infty$ ball. $B_{rob}$ measures how far robust loss rises above the straight line joining the endpoint losses. The transplanted recipient is $\theta' = \pi(\theta_{S'}) + \lambda(\theta_R - \theta_S)$. Here $\theta_{S'}$ is the recipient's standard weights, $\pi$ aligns them to the donor's standard model $\theta_S$, and $\lambda$ is a scalar chosen on held-out data.

Prior Work and What It Leaves Open

Three papers motivate the question. Bridging Mode Connectivity… supplies the phenomenon. It fits quadratic Bézier paths and reports a robust-loss hill between standard and robust models. It does not test straight-line paths or alignment, so its "disconnected modes" conclusion is untested modulo symmetry. The Role of Permutation Invariance in Linear Mode Connectivity conjectured that ordinary barriers are a misalignment artifact. Git Re-Basin made that conjecture operational with weight matching and activation matching. Both concern clean loss between two standard models; neither considers robust loss or models trained under different objectives.

Two papers supply the method. REPAIR diagnoses interpolation failure as variance collapse in intermediate activations and fixes it by renormalizing. We reuse it because a robustness barrier could be partly a variance effect rather than an ordering effect. Scale-Equivariant Alignment constrains our expectations: residual networks keep a barrier after permutation matching, so we should expect only partial closure on ResNets.

The width results bear on the cross-width transplant. Do We Really Need Permutations? studies how width alone affects connectivity. It is a confound we control by sweeping width. ZipIt! and Transport and Merge relax one-to-one matching to many-to-one or transport-based matching. We borrow the transport-based idea for recipients narrower than the donor. Adaptive Width Neural Networks orders neurons by importance so that narrower networks become prefixes of wider ones. It suggests an alternative alignment we test as an ablation.

The closest weight-averaging approach to cheap robustness is Seasoning Model Soups. It fine-tunes one robust base checkpoint briefly toward different threat models and linearly averages the results. That works because every ingredient shares a base and therefore shares coordinates. Our setting is the one soups cannot handle: independently trained models with no shared base. Alignment is what has to supply the shared coordinates.

Research Program

The first stage is purely diagnostic. On CIFAR-10 we train VGG-style and ResNet-20 networks at several widths. For each architecture and width we train several seeds both normally and with PGD adversarial training. We then measure $B_{rob}$ and the ordinary clean barrier under five conditions: no alignment, weight matching, activation matching on clean inputs, activation matching on PGD-perturbed inputs, and each matching variant followed by REPAIR. We run the same measurements for robust–robust pairs (two adversarially trained seeds) as a reference. That reference separates "standard and robust are different regions" from "any two networks are misaligned." The key comparison is the standard–robust barrier after alignment versus the robust–robust barrier after alignment. If the two are close, the residual hill comes from imperfect alignment, not from robustness itself.

The second stage tests transplant within a fixed architecture. We transplant the donor offset into standard models of other seeds, sweep $\lambda$, and follow with $k$ epochs of adversarial fine-tuning for small $k$. We record robust accuracy under the AutoAttack protocol of RobustBench against total forward/backward passes.

The third stage is the architecture-search use. A search space over per-stage widths of a ResNet contains many candidates. We adversarially train one donor at the widest setting. Each other candidate is trained normally, which is cheap, and receives the offset through rectangular assignment or transport matching, plus one short adversarial epoch. The estimate is judged by its rank correlation with the ground truth, which is full adversarial training of every candidate. We compute that ground truth on a subset small enough to afford. We also run on NAS-Bench-201 cells that differ only in parametric operations sharing a channel layout, where unit matching remains well defined. Cells that differ in topology are out of scope, and we say so.

Baselines

The naive reference point is full PGD adversarial training of every candidate from scratch. It is the ground truth for both ranking and robust accuracy, and it sets the compute denominator. We have no reported result on Lacuna for PGD-trained robust accuracy on CIFAR-10 at our architectures, so we will produce it ourselves under AutoAttack.

The strongest competitor for the transplant is the same short adversarial fine-tune applied directly to the recipient's standard weights, with no offset. It isolates whether the offset adds anything beyond the fine-tune itself. It gets the identical epoch budget, attack strength, learning-rate sweep and data. Our method beats it only if it reaches higher AutoAttack accuracy at matched passes, or matches the accuracy with fewer passes, across seeds and widths.

For architecture ranking, the strongest cheap competitors are three search-time estimators. The first is the zero-cost robustness proxy of Zero-cost Proxy for Adversarial Robustness Evaluation. It combines the tangent-kernel eigenvalue with an input-Hessian estimate at initialization and reports 20x to 500x speedups over robust training. The second is CRoZe, which reports being 14.7x faster than baseline robust search. The third is the random-noise training of Robust Neural Architecture Search, which reports 0.5 GPU days on CIFAR-10. These are cost figures; the file gives no rank-correlation figure on our search space. We will therefore run all three on the same candidates and score them by Kendall's tau against the full-training ground truth.

Two ablations isolate the key ingredient. One adds the offset without alignment, which tests whether the permutation is doing the work. The other aligns but sets $\lambda = 0$, which is just alignment plus the short fine-tune.

Why not just…?

Why not just adversarially fine-tune the standard model briefly? This is the real threat. If short fine-tuning alone recovers most robustness, the offset is redundant and the second half of the proposal collapses. The stage-two comparison at matched budget settles it. If the gap between the two is within seed noise, we report the barrier finding as the contribution and drop the transplant claim.

Why not just use zero-cost robustness proxies for search? They are cheaper still. However, the proxy paper itself reports a bias against skip connections, and RobustBench documents that cheap defenses and estimates are often fooled by gradient masking, where attacks fail without the model being robust. The rank-correlation comparison shows whether paying for one donor plus one adversarial epoch per candidate buys a meaningfully better ranking.

Why not just build a robust model soup? Soups require ingredients fine-tuned from a common checkpoint, which Seasoning Model Soups assumes throughout. Independently trained candidates of different widths have no common checkpoint. If alignment fails to supply shared coordinates, the no-alignment ablation will look as good as the full method, and we will report that.

Why not just share weights in a supernet? Sub-networks of a supernet already share coordinates, so no alignment is needed. However, the file notes that sub-networks interfere with one another through gradient conflict and degrade when extracted. Our recipients are trained independently, which avoids that interference at the price of alignment error. We treat a supernet-inherited robust baseline as a secondary comparison rather than claiming superiority.

Decisive Checks

Three results decide the claim. The first is whether aligned $B_{rob}$ between standard and robust models falls toward the aligned robust–robust barrier. If it stays high, the disconnected-modes conclusion of Zhao et al. holds modulo permutation, which is itself a publishable negative result. The second is whether matching on adversarial inputs closes more of the barrier than matching on clean inputs, which would show that robust and standard networks place robustness-relevant features in different units. The third is whether transplant plus one adversarial epoch beats the matched-budget fine-tune baseline in both AutoAttack accuracy and rank correlation on the width search space.