bioRxivBioinformaticsPreprint
Efficient clustering of large molecular libraries
Kenneth López Pérez, Vicky Jung, Lexin CheniD, Kate K. Huddleston, Ramón Alain Miranda‐QuintanaiD
Abstract
The widespread use of Machine Learning (ML) techniques in chemical applications has come with the pressing need to analyze extremely large molecular libraries. In particular, clustering remains one of the most common tools to dissect the chemical space. Unfortunately, most current approaches present unfavorable time and memory scaling, which makes them unsuitable to handle million- and billion-sized sets. Here, we propose to bypass these problems with a time- and memory-efficient clustering algorithm, BitBIRCH. This method uses a tree structure similar to the one found in the Balanced Iterative Reducing and Clustering using Hierarchies (BIRCH) algorithm to ensure O(N) time scaling. BitBIRCH leverages the instant similarity (iSIM) formalism to process binary fingerprints, allowing the use of Tanimoto similarity, and reducing memory requirements. Our tests show that BitBIRCH is already > 1,000 times faster than standard implementations of the Taylor-Butina clustering for libraries with 1,500,000 molecules. BitBIRCH increases efficiency without compromising the quality of the resulting clusters. We explore strategies to handle large sets, which we applied in the clustering of one billion molecules under 5 hours using a parallel/iterative BitBIRCH approximation.
- Citations
- 8
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- BitBIRCH-Lean: chemical space in the palm of your workstation
Ignacio Pickering, Krisztina Zsigmond, … Ramón Alain Miranda‐Quintana·bioRxiv·Oct 22, 2025
- Best practices to cluster large molecular libraries
Kenneth López‐Pérez, Ramón Alain Miranda‐Quintana·bioRxiv·Nov 28, 2025
- BitBIRCH Clustering Refinement Strategies
Kenneth López Pérez, Kate K. Huddleston, … Ramón Alain Miranda‐Quintana·Journal of Chemical Information and ModelingPeer-reviewed·May 27, 2025
- mdBIRCH for Fast, Scalable, Online Clustering of Molecular Dynamics Trajectories
Jhonathan Pedroso Rigal dos Santos, Lexin Chen, Ramón Alain Miranda‐Quintana·Journal of Chemical Theory and ComputationPeer-reviewed·Apr 15, 2026
- Efficiently finding activity cliffs
Akash Surendran, Ramón Alain Miranda‐Quintana·bioRxiv·Sep 17, 2025
- Efficient Search of Ultra-Large Synthesis On-Demand Libraries with Chemical Language Models
Karl Heyer, David Yang, Daniel J. Diaz·bioRxiv·Sep 4, 2025