Hyperbolic Aware Minimization: Implicit Bias for Sparsity

Tom Jacobs, Advait Gadhikar, Celia Rubio-Madrigal, Rebekka Burkholz

TL;DR

Hyperbolic Aware Minimization (HAM) is a lightweight, "plug-and-play" optimization step that brings the sparsity-inducing benefits of hyperbolic geometry to standard deep learning without the usual computational overhead. By alternating a standard gradient step with a hyperbolic mirror step, HAM overcomes the "vanishing metric" problem that typically slows down sparse training, enabling faster convergence and more effective parameter sign-flipping.

The Problem: Sparsity vs. The Vanishing Metric

Modern deep learning thrives on overparameterization, but we often want sparse models for efficiency. A popular way to encourage sparsity is through "pointwise overparameterization," where a single weight $\theta$ is replaced by a product of two weights ($m \odot w$). This change in parameterization induces a "hyperbolic" implicit bias that naturally pushes unimportant weights toward zero.

However, this approach has two major flaws:

  1. The "Stuck at Zero" Problem: As weights approach zero, the "inverse Riemannian metric" (the factor determining how fast parameters move) also approaches zero. This effectively "freezes" parameters near the origin, making it nearly impossible for them to flip signs (e.g., move from -0.01 to +0.01), which is essential for learning the correct features.
  2. Resource Overhead: Doubling the number of parameters ($m$ and $w$) increases memory usage and compute requirements.
Inverse metric comparison

The authors aim to capture the beneficial geometry of hyperbolic bias while fixing the "speed limit" near zero and keeping the parameter count lean. As shown in the figure above, standard gradient descent (GD) has a flat metric, while pointwise overparameterization ($m \odot w$) collapses at zero. HAM, however, provides an "acceleration zone" where the inverse metric is actually higher than standard GD near the origin, facilitating much faster sign flips.

The Method: Hyperbolic Aware Minimization (HAM)

To solve these issues, the authors introduce Hyperbolic Aware Minimization (HAM). Unlike previous methods that explicitly double parameters, HAM uses a mirror flow framework to achieve the same effect mathematically on the original parameter space.

Comparison of sparsity methods

HAM is an algorithm that alternates between two steps:

  • The Standard Step (GD): A normal update from any first-order optimizer (like SGD or Adam). This step "nudges" the parameter away from zero if the gradient suggests a sign flip is needed, acting as an "escape hatch" from the vanishing metric bottleneck.
  • The Hyperbolic Step (HYP*): A lightweight exponential update: $$\theta_{k+1} = \theta_{k+1/2} \odot \exp(-\eta (\alpha \text{ sign}(\theta_{k+1/2})\nabla f(\theta_k) + \beta))$$ Here, $\alpha$ controls the "hyperbolic awareness" (how much it cares about the geometry), and $\beta$ acts as a controllable weight decay.

Because HAM reuses existing gradients and signs, it adds negligible computational cost and zero extra parameters compared to standard training, while successfully enabling sign flips and maintaining an implicit sparsity bias.

Experimental Setup

The authors evaluated HAM across a diverse range of benchmarks:

  • Computer Vision: ImageNet-1K (ResNet50, DeiT-Small) and CIFAR-100 (ResNet18).
  • Large Language Models: Llama 3.2 (1B and 3B models) using LoRA fine-tuning on the Commonsense Reasoning benchmark.
  • Graph Neural Networks: 4 graph classification tasks and 13 node classification benchmarks using GCN, GAT, and GraphSAGE architectures.
  • Synthetic: Underdetermined linear regression for theoretical verification.

Key Insights and Results

  • Interpolating Bias: The authors prove that HAM’s implicit bias interpolates between $L_2$ (dense/Gaussian) and $L_1$ (sparse/Laplace) depending on the hyperparameter $\alpha$. As $\alpha \to \infty$, it behaves like an $L_1$ regularizer.
  • Complementary to SAM: Sharpness-Aware Minimization (SAM) looks for "flat" minima to improve generalization. HAM improves generalization through sparsity and better sign learning. The paper shows that SAM + HAM outperforms either method alone, suggesting they solve different generalization problems.
  • Dense Training Boost: On ImageNet-1K with a ResNet50, HAM improved Top-1 accuracy from 76.72% to 77.51% (100 epochs). When combined with SAM, it reached 78.56% (200 epochs).
  • Sparse Training SOTA: HAM significantly boosted state-of-the-art sparsification methods. For example, using the AC/DC method at 90% sparsity on ImageNet, HAM increased accuracy from 74.75% to 76.66%.
  • LLM Fine-tuning: Adding HAM to LoRA fine-tuning for Llama 3.2 (3B) improved average accuracy across commonsense tasks from 78.39% to 78.85%.
  • Sign Flips Confirmed: Experimental tracking showed that HAM consistently performs more successful parameter sign flips than both standard baselines and previous hyperbolic methods, confirming it solves the "stuck at zero" bottleneck.

Limitations and Future Work

  • Hyperparameter Sensitivity: HAM introduces two new hyperparameters ($\alpha$ and $\beta$). While the authors found stable ranges (e.g., $\alpha=200$ worked well for most vision tasks), different architectures like GNNs required different tuning.
  • Discretization Limits: At extremely high $\alpha$ values, the exponential update requires very small learning rates to remain stable, which can limit how strongly one can enforce the $L_1$ bias in practice.
  • Future Directions: The authors suggest exploring whether different "mirror maps" could create task-specific awareness (e.g., for robustness) or integrating HAM more deeply with momentum and normalization techniques.

Summary updated

BibTeX
@inproceedings{jacobs2026hyperbolic,
  author = {Tom Jacobs and Advait Gadhikar and Celia Rubio-Madrigal and Rebekka Burkholz},
  title = {{Hyperbolic Aware Minimization: Implicit Bias for Sparsity}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=XKB5Hu0ACY},
}
Figure