Manuscript Offprint

arXiv:2609.05694

GraphNOSE: A Graph Transformer in Olfaction

Mrityunjay Sharma, Sarabeshwar Balaji, Valentina Parma, Ritesh Kumar

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

These authors contributed equally to this work.

E-mail: mrityunjay.csio24j@acsir.res.in; riteshkr.csio@csir.res.in

Abbreviations: 1-Weisfeiler-Lehman (1-WL) isomorphism test, atoms in molecule localization and delocalization matrices (AIMLDM), area under the receiver operating characteristic curve (AUROC), Chemistry Bidirectional Encoder Representations from Transformers (ChemBERTa), Chemical European Molecular Biology Laboratory (ChEMBL), physico-chemical deviance score (DphysD_{phys}), Geometric Ensemble of Molecules (GEOM), graph convolutional network (GCN), graph isomorphism Network (GIN), graph isomorphism network with edge features (GINE), graph neural network (GNN), general, powerful and scalable (GPS), graph positional and structural encoder (GPSE), GraphNOSE model utilizing lin-ear transformer (GraphNOSElin_{lin}), GraphNOSE model utilizing standard self-attention with quadratic complexity (GraphNOSEtrans_{trans}), curated GoodScents-Leffingwell dataset (GS-LF), graph transformer (GT), kernel density estimation (KDE), K-nearest neighbor (KNN), Laplacian positional encodings (LapPE), limited-memory Broyden-Fletcher-Goldfarb-Shanno (LBFGS), electron localization-delocalization matrix (LDM), DMPNN + LDM (LDMDMPNN_{DMPNN}), GCN + LDM (LDMGCN_{GCN}), Molecular ACCess System (MACCS), median absolute deviation for feature ii (MADi_i), Multi-Layer Perceptron (MLP), Molecular Language Transformer (Mol-Former), Message Passing Neural Network (MPNN), out-of-distribution (OOD), open-source counterpart of POM (OpenPOM), Principal Odor Map (POM), Positional and structural encoding (PSE), Receiver Operating Characteristic curve (ROC), Random-walk structural encodings (RWSE), simplified molecular-input line-entry system (SMILES), topological polar surface area (TPSA), XAI (explainable AI)

Abstract

Predicting olfactory qualities from molecular structure is an open problem in chemoinformatics. Although linear models can link molecular features to odor descriptors, they often fail when extrapolating to novel chemical scaffolds, extreme molecular weights, or complex odor mixtures. To address this, we introduce GraphNOSE, an open-source graph transformer framework that predicts multi-label odor descriptors from simplified molecular-input line-entry system (SMILES) strings for single molecules and binary mixtures. By integrating positional and structural encodings within a transformer-based graph architecture, GraphNOSE achieves strong performance with six times fewer parameters than standard graph neural network (GNN) baseline while consistently out-performing linear models, molecular language model embeddings, molecular fingerprints, and baseline GNNs by an average area under the ROC curve (AUROC) margin of 4.52% (p < 0.01). GraphNOSE achieves an AUROC of 84% on out-of-distribution compounds (OODs). This exceeds the current state-of-the-art GNN for OOD in olfaction (OpenPOM: 81%, p < 0.001), and identifies conditions under which linear models empirically fail. Finally, we apply XAI (explainable AI) methods to identify which substructures and molecular features drive odor predictions, yielding insights consistent with chemical intuition and grounded in the model's learned representations. Together, these results establish GraphNOSE as a scalable and interpretable architecture for olfactory prediction that generalizes to structurally distinct compounds underrepresented in current perceptual databases.

References (70)