Overview
AuToMATo (Automated Topological Mode Analysis Tool) is an "out-of-the-box" clustering algorithm designed to eliminate the need for manual parameter tuning. By integrating the ToMATo algorithm with a statistical "bottleneck bootstrap" procedure, it automatically distinguishes significant data features from noise. This approach often outperforms even perfectly tuned versions of popular algorithms like DBSCAN.
The Challenge of Hyperparameter Tuning
Clustering is a fundamental task in data science, yet it suffers from a persistent "Goldilocks" problem: most algorithms require sensitive hyperparameters. For instance, DBSCAN requires a distance radius ($\epsilon$), while K-Means requires the number of clusters ($k$). Incorrect settings often lead to meaningless results.
The authors address this through ToMATo, a powerful topological algorithm. However, standard ToMATo requires users to manually inspect a "persistence diagram"—a plot of density peak prominence—to choose a threshold ($\tau$) that separates real clusters from noise. This manual step hinders its use in automated pipelines, such as the Mapper algorithm, where clustering must occur hundreds of times on different data subsets. AuToMATo automates this selection of $ au$.
The AuToMATo Framework
AuToMATo leverages Persistent Homology in a four-step process:
- Density Estimation: It estimates the data's density "mountain range" using a $k$-nearest neighbor approach.
- Hill Climbing: A graph is constructed, and the algorithm "climbs" to local density peaks (maxima).
- Persistence Diagram Calculation: It determines the "prominence" of each peak—how high it stands above the lowest pass (saddle) connecting it to a higher peak.
- The Bottleneck Bootstrap: This is the core innovation. The algorithm generates multiple "bootstrap" versions of the dataset and calculates persistence diagrams for each. By analyzing the fluctuations across these diagrams, it establishes a statistical confidence interval. Peaks exceeding this "noise floor" are identified as clusters; others are merged.
Performance and Applications
The authors evaluated AuToMATo using the Clustering Benchmarks suite, encompassing diverse synthetic and real-world datasets.
Key Insights
- Statistical Rigor: Unlike previous heuristics (e.g., "largest gap" logic), AuToMATo uses the bottleneck bootstrap for a robust, mathematically grounded definition of noise.
- Effective Defaults: A confidence level ($\alpha$) of 0.35 and $B=1000$ bootstrap iterations proved to be highly effective universal defaults.
- Synergy with Mapper: AuToMATo is particularly valuable for the Mapper algorithm, ensuring optimal clustering across many data "slices" without human intervention.
Results
Using the Fowlkes-Mallows score (FMS) to measure ground-truth similarity, AuToMATo achieved an average score of 0.8554. This surpassed DBSCAN (0.8457) and HDBSCAN (0.8209), even when those algorithms were allowed to use their optimal parameters for each dataset. In topological tests like the "concentric circles" dataset, AuToMATo perfectly recovered the expected structure, while other algorithms introduced spurious loops or incorrect connectivity.
Future Directions
While AuToMATo automates the prominence threshold $\tau$, it still relies on parameters for neighborhood graphs and density estimation (e.g., $k=10$ neighbors). Future work aims to automate these remaining variables. Additionally, while the algorithm is computationally intensive due to the 1,000 bootstrap iterations, its "embarrassingly parallel" nature allows for significant speedups on multi-core processors.
Summary updated