Differentiable Pruning as Architecture Search

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 125 papers27 conceptsfrozen 2026-10-04

Traditionally, making a neural network efficient was a two-step process: first, design a high-performing architecture (often via manual trial-and-error or expensive Neural Architecture Search), and second, prune away the "dead weight" using heuristics like magnitude-based thresholding.

A growing body of research suggests these two steps are actually the same problem. By treating network pruning as a differentiable search problem, researchers are finding that we can "discover" optimal architectures by starting with a large, over-parameterized "super-network" and letting gradient descent decide which parts should survive.

From Discrete Cuts to Continuous Masks

The core challenge in automating pruning is that the decision to keep or remove a neuron is discrete (0 or 1), which breaks the gradient flow needed for backpropagation. To solve this, researchers like Barry Dong and Xuanyi Dong in Network Pruning via Transformable Architecture Search (TAS) treat the number of channels and layers as probabilistic parameters.

Instead of a hard cut, the network uses "soft" masks or learnable importance scores. During training, the optimizer doesn't just learn the weights; it learns the probability that a specific connection is useful. As Manoj Rohit Vemparala and colleagues demonstrate in Adversarial Robust Model Compression Using In-Train Pruning, learning these masks via gradient descent identifies far more efficient structures than human-designed rules ever could.

Pruning as a Search Space

If we view pruning as a search, the "search space" becomes the set of all possible sub-networks within a dense model. Xinbang Zhang and Naiyan Wang formalize this in You Only Search Once: Single Shot Neural Architecture Search via Direct Sparse Optimization. By applying sparse optimization (like $L_1$ regularization) to the architecture parameters, the system naturally "starves" useless connections of their importance, effectively pruning them.

This "one-shot" approach is significantly faster than traditional NAS. For example:

Scaling Width and Depth Differentiably

The same logic applies to the macro-structure of a network. Rather than guessing how many layers or how wide a layer should be, we can make these dimensions learnable.

In Differentiable Model Scaling using Differentiable Topk, Kai Liu and Ruohui Wang transform structural hyperparameters into a differentiable format. Similarly, Matteo Risso and Daniele Jahier Pagliari show in Pruning In Time (PIT) that even temporal dimensions—like the dilation factors in a Convolutional Network—can be optimized as a structured pruning problem. This allows a model to "shrink" into the exact shape required by its hardware constraints during a single training run.

Modern Frontiers: Experts and Meta-Learning

The most recent work extends this "pruning-as-search" philosophy to even more complex architectures:

  1. Mixture-of-Experts (MoE): Sikai Bai and Haoxi Li introduced DiEP: Adaptive Mixture-of-Experts Compression through Differentiable Expert Pruning, which uses learnable importance scores to prune entire experts in massive models like Mixtral, retaining 92% performance while halving the model size.
  2. Meta-Pruning: Yulun Zhang uses a hypernetwork in Lightweight Image Super-Resolution via Flexible Meta Pruning to generate parameters based on sparsity metadata, effectively learning how to prune across different target constraints.
  3. Federated Learning: Jiechao Gao and Xinyuan Huang utilize Gumbel-Softmax reparameterization in FedMetaNAS to discover sparse architectures across decentralized data without needing a separate retraining stage.

By shifting from "train then prune" to "search by pruning," these methods turn the architectural bottleneck into a standard optimization problem, making the discovery of efficient models faster, more automated, and more precise.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_differentiable_pruning_as_architecture_s_7cb761ae,
  title = {Differentiable Pruning as Architecture Search},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/differentiable-pruning-as-architecture-search/rdr_7cb761aecfac41ba9bf0b8b01f1b32c1},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-05},
}

This exact version (version 1, frozen text):

@misc{lacuna_differentiable_pruning_as_architecture_s_7cb761ae_v1,
  title = {Differentiable Pruning as Architecture Search},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/differentiable-pruning-as-architecture-search/rdr_7cb761aecfac41ba9bf0b8b01f1b32c1/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-05},
}