Papers
Topics
Authors
Recent
Search
2000 character limit reached

Vector-Valued Distance on SPD

Updated 14 November 2025
  • The paper introduces a vector-valued distance that fully characterizes the relative position between SPD matrices via eigen-log decomposition.
  • The topic is defined as the study of SPD matrices viewed as a Riemannian manifold, where the vector-valued distance encodes multi-directional geometric displacements.
  • The computation utilizes eigendecomposition under an affine-invariant Riemannian metric, ensuring isometric invariance and consistency with scalar distance norms.

The vector-valued distance (VVD) on the manifold of symmetric positive definite matrices, denoted SPDₙ, provides a complete Riemannian invariant that encodes the full relative position of two points in the space. Unlike scalar Riemannian distances, the VVD delivers a higher-fidelity geometrical descriptor that supports both theoretical analysis and practical applications in manifold learning, geometric representation, and information geometry.

1. Geometric Structure of SPDₙ

SPDₙ is the set

SPDn={PRn×nP=P,    xPx>0  x0}SPDₙ = \{ P \in \mathbb{R}^{n \times n} \mid P^\top = P,\;\;x^\top P x > 0 \;\forall\,x\neq0 \}

comprising all real, symmetric, positive definite n×nn \times n matrices. As a manifold, SPDₙ is smooth and of dimension n(n+1)/2n(n+1)/2, with tangent space at PP identified as TPSPDnSnT_PSPDₙ \cong Sₙ, where SnSₙ is the vector space of real symmetric matrices.

The manifold possesses a rich structure as a Riemannian symmetric space. The general linear group GL(n)GL(n) acts transitively by congruence: ΦM(P)=MPM,MGL(n),\Phi_M(P) = M P M^\top, \quad M \in GL(n), preserving the Riemannian structure by isometries. This action partitions into “translations” by MSPDnM \in SPDₙ (no fixed point), “rotations” by QO(n)Q \in O(n) (fixing the identity matrix n×nn \times n0), and the involutive “reflection” n×nn \times n1.

The affine-invariant Riemannian metric is given by

n×nn \times n2

for n×nn \times n3. Isometries under n×nn \times n4 manifest as

n×nn \times n5

2. Construction of the Vector-Valued Distance

For n×nn \times n6, the VVD produces a vector in n×nn \times n7 that characterizes the displacement from n×nn \times n8 to n×nn \times n9. The construction proceeds as follows:

  • Compute n(n+1)/2n(n+1)/20, which belongs to n(n+1)/2n(n+1)/21 and is thus diagonalisable.
  • Perform an orthogonal eigendecomposition:

n(n+1)/2n(n+1)/22

where n(n+1)/2n(n+1)/23, n(n+1)/2n(n+1)/24.

  • The Riemannian logarithm at the identity coincides with the matrix logarithm:

n(n+1)/2n(n+1)/25

  • By definition (Lopez et al. §2.2), the vector-valued distance is

n(n+1)/2n(n+1)/26

with ordering n(n+1)/2n(n+1)/27 ensuring placement in the “positive Weyl chamber.”

Each component n(n+1)/2n(n+1)/28 measures the signed expansion along the n(n+1)/2n(n+1)/29-th eigendirection, offering directional decomposition of displacement within the non-Euclidean geometry.

3. Properties of the Vector-Valued Distance

The VVD encapsulates several distinguished geometric and algebraic properties:

  • Isometric Invariance: For any isometry PP0 mapping PP1 to PP2, PP3 and PP4 share the spectrum, ensuring PP5. Conversely, equal VVD vectors imply the pairs are isometric.
  • Anti-symmetry (up to permutation): The displacement reverses sign (up to order reversal): if the eigenvalues of PP6 are PP7, then those of PP8 are PP9, yielding

TPSPDnSnT_PSPDₙ \cong Sₙ0

after reordering.

  • Triangle (Majorization) Property: For all TPSPDnSnT_PSPDₙ \cong Sₙ1,

TPSPDnSnT_PSPDₙ \cong Sₙ2

with TPSPDnSnT_PSPDₙ \cong Sₙ3 the majorization order on TPSPDnSnT_PSPDₙ \cong Sₙ4. This property subsumes the ordinary triangle inequality under any symmetric norm.

  • Complete Invariant: The VVD provides a complete isometry-invariant between pairs in TPSPDnSnT_PSPDₙ \cong Sₙ5; no geometric information is lost.

4. Connection to Scalar Distance and Norms

The classical affine-invariant Riemannian distance emerges as the TPSPDnSnT_PSPDₙ \cong Sₙ6-norm of the VVD: TPSPDnSnT_PSPDₙ \cong Sₙ7 More generally, all TPSPDnSnT_PSPDₙ \cong Sₙ8-norms of TPSPDnSnT_PSPDₙ \cong Sₙ9, invariant under coordinate permutations, yield Finsler metrics on SnSₙ0 with the same group of isometries. Examples include: \begin{align*} d_{F_1}(P, Q) & = \sum_{i=1}n |\log \lambda_i|, \ d_{F_\infty}(P, Q) & = \max_{i} |\log \lambda_i|. \end{align*} This structure generalizes the interpretation of distance beyond scalar length to encompass multi-directional geometric information.

5. Extension to General Symmetric Spaces

The vector-valued distance admits generalization to all noncompact Riemannian symmetric spaces SnSₙ1 of rank SnSₙ2: SnSₙ3 defined by selecting a maximal flat through a reference point, conjugating an argument into it, and reading “log-coordinates.” SPDₙ forms a canonical instance with SnSₙ4. Analogous constructions apply to Grassmannians, orthogonal groups, and beyond, rooting in the general Lie-theoretic setting of Weyl chambers and Cartan subalgebras (see Helgason (1978); Kapovich–Leeb–Porti (2017)).

6. Algorithmic Computation of VVD

The computation of the VVD between SnSₙ5 proceeds via the following pseudocode:

  1. Compute SnSₙ6 (this may be solved as SnSₙ7).
  2. Perform eigendecomposition:

SnSₙ8

  1. Assemble SnSₙ9 by GL(n)GL(n)0 for GL(n)GL(n)1.
  2. Return GL(n)GL(n)2.

The dominant computational cost arises from the eigendecomposition, which is GL(n)GL(n)3. Implementation details, proofs, and further algorithmic considerations are discussed in the appendices of Lopez et al. (2021).

7. Applications and Visualization

The VVD supports a spectrum of applications in geometric representation learning. In tasks such as knowledge graph completion, item recommendation, and question answering, models utilizing SPDₙ and its VVD-based geometry demonstrate improved performance relative to analogous Euclidean and hyperbolic architectures. The vector-valued structure of the VVD also enables direct visualization of learned embeddings, revealing clear separation between positive and negative samples.

A plausible implication is enhanced interpretability: the decomposition of distances along Weyl chamber directions provides insights into how complex data relationships unfold in high-rank, non-Euclidean spaces.


For a rigorous treatment of the geometric and algebraic properties, as well as applications and proof details, see the full development and appendices in "Vector-valued Distance and Gyrocalculus on the Space of Symmetric Positive Definite Matrices" (López et al., 2021).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Vector-Valued Distance on RSS.