A semi-analytical approach for the positive semidefinite Procrustes problem

Nicolas Gillis, Punit Sharma

TL;DR

This paper introduces a "semi-analytical" framework to solve the Positive Semidefinite Procrustes (PSDP) problem—a notoriously tricky matrix optimization task. By reducing the original problem to a much smaller diagonal subproblem and combining it with a novel recursive initialization and the Fast Gradient Method, the authors achieve linear convergence and significant speedups over existing state-of-the-art solvers.

What Problem Does This Paper Address?

The Procrustes problem is a classic in linear algebra: given two matrices $X$ and $B$, find a matrix $A$ that "maps" $X$ to $B$ as closely as possible (minimizing the error $\|AX - B\|_F$). While the standard version is easy to solve, adding the constraint that $A$ must be symmetric positive semidefinite (PSD)—meaning $A = A^T$ and all its eigenvalues are non-negative—makes it much harder.

This specific flavor, the PSDP problem, is vital in fields like structural engineering (recovering compliance matrices for elastic structures) and signal processing. Historically, there was no general exact solution. Researchers had to rely on iterative numerical solvers that could be slow, especially when the matrices were large, rank-deficient, or "ill-conditioned" (where some data points are much more sensitive than others).

Methods

The authors propose a three-pronged approach:

  1. Semi-Analytical Reduction: Using Singular Value Decomposition (SVD), they prove that the original $n \times n$ problem can be reduced to a smaller $r \times r$ problem, where $r$ is the rank of $X$. If $X$ is rank-deficient ($r \ll n$), this drastically shrinks the computational workload.
  2. Recursive Initialization: For cases where the reduced matrix is ill-conditioned, the authors developed a "divide and conquer" strategy. They recursively partition the ill-conditioned matrix into smaller, well-conditioned blocks to find a high-quality starting point for the solver.
  3. Fast Gradient Method (FGM): They employ an optimal first-order optimization method. Because the reduced problem is "strongly convex," FGM is guaranteed to converge to the solution at a linear rate, which is much faster than standard gradient descent.

Crucially, the paper also provides a complete characterization of cases where an optimal solution doesn't technically exist (the "infimum" is not attained) and offers a way to find arbitrarily accurate approximations.

Datasets

The authors evaluated their approach using synthetic datasets designed to stress-test numerical algorithms:

  • Gaussian and Uniform Random Matrices: Used to test general performance.
  • Well-conditioned vs. Ill-conditioned Matrices: Matrices with varying "condition numbers" (up to $10^4$) to see how the solver handles sensitive data.
  • Rank-deficient Matrices: Scenarios where the rank of $X$ is significantly smaller than its dimensions, highlighting the benefits of their reduction technique.

Key Insights and Ideas

  • The Power of Reduction: The "aha moment" is that you don't need to solve for the entire large matrix $A$ at once. By focusing on the subspace defined by the rank of $X$, you can solve a tiny version of the problem and then "lift" that solution back to the original space.
  • Handling the "Unattainable": In some geometric configurations, the "best" matrix $A$ is actually at the limit of a sequence (like trying to reach a point on a boundary that isn't part of the set). The authors provide the first constructive way to handle these edge cases analytically.
  • Initialization Matters: Most solvers start at zero or a random point. The authors showed that their recursive block-diagonal initialization provides a massive head start, especially for difficult, ill-conditioned problems.

Key Results

  • Speed: For rank-deficient problems, their method (AN-FGM) is orders of magnitude faster than standard methods. For example, in some tests, it took ~0.36 seconds compared to ~5.33 seconds for standard FGM.
  • Scalability: While second-order interior-point methods (like SDPT3) are very accurate, they crash or become impractical as matrix sizes grow (e.g., $n=200$). AN-FGM handles these larger scales with ease.
  • Convergence: The method consistently achieves lower relative error in fewer iterations than "ParTan" (Parallel Tangents) or standard Gradient Descent, particularly on ill-conditioned data.

Limitations and Future Work

  • The "Semi" in Semi-Analytical: While the reduction is analytical, the resulting $r \times r$ diagonal subproblem still requires a numerical solver (FGM). A purely closed-form analytical solution for that subproblem remains an open challenge.
  • Parameter Tuning: The Fast Gradient Method requires an initial step-size parameter ($\alpha_0$). While the authors suggest a default, they note that automatically tuning this could further improve performance in specific edge cases.
  • Real-world Validation: The paper focuses on the mathematical framework and synthetic benchmarks; applying this specifically to large-scale structural engineering data would be a natural next step.

Summary updated

Abstract

The positive semidefinite Procrustes (PSDP) problem is the following: given rectangular matrices $X$ and $B$, find the symmetric positive semidefinite matrix $A$ that minimizes the Frobenius norm of $AX-B$. No general procedure is known that gives an exact solution. In this paper, we present a semi-analytical approach to solve the PSDP problem. First, we characterize completely the set of optimal solutions and identify the cases when the infimum is not attained. This characterization requires the unique optimal solution of a smaller PSDP problem where $B$ is square and $X$ is diagonal with positive diagonal elements. Second, we propose a very efficient strategy to solve the PSDP problem, combining the semi-analytical approach, a new initialization strategy and the fast gradient method. We illustrate the effectiveness of the new approach, which is guaranteed to converge linearly, compared to state-of-the-art methods.
BibTeX
@inproceedings{gillis2017semi,
  author = {Nicolas Gillis and Punit Sharma},
  title = {{A semi-analytical approach for the positive semidefinite Procrustes problem}},
  booktitle = {Linear},
  year = {2017},
  doi = {10.1016/j.laa.2017.11.023},
}
Figure