Uncovering Neural Scaling Laws in Molecular Representation Learning

Dingshuo Chen, Yanqiao Zhu, Jieyu Zhang, Yuanqi Du, Zhixun Li, Qiang Liu, Shu Wu, Liang Wang

Executive Summary

This paper provides the first comprehensive look at Neural Scaling Laws in Molecular Representation Learning (MRL). While fields like Natural Language Processing have long relied on predictable performance gains from scaling data and model size, the "rules of the road" for MRL have remained largely unknown. The researchers confirm that molecular models follow a predictable "power-law"—where performance improves as a function of data size—but they uncover surprising nuances. Notably, 2D graphs prove more data-efficient than SMILES strings, and pre-training can actually hurt performance once a sufficient volume of task-specific data is reached.

The Shift to Data-Centric Molecular AI

Most research in MRL is model-centric, focusing on designing novel neural architectures to predict drug properties or design new materials. This paper shifts the focus to a data-centric perspective. The authors ask fundamental questions: Does more data always help? Do different ways of describing a molecule scale differently? And does pre-training on millions of unlabeled molecules pay off when you already have a large labeled dataset?

Overview of the six key observations regarding neural scaling laws in MRL.

Experimental Setup

The authors conducted a massive empirical study, training models across varying data scales (from 1% to 100% of various datasets) to observe how performance curves behave. They focused on four key dimensions:

  1. Data Modalities: Comparing 2D graphs, 3D geometric graphs, SMILES strings (text-based chemical notation), and Morgan fingerprints (binary bit vectors).
  2. Dataset Splitting: Comparing standard random splits against "scaffold" and "imbalanced" splits to test Out-of-Distribution (OOD) generalization.
  3. Pre-training: Testing the impact of state-of-the-art pre-training methods like GraphMAE.
  4. Model Capacity: Varying the number of parameters in Graph Isomorphism Networks (GIN).

The study utilized several heavy hitters from the MoleculeNet benchmark, including HIV and MUV (classification tasks for drug discovery), PCBA (a massive dataset with over 400k molecules), and QM9 (a regression dataset for quantum mechanical properties).

Key Findings

The Power-Law Holds True

Just like in Large Language Models, MRL performance follows a predictable power-law ($L(n) = \delta \cdot n^\alpha$). The linear relationship on log-log plots confirms that MRL performance is highly predictable as data scales. Interestingly, the researchers found no "performance plateau," indicating we haven't yet reached the point of diminishing returns for molecular data.

Performance curves across multiple datasets demonstrating the power-law relationship, evidenced by linear fits on log-log plots.

Modality Matters: Graphs Outperform Strings

2D graphs and Morgan fingerprints proved significantly more "data-efficient" than SMILES strings, showing the highest power-law exponents. This means that for every extra molecule added to a training set, a graph-based model extracts more useful information than a string-based model.

The Pre-training Paradox

Pre-training is a massive help when labeled data is scarce. However, the authors discovered a "crossover point" (e.g., around 40k samples for the PCBA dataset). Beyond this point, the performance gain from pre-training vanished, and models trained from scratch actually started to outperform pre-trained ones. The authors attribute this to "parameter ossification," where pre-training freezes the model weights in a way that makes them less adaptable to very large, specific downstream datasets.

Generalization and Out-of-Distribution Scaling

When models are tested on "scaffold splits"—molecules with structures they've never seen—the scaling exponent is lower. Essentially, models get less "bang for their buck" from new data when trying to generalize to distant, unfamiliar chemical spaces.

The Challenge of Data Pruning

To challenge these scaling laws, the authors adapted seven popular data pruning strategies (like Herding and GraNd) originally designed for images. Surprisingly, these sophisticated techniques failed to significantly outperform simple random selection. This suggests that molecular data redundancy is unique, and computer vision techniques do not neatly translate to chemistry.

Looking Ahead

The authors acknowledge that their study focused primarily on supervised learning for property prediction. Future work should explore scaling laws in generative tasks, such as designing entirely new molecules.

Furthermore, the failure of existing data pruning methods highlights a major gap in the field: we currently lack effective ways to curate molecular datasets. The authors call for the development of pruning strategies tailored specifically to the non-Euclidean, discrete nature of molecular graphs. Finally, while they used popular models like GIN and SchNet, mapping the scaling behaviors of the newest, most complex architectures remains an exciting frontier.

Summary updated

BibTeX
@inproceedings{chen2023uncovering,
  author = {Dingshuo Chen and Yanqiao Zhu and Jieyu Zhang and Yuanqi Du and Zhixun Li and Qiang Liu and Shu Wu and Liang Wang},
  title = {{Uncovering Neural Scaling Laws in Molecular Representation Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=Ys8RmfF9w1},
}
Figure