Leffingwell Odor Dataset

Benjamín Sánchez-Lengeling, Jennifer N. Wei, Brian K. Lee, Richard C. Gerkin, Alán Aspuru‐Guzik, Alexander B. WiltschkoarXiv 2019 · DOI

Abstract

Predicting the relationship between a molecule’s chemical structure and its perceived odor—Structure-Odor Relationship (SOR)—is a long-standing challenge at the intersection of chemistry and neuroscience. We present a Graph Neural Network (GNN) approach trained on a curated dataset of over 5,000 molecules from the Leffingwell and GoodScents databases. By treating molecules as graphs, our model learns perceptual embeddings that outperform traditional machine learning baselines in predicting 138 odor descriptors. This work demonstrates that GNNs can capture the non-linear "language of scent," enabling the rational design of novel fragrances and providing a foundation for digital olfaction.

The Challenge of Odor Prediction

Quantitative Structure-Odor Relationship (QSOR) modeling is notoriously difficult due to the non-linear nature of olfaction. Unlike vision, where wavelength maps predictably to color, small structural changes in a molecule can lead to drastic changes in perception—a phenomenon known as "activity cliffs." Conversely, structurally diverse molecules can smell nearly identical.

Activity cliffs in molecular odor: small structural changes (A vs C) can lead to a complete loss of odor, while diverse structures (A vs D) can share similar profiles.

As shown in the figure above, molecules with nearly identical structures can have different odor profiles or even be odorless, while structurally distinct molecules can smell remarkably similar. Because human odor perception relies on the complex activation of 300–400 different olfactory receptors, traditional "hand-crafted" chemical features often fail to capture these nuances.

Methods: Graph Neural Networks for Scent

To address these challenges, we utilize Graph Neural Networks (GNNs). While standard machine learning models require data to be formatted as fixed-length vectors, GNNs operate directly on the "natural" state of a molecule: a graph where atoms are nodes and bonds are edges.

The GNN pipeline: from molecular graph to perceptual embedding and odor descriptor prediction.

The architecture consists of:

  1. Message Passing Layers: These allow atoms to "communicate" with their neighbors, gathering information about the local chemical environment.
  2. Readout Function: This aggregates the atom-level information into a single fixed-length vector representing the whole molecule.
  3. Fully Connected Layers: These take the molecular vector and predict the probability of 138 different odor descriptors (e.g., "sweet," "floral," "beefy").

Datasets and Evaluation

The study utilized a massive, newly curated dataset of 5,030 molecules labeled by olfactory experts. This data was aggregated from the GoodScents perfume materials database and the Leffingwell PMP 2001 database. The resulting dataset includes 138 distinct odor descriptors. To test the model's ability to generalize, we also evaluated it on the DREAM Olfactory Prediction Challenge dataset, a benchmark involving ratings from untrained panelists.

Key Results and Insights

  • Superior Performance: The GNN achieved a mean AUROC of 0.894, significantly higher than the best traditional baseline (RF-Mordred at 0.850). It also showed dramatic leads in Precision (0.379 vs. 0.311) and F1 scores.
  • Learning "Odor Space": The GNN doesn't just memorize structures; it learns a meaningful "odor space." In the model's internal representation (the embedding), molecules that smell similar are clustered together, even if they are structurally different.
  • Hierarchical Organization: The model's embedding space naturally discovered hierarchies. For example, specific scents like "jasmine" and "lavender" were grouped within the broader "floral" cluster, mirroring human perceptual logic without explicit supervision.
  • Zero-Shot Success: When applied to the DREAM challenge dataset—which used different panelists and a different rating scale—the GNN performed on par with state-of-the-art models specifically designed for that challenge.

Conclusion

This research marks a significant step toward digitizing the sense of smell. By learning a generalizable perceptual representation of small molecules, GNNs provide a powerful tool for fragrance design and olfactory research. Future work will focus on expanding to complex mixtures, which represent the next great frontier in digital olfaction.

Summary updated

BibTeX
@misc{sanchezlengeling2019leffingwell,
  author = {Benjamín Sánchez-Lengeling and Jennifer N. Wei and Brian K. Lee and Richard C. Gerkin and Alán Aspuru‐Guzik and Alexander B. Wiltschko},
  title = {{Leffingwell Odor Dataset}},
  year = {2019},
  eprint = {1910.10685},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.10685},
}
Figure