cs.LGMar 10, 2026

GSVD for Geometry-Grounded Dataset Comparison: An Alignment Angle Is All You Need

Authors: Eduarda de Souza Marques, Arthur Sobrinho Ferreira da Rocha, Joao Paixao, Heudson Mirandola, Daniel Sadoc Menasche

Organizations: Institute of Computing, UFRJ · Institute of Mathematics, UFRJ

Abstract

Geometry-grounded learning asks models to respect structure in the problem domain rather than treating observations as arbitrary vectors. Motivated by this view, we revisit a classical but underused primitive for comparing datasets: linear relations between two data matrices, expressed via the co-span constraint Ax=By=zAx = By = z in a shared ambient space. To operationalize this comparison, we use the generalized singular value decomposition (GSVD) as a joint coordinate system for two subspaces. In particular, we exploit the GSVD form A=HCUA = HCU, B=HSVB = HSV with C⊤C+S⊤S=IC^{\top}C + S^{\top}S = I, which separates shared versus dataset-specific directions through the diagonal structure of (C,S)(C, S). From these factors we derive an interpretable angle score θ(z)∈[0,π/2]θ(z) \in [0, π/2] for a sample zz, quantifying whether z is explained relatively more by AA, more by BB, or comparably by both. The primary role of θ(z)θ(z) is as a per-sample geometric diagnostic. We illustrate the behavior of the score on MNIST through angle distributions and representative GSVD directions. A binary classifier derived from θ(z)θ(z) is presented as an illustrative application of the score as an interpretable diagnostic tool.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Rashomon Alignment

    Jul 28, 2026Moisés Santos, Peter van der Putten, Bernhard Pfahringer +1

  2. idSCD: Identifying Training Datasets through Semantic Correlation Descriptors

    May 28, 2026Andrada Gobeaja, Ionut Hodoroaga, Marius Leordeanu +1Membership Inference AttacksSpurious Correlation