arXiv:2608.26963cs.LGAug 2026

Manuscript Offprint

arXiv:2608.26963

Adversarial Training Without Input Gradients via Low-Rank Householder Expansions

Tiana C. Johnson, Donsub Rim

TIANA C. JOHNSON AND DONSUB RIM

ABSTRACT. This work concerns adversarial training against the small-norm adversarial examples that arise from the inherent input instability of a trained deep neural network. Examples in this class are small as measured in the relative ℓ2\ell^2-norm, and therefore lie in the neighborhood of the input on which the model acts approximately linearly, the regime in which the perturbation remains imperceptible. We first show that such examples can be computed directly from the trained network parameters, without input gradient iterations, by means of a linearization called the low-rank Householder expansion (LRHE). The expansion describes the composed affine map rather than any individual layer, and the directions it identifies are read from the activation pattern already available in the forward pass. We then propose a simple adversarial training scheme built on this construction. No differentiation with respect to the input is performed at any point: training requires only additional forward evaluations, with weight parameters updated by the standard backward pass, and the inner maximization of the usual min-max formulation is eliminated entirely. That such a regularizer exists is our main finding: the methods that dispense with the inner search all obtain their local geometry by differentiating with respect to the input, and we show this is not necessary. The regularizer costs the equivalent of 2.8 PGD steps per epoch, an 8.7×8.7\times reduction relative to 40-step adversarial training on MNIST and below the cost of 3-step training. The resulting models match three-step PGD adversarial training for relative ℓ2\ell^2 budgets ε⩽0.02\varepsilon \leqslant 0.02 and 40-step training for ε⩽0.012\varepsilon \leqslant 0.012, falling away beyond, consistent with the locality of the expansion.

1. INTRODUCTION

The observation that deep neural networks can be made to misclassify inputs altered by perturbations too small to matter to a human observer is now more than a decade old [27, 9], and it has proved remarkably resistant to resolution. The intervening years have produced a large number of proposed defenses and an almost equally large number of demonstrations that they do not work. A survey of defenses presented at a single conference [3] found that the majority relied on obfuscated gradients and could be circumvented once that reliance was recognized, and similar conclusions were reached for later defenses [28]. What has resisted this attrition is adversarial training in the min-max formulation of [15], which augments each parameter update with an inner search for the worst-case perturbation. It has consistently withstood adaptive evaluation, and is the standard against which subsequent proposals are measured [4, 7]. The persistence of the problem is therefore not a matter of an effective defense being unknown, but of its cost.

That cost has a specific and unvarying structure. The inner maximization admits no closed form and is approximated by K steps of projected gradient ascent, each requiring a gradient of the loss with respect to the input, so that adversarial training is roughly K times more expensive than ordinary training. Efforts to reduce this expense fall into

Date: August 28, 2026.

TIANA C. JOHNSON AND DONSUB RIM

three groups. The first reuses computation across updates: perturbations may be carried between minibatches so that the adversarial and parameter updates share a backward pass [23], or the inner loop confined to the first layer through an optimal-control formulation [35]. The second reduces K directly, usually to one, and then repairs the resulting instability; FGSM with random initialization and a cyclic learning rate has been shown to suffice [34], and the catastrophic overfitting that single-step methods exhibit can be prevented by penalizing gradient misalignment [2]. The third dispenses with the inner maximization altogether, replacing it with a penalty on the local geometry of the loss: input-gradient regularization [22], Jacobian regularization [11], curvature regularization [17], and local linearity regularization [18], the last of which explicitly trades a geometric penalty for a reduction in the number of projected gradient descent (PGD) steps. What unites these otherwise dissimilar approaches is that every one of them obtains its information about the network's local behavior by differentiating with respect to the input. They differ in how many such derivatives they take, not in whether they take them.

We show that for perturbations of small relative ℓ2\ell^{2} norm this is unnecessary. Our starting point is the low-rank Householder expansion (LRHE) introduced in [21]. A ReLU network is piecewise affine. On the region of input space where the activation pattern is constant, the network acts as a single affine map. Concretely, one may write a feedforward ReLU neural network, with the bias terms omitted, as multiplication by the matrix

(1.1)

F=WLΣL−1WL−1⋯Σ1W1,F=W_{L}\Sigma_{L-1}W_{L-1}\cdots\Sigma_{1}W_{1},

where each Σℓ\Sigma_\ell is the diagonal 0–1 matrix recording which units at layer ℓ\ell are active, and WℓW_\ell are weight matrices. A change of activation pattern perturbs the network’s local action by a term of rank one. To see this, fix a layer ℓ\ell and split the product (1.1) on either side of Σℓ\Sigma_\ell,

(1.2)

F=CℓΣℓBℓ,Cℓ=WLΣL−1⋯Wℓ+1,Bℓ=WℓΣℓ−1⋯Σ1W1,F=C_{\ell}\Sigma_{\ell}B_{\ell},\quad C_{\ell}=W_{L}\Sigma_{L-1}\cdots W_{\ell+1},\quad B_{\ell}=W_{\ell}\Sigma_{\ell-1}\cdots\Sigma_{1}W_{1},

so that BℓB_\ell collects the factors before layer ℓ\ell and CℓC_\ell those after. Suppose the input is displaced across a single activation boundary, so that unit ii of layer ℓ\ell changes from active to inactive while every other unit retains its state. Then Σℓ\Sigma_\ell is replaced by Σℓ−eiei⊤\Sigma_\ell - e_i e_i^\top where eie_i is the ii-th standard basis vector, and the matrix representation of the network on inputs in the new region is

(1.3)

F1=Cℓ(Σℓ−eiei⊤)Bℓ=F−(Cℓei)(Bℓ⊤ei)⊤.F_{1}=C_{\ell}(\Sigma_{\ell}-e_{i}e_{i}^{\top})B_{\ell}=F-(C_{\ell}e_{i})(B_{\ell}^{\top}e_{i})^{\top}.

The perturbation is thus rank one, with left factor CℓeiC_{\ell}e_i and right factor Bℓ⊤eiB_{\ell}^\top e_i, i.e. the ii-th column of CℓC_{\ell} and the ii-th row of BℓB_{\ell}, respectively.

The right factors Bℓ⊤eiB_{\ell}^{\top}e_{i} appearing in (1.3) are vectors in input space, and it is these that determine the directions in which the composed map is sensitive. Note that they are available from the forward pass: BℓB_{\ell} is the partial composition below layer ℓ\ell, and eie_{i} selects the unit in question. Through (1.3) the effect of activating one unit on the output becomes clear, and no differentiation with respect to the input is involved at any stage.

The LRHE is derived by exploiting this property further. Substitute Σℓ\Sigma_\ell as a rank-one perturbation of the identity in the form I−vℓvℓ⊤I - v_\ell v_\ell^\top, in which vℓv_\ell is a unit vector. Key to this expansion is how vℓv_\ell is found by rewriting the ReLU activation as a Householder reflection. The reflection vectors are not learned and they are computed during the forward pass, and require no differentiation. The expansion describes the effect of perturbing the hidden states on the composed maps BℓB_\ell or CℓC_\ell rather than any individual layer, so the directions it identifies are those in which the network as a whole amplifies, not those in which an individual weight matrix WℓW_{\ell} does. It was shown in [21] that adversarial examples found for a tsunami waveform prediction task [20] have significant components along these basis directions.

The present work takes that construction as given and asks a different question: whether the subspace it identifies is the one in which adversarial perturbations reside for a classification task, and whether restricting attention to that subspace suffices to train robust models. Two consequences follow. First, adversarial examples in this small-norm class can be constructed directly from the trained parameters, with no input gradient iterations at all. Second, and the subject of the remainder of this work, adversarial training against them reduces to a minimization: the inner search disappears, the network is penalized for its response along a set of directions recomputed at each forward pass, and no derivative with respect to the input is taken at any point during training.

Since LRHE enables the identification of a linear subspace of adversarial perturbation, this can be exploited to reduce the cost of adversarial training by restricting the inner maximization. Our method thus belongs to the third group discussed above, but differs in where its geometric information originates. Curvature, Jacobian, and local-linearity penalties are all measured, each requiring derivative evaluations beyond those of standard training, so that the saving relative to multi-step PGD is real but partial. The expansion instead supplies the relevant subspace algebraically. That such a restriction should be possible at all is suggested by an early observation [29] that adversarial perturbations occupy a contiguous subspace whose dimension is far below that of the input, on the order of tens at MNIST scale. If the adversarially relevant directions are so few, searching the full input space at every step is wasteful. Subspace adversarial training [14] reaches a related conclusion, but extracts its subspace from the optimization trajectory and works in parameter space; ours is determined by the structure of the network at the input in question and lies in input space.

A second distinction separates our approach from the certified robustness literature, where the geometry of a network is controlled by constraining each layer individually. Parseval networks [5], spectral normalization [16], and the orthogonal convolution constructions of [13, 30, 24] all enforce a norm or orthogonality condition on every weight matrix, so that the Lipschitz constant of the composition is bounded by the product of the layerwise bounds; the programme is extended to the activations in [25, 26]. A global guarantee then follows from purely local conditions, and a certificate is obtained as a by-product. The cost is that the product bound is loose. For the map (1.1), the estimate ∥F∥⩽∏ℓ∥Wℓ∥\|F\| \leqslant \prod_{\ell} \|W_{\ell}\| holds with equality only when the dominant singular directions of successive factors align, which they generically do not, and how far the naive bound sits above the true constant is documented in [33, 8]. A network constrained layerwise is thus constrained more tightly than the robustness objective requires, and the excess is paid in expressivity.

Our approach acts on the product rather than on its factors. The expansion is an expansion of F itself, so no layer is required to be orthogonal or norm-bounded, no activation is replaced, and the network is trained in the usual way. We obtain no certificate, since we impose no condition from which one could be derived; what we obtain instead is a description of where the composed map is sensitive that is not conservative by construction. This also underpins the relation to the prior works using Householder reflections [25]. There the Householder structure is imposed: it is a design constraint on the activation, satisfied exactly, and the reflection vectors are trained parameters. Here it is descriptive, read in from a network trained without any direct restrictions. The theorem of [25] is nonetheless a

TIANA C. JOHNSON AND DONSUB RIM

useful independent justification for our choice of basis, since it establishes that Householder reflections are the canonical form for Jacobian transitions across activation boundaries in piecewise linear networks. Our expansion is thus not an arbitrary change of coordinates but one aligned with the intrinsic structure of the map being approximated.

Our experiments on MNIST support the following claims. First, the subspace identified by the expansion is the one in which adversarial perturbations lie: projecting perturbations onto its orthogonal complement reduces attack success from 28.01% to 9.20%, whereas removing a random subspace of the same dimension reduces it only to 25.42% (Section 5). Second, training against these directions costs the equivalent of 2.8 PGD steps per epoch, an 8.7×8.7\times reduction relative to 40-step adversarial training and less than the cost of 3-step training. Third, over the budget range in which the expansion is descriptive the resulting models match multi-step adversarial training: they match the robustness of 3-step PGD training for relative ℓ2\ell^2 budgets ε⩽0.02\varepsilon \leqslant 0.02 and of 40-step training for ε⩽0.012\varepsilon \leqslant 0.012, with multi-step training pulling ahead beyond (Section 6). The falling away is consistent with the locality of the expansion, which ceases to describe the network once the perturbation is large enough to leave the affine cell.

We regard this parity as the substantive result. Every method in the third group above obtains its information about the network’s local behavior by differentiating with respect to the input, and it would be natural to assume that such differentiation is critical to obtaining that information. The comparison shows otherwise: the geometry is already present in the activation pattern, and a regularizer that never forms an input derivative reaches similar performance as one that forms forty.

We focus our attention on small budgets. The motivation for studying adversarial examples at all rests on the premise that the perturbation is imperceptible, although the budgets now conventional in the literature have evolved well beyond the point where that premise holds. The class we treat is the one the original problem concerned. We state plainly what is not claimed. We do not report state-of-the-art robust accuracy at all budgets, and we provide no certificates. Our experiments are confined to MNIST, and we make no claim that the approximation accuracy required to capture the adversarially relevant subspace, or the budget range over which the expansion remains descriptive, transfers to higher-resolution data.

References (15)