[Paper Review] Fast and explainable clustering in the Manhattan and Tanimoto distance
Extends the CLASSIX clustering framework to Manhattan and Tanimoto distances with a norm-based sorting and sharp pruning rules, achieving substantial speedups over DBSCAN and Taylor–Butina on chemical fingerprint data while improving cluster quality.
The CLASSIX algorithm is a fast and explainable approach to data clustering. In its original form, this algorithm exploits the sorting of the data points by their first principal component to truncate the search for nearby data points, with nearness being defined in terms of the Euclidean distance. Here we extend CLASSIX to other distance metrics, including the Manhattan distance and the Tanimoto distance. Instead of principal components, we use an appropriate norm of the data vectors as the sorting criterion, combined with the triangle inequality for search termination. In the case of Tanimoto distance, a provably sharper intersection inequality is used to further boost the performance of the new algorithm. On a real-world chemical fingerprint benchmark, CLASSIX Tanimoto is about 30 times faster than the Taylor--Butina algorithm, and about 80 times faster than DBSCAN, while computing higher-quality clusters in both cases.
Motivation & Objective
- Extend CLASSIX to non-Euclidean distance metrics (Manhattan and Tanimoto).
- Develop a norm-based aggregation with efficient early termination using reverse triangle inequality.
- Enhance pruning for binary fingerprints under Tanimoto distance via Baldi inequality.
- Analyze efficiency theoretically and empirically on synthetic and real chemical data.
- Demonstrate substantial speedups over baseline clustering methods while preserving or improving cluster quality.
Proposed method
- Score data points by their vector norm and sort by this scalar before aggregation.
- Use reverse triangle inequality to bound candidate points and enable early termination of neighborhood search.
- For Manhattan norm, study orthant shifting to improve pruning and provide efficiency analysis.
- For Tanimoto distance, derive a sharper Baldi-type pruning bound and exploit matrix-vector products for fast neighborhood filtering.
- Compare performance and clustering quality against DBSCAN, OPTICS, Taylor–Butina on synthetic data and real chemical fingerprints.

Experimental results
Research questions
- RQ1Can CLASSIX be effectively extended to Manhattan and Tanimoto distances while maintaining its fast, explainable clustering approach?
- RQ2How do norm-based sorting and truncation rules impact search efficiency under these distances?
- RQ3Does the Baldi inequality-based pruning improve performance for Tanimoto-based clustering of binary fingerprints?
- RQ4How do the extended methods perform relative to standard baselines on real chemical fingerprint datasets?
Key findings
- CLASSIX with Manhattan distance achieves efficiency improvements through norm-based sorting and radius-based pruning, with documented theoretical guidance on when it helps.
- For binary fingerprints with Tanimoto distance, a sharper pruning bound based on Baldi inequality enables fast exact neighborhood filtering in high dimensions.
- On real chemical fingerprint data, CLASSIX_T is substantially faster than Taylor–Butina and DBSCAN (61.83s vs 1856.28s and 5064.84s, respectively).
- In synthetic experiments, CLASSIX_T scales favorably with data size and dimension compared to DBSCAN, maintaining competitive clustering quality (ARI).
- Orthant shifting in Manhattan norm can reduce distance computations in practice, though its effectiveness varies with data shift.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.