Geometric Moment Alignment for Domain Adaptation via Siegel Embeddings

Shayan Gharib, Marcelo Hartmann, Arto Klami · DOI

Abstract

Unsupervised Domain Adaptation (UDA) aims to mitigate covariate shift by aligning source and target distributions in a shared feature space. Traditional moment-matching techniques often rely on Euclidean distances, which fail to capture the intrinsic geometry of statistical moments. This paper proposes GeoAdapt, a framework that leverages Siegel embeddings to represent means and covariances as single points on a Symmetric Positive Definite (SPD) manifold. By utilizing Riemannian distances—specifically the Affine-Invariant Riemannian Distance (AIRD) and the computationally efficient Hilbert Projective Distance (HPD)—the proposed method achieves superior distribution alignment. Experimental results on benchmarks like Office-31 and VisDA-2017 demonstrate that respecting the manifold's curvature leads to significant improvements in adaptation accuracy and robustness.

Introduction

In machine learning, models often struggle with covariate shift, where the distribution of input data changes between the training (source) and deployment (target) environments. Unsupervised Domain Adaptation (UDA) addresses this by aligning these distributions. A common approach is moment matching, which minimizes the discrepancy between the first and second-order moments (mean and covariance) of the source and target features.

However, standard methods typically treat these moments as vectors in a flat Euclidean space. This paper argues that the space of means and covariances is naturally a curved Riemannian manifold. Ignoring this underlying geometry can lead to suboptimal alignment, particularly when data distributions are complex or low-rank.

Methodology: Siegel Embeddings and Riemannian Geometry

The core of the GeoAdapt framework is the transformation of statistical moments into a geometric representation that can be optimized on a manifold.

Siegel Embeddings

Instead of aligning means and covariances independently, the authors use a mathematical construction known as a Siegel embedding. This technique fuses the mean vector $\mu$ and the covariance matrix $\Sigma$ into a single $(n+1) \times (n+1)$ Symmetric Positive Definite (SPD) matrix. This allows the entire distribution structure to be represented as a single point on the SPD manifold, facilitating simultaneous adaptation of all moments.

Visual representation of Siegel embeddings and the different Riemannian paths on the manifold.

Riemannian Distances

To measure the distance between the source and target embeddings on the manifold, the authors explore two primary metrics:

  1. Affine-Invariant Riemannian Distance (AIRD): A rigorous metric that preserves the internal structure of SPD matrices but is computationally intensive due to eigenvalue calculations.
  2. Hilbert Projective Distance (HPD): A more efficient alternative that approximates the geodesic distance using only the extreme eigenvalues. The paper provides a formal proof connecting HPD to the upper bound of the target domain error, providing theoretical grounding for its use.

Minimizing these distances ensures that the model remains "aware" of the true shape of the data distribution, preventing the distortions common in Euclidean alignment.

Experimental Results

The authors evaluated GeoAdapt across several benchmarks, including image denoising (MNIST, Fashion-MNIST) and image classification (Office-31, VisDA-2017).

Performance on Office-31

On the standard Office-31 benchmark, which involves domain shifts between Amazon web photos, DSLR images, and webcam captures, GeoAdapt demonstrated clear superiority over existing moment-matching baselines.

Comparison of GeoAdapt against baseline methods on the Office-31 dataset. GeoAdapt-AIRD achieves the highest average accuracy.

As shown in the table above, GeoAdapt-AIRD achieved an average accuracy of 78.9%, outperforming established methods like MECA (76.3%) and HoMM (76.8%). The results indicate that geometric alignment is particularly effective for challenging shifts like Webcam to Amazon (W→A).

Large-Scale and Denoising Tasks

On the VisDA-2017 synthetic-to-real challenge, the geometric approach reached 74.8% accuracy, a notable lead over the next best moment-matching baseline (73.6%). In unsupervised denoising tasks on MNIST, the method reduced reconstruction errors significantly (0.059 for GeoAdapt-HPD vs. 0.073 for standard CMD), proving its versatility across different types of domain adaptation problems.

Discussion and Conclusion

The success of GeoAdapt highlights the importance of respecting the intrinsic geometry of data distributions. By treating means and covariances as points on a Riemannian manifold via Siegel embeddings, the framework achieves more faithful alignment than Euclidean methods.

While the approach introduces some computational overhead—approximately 20% due to eigenvalue calculations—the use of the Hilbert Projective Distance offers a viable path for scaling. Furthermore, the method performs best in relatively low-dimensional latent spaces, which is computationally efficient. Future work may focus on integrating these geometric losses with adversarial training or pseudo-labeling techniques to further push the state-of-the-art in domain adaptation.

Summary updated

BibTeX
@misc{gharib2025geometric,
  author = {Shayan Gharib and Marcelo Hartmann and Arto Klami},
  title = {{Geometric Moment Alignment for Domain Adaptation via Siegel Embeddings}},
  year = {2025},
  eprint = {2510.14666},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.14666},
}
Figure