Riemannian Optimization for Hadamard Products of Low-Rank Matrices

Pratik Jawanpuria, Ankish Chandresh, Bamdev MishraarXiv 2026

TL;DR

This paper introduces a Riemannian optimization framework for learning the elementwise (Hadamard) product of two low-rank matrices. By modeling the problem on a Riemannian quotient manifold, the authors successfully factor out complex scaling and reparameterization symmetries, delivering a flexible algorithm that handles arbitrary smooth loss functions while scaling linearly with the number of observed entries.

What Problem Does This Paper Address?

Low-rank matrix factorizations are foundational to machine learning, but certain complex datasets with multiplicative interactions are better modeled by the elementwise (Hadamard) product of two distinct low-rank matrices: $W = (GH^\top) \circ (UV^\top)$. While highly parameter-efficient, this structure introduces severe optimization challenges.

Beyond standard general linear (GL) reparameterization invariance, the Hadamard product is invariant under coupled row and column scalings between the two factor pairs. This creates an intricate, ill-conditioned optimization landscape. Existing methods either ignore this geometry entirely (like standard Euclidean gradient descent) or are strictly limited to quadratic least-squares losses (like Block Coordinate Descent, BCD), leaving no robust option for non-quadratic losses like cross-entropy or robust objectives.

Methods

The authors elevate the problem to optimization on a Riemannian quotient manifold that explicitly eliminates both the GL reparameterization and the cross-Hadamard scaling symmetries.

Key innovations include:

  1. Hadamard-Weighted Metric: A novel block-diagonal Riemannian metric derived by retaining only the block-diagonal parts of the pullback of the Frobenius inner product. This decouples parameter updates into independent $r \times r$ linear systems per row/column, acting as a computationally efficient Gauss-Newton preconditioner.
  2. Riemannian Gradient Descent (RGD): An algorithm utilizing the new metric alongside a tuning-free Gauss-Newton Cauchy step size, ensuring stable descent without manual step-size tuning.
  3. Riemannian Trust-Region (RTR): A second-order method leveraging a closed-form Levi-Civita connection and Riemannian Hessian expression to capture exact curvature information.

Datasets

The framework was validated across several distinct data regimes:

  • Real-World Fully Observed Matrices: Camera (a 256×256 grayscale image), Football (a 115×115 network adjacency matrix), and Les Misérables (a 77×77 character co-appearance network).
  • Synthetic Datasets: 2,000×1,000 ground-truth targets used for stress-testing factor conditioning, scale separation, and noise robustness.
  • MovieLens-1M: A collaborative filtering dataset (6,040 users × 3,706 movies, 4.5% density) used for both masked matrix completion (least-squares) and binary logistic link prediction (non-quadratic cross-entropy loss).

Key Insights and Ideas

  • Symmetry as a Feature, Not a Bug: Instead of letting coupled row/column scaling destabilize Euclidean gradients, quotienting them out creates an optimization space where the optimizer is completely insensitive to arbitrary magnitude splits between the factors.
  • Loss-Agnostic Preconditioning: By extracting the block-diagonal elements of the pullback metric, the authors recover the powerful preconditioning properties of BCD's normal equations but express them as a Riemannian metric. This decouples the geometry from the loss function, allowing BCD-like acceleration on non-quadratic losses (e.g., logistic cross-entropy).
  • Linear Scaling for Sparse Data: Unlike concurrent second-order manifold methods that require reconstructing full dense matrices ($O(mnr)$), the proposed RGD/RTR framework scales linearly with the number of observed entries ($O(Nr)$), making it highly practical for sparse matrix completion.

Key Results

  • Least-Squares Equivalence: On standard matrix approximation tasks, RGD tracks the performance of BCD closely, significantly outperforming standard Alternating Gradient Descent (AGD) as the rank increases.
Relative error vs rank on real datasets
  • Empirical Scale Invariance: Robustness tests empirically verified that RGD produces identical final errors regardless of the scale separation ($\kappa_{scale}$), showing perfect flat lines in error plots where Euclidean methods degrade.
Scale invariance comparison
  • Beyond Least-Squares: For logistic link prediction on MovieLens-1M (where BCD cannot be applied), RGD improved held-out AUC-ROC by 5 to 7 percentage points over AGD, converging significantly faster within the same wall-clock budget.
Convergence on MovieLens-1M logistic prediction
  • Second-Order Parity: The RTR method matched the accuracy of concurrent state-of-the-art second-order methods (Gillis et al.) while offering superior computational complexity for sparse data completion.

Limitations and Future Work

  • Unexploited Symmetries: The effective quotiented group handles the natural symmetries (GL and cross-Hadamard scaling), but the Hadamard model may admit further non-identifiabilities that are not yet exploited by the metric.
  • Isotropic Factor Challenges: The optimization landscape at perfectly isotropic factors ($\kappa_{cond}=1$) remains challenging due to symmetrically equivalent local minima, where all tested solvers struggled to find the global optimum.
  • Future Directions: Promising directions include extending this framework to tensor decompositions or exploring its application in parameter-efficient fine-tuning (PEFT) architectures for large language models.

Summary updated

BibTeX
@misc{jawanpuria2026riemannian,
  author = {Pratik Jawanpuria and Ankish Chandresh and Bamdev Mishra},
  title = {{Riemannian Optimization for Hadamard Products of Low-Rank Matrices}},
  year = {2026},
  eprint = {2606.01216},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.01216},
}
Figure