Persformer: A Transformer Architecture for Topological Machine Learning

Raphael Reinauer, Matteo Caorsi, Nicolas Berkouk
12/30/2021
cs.LGmath.AT
transformer-attention

Official code: giotto-ai/giotto-deep (92 stars, Python, PyTorch, last commit 2024-07-25).

Abstract

One of the main challenges of Topological Data Analysis (TDA) is to extract features from persistent diagrams directly usable by machine learning algorithms. Indeed, persistence diagrams are intrinsically (multi-)sets of points in $\mathbb{R}^2$ and cannot be seen in a straightforward manner as vectors.

Show full abstract

In this article, we introduce $\texttt{Persformer}$, the first Transformer neural network architecture that accepts persistence diagrams as input. The $\texttt{Persformer}$ architecture significantly outperforms previous topological neural network architectures on classical synthetic and graph benchmark datasets. Moreover, it satisfies a universal approximation theorem. This allows us to introduce the first interpretability method for topological machine learning, which we explore in two examples.

View on arXivView PDF

Code Implementations(1)

PyTorch

Deep learning made topological.

9213Python, Jupyter NotebookNov 6, 20192 years agoNOASSERTION
computational-geometrydeep-learningimage-processingnlppytorch+1 more

Similar Papers

Cite this paper

@article{reinauer2021persformer,
  title  = {Persformer: A Transformer Architecture for Topological Machine Learning},
  author = {Raphael Reinauer and Matteo Caorsi and Nicolas Berkouk},
  year   = {2021},
  eprint = {2112.15210},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.15210}
}

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/2112.15210.svg)](https://codeofpaper.com/paper/2112.15210)

Discussion