Optimizing Learning Across Multimodal Transfer Features for Modelling Olfactory Perception

Daniel D. Shin, Pei Gao, Priyadarshini Kumari, Tarek R. BesoldResearch Square 2024

Abstract

For humans and other animals, the sense of smell provides crucial information in many situations of everyday life. Still, the study of olfactory perception has received only limited attention outside of the biological sciences. From an AI perspective, the complexity of the interactions between olfactory receptors and volatile molecules and the scarcity of comprehensive olfactory datasets present unique challenges in this sensory domain. Previous works have explored the relationship between molecular structure and odor descriptors using fully supervised training approaches. However, these methods are data-intensive and poorly generalized due to labeled data scarcity, particularly for rare-class samples. Our study partially tackles the challenges of data scarcity and label skewness through multimodal transfer learning. We investigate the potential of large molecular foundation models trained on extensive unlabeled molecular data to effectively model olfactory perception. Additionally, we explore the integration of different molecular representations, including molecular graphs and text-based SMILES encodings, to achieve data efficiency and generalization of the learned model, particularly on sparsely represented classes. By leveraging complementary representations, we aim to learn robust perceptual features of odorants. However, we observe that traditional methods of combining modalities do not yield substantial gains in high-dimensional skewed label spaces. To address this challenge, we introduce a novel label-balancer technique specifically designed for high-dimensional multi-label and multi-modal training. The label-balancer technique distributes learning objectives across modalities to optimize collaboratively for distinct subsets of labels. Our results suggest that multi-modal transfer features learned using the label-balancer technique are more effective and robust, surpassing the capabilities of traditional uni- or multi-modal approaches, particularly on rare-class samples.

Introduction: The Challenge of Digitizing Smell

While AI has made massive strides in vision and language, the "digitization of smell" remains a frontier. Olfactory perception is notoriously difficult to model for two main reasons:

  1. Complexity: The relationship between a molecule’s 3D structure and the human brain's perception of "floral" or "pungent" is non-linear and poorly understood.
  2. Data Scarcity and Skew: Labeled olfactory datasets are tiny compared to the millions of images used in computer vision. Furthermore, these datasets are "long-tailed"—most molecules are labeled with common descriptors like "fruity" or "sweet," while rare scents like "tea" or "strawberry" have very few examples, making it hard for models to generalize.
Distribution of olfactory labels showing a significant long-tail skew where common scents dominate the dataset.

Methods: Multimodal Transfer Learning and the Label-Balancer

To address these challenges, this research moves away from training models from scratch, instead utilizing a "foundation model" approach. Two distinct pre-trained models were employed: a text-based SMILES-transformer (trained on 83 million molecules) and MolCLR, a graph-based model (trained on 10 million molecules) that understands molecular topology.

The Label-Balancer

Traditional multimodal fusion—simply adding or concatenating features—often fails on imbalanced data because the model gravitates toward the most frequent labels. This study introduces the label-balancer, which randomly partitions the 91 possible odor labels into subsets during each training iteration. Each modality (SMILES or Graph) is then tasked with optimizing for a specific subset. This forces the different representations to work collaboratively and prevents the model from over-relying on a single modality for the "easy" frequent classes.

The label-balancer architecture distributes learning objectives across SMILES and molecular graph modalities to optimize for distinct label subsets.

Datasets and Evaluation

The models were pre-trained on massive unlabeled repositories, PubChem and ZINC. For olfactory evaluation, a curated dataset of 5,595 molecules was compiled by merging the Goodscents and Leffingwell databases. Each molecule is described by a 91-dimensional vector of perceptual descriptors, ranging from "balsamic" and "herbal" to rarer scents like "popcorn."

Key Insights

  • Chemical Knowledge as Perceptual Knowledge: Models trained on purely chemical tasks (like translating names) develop internal representations that are highly effective for predicting human sensory experience.
  • Graphs vs. Text: Molecular graphs are generally superior to text-based SMILES for olfaction because they better capture 3D orientation and atom-to-atom bonds—critical factors in how molecules dock with olfactory receptors.
  • The "Fusion" Trap: Simply combining modalities doesn't automatically help. Without the label-balancer, models tend to make the same errors on rare classes. The label-balancer ensures the model doesn't ignore the "long tail" of the dataset.

Key Results

The transfer learning approach achieved state-of-the-art performance using only 20% of the available labeled data compared to non-transfer methods using 100%. Furthermore, the label-balancer showed its greatest strength on the most sparsely represented classes, significantly boosting performance on rare scents compared to traditional approaches. t-SNE visualizations confirmed that the model naturally clusters perceptually similar smells (like "apple," "pear," and "pineapple") together in its latent space.

Conclusion and Future Work

While this approach marks a significant step forward, limitations remain. Future work could incorporate "hand-crafted" chemoinformatic features or develop more strategic label-balancing based on chemical similarity. Additionally, improving the interpretability of these "black box" foundation models will be crucial for practical applications in chemistry and perfumery.

Summary updated

BibTeX
@inproceedings{shin2024optimizing,
  author = {Daniel D. Shin and Pei Gao and Priyadarshini Kumari and Tarek R. Besold},
  title = {{Optimizing Learning Across Multimodal Transfer Features for Modelling Olfactory Perception}},
  booktitle = {Research Square},
  year = {2024},
  doi = {10.21203/rs.3.rs-3607229/v1},
}
Figure