Abstract
Molecular property prediction (e.g., energy) is an essential problem in chemistry and biology. Unfortunately, many supervised learning methods usually suffer from the problem of scarce labeled molecules in the chemical space, where such property labels are generally obtained by Density Functional Theory (DFT) calculation which is extremely computational costly. An effective solution is to incorporate the unlabeled molecules in a semi-supervised fashion. However, learning semi-supervised representation for large amounts of molecules is challenging, including the joint representation issue of both molecular essence and structure, the conflict between representation and property leaning. Here we propose a novel framework called Active Semi-supervised Graph Neural Network (ASGN) by incorporating both labeled and unlabeled molecules. Specifically, ASGN adopts a teacher-student framework. In the teacher model, we propose a novel semi-supervised learning method to learn general representation that jointly exploits information from molecular structure and molecular distribution. Then in the student model, we target at property prediction task to deal with the learning loss conflict. At last, we proposed a novel active learning strategy in terms of molecular diversities to select informative data during the whole framework learning. We conduct extensive experiments on several public datasets. Experimental results show the remarkable performance of our ASGN framework.
Introduction
Predicting molecular properties—such as energy, stability, or toxicity—is a cornerstone of modern drug discovery and materials science. While Density Functional Theory (DFT) provides a high-accuracy "gold standard" for these calculations, it is computationally prohibitive, often requiring hours of processing for a single small molecule. Machine learning, particularly Graph Neural Networks (GNNs), offers a significantly faster alternative. However, GNNs typically require large amounts of labeled data, which brings us back to the DFT bottleneck.
To address this, researchers have developed the Active Semi-supervised Graph Neural Network (ASGN). This framework is designed to bridge the gap between expensive labels and the vast, unlabeled chemical space by combining active learning with a semi-supervised teacher-student architecture.
Methodology
ASGN addresses the data scarcity problem through a three-pronged strategy that optimizes how models learn from both labeled and unlabeled data.
The Teacher-Student Framework
A common issue in molecular ML is the conflict between learning general structural representations (unsupervised) and specific property predictions (supervised). ASGN decouples these tasks:
- The Teacher Model: Focuses on learning a general "understanding" of molecules. It employs multi-level unsupervised learning, reconstructing local geometry (atom types and bond distances) and performing global clustering in the chemical space using optimal transport techniques.
- The Student Model: Inherits the Teacher’s structural knowledge via weight transfer and focuses exclusively on the property prediction task. The Student provides "pseudo-labels" for unlabeled data back to the Teacher, creating a feedback loop that refines the overall representation.
Diversity-based Active Learning
Rather than selecting new molecules for labeling based on model uncertainty—which can lead to redundant data—ASGN utilizes a $k$-center strategy. By analyzing the embeddings created by the Teacher, the framework identifies a diverse batch of molecules that are maximally distant from one another in the latent space. This ensures the model is exposed to the widest possible variety of chemical structures with minimal labeling effort.
Experimental Evaluation
The framework was evaluated on two primary datasets:
- QM9: Approximately 130,000 small molecules (up to 9 heavy atoms), the standard for quantum mechanical property benchmarks.
- OPV: Approximately 100,000 medium-sized molecules (20–30 heavy atoms) used in organic photovoltaics research.
Key Results
ASGN demonstrated significant improvements over state-of-the-art semi-supervised methods such as InfoGraph and Mean-Teachers.
- Accuracy: On the QM9 dataset, ASGN reduced the Mean Absolute Error (MAE) for critical properties like HOMO/LUMO energy levels by over 50% compared to standard supervised baselines.
- Efficiency: The model achieved the "full accuracy" of a supervised model (trained on 100% of the data) using only 40-50% of the labels. This represents a massive reduction in the required DFT computational budget.
Conclusion
ASGN represents a significant step forward in making molecular property prediction more accessible. By separating representation learning from property prediction and employing a diversity-driven active learning strategy, the framework achieves high performance with a fraction of the labeled data. Future work will focus on reducing the computational overhead of the iterative training process and extending the framework to even larger, more diverse chemical libraries.
Summary updated