Assessing the Similarity of Real Matrices with Arbitrary Shape

Assessing the similarity of matrices is valuable for analyzing the extent to which data sets exhibit common features in tasks such as data clustering, dimensionality reduction, pattern recognition, group comparison, and graph analysis. Methods proposed for comparing vectors, such as cosine similarity, can be readily generalized to matrices. However, this approach usually neglects the inherent two-dimensional structure of matrices. Here we propose (SAS), a measure for evaluating the structural similarity between two arbitrary, real matrices of the same shape based on singular value decomposition. After introducing the measure, we compare SAS with standard measures for matrix comparison and show that only SAS captures the two-dimensional structure of matrices. Further, we characterize the behavior of SAS in the presence of noise, as a function of matrix dimensionality, and when singular values are degenerate. Finally, we apply SAS to two use cases: square nonsymmetric matrices of probabilistic network connectivity, and nonsquare matrices representing neural brain activity. For synthetic data of network connectivity, SAS matches intuitive expectations and allows for a robust assessment of similarities and differences. For experimental data of brain activity, SAS captures differences in the structure of high-dimensional responses to different stimuli. We conclude that SAS is a suitable measure for quantifying the shared structure of matrices with arbitrary shape.

Authors

Institutions

Publication Details

Journal
PRX Life
Published
2025-05-05
DOI
https://doi.org/10.1103/prxlife.3.023005
Primary Topic
Face and Expression Recognition
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Assessing the Similarity of Real Matrices with Arbitrary Shape

Jasper Albers, Robin Gutzen, Markus Diesmann, Aitor Morales-Gregorio et al.
PRX Life
Face and Expression Recognition
article

Assessing the Similarity of Real Matrices with Arbitrary Shape

Jasper Albers, Robin Gutzen, Markus Diesmann, Aitor Morales-Gregorio, Sonja Grün, Sacha J. van Albada, Michael Denker, Anno C. Kurth
article en

Abstract

Assessing the similarity of matrices is valuable for analyzing the extent to which data sets exhibit common features in tasks such as data clustering, dimensionality reduction, pattern recognition, group comparison, and graph analysis. Methods proposed for comparing vectors, such as cosine similarity, can be readily generalized to matrices. However, this approach usually neglects the inherent two-dimensional structure of matrices. Here we propose (SAS), a measure for evaluating the structural similarity between two arbitrary, real matrices of the same shape based on singular value decomposition. After introducing the measure, we compare SAS with standard measures for matrix comparison and show that only SAS captures the two-dimensional structure of matrices. Further, we characterize the behavior of SAS in the presence of noise, as a function of matrix dimensionality, and when singular values are degenerate. Finally, we apply SAS to two use cases: square nonsymmetric matrices of probabilistic network connectivity, and nonsquare matrices representing neural brain activity. For synthetic data of network connectivity, SAS matches intuitive expectations and allows for a robust assessment of similarities and differences. For experimental data of brain activity, SAS captures differences in the structure of high-dimensional responses to different stimuli. We conclude that SAS is a suitable measure for quantifying the shared structure of matrices with arbitrary shape.

PRX LifeVol. 3(2)
Forschungszentrum Jülich (DE), University of Cologne (DE), Charles University (CZ), Ernst Ruska Centre (DE), Jülich Aachen Research Alliance (DE), RWTH Aachen University (DE)
European Commission, Deutsche Forschungsgemeinschaft, Bundesministerium für Bildung und Forschung, Horizon 2020 Framework Programme, HORIZON EUROPE Framework Programme
Openalex Percentile: Top 92%
Face and Expression Recognition
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.