Sort & Slice: A Simple and Superior Alternative to Hash-Based Folding for Extended-Connectivity Fingerprints
Not on the map. Why?
Abstract (arXiv)
Extended-connectivity fingerprints (ECFPs) are a ubiquitous tool in current cheminformatics and molecular machine learning, and one of the most prevalent molecular feature extraction techniques used for chemical prediction. Atom features learned by graph neural networks can be aggregated to compound-level representations using a large spectrum of graph pooling methods; in contrast, sets of detected ECFP substructures are by default transformed into bit vectors using only a simple hash-based folding procedure. We introduce a general mathematical framework for the vectorisation of structural fingerprints via a formal operation called substructure pooling that encompasses hash-based folding, algorithmic substructure-selection, and a wide variety of other potential techniques. We go on to describe Sort & Slice, an easy-to-implement and bit-collision-free alternative to hash-based folding for the pooling of ECFP substructures. Sort & Slice first sorts ECFP substructures according to their relative prevalence in a given set of training compounds and then slices away all but the L most frequent substructures which are subsequently used to generate a binary fingerprint of desired length, L. We computationally compare the performance of hash-based folding, Sort & Slice, and two advanced supervised substructure-selection schemes (filtering and mutual-information maximisation) for ECFP-based molecular property prediction. Our results indicate that, despite its technical simplicity, Sort & Slice robustly (and at times substantially) outperforms traditional hash-based folding as well as the other investigated methods across prediction tasks, data splitting techniques, machine-learning models and ECFP hyperparameters. We thus recommend that Sort & Slice canonically replace hash-based folding as the default substructure-pooling technique to vectorise ECFPs for supervised molecular machine learning.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 18 of its 63 references that are in the map. First posted on arXiv 10 Mar 2024.
Builds on
18 of 63 references.
References · 18
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2018How Powerful are Graph Neural Networks?cited by 4,355
- 2017Neural Message Passing for Quantum Chemistrycited by 3,460
- 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
- 2017Deep Setscited by 1,394
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
- 2015Convolutional Networks on Graphs for Learning Molecular Fingerprintscited by 751
- 2019Self-Attention Graph Poolingcited by 421
- 2019Analyzing Learned Molecular Representations for Property Predictioncited by 373
- 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 332
6 more
- 2019ASAP: Adaptive Structure Aware Pooling for Learning Hierarchical Graph Representationscited by 156
- 2018Towards Sparse Hierarchical Graph Classifierscited by 100
- 2020Path Integral Based Convolution and Pooling for Graph Neural Networkscited by 35
- 2018Chemi-net: a graph convolutional network for accurate drug property predictioncited by 21
- 2023Tanimoto Random Features for Scalable Molecular Machine Learningcited by 15
- 2023Exploring QSAR Models for Activity-Cliff Predictioncited by 9
Built on by
Citing papers per year: 2025: 3.
3 papers.
- 2025Bond-Centered Molecular Fingerprint Derivatives: A BBBP Dataset Studycited by 1
- 2025Hash Collisions in Molecular Fingerprints: Effects on Property Prediction and Bayesian Optimizationcited by 1
- 2025Fast Leave-One-Out Approximation from Fragment-Target Prevalence Vectors (molFTP) : From Dummy Masking to Key-LOO for Leakage-Free Feature Constructioncited by 0
- 2025Hash Collisions in Molecular Fingerprints: Effects on Property Prediction and Bayesian Optimization21 Nov 2025
- 2025Fast Leave-One-Out Approximation from Fragment-Target Prevalence Vectors (molFTP) : From Dummy Masking to Key-LOO for Leakage-Free Feature Construction7 Oct 2025
- 2025Bond-Centered Molecular Fingerprint Derivatives: A BBBP Dataset Study6 Oct 2025