Which Layers Keep a Pruned GAN Stable?

When you prune a network trained by a single loss, the main question is how much accuracy each layer can lose. When you prune a generative adversarial network (GAN), in which a generator and a discriminator train against each other, there is a second question: will training still settle down at all? Theory of such games splits the local training dynamics into two parts. One is a "pulling" part that drags parameters toward a resting point. The other is a "spinning" part that makes them orbit it without arriving. Pruning removes coordinates from both parts. If it removes the coordinates that supply the pull, the GAN starts cycling or collapses, even when each network on its own looks barely damaged.

We propose to measure, layer by layer and inside both networks, how much each layer contributes to the stability of the joint training dynamics. We then use that measurement to decide how much to prune each layer. The bet is concrete. The layers that hold a GAN together are not the ones that single-objective pruning theory calls fragile, which are the early layers. If that holds, a cheap estimate of how pruning a layer slows the slowest-settling mode of the game should allocate per-layer sparsity better than uniform schedules, monotone depth schedules, global density balancing, and each player's own curvature measured separately.

Core Claim

Write the simultaneous gradient of the two players as $\xi(\theta)$ and its Jacobian as $J = D\xi$. Following The Mechanics of n-Player Differentiable Games and Differentiable Game Mechanics, split it as $J = S + A$. The symmetric part $S = \tfrac12(J+J^\top)$ is the pulling force, and the antisymmetric part $A = \tfrac12(J-J^\top)$ is the rotation.

Near an equilibrium, gradient play converges at a rate set by the slowest mode:

$$\gamma(J) = \min_k \operatorname{Re}\,\lambda_k(J),$$

where $\lambda_k(J)$ are the eigenvalues of $J$. Training is locally stable when $\gamma > 0$, and larger $\gamma$ means faster settling.

Pruning with a binary keep-mask $m$ restricts the dynamics to the kept coordinates, so the pruned game's Jacobian is the principal submatrix $J_m = P_m J P_m^\top$, with $P_m$ the selection matrix. For layer $\ell$ at sparsity $s$, we define the layer's game sensitivity as

$$\Delta_\ell(s) = \gamma(J) - \gamma\big(J_{m_\ell(s)}\big),$$

where $m_\ell(s)$ removes a fraction $s$ of layer $\ell$'s weights by magnitude and keeps everything else.

Local Convergence of Gradient Methods for Min-Max Games: Partial Curvature Generically Suffices explains why this quantity is not the same as per-layer curvature. Strong rotation mixes directions, so the convergence rate tracks the average curvature of $S$ rather than its worst direction, but only when the rotation does not line up with the directions where $S$ is flat. A layer can therefore be dispensable in its own player's loss and still be essential to the game. This happens when it supplies curvature along directions that the rotation would otherwise leave undamped, or when it carries the cross-player coupling that spreads curvature to other layers. Those authors explicitly name this test in deep architectures as open: whether specific layers provide the partial curvature that keeps GAN training stable. Our proposal is that test, turned into a pruning rule.

Research Program

The first component is measurement. Computing $\gamma(J_m)$ never requires forming $J$. Arnoldi iteration, which finds a few eigenvalues of a non-symmetric matrix by repeatedly multiplying vectors by it, needs only Jacobian-vector products. These are the same double-backpropagation products that the Symplectic Gradient Adjustment (SGA) method already uses. Applying the mask to those products gives $J_m v$ directly. We target the few eigenvalues with smallest real part, using a shift so that the iteration finds them rather than the largest ones. We estimate $\Delta_\ell(s)$ at three sparsity levels per layer, for every layer of both generator and discriminator, at checkpoints late in dense training.

GANs are not exactly at equilibrium. We therefore take $\gamma$ over a small window of checkpoints, and we report whether the ranking of layers is stable across them. That stability is itself a finding about whether the decomposition applies outside its local regime.

The second component is analysis of the resulting sensitivity map. We will report which layers carry the stabilizing curvature, and whether the "sensitive bottom, redundant top" pattern holds in each player. That pattern was established for single objectives by Determining Layer-wise Sparsity for Large Language Models Through a Theoretical Perspective through reconstruction-error explosion and by Backward Reduction of CNN Models with Information Flow Analysis through information decay. Mittal et al.'s Recovering from Random Pruning points the same way through the low plasticity of early layers. Gap 4 of the literature asks whether rotation mixes curvature across layers and so cushions early-layer damage, or whether early-layer damage destroys the curvature the whole game depends on. The map answers this directly. Yoon et al. ( Lightweight Alpha Matting Network Using Distillation-Based Channel Pruning) already show that pixel-level reconstruction tasks can reverse the depth profile, so a generator showing a different profile would not be implausible.

The third component is allocation. Given a total parameter budget split across both networks, we choose per-layer sparsities that minimize the summed predicted loss in $\gamma$. We first assume the layer effects add up and solve the allocation greedily. We then check that assumption by evaluating $\gamma$ on the jointly masked Jacobian. If interactions between layers are large, we fall back to re-estimating the scores after each greedy step. This is the same concern about context-dependent layer value that motivates the Shapley-value approach of Pruning as a Cooperative Game. Their method values whole layers as members of a cooperative team in a single-objective model. Ours scores fractional pruning of layers in a competitive two-network game.

After pruning, we fine-tune with the standard GAN loss. As a secondary arm, we also fine-tune with the sparse dynamic training regime of Double Dynamic Sparse Training for GANs.

Baselines

The naive reference points are uniform per-layer sparsity, applied at the same total budget to both networks, and random filter removal. Mittal et al. report that after fine-tuning, random removal on VGG-16 at 50% reaches 67.01% top-1 versus 67.59% for the $l_1$-norm heuristic. That result makes random removal a reference we must clear, not a strawman.

The single-objective depth schedule is the arithmetic-progression schedule (ATP) from Determining Layer-wise Sparsity for Large Language Models Through a Theoretical Perspective, applied separately to generator and discriminator, with its slope $\beta$ tuned on FID using the same number of trials we give our method. In language models it cut perplexity by 52.10 versus uniform pruning for LLaMA2-7B at 70% sparsity with Wanda, and it raised zero-shot accuracy from 35.42% to 41.28% for LLaMA3-8B. No reported result was found on Lacuna for ATP applied to GANs.

The strongest existing GAN-specific method is ADAPT from Double Dynamic Sparse Training for GANs. It adjusts the discriminator's global density to keep a loss-based balance ratio in range, and it reports the best FID in 13 of 16 settings on CIFAR-10, STL-10 and TinyImageNet. On BigGAN for CIFAR-10 it used about 10% of training FLOPs, against about 84% for the next-best sparse baseline. The file gives no absolute FID values, so we will rerun ADAPT with its released settings on our architectures and budgets. ADAPT decides how dense each network should be. Our method decides how density is spread across layers. We therefore also test the combination: ADAPT's global density with our per-layer split.

The key ablation is an own-curvature score. It is the same Arnoldi-based score computed only on each player's own Hessian block, which is the diagonal block of $S$, with all cross-player coupling dropped. This isolates the claim that the interaction between the players matters. A second ablation keeps $S$ fully, including its cross terms, but zeroes $A$, which tests whether rotation changes the ranking.

The oracle is a brute-force scan. For each layer and sparsity level, we prune, fine-tune briefly, and record FID. This is the ground-truth sensitivity map that every cheap score is trying to predict.

All methods share architectures (SNGAN and BigGAN on CIFAR-10 and STL-10, matching ADAPT's settings), parameter budgets, fine-tuning steps, and an equal number of FID-evaluated tuning trials. Our method beats a baseline if it wins on FID at matched sparsity over at least three seeds, with non-overlapping confidence intervals, at 80% and 90% total sparsity, and if it does so while spending fewer GPU-hours than the oracle scan.

Why not just…?

Why not just use each network's own layer-wise sensitivity, as ATP or Hessian-trace scores do? This is the most serious threat. The diagonal blocks of $S$ are exactly those per-player curvatures. If they predict the oracle as well as the full game score does, our claim fails. The own-curvature ablation settles this directly. We will report rank correlation with the oracle for both scores, and FID after allocation, and we will treat a tie as a negative result rather than explain it away.

Why not just run ADAPT and prune each layer uniformly? ADAPT controls only the ratio of total density between the two networks. Its balance ratio is a loss-based quantity whose good range is set empirically. Balduzzi et al. show that loss tracking misses rotation: simultaneous gradient descent cycles endlessly between modes of a 16-Gaussian mixture, while SGA converges. Our claim is about how density is spread within each network, so the combination arm tests whether our split adds value on top of ADAPT's global setting.

Why not just do the brute-force per-layer scan? On a small GAN, the scan is affordable and gives the ground truth. For that reason it is our oracle, not a competitor we argue against. The case for the spectral score is that it costs a few hundred Jacobian-vector products rather than tens of fine-tuning runs. It may also give early warning: a drop in $\gamma$ should precede visible cycling before FID moves. If the scan's cost turns out to be small relative to fine-tuning at every scale we test, the practical contribution narrows to the diagnostic map. We will report wall-clock costs so readers can judge.

Proposed Experiments

We begin where the theory is exact. On the 2D mixture of 16 Gaussians and the 75-dimensional Gaussian used by Differentiable Game Mechanics, we train small multilayer generators and discriminators. We prune each layer in turn and check whether $\Delta_\ell$ predicts the outcomes those papers measure: mode cycling in the mixture, and the number of covariance eigenvalues learned in the 75-dimensional case. There, RMSProp training learned one of 75 eigenvalues, while SGA learned the full spectrum.

We then move to SNGAN and BigGAN on CIFAR-10 and STL-10, comparing against the baselines above at 50%, 80% and 90% sparsity on FID. As an optional scale check, we run on BigGAN at ImageNet 128×128. There, PPCD-GAN reaches IS 83.13 and FID 12.76 at 5.2× parameter compression, but with distillation from a frozen teacher (PPCD-GAN). We would compare to it only with distillation also added to our method.

Three checks decide the proposal. First, the full game score must correlate with the oracle scan significantly better than the own-curvature score. Second, layers where the two scores disagree most must be the ones whose pruning causes oscillation in the oracle runs. Third, the predicted stability-maximizing allocation must differ from monotone depth schedules in at least one network and beat them on FID. If the first check fails, the game decomposition adds nothing to layer-wise pruning of GANs, and we will say so.