arXiv:2611.08420cs.LGNov 2026

Manuscript Offprint

arXiv:2611.08420

On the limitations of molecular representations

Acer Blake, Fergus Imrie, Charlotte M. Deane

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Acer Blake

Department of Statistics

University of Oxford

Oxford, UK

blake@stats.ox.ac.uk

Charlotte M. Deane

Department of Statistics

University of Oxford

Oxford, UK

deane@stats.ox.ac.uk

Fergus Imrie

Department of Statistics

University of Oxford

Oxford, UK

imrie@stats.ox.ac.uk

Abstract

Molecular representations such as fingerprints and learned embeddings play a central role in cheminformatics and small-molecule machine learning. They serve as the primary input for a diverse array of tasks, including clustering, dataset splitting, and virtual screening, yet their evaluation is often limited to downstream model performance on narrow benchmark tasks. We carried out a systematic investigation of the quality of molecular representations, finding that none of the state-of-the-art molecular embedding models capture graph structure, 3D shape, or ADMET endpoint similarity better than fingerprints or physicochemical descriptors. However, classical fingerprints also revealed their own material limitations. For example, we show that depending on the representation, between 225M and ~4B molecules have non-unique representations in the 10.8B Enamine REAL database, with implications for virtual screening. Our findings provide an insight into the current limitations of molecular representations, outlining future research directions for the development of more robust encodings of small molecules.

Small-molecule representations have been a primary research focus of the cheminformatics community since the inception of the field. Indeed, among the first questions facing a developer of a machine learning model for a task in small-molecule chemistry is what representation should be used as input. While representations abound, three primary input types predominate: string-based notations, molecular graphs, and vector-based encodings¹.

String-based notations, such as the Simplified Molecular Input Line Entry System (SMILES)² format, encode small molecules as one-dimensional sequences of characters wherein the order of atom and bond types represents a particular traversal order of a two-dimensional molecular graph. SMILES is the standard for small-molecule datasets¹ and is additionally used as an input representation for many chemical language models (CLMs)³. Graph-based representations emphasize modelling the connectivity between atoms in two or three-dimensional molecular graphs and include representations such as adjacency matrices. Such representations are commonly used as inputs to graph neural networks (GNNs)⁴. Finally, vector-based representations are the primary representation for most small molecule machine-learning applications. Vector-based representations include

physicochemical descriptors⁵, classical molecular fingerprints⁶,⁷,⁸, and learned molecular embeddings⁹. In all three paradigms, the aim is to encode the structural and physicochemical features of molecules as a fixed-length, multi-dimensional vector.

Fingerprinting algorithms typically encode molecular structures as sparse binary vectors, with common sizes being 1024 or 2048¹. While fingerprinting algorithms vary with respect to how they encode 2D molecular graphs as a binary array, their high-level operation is the same: encode substructures as integers and hash these integers into an index that is used to mark the presence of the corresponding feature. Implicitly, 0-valued entries of the vector encode the absence of one or many features that map to the associated index. The most commonly used fingerprinting algorithms are extended connectivity fingerprints (ECFPs)⁶, functional class fingerprints (FCFPs)⁶, atom pair fingerprints⁸, and topological torsion fingerprints⁷.

In contrast to fingerprints, molecular embeddings aim to capture features from molecules that are learned by deep neural networks as part of a supervised¹⁰ or self-supervised training objective¹¹. Rather than explicitly crafting algorithms with inbuilt cheminformatic and graph-theoretic heuristics, the objective in molecular representation learning is to select loss functions that lead to an emergent representation of molecular structure and properties.

Much recent work has focused on benchmarking learned molecular representations against classical descriptors on downstream tasks such as property prediction 12,13,14^{12,13,14}. Such studies have revealed that classical representations often match or outperform state-of-the-art molecular embedding models, while maintaining improved interpretability and computational efficiency 12,13,14^{12,13,14}. Additionally, several studies have investigated the properties of molecular representations more directly, such as whether they capture stereoelectronic properties 15^{15} and activity cliffs 16^{16}.

Absent in the literature is a systematic and comprehensive analysis of the quality of learned and classical representations across multiple axes of similarity and application areas. Consequently, many fundamental questions remain unanswered, such as how often fingerprints fail to uniquely encode structurally distinct molecules in ultra-large libraries, how well molecular representations can distinguish structurally close and distant molecules, to what extent similarity metrics capture three-dimensional shape, how closely representations place molecules with similar ADMET activity, and whether clustering molecules using current representations causes data leakage. We sought to address these questions by assessing a broad selection of representations across three axes of similarity: graph, shape, and chemical.

Graph similarity pertains to how well a representation captures the two-dimensional topology of a molecule, and whether it can distinguish any two given molecules. Vector-based measures of graph similarity are the foundation underlying ligand-based virtual screening 1^{1}, database retrieval 17^{17}, clustering 18^{18}, and dataset splitting 19,20,21^{19,20,21}.

Shape similarity relates to the degree of overlap in the three-dimensional conformation of molecules, including the distribution of pharmacophoric properties. Perception of molecular shape has been shown to be advantageous in ligand-based virtual screening 22^{22}, particularly with respect to scaffold hopping 23^{23}.

Finally, chemical similarity captures the notion that two molecules may have similar activity for a given target or endpoint without necessarily appearing structurally similar by their molecular graphs 24^{24}. In drug discovery, often what is desired is not a measure of shape or graph similarity, but rather a similarity metric that directly facilitates the retrieval of molecules with similar ADMET properties or which bind to the same target.

Here we evaluate multiple axes of similarity across four fingerprinting algorithms and nine diverse molecular embedding models, spanning CLMs, GNNs, and graph transformers (Table 1). We show that despite being a standard for virtual screening, molecular fingerprints display degeneracy rates over large chemical spaces between 2.2% and 40%. Further, we demonstrate that many learned molecular representations fail to capture differences in graph topology, causing them to place highly structurally dissimilar molecules close in representation space, and highly similar molecules far apart. While we found that fingerprints generally better correlate with an NP-hard measure of graph similarity, we show that current ECFP-based clustering practices cause structural leakage, with implications for dataset splitting and the evaluation of machine-learning models trained on molecular data. Indeed, a general observation was that while fingerprints generally outperformed learned representations across each evaluation, neither class of representation can reliably perceive graph, shape or chemical similarity, with downstream consequences for molecular clustering, virtual screening, dataset splitting and property prediction.

Results

References (76)