Representation Topology Divergence: A Method for Comparing Neural Network Representations

Serguei Barannikov, Ilya Trofimov, Nikita Balabin, Evgeny Burnaev
12/31/2021
cs.LGcs.AImath.AT

Official code: IlyaTrofimov/RTD (27 stars, last commit 2022-08-15).

Abstract

Comparison of data representations is a complex multi-aspect problem that has not enjoyed a complete solution yet. We propose a method for comparing two data representations. We introduce the Representation Topology Divergence (RTD), measuring the dissimilarity in multi-scale topology between two point clouds of equal size with a one-to-one correspondence between points. The data point clouds are allowed to lie in different ambient spaces. The RTD is one of the few TDA-based practical methods applicable to real machine learning datasets. Experiments show that the proposed RTD agrees with the intuitive assessment of data representation similarity and is sensitive to its topological structure. We apply RTD to gain insights on neural networks representations in computer vision and NLP domains for various problems: training dynamics analysis, data distribution shift, transfer learning, ensemble learning, disentanglement assessment.

View on arXivView PDF

Code Implementations(1)

IlyaTrofimov/RTDOfficial100%

[ICML 2022] Representation Topology Divergence: A Method for Comparing Neural Network Representations

272Shell, PythonJul 20, 20224 years ago

Similar Papers

Cite this paper

@article{barannikov2021representation,
  title  = {Representation Topology Divergence: A Method for Comparing Neural Network Representations},
  author = {Serguei Barannikov and Ilya Trofimov and Nikita Balabin and Evgeny Burnaev},
  year   = {2021},
  eprint = {2201.00058},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.00058}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2201.00058.svg)](https://codeofpaper.com/paper/2201.00058)

Discussion