Back

Count your bits: more subtle similarity measures using larger radius count vectors

Huber, F.; Pollmann, J.

2025-06-22 bioinformatics
10.1101/2025.06.16.659994 bioRxiv
Show abstract

Quantifying molecular similarity is a cornerstone of cheminformatics, underpinning applications from virtual screening and nearest-neighbor search to chemical space visualization and the evaluation of machine-learning predictions. Although Tanimoto-comparisons of 2D fingerprints are widely used, the practical behavior of these similarity measures depends strongly on the fingerprint type, representation (binary vs. count), and whether fingerprints are folded into fixed-length vectors. Here, we systematically benchmark a broad set of common fingerprint types, including dictionary-based, circular (Morgan/FCFP), path-based (RDKit), topological-distance-based (Atom Pair), hybrid distance-encoded (MAP4), torsion, LINGO, and Avalon, across multiple large datasets and complementary evaluation tasks. We quantify fingerprint specificity via duplicate rates and mass discrepancies, characterize score distributions and compound-size dependence, assess top-k ranking agreement, and compare fingerprint similarities to a graph-based reference. Across benchmarks, count (and often log-count) variants generally improve specificity and structural alignment, while folding-induced bit collisions can strongly distort similarities for high-occupancy fingerprints, making unfolded variants particularly important for RDKit and often necessary for MAP4 on heterogeneous datasets. To support reproducible benchmarking and future extensions, we introduce the open-source Python library chemap, providing unified computation of folded, unfolded, and frequency-folded fingerprints and optimized similarity calculations. Scientific contributionWe introduce a multi-criteria benchmarking framework for molecular fingerprints that goes beyond classical virtual-screening retrieval tests by evaluating specificity (fingerprint duplicates), score behavior (including compound-size dependence), ranking agreement, and neighborhood structure on large, heterogeneous small-molecule datasets. Our results reveal that common default settings, especially folding for high-occupancy fingerprints, can introduce severe bit-collision artifacts, and that count (often log-count) and unfolded variants substantially improve specificity and agreement with structure-based references. We release the open-source Python library chemap to standardize these fingerprint variants and enable reproducible, extensible benchmarking for future fingerprint development.

Published in Journal of Cheminformatics (predicted rank #3) · training set

Matching journals

The top 1 journal accounts for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.