English

Differentiable Sparsity via $D$-Gating: Simple and Versatile Structured Penalization

Machine Learning 2025-10-28 v3 Machine Learning

Abstract

Structured sparsity regularization offers a principled way to compact neural networks, but its non-differentiability breaks compatibility with conventional stochastic gradient descent and requires either specialized optimizers or additional post-hoc pruning without formal guarantees. In this work, we propose DD-Gating, a fully differentiable structured overparameterization that splits each group of weights into a primary weight vector and multiple scalar gating factors. We prove that any local minimum under DD-Gating is also a local minimum using non-smooth structured L2,2/DL_{2,2/D} penalization, and further show that the DD-Gating objective converges at least exponentially fast to the L2,2/DL_{2,2/D}-regularized loss in the gradient flow limit. Together, our results show that DD-Gating is theoretically equivalent to solving the original group sparsity problem, yet induces distinct learning dynamics that evolve from a non-sparse regime into sparse optimization. We validate our theory across vision, language, and tabular tasks, where DD-Gating consistently delivers strong performance-sparsity tradeoffs and outperforms both direct optimization of structured penalties and conventional pruning baselines.

Keywords

Cite

@article{arxiv.2509.23898,
  title  = {Differentiable Sparsity via $D$-Gating: Simple and Versatile Structured Penalization},
  author = {Chris Kolb and Laetitia Frost and Bernd Bischl and David Rügamer},
  journal= {arXiv preprint arXiv:2509.23898},
  year   = {2025}
}
R2 v1 2026-07-01T06:02:38.928Z