Papers
Topics
Authors
Recent
Search
2000 character limit reached

Hadamard-Based Weight Smoothing in Sparse Learning

Updated 26 March 2026
  • Hadamard-based weight smoothing is a framework that transforms non-smooth, sparsity-regularized problems into equivalent smooth ones using overparametrization with element-wise products.
  • It introduces surrogate smooth penalties through auxiliary variables, allowing standard gradient-based optimizers to efficiently navigate sparse learning tasks.
  • Empirical results demonstrate significant sparsity and model compression in high-dimensional regression and neural network training with minimal performance trade-offs.

Hadamard-based weight smoothing is a general framework for converting non-smooth, sparsity-regularized optimization problems into equivalent smooth problems via overparametrization with Hadamard (element-wise) products or powers. By introducing smooth surrogate variables and reparametrizations, this approach enables the use of standard gradient-based optimization algorithms for sparse learning tasks, while preserving the underlying minima structure of non-smooth objectives (Kolb et al., 2023).

1. Base Formulation and Motivation

Sparse regularization, as found in penalties such as the 1\ell_1 norm or group norms, is fundamental in high-dimensional regression and model compression. These penalties give rise to optimization problems of the form

P(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),

where LL is a smooth loss (typically empirical risk), and RR is a non-smooth, sparsity-promoting regularizer (e.g., R(w)=w1R(w) = \|w\|_1 or jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_2 for grouped weights). The non-differentiability and often non-convexity of RR (especially for q\ell_q with q<1q < 1) impede the application of standard SGD, leading to oscillatory dynamics near zero, poor sparsity, and slow convergence.

2. Hadamard Overparametrization: Construction and Variants

To address non-smooth regularization, auxiliary variables ξ\xi are introduced with a smooth surjection P(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),0. The simplest case is the depth-2 Hadamard product parametrization (HPP):

P(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),1

More generally, the approach encompasses various structured parametrizations:

Parametrization Formula Induced Regularization
HPPP(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),2 P(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),3 P(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),4
GHPP (group) P(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),5 group-P(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),6
GHPPP(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),7 (mixed group) P(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),8 P(ψ,w)=L(ψ,w)+λR(w),P(\psi, w) = L(\psi, w) + \lambda R(w),9
HPowPLL0 LL1 LL2

Here, LL3 is always smooth and surjective, implying every LL4 has infinitely many preimages LL5 such that LL6.

3. Surrogate Smooth Penalties and Variational Equivalence

A key component is the smooth surrogate penalty LL7 in the auxiliary space, usually a weighted LL8 norm. For HPP, LL9. By an elementary AM-GM argument,

RR0

meaning the surrogate penalty achieves the sparsity penalty exactly on the fiber RR1. More generally,

RR2

with equality for optimal RR3. This construction generates closed-form surrogates for:

  • RR4 via HPPRR5
  • group RR6 via GHPP
  • mixed RR7 via deeper group products
  • general RR8 for real RR9 via HPowP

4. Equivalence of Minima and Theoretical Guarantees

The surrogate objective is defined as:

R(w)=w1R(w) = \|w\|_10

Under two mild conditions—local openness of R(w)=w1R(w) = \|w\|_11 at optimal R(w)=w1R(w) = \|w\|_12 and upper-hemicontinuity of the minimizer map R(w)=w1R(w) = \|w\|_13—the set of local and global minima of R(w)=w1R(w) = \|w\|_14 and R(w)=w1R(w) = \|w\|_15 coincide:

  • Any local minimum R(w)=w1R(w) = \|w\|_16 of R(w)=w1R(w) = \|w\|_17 corresponds to local minima R(w)=w1R(w) = \|w\|_18 of R(w)=w1R(w) = \|w\|_19 with jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_20.
  • Conversely, local minima of jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_21 project to local minima of jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_22 via jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_23.
  • Global minima of jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_24 and jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_25 match, since jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_26 majorizes jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_27 and achieves equality at constrained minima.

All parametrizations and surrogates are jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_28 except possibly at coordinate-wise zero; the regularizer handles these singularities. No spurious local minima are introduced.

5. Gradient-Based Optimization Algorithms

Hadamard-based weight smoothing enables the direct use of SGD or Adam for sparse regularized objectives. For jGjwGj2\sum_j \sqrt{|G_j|} \|w_{G_j}\|_29 via HPP, gradient steps proceed as follows:

  • Let RR0.
  • Compute RR1 at RR2.
  • Update:
    • RR3
    • RR4
    • RR5
    • RR6

Deeper or group variants use appropriate Jacobian factors and distribute the RR7 terms. Initialization can use small random values or AM-GM matched factors. This approach requires only substituting the RR8 parameters with auxiliary variables and RR9 regularization, without the need for proximal operators or custom solvers.

6. Empirical Evaluation and Use Cases

Several empirical studies demonstrate the practicality of Hadamard-based weight smoothing:

  • High-Dimensional Regression: On synthetic problems q\ell_q0, HPP-SGD closely matches Lasso regularization paths, produces exact sparsity, and converges reliably. Direct SGD on nonsmooth q\ell_q1 is inferior, failing to produce zeros due to oscillation.
  • Sparse Neural Network Training: Fully-connected LeNet-300-100 models trained with HPPq\ell_q2 on MNIST, using q\ell_q3 regularization on q\ell_q4, yield weights q\ell_q5 with pronounced q\ell_q6 sparsity. After one-shot pruning, up to 99% parameter reduction is achievable with minimal loss increase. Deeper factorizations (HPPq\ell_q7 for q\ell_q8) further enhance sparsity.
  • Filter-Sparse CNNs: Applying group Hadamard powers to convolution filter groups achieves up to 90% filter removal after training from scratch, with negligible accuracy degradation.

7. Comparison with Existing Methodologies

Hadamard-based weight smoothing unifies various sparsity-inducing formulations:

  • Universality: Accommodates q\ell_q9, q<1q < 10 (q<1q < 11), q<1q < 12, and more within a single SGD-compatible framework.
  • Theoretical Guarantees: Ensures equivalence of all minima between original and surrogate problems, with no spurious solutions.
  • Practical Performance: Matches specialized solvers (e.g., glmnet, SGL) in high-dimensional regression; delivers substantial sparsity in neural networks using standard SGD.
  • Implementation Simplicity: Replaces q<1q < 13 with surrogate variables; relies only on standard q<1q < 14 regularization and smooth optimization.
  • Computational Overhead: Increases parameter count moderately; shallow models incur minimal extra compute. For deep/large models, parameter sharing and twin initializations can mitigate costs.

Hadamard-based weight smoothing offers a plug-and-play technique for achieving exact sparse regularization via smooth objectives, applicable across a diverse range of models and compatible with modern deep learning toolkits and optimizers (Kolb et al., 2023).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Hadamard-Based Weight Smoothing.