arXiv:2610.27758cs.LGOct 2026

Manuscript Offprint

arXiv:2610.27758

AC/DC on a Budget - Alternating Sparse Phases

Rahul Nittala, Advait Gadhikar, Tom Jacobs, Rebekka Burkholz

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

State-of-the-art neural network sparsification relies on alternating dense and sparse training phases. While computationally expensive, dense phases are critical for performance. Our empirical analysis reveals the mechanics behind this gain: upon reintroduction, previously masked parameters receive disproportionately large gradients that drive essential mask rewiring and parameter sign-flipping. Building on these insights, we optimize the performance-to-FLOPs Pareto frontier through three innovations: (1) zero-initializing masked parameters during dense phases to promote relevant sign flips, (2) shortening dense phases, and (3) replacing the dense phase entirely with a sparse rewiring phase that updates only the active mask and a small, high-gradient fraction of out-of-mask weights. Evaluated on CIFAR100 and ImageNet, our variant ARC (Alternating Rewiring Compression) matches baseline AC/DC performance at a fraction of the computational cost, establishing a superior performance-to-FLOPs frontier also compared to standard sparse-to-sparse algorithms. Experiments with GPT-2 on OpenWebText further show improvements in validation perplexity and average zero-shot performance.

1 Introduction

The paradigm of overparameterization has led to significant breakthroughs across various machine learning tasks by enhancing optimization landscapes and model generalization ([51], [65], [2], [3]). Nevertheless, the high computational costs associated with training and deploying these models have increased the need for sparsification methods to alleviate hardware constraints ([45], [8]). However, most state-of-the-art sparsification methods, ranging from iterative magnitude pruning [24, 63] to continuous reparameterization [38, 80], rely on the dense model to guide the search for a generalizable sparse structure. While Pruning at Initialization (PaI) attempts to bypass this by training sparse masks from scratch, it often fails to match the performance of its dense-to-sparse counterparts [17]. This suggests that the initial dense training phase—or the analogous exploration in Dynamic Sparse Training (DST) [49, 13] through dense gradients—provides a critical "alignment" or "support expansion" that is currently irreplaceable. In this paper, we seek to understand the precise role dense training plays in finding optimal sparse masks and ask: Can this computational cost be minimized without sacrificing the benefits of dense alignment?

To investigate this, we use the AC/DC algorithm (Alternating Compressed/DeCompressed training) [60] as our primary lens. AC/DC's explicit alternation between dense and sparse phases allows us to isolate and diagnose the impact of dense updates. We frame this investigation through the theoretical lens of saddle-to-saddle dynamics [58, 77]. Under this view, training is a sequence of transitions between singular modes; we argue that dense phases act as "rewiring windows" that provide access to off-support directions necessary to escape current sparse saddles. Moreover, we characterize this mechanism empirically by measuring parameter dynamics—specifically sign-flips and activation subspace stability. We find that dense phases facilitate critical alignment by allowing weights with small magnitudes (typically masked) but large gradients to re-enter the mask and correct their

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

directional signal [19, 79]. Building on these insights, we make three propositions: (i) zero-initializing masked parameters during dense phases, (ii) truncating dense phases, (iii) Alternating Rewiring Compression (ARC), a method that replaces full dense updates with sparse updates (active sparse mask and a fraction of out of mask weights with large gradients). These three modifications each target a different aspect of the dense phase cost, while preserving the support-expansion mechanism we identify as essential. Our contributions are as follows:

• We propose a theory-motivated view of alternating sparse training as a sequence of sparse consolidation followed by support expansion, which links compressed-gradient Iterative Hard Thresholding (IHT) and saddle-to-saddle dynamics.

• We empirically show that sparse phases refine the current support, while dense phases expose high-gradient off-support coordinates that drive mask rewiring and sign corrections.

• We introduce three innovations: Zero init, truncated dense phases, and the method ARC, which reduces the dense-phase cost by updating only a small high-gradient subset of off-support parameters.

• We demonstrate on CIFAR100 and ImageNet that ARC matches or exceeds the performance of AC/DC while significantly reducing theoretical FLOPs, improving the performance-to-FLOP tradeoff compared to AC/DC and RigL. GPT-2 experiments on OpenWebText additionally demonstrate improved perplexity and average zero-shot performance.

References (74)