Euler Characteristic Surfaces

Gabriele Beltramo, Rayna Andreeva, Ylenia Giarratano, Miguel O. Bernabeu, Rik Sarkar, Primoz SkrabaarXiv 2021

Abstract

We study the use of the Euler characteristic for multiparameter topological data analysis. Euler characteristic is a classical, well-understood topological invariant that has appeared in numerous applications, including in the context of random fields. The goal of this paper is to present the extension of using the Euler characteristic in higher-dimensional parameter spaces. While topological data analysis of higher-dimensional parameter spaces using stronger invariants such as homology continues to be the subject of intense research, Euler characteristic is more manageable theoretically and computationally, and this analysis can be seen as an important intermediary step in multi-parameter topological data analysis. We show the usefulness of the techniques using artificially generated examples, and a real-world application of detecting diabetic retinopathy in retinal images.

Introduction

Topological Data Analysis (TDA) has traditionally relied on persistent homology to summarize the "shape" of data across different scales. However, most standard TDA tools are limited to a single parameter, such as a distance threshold. In real-world scenarios, data often depends on multiple parameters simultaneously—for instance, the intensity of a pixel and its spatial distance from a landmark. Analyzing these "multi-parameter filtrations" using homology is theoretically complex and computationally expensive. This paper proposes the Euler Characteristic Surface (ECS) as a manageable intermediary step: a topological invariant that is simpler than homology but captures sufficient structural information for high-dimensional data analysis.

Methodology

The authors focus on the Euler characteristic ($\chi$), a classical topological invariant calculated as the alternating sum of the number of cells in each dimension (e.g., $Vertices - Edges + Faces$).

Filtration processes for a gray-scale image (top) and a point cloud (bottom), showing how topological features emerge as parameters change.
  1. Euler Characteristic Surfaces (ECS): While a 1D filtration yields an Euler Characteristic Curve (ECC), a 2D "bi-filtration" yields a surface. This surface tracks how the topology of the data changes as two parameters are varied simultaneously.
  2. Efficient Algorithms: The paper introduces linear-time algorithms for computing these surfaces. For images (cubical complexes), they use a pre-computation strategy that examines local $3 \times 3$ neighborhoods to determine how $\chi$ changes when a new pixel is added. For point clouds, simplicial complexes are employed.
  3. Euler Terrains: To compare two classes of data, the authors compute the "Euler Terrain"—the point-wise difference between the average ECS of each class. This highlights regions in the parameter space where the two groups differ most.
Different data representations handled by the framework: (a) grayscale image, (b) cubical complex, (c) point cloud, and (d) simplicial complex.

Key Insights and Results

Although the Euler characteristic is a "weaker" invariant than homology (it cannot distinguish between certain types of topological features), the authors find that in many models, one dimension of homology tends to dominate. Consequently, $\chi$ captures most of the relevant topological signal. Unlike homology, which requires global matrix reductions, the Euler characteristic can be computed via local descriptions, making it "embarrassingly parallelizable."

Experimental results demonstrate the power of this approach:

  • Classification Accuracy: Adding a second parameter significantly boosted performance. On the Outex texture dataset, the ECS achieved 96.29% accuracy compared to 91.08% for the 1D curve. On MNIST, the jump was even more dramatic: 71.79% for ECS vs. 33.63% for ECC.
  • Medical Efficacy: In detecting Diabetic Retinopathy (DR) from retinal scans, the ECS approach achieved an Area Under the Curve (AUC) of 0.88 to 0.91. This is comparable to state-of-the-art deep learning models like VGG16, but notably, the ECS performed better on the very small datasets where deep learning often struggles to generalize.

Conclusion

The Euler Characteristic Surface provides a scalable and interpretable tool for data summary and classification. While it is a coarser measure than homology, its computational efficiency and the interpretability of the resulting "Euler Terrains" make it a powerful tool for high-resolution 3D imaging and small-sample medical datasets. Future work will explore automatic parameter selection and building rotational or translational invariance directly into the ECS framework.

Summary updated

BibTeX
@misc{beltramo2021euler,
  author = {Gabriele Beltramo and Rayna Andreeva and Ylenia Giarratano and Miguel O. Bernabeu and Rik Sarkar and Primoz Skraba},
  title = {{Euler Characteristic Surfaces}},
  year = {2021},
  eprint = {2102.08260},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2102.08260},
}
Figure