Learning topology-preserving data representations (ICLR 2023)
This repository contains code base for the paper which introduces a novel method for global structure preserving dimensionality rediction based on Topological Data Analysis (TDA), specifically Representation Topology Divergence (RTD).
Description
The proposed method aims to provide topological similarity between the data manifold and its latent representation via enforcing the similarity in topological features (clusters, loops, 2D voids, etc.) and their localization. The core of the method is the minimization of the Representation Topology Divergence (RTD) between original high-dimensional data and low-dimensional representation in latent space. RTD minimization provides closeness in topological features with strong theoretical guarantees. We develop a scheme for RTD differentiation and apply it as a loss term for the autoencoder. The proposed method “RTD-AE” better preserves the global structure and topology of the data manifold than state-of-the-art competitors as measured by linear correlation, triplet distance ranking accuracy, and Wasserstein distance between persistence barcodes.
Dependencies
The code base requires Python 3.8.X and installation of packages listed in requirements.txt.
Usage
For reproducing experiments and training RTD-AE, please refer to AE training.ipynb notebook.
For training benchmark models such as UMAP and t-SNE, please refer to TSNE and UMAP.ipynb notebook.
For visualization purposes, please refer to Visualization and metrics.ipynb.
Cite us
@inproceedings{trofimov2023learning,
title={Learning topology-preserving data representations},
author={Ilya Trofimov and Daniil Cherniavskii and Eduard Tulchinskii and Nikita Balabin and Serguei Barannikov and Evgeny Burnaev},
booktitle={International Conference on Learning Representations},
year={2023},
url={https://openreview.net/forum?id=lIu-ixf-Tzf}
}
Metadata
Release files for rtd-ae 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rtd_ae-0.1.2.tar.gz | 14.8 kB | Without provenance | Details for rtd_ae-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rtd_ae-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for rtd_ae-0.1.2-py3-none-any.whl |
Total release size: 31.3 kB
Release files / rtd_ae-0.1.2.tar.gz
| Download URL | rtd_ae-0.1.2.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5c6cf03ec4dce14a5e74d943a5d5d99191509f210d060ea6a39d1490f1c780c
|
|
BLAKE2b-256 checksum How to use checksums |
5851864945098f7a365c35af658e54652d7ff7164ba29b85eaa470f21ff37d1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.6 Windows/10
|
Release files / rtd_ae-0.1.2-py3-none-any.whl
| Download URL | rtd_ae-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ceb29e331ebce66cc6ad2fca477607ce879b65778d9a5d4e809cfff0fdd65bbb
|
|
BLAKE2b-256 checksum How to use checksums |
c72111288324d9da851f0782db17f0ac4882e371b2099d7554ecfba2ab34fc99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.10.6 Windows/10
|
Security for rtd-ae 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.