Lifted Bregman Training of Neural Networks

Xiaoyu Wang, Martin Benning

TL;DR

Training deep neural networks with back-propagation and subgradient descent struggles with non-differentiable activations, vanishing gradients, and poor parallelizability. This paper introduces Lifted Bregman Training, an auxiliary-variable framework that replaces standard layer constraints with a custom Bregman divergence penalty. Crucially, its gradient with respect to network parameters completely eliminates the need to differentiate activation functions while guaranteeing true non-linear representation learning and enabling exact proximal regularization of hidden layer activations.

What Problem Does This Paper Address?

Standard deep learning relies on the back-propagation algorithm combined with stochastic first-order optimizers. While effective, this approach has well-known limitations:

  1. Non-differentiability: Common activations (like ReLU) are non-smooth, forcing the use of subgradient methods that exhibit slower theoretical convergence rates.
  2. Sequential bottlenecks & gradient degradation: Gradients computed via the chain rule are sequential across layers—hindering distributed optimization—and frequently suffer from vanishing or exploding gradients.
  3. Flawed auxiliary coordinate formulations: Prior "lifted" or auxiliary-variable methods (such as MAC-QP or classical lifted networks) tried decoupling layers with auxiliary coordinates, but they either still required differentiating non-smooth activations or inadvertently collapsed into trivial affine-linear transformations.

The authors set out to design an unconstrained, layer-decoupled formulation that retains true non-linearity without ever needing to compute the derivatives of activation functions.

Methods

The paper frames activations $\sigma(z)$ as proximal operators of proper, lower semi-continuous, convex functions $\Psi$: $$\sigma(z) = \text{prox}_{\Psi}(z) := \arg\min_{u} \left\{ \frac{1}{2}\|u - z\|^2 + \Psi(u) \right\}$$ This broad family covers ReLU, soft-thresholding, $\tanh$, and softmax.

Using Fenchel duality, the authors define a novel Bregman loss penalty between the layer output variable $x$ and the pre-activation $z = f(x_{prev}, \Theta)$: $$B_\Psi(x, z) := \frac{1}{2}\|x\|^2 + \Psi(x) + \left(\frac{1}{2}\|\cdot\|^2 + \Psi\right)^*(z) - \langle x, z \rangle$$

The core mathematical breakthrough is that the gradient with respect to the pre-activation $z$ simplifies cleanly: $$\nabla_z B_\Psi(x, z) = \sigma(z) - x$$ Because of this identity, updating parameters $\Theta$ only requires evaluating $\sigma(z)$—no differentiation of the activation function is ever required.

Building on this, the authors develop:

  • Deterministic solvers: Proximal gradient descent (forward-backward splitting), block-coordinate descent, and ADMM schemes that update layer parameters and auxiliary activations in parallel.
  • Implicit Stochastic Lifted Bregman Learning (Algorithm 1): A mini-batch stochastic algorithm with proximal parameter updates.
  • Direct feature regularization: Non-smooth penalties (such as $\ell_1$-norm on hidden codes for sparse autoencoding) can be folded directly into the proximal step of the auxiliary variables rather than approximated via subgradients.

Datasets

The authors evaluated their methods on two benchmark image datasets:

  • MNIST: Standard handwritten digit dataset (and an MNIST-1K subset using only 1,000 training samples to test generalizability and overfitting).
  • Fashion-MNIST: Grayscale fashion product dataset (evaluated on both Fashion-MNIST-1K and Fashion-MNIST-10K subsets, corrupted with Gaussian noise for denoising experiments).

No new benchmarks were introduced; standard datasets were used to ensure fair comparison against classical lifted architectures and standard back-propagation baselines.

Key Insights and Ideas

  • Bypassing the chain rule without affine collapse: Unlike prior lifted approaches that degraded to affine-linear mappings (where $x_l \approx W_l^\top x_{l-1} + b_l$), the optimality condition for the Lifted Bregman objective strictly preserves non-linear consistency: $\sigma(W_l^\top x_{l-1} + b_l) - x_l = 0$.
  • Exact non-smooth regularizers on latent codes: By treating hidden representations as independent variables in a proximal framework, one can enforce exact $\ell_1$-sparsity on hidden layers using closed-form soft-thresholding rather than noisy subgradient approximations.
  • Rethinking generalization: Networks trained with Lifted Bregman methods exhibited classic overfitting (training error kept plummeting while validation error rebounded after a few epochs), which did not occur when using gradient descent with backpropagation (GD-BP) on identical architectures. This supports the hypothesis that the generalization behavior of deep models is strongly tied to the implicit bias of back-propagation/SGD rather than model architecture alone.

Key Results

  • Classification Performance: On MNIST, Lifted Bregman Networks (LBN) achieved 96.8% test accuracy (vs. 96.9% for SGD with back-propagation), far surpassing the classical lifted baseline (86.3%). On Fashion-MNIST, LBN reached 85.7% test accuracy (vs. 87.9% for SGD-BP and 80.0% for classical lifted networks).
  • Preserved Non-linearity: LBN avoided affine collapse: only 47.4% to 82.2% of hidden units operated in the linear regime on MNIST, compared to 99.9% across all layers in classical lifted networks.
  • Sparse (Denoising) Autoencoders: Enforcing $\sim 91\%$ sparsity via an $\ell_1$ penalty on latent codes produced sharper image reconstructions and preserved fine visual features (such as backpack textures and garment curvature) that SGD-BP and implicit SGD-BP blurred out.

Limitations and Future Work

  • Memory Overhead: Auxiliary activation variables must be explicitly maintained and updated across training samples, increasing overall working memory.
  • Wall-Clock Runtime: Per-iteration runtime is noticeably higher than standard back-propagation on a single processor due to the auxiliary variable inner-loop updates and adaptive step-size calculations (e.g., computing matrix spectral norms).
  • Architectural Scope: The framework was tested primarily on feed-forward fully connected networks. Extending the methodology to residual networks (ResNets), convolutional layers, batch normalization, and transformer attention mechanisms remains an open direction for future research.

Summary updated

BibTeX
@article{wang2023lifted,
  author = {Xiaoyu Wang and Martin Benning},
  title = {{Lifted Bregman Training of Neural Networks}},
  journal = {J. Mach. Learn. Res.},
  year = {2023},
  url = {https://openreview.net/forum?id=BkH1uqBCBL},
}
Figure