Topological Data Analysis (TDA) provides a mathematical toolkit for capturing the "shape" of data—identifying features like connected components, cycles, and voids that persist across multiple scales. Traditionally, these features were extracted using fixed, hand-crafted rules called filtrations. However, a new research direction has emerged that treats these filtrations not as static functions, but as learnable parameters within a neural network. By making the entire topological pipeline differentiable, models can now "learn to see" the specific structural patterns most relevant to a given task.
The Problem with Static Lenses
To understand a dataset's topology, researchers typically use Persistent Homology. Imagine a graph or a point cloud: we "grow" the data by gradually increasing a threshold (like node degree or spatial distance) and track when holes appear and disappear. This sequence is the filtration.
Historically, the choice of filtration was a manual process. Researchers might use vertex degree for graphs or pixel intensity for images. As noted by Christoph D. Hofer and Roland Kwitt in Deep Learning with Topological Signatures, this reliance on manual selection is a major bottleneck. A filtration that works for identifying molecules might fail for medical imaging because the "important" shapes are defined by different underlying properties.
Learning the Filtration Function
The core innovation of this field is the transition from fixed filtrations to learnable filtrations. Instead of using a predefined metric, a neural network is trained to assign values to nodes, edges, or pixels. These values determine the order in which the data "appears" during the topological scan.
In Graph Filtration Learning, Hofer and Kwitt demonstrated that by making persistent homology differentiable, a model can backpropagate through the topological summary to optimize the filtration function itself. This allows the model to adaptively identify which connectivity patterns—such as specific types of cycles—are discriminative for a classification task.
This concept has been extended to more complex data types. For example, Naoki Nishikawa and colleagues in Adaptive Topological Feature via Persistent Homology showed that for point clouds, learning task-specific weights for points can suppress noise and highlight critical geometric structures that fixed-rate filtrations would miss.
Differentiable Topological Layers
To integrate these ideas into modern architectures, researchers have developed specialized neural network layers. These layers act as a bridge between the discrete world of topology and the continuous world of deep learning:
- TOGL: Max Horn and Bastian Rieck introduced Topological Graph Neural Networks, which use a differentiable layer to capture multi-scale structural information. This allows standard Graph Neural Networks (GNNs) to "see" global structures like large cycles that local message-passing usually misses.
- PersLay: Mathieu Carrière proposed PersLay, a unified framework that treats the vectorization of topological summaries as a learnable process. It applies trainable weight functions to persistence diagrams, allowing the network to prioritize specific features—like long-lived loops—based on their utility for the task.
- D-GRIL: Moving beyond single-parameter scans, Soham Mukherjee and Tamal K. Dey developed D-GRIL, which enables end-to-end learning with 2-parameter persistence. This captures how shape changes across two different scales simultaneously, providing a much richer structural fingerprint.
Rethinking Feature Importance
A common heuristic in TDA is that "persistence equals importance"—features that survive across many scales are signal, while short-lived features are noise. However, learnable TDA challenges this assumption.
Research by Qi Zhao and Yusu Wang in Learning metrics for persistence-based summaries suggests that the significance of a topological feature is highly task-dependent. By learning data-specific weight functions, their models often find discriminative signals in the "noise" (short-lived features) that traditional TDA would have discarded.
Similarly, in the context of explainability, Aina Ferrà and Oriol Pujol demonstrated in Importance attribution in neural networks that learnable gating mechanisms can isolate exactly which topological structures drive a model's decision, providing a path toward more interpretable AI.
Why It Works: The Intuition
The power of this research direction lies in its flexibility. Traditional deep learning is excellent at learning local features but struggles with global, coordinate-invariant structure. Traditional TDA is excellent at global structure but is rigid and difficult to tune.
By making the filtration learnable, we essentially give the neural network a set of "topological eyes" that it can focus. The network can learn to ignore irrelevant geometric details and instead concentrate on the connectivity and "holiness" of the data that truly matters for the problem at hand. As this field matures, the shift from manual heuristics to end-to-end topological learning is proving essential for complex domains like molecular biology, medical imaging, and dynamic network analysis.