Learning Sparse Visual Representations with Leaky Capped Norm Regularizers

Jianqiao Wangni, Dahua LinarXiv 2017

Introduction

In modern machine learning, sparsity is a highly desirable property. Sparse models—those where many parameters are exactly zero—are not only more interpretable but also significantly faster and more efficient for deployment on resource-constrained devices. Traditionally, $\ell_1$ regularization (Lasso) has been the standard tool for inducing sparsity. However, $\ell_1$ regularization suffers from an inherent bias: it penalizes large, informative weights with the same intensity as small, noisy ones. This often forces a suboptimal trade-off between model sparsity and predictive accuracy.

To address these limitations, researchers from Tsinghua University and The Chinese University of Hong Kong introduced the Leaky Capped Norm Regularizer (LCNR). LCNR is a non-convex penalty function designed to encourage sparsity more effectively than the standard $\ell_1$ norm by applying differential pressure to weights based on their magnitude.

The Leaky Capped Norm Regularizer (LCNR)

The LCNR is defined as a piecewise linear function that distinguishes between small and large weights using a threshold $\tau$. Specifically:

  • Small weights (where $|w| \le \tau$) are penalized with a steep slope $\alpha$, aggressively driving them toward zero to promote sparsity.
  • Large weights (where $|w| > \tau$) are penalized with a much shallower "leaky" slope $\beta$.
Comparison of L1 norm, Capped L1 norm, and the proposed Leaky Capped L1 norm (LCNR).

Unlike standard capped norms that cease penalization entirely once a weight exceeds a threshold, the "leaky" component ensures that large weights remain regularized. This provides a continuous gradient signal during optimization, preventing the model from becoming trapped in poor local minima and enhancing training stability.

Optimization Strategy

Optimizing non-convex functions like LCNR is computationally challenging. The authors propose two primary algorithmic frameworks to solve this:

  1. Multi-stage Majorization-Minimization (MM): This approach decomposes the complex non-convex problem into a sequence of simpler, weighted $\ell_1$ sub-problems. For tasks like 3D shape recovery, the authors prove that this algorithm achieves a "nearly exponential" convergence rate across stages.
  2. Doubly MM Algorithm: A specialized variant designed for deep learning. It integrates the MM framework with stochastic gradient descent (SGD) to handle the non-convex loss functions typical of neural networks.

Experimental Evaluation and Results

The effectiveness of LCNR was evaluated across three distinct domains: sparse linear regression, 3D human shape recovery, and neural network compression.

3D Human Shape Recovery

Using the CMU Motion Capture (MoCap) dataset, the goal was to reconstruct 3D human poses from 2D images by selecting a sparse set of basis shapes. LCNR consistently outperformed $\ell_1$, standard capped norms, and other non-convex regularizers such as Logarithm and Laplace penalties. It produced more accurate skeletal reconstructions, particularly in noisy environments.

Qualitative comparison of 3D human pose reconstruction across different regularizers against Ground Truth (GT).

Neural Network Compression

On the CIFAR-10 image classification task, LCNR was used to compress a five-layer convolutional neural network (CNN). The results demonstrated a superior accuracy-to-sparsity ratio. For instance, at high levels of sparsity, LCNR achieved 70.9% accuracy, notably higher than the 68.8% achieved by standard $\ell_1$ regularization. Furthermore, LCNR exhibited faster convergence, reaching target accuracy levels in fewer iterations than competing methods.

Conclusion and Future Work

The Leaky Capped Norm Regularizer offers a powerful alternative to traditional sparsity-inducing penalties, combining the aggressive pruning of capped norms with the stability of leaky gradients. While LCNR shows state-of-the-art performance in shape recovery and CNN compression, it does introduce additional hyperparameters ($\alpha, \beta, \tau$) that require tuning. Future research may focus on scaling LCNR to larger architectures like ResNets or Transformers and developing automated methods for layer-wise hyperparameter selection.

Summary updated

BibTeX
@misc{wangni2017learning,
  author = {Jianqiao Wangni and Dahua Lin},
  title = {{Learning Sparse Visual Representations with Leaky Capped Norm Regularizers}},
  year = {2017},
  eprint = {1711.02857},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.02857},
}
Figure