Block Coordinate Descent Methods for Optimization under J-Orthogonality Constraints with Applications

Di He, Ganzhao Yuan, Xiao Wang, Pengxiang Xu · Submission to ICLR 2025 · Rejected

TL;DR

Optimizing over non-compact pseudo-orthogonal manifolds—specifically matrices satisfying the hyperbolic constraint $X^\top J X = J$—is notoriously difficult due to non-convexity and costly projections. This paper introduces JOBCD, the first block coordinate descent framework tailored to $J$-orthogonality constraints, offering both a sequential Gauss-Seidel variant with exact closed-form 2×2 subproblem solutions and a parallel, variance-reduced Jacobi variant that scales efficiently to finite-sum objectives.

What Problem Does This Paper Address?

In hyperbolic and pseudo-Riemannian machine learning (e.g., hyperbolic PCA, graph embeddings, structural syntax probes), models frequently require matrix parameters $X \in \mathbb{R}^{n \times n}$ to preserve an indefinite metric signature: $$X^\top J X = J, \quad \text{where } J = \begin{bmatrix} I_p & 0 \\ 0 & -I_{n-p} \end{bmatrix}$$ Unlike standard orthogonal constraints ($X^\top X = I$), the $J$-orthogonal group is non-compact and unbounded. Standard manifold optimization algorithms struggle because Euclidean projections onto this constraint are non-trivial and expensive (precluding standard QR or polar retractions).

Existing methods rely on full CS-decomposition parameterizations (which discard degrees of freedom), penalty-based multiplier corrections, or ADMM. These existing baselines often diverge, violate constraints, or stall in sub-optimal critical points.

Methods

The authors propose JOBCD (J-Orthogonal Block Coordinate Descent) using majorization-minimization over coordinate pairs:

  1. Gauss-Seidel JOBCD (GS-JOBCD):
  2. In each step, it selects a 2-coordinate working set $B \subset [n]$ and updates $X_{t+1}(B, :) = V X_t(B, :)$, where $V \in \mathbb{R}^{2 \times 2}$ satisfies $V^\top J_{BB} V = J_{BB}$.
  3. Using a surrogate upper bound, the 2×2 subproblem is mapped via a hyperbolic CS decomposition parameterization ($V$ parameterized by $\cosh \mu, \sinh \mu$) to an unconstrained 1D search.
  4. Remarkably, its stationary points reduce to finding real roots of a quartic polynomial, solved globally and in closed form via Ferrari’s method in $\mathcal{O}(1)$ time.
  5. Variance-Reduced Jacobi JOBCD (VR-J-JOBCD):
  6. For finite-sum objectives $\frac{1}{N}\sum_{i=1}^N f_i(X)$, the algorithm partitions all $n$ indices into $n/2$ disjoint pairs and updates them simultaneously in parallel.
  7. It incorporates a PAGE-like recursive stochastic gradient estimator: full gradients are computed with probability $p = \frac{b'}{b + b'}$, and small mini-batch difference steps are taken with probability $1 - p$.
  8. This improves the oracle arithmetic complexity from $\mathcal{O}\left(\frac{\Delta_0 N}{\epsilon}\right)$ to $\mathcal{O}\left(nN + \frac{\Delta_0 \sqrt{N}}{\epsilon}\right)$.
  9. Theoretical Guarantees:
  10. The authors formally define the first-order Riemannian optimality condition: $\nabla_J f(X) = 0 \iff X (\nabla f(X))^\top J$ is symmetric.
  11. Under the Kurdyka-Łojasiewicz (KL) inequality, iterates are proven to satisfy a finite-length property ($\sum_{t=1}^\infty \|X_{t+1} - X_t\|_F < \infty$), guaranteeing convergence to a single stationary point.

Datasets

The authors evaluated JOBCD across three domain benchmarks:

  • Hyperbolic Eigenvalue Problem (HEVP) & Structural Probes (HSPP): Tested on standard synthetic and real-world tabular/image/text benchmark splits, including CIFAR, CnnCaltech, Gisette, MNIST, 20News, News20, Sector, TDT2, w1a, and synthetic Gaussian data (randn).
  • Ultra-hyperbolic Knowledge Graph Embeddings (UltraE): Evaluated on standard relational link prediction benchmarks FB15k and WN18RR.

Key Insights and Ideas

  • Exact, Closed-Form Subproblems: By restricting block updates to 2×2 sub-matrices, the non-convex $J$-orthogonal constraint avoids iterative approximations or retractions altogether. Lodovico Ferrari’s 16th-century quartic formula delivers exact global optima for each coordinate step.
  • Stronger Stationarity (BS-Points): The paper defines Block Stationary Points (BS-points) and proves that every BS-point is a Riemannian critical point, but not vice versa. Because JOBCD solves each 2×2 block globally, it routinely escapes shallow saddle points and local minima where first-order relaxation methods (like ADMM and multiplier corrections) get trapped.
  • Feasible by Construction: Every update strictly preserves the pseudo-metric $X^\top J X = J$ up to machine precision without needing penalty hyperparameter tuning or infeasible intermediate steps.

Key Results

  • Constraint Satisfaction: In HEVP benchmarks, relaxation methods like ADMM and UMCM frequently suffered severe constraint violations (errors exceeding $10^{-5}$ to $>10^0$). Both GS-JOBCD and J-JOBCD maintained machine-level feasibility (typically $10^{-8}$ to $10^{-10}$ error).
  • Optimization Quality: On HEVP, running GS-JOBCD as a post-processor on solutions found by CSDM, UMCM, or ADMM consistently deepened objective minimization (e.g., improving CIFAR objectives from $-1.07 \times 10^4$ to $-6.97 \times 10^4$).
  • Sample Efficiency in Large Datasets: On structural probe tasks and knowledge graph completion (FB15k/WN18RR), VR-J-JOBCD significantly outperformed standard CSDM and unaccelerated Jacobi schemes in epoch convergence, yielding superior Mean Reciprocal Rank (MRR) and Hits@$K$ scores.

Limitations and Future Work

  • Double Backpropagation Overhead: In the variance-reduced variant (VR-J-JOBCD), each step requires evaluating two gradient instances for stochastic recursive updates. On small datasets, this per-iteration computational cost occasionally offsets the theoretical reduction in iteration complexity compared to plain J-JOBCD.
  • Surrogate Matrix Restrictions: To decouple coordinate blocks for parallel execution in Jacobi updates, the majorization matrix $Q$ must be chosen isotropic ($Q = \varsigma I$), which can yield looser bounds compared to full quadratic Gauss-Seidel updates.
  • Extension to Rectangular Matrices: The formulation currently assumes square transformations $X \in \mathbb{R}^{n \times n}$; extending the closed-form coordinate updates to rectangular isometric projections ($X \in \mathbb{R}^{n \times k}$, $k < n$) remains an open direction.

Summary updated

Abstract

The J-orthogonal matrix, also referred to as the hyperbolic orthogonal matrix, is a class of special orthogonal matrix in hyperbolic space, notable for its advantageous properties. These matrices are integral to optimization under J-orthogonal constraints, which have widespread applications in statistical learning and data science. However, addressing these problems is generally challenging due to their non-convex nature and the computational intensity of the constraints. Currently, algorithms for tackling these challenges are limited. This paper introduces \textbf{JOBCD}, a novel Block Coordinate Descent method designed to address optimizations with J-orthogonality constraints. We explore two specific variants of \textbf{JOBCD}: one based on a Gauss-Seidel strategy (\textbf{GS-JOBCD}), the other on a variance-reduced and Jacobi strategy (\textbf{VR-J-JOBCD}). Notably, leveraging the parallel framework of a Jacobi strategy, \textbf{VR-J-JOBCD} integrates variance reduction techniques to decrease oracle complexity in the minimization of finite-sum functions. For both \textbf{GS-JOBCD} and \textbf{VR-J-JOBCD}, we establish the oracle complexity under mild conditions and strong limit-point convergence results under the Kurdyka-Lojasiewicz inequality. To demonstrate the effectiveness of our method, we conduct experiments on hyperbolic eigenvalue problems, hyperbolic structural probe problems, and the ultrahyperbolic knowledge graph embedding problem. Extensive experiments using both real-world and synthetic data demonstrate that \textbf{JOBCD} consistently outperforms state-of-the-art solutions, by large margins.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
HEVP, cifar (1000-100-50)GS-JOBCDHEVP objective-1.03e+0590 s time limit; objective minimization; randomly extracted dataset subset; (m,n,p)=(10…
Source quote
L360: cifar(1000-100-50) │ -1.05e+04(3.0e-09) │ -1.05e+04(3.0e-09) │ -5.28e+04(5.4e-09) │ {\color[HTML]{5B9BD5} -1.03e+05(2.6e-08)} │ {\color[HTML]{70AD47} -1.11e+05(1.4e-07)} │ {\color[HTML]{FF0000} -1.24e+05(2.6e-08)(+)}
HEVP, cifar (1000-100-50)CSDMHEVP objective-5.28e+0490 s time limit; objective minimization; randomly extracted dataset subset; (m,n,p)=(10…
Source quote
L360: cifar(1000-100-50) │ -1.05e+04(3.0e-09) │ -1.05e+04(3.0e-09) │ -5.28e+04(5.4e-09) │ {\color[HTML]{5B9BD5} -1.03e+05(2.6e-08)} │ {\color[HTML]{70AD47} -1.11e+05(1.4e-07)} │ {\color[HTML]{FF0000} -1.24e+05(2.6e-08)(+)}
HEVP, gisette (3000-1000-500)GS-JOBCDHEVP objective-9.49e+0690 s time limit; objective minimization; randomly extracted dataset subset; (m,n,p)=(30…
Source quote
L362: gisette(3000-1000-500) │ -3.22e+06(3.1e-10) │ -3.22e+06(3.1e-10) │ -8.53e+06(4.9e-10) │ {\color[HTML]{5B9BD5} -9.49e+06(1.2e-09)} │ {\color[HTML]{FF0000} -1.36e+07(2.6e-08)} │ {\color[HTML]{70AD47} -9.65e+06(7.9e-10)(+)}
HEVP, gisette (3000-1000-500)CSDMHEVP objective-8.53e+0690 s time limit; objective minimization; randomly extracted dataset subset; (m,n,p)=(30…
Source quote
L362: gisette(3000-1000-500) │ -3.22e+06(3.1e-10) │ -3.22e+06(3.1e-10) │ -8.53e+06(4.9e-10) │ {\color[HTML]{5B9BD5} -9.49e+06(1.2e-09)} │ {\color[HTML]{FF0000} -1.36e+07(2.6e-08)} │ {\color[HTML]{70AD47} -9.65e+06(7.9e-10)(+)}
HEVP, TDT2 (1000-1000-500)GS-JOBCDHEVP objective-1.05e+0790 s time limit; objective minimization; randomly extracted dataset subset; (m,n,p)=(10…
Source quote
L368: TDT2(1000-1000-500) │ -4.25e+06(3.1e-10) │ -4.25e+06(3.1e-10) │ -9.39e+06(4.8e-10) │ {\color[HTML]{70AD47} -1.05e+07(1.1e-09)} │ {\color[HTML]{FF0000} -1.42e+07(2.1e-08)} │ {\color[HTML]{5B9BD5} -1.04e+07(6.5e-10)(+)}
HEVP, TDT2 (1000-1000-500)CSDMHEVP objective-9.39e+0690 s time limit; objective minimization; randomly extracted dataset subset; (m,n,p)=(10…
Source quote
L368: TDT2(1000-1000-500) │ -4.25e+06(3.1e-10) │ -4.25e+06(3.1e-10) │ -9.39e+06(4.8e-10) │ {\color[HTML]{70AD47} -1.05e+07(1.1e-09)} │ {\color[HTML]{FF0000} -1.42e+07(2.1e-08)} │ {\color[HTML]{5B9BD5} -1.04e+07(6.5e-10)(+)}
BibTeX
@misc{he2024block,
  author = {Di He and Ganzhao Yuan and Xiao Wang and Pengxiang Xu},
  title = {{Block Coordinate Descent Methods for Optimization under J-Orthogonality Constraints with Applications}},
  year = {2024},
  eprint = {2406.09771},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.09771},
}
Figure