Data-Centric Learning from Unlabeled Graphs with Diffusion Model

Gang Liu, Eric Inae, Tong Zhao, Jiaxin Xu, Tengfei Luo, Meng Jiang

Abstract

Predicting the properties of graphs—such as molecular toxicity or polymer thermal conductivity—is essential for drug and material discovery. However, the scarcity of labeled data remains a significant bottleneck. While traditional Self-Supervised Learning (SSL) attempts to bridge this gap by transferring model weights from proxy tasks, it often suffers from a "task gap" where pre-training objectives conflict with target properties. We introduce Data-Centric Transfer (DCT), a framework that leverages score-based diffusion models to augment small, labeled datasets with task-specific examples synthesized from massive unlabeled graph pools. By transferring "visible" knowledge in the form of data rather than abstract parameters, DCT achieves state-of-the-art performance across 15 diverse graph property prediction tasks, including a 13.4% reduction in Mean Absolute Error (MAE) for molecular regression.

Introduction

In fields like chemistry and biology, labeling graphs requires expensive and time-consuming "wet lab" experiments. This has led to a reliance on Self-Supervised Learning (SSL), where models are pre-trained on unlabeled data using proxy tasks (e.g., predicting missing atoms) before being fine-tuned on target tasks.

However, the authors identify a fundamental flaw in this model-centric approach: the task gap. Knowledge gained from SSL tasks often fails to align with the specific requirements of the target task. For instance, a model pre-trained to identify aromatic rings may struggle if the target property is determined by non-aromatic structures. To address this, the DCT framework shifts the focus from transferring model parameters to transferring data, effectively "extracting" relevant knowledge from unlabeled distributions to create high-quality, task-specific synthetic data.

Methodology: Data-Centric Transfer (DCT)

The DCT framework operates in two distinct stages to bridge the gap between unlabeled graph distributions and specific labeled tasks.

1. Learning the Distribution

First, a score-based diffusion model is trained on a large repository of unlabeled graphs (such as QM9 or ZINC). This model learns the underlying "grammar" of valid graph structures, capturing how atoms typically bond and form stable molecules without requiring any task-specific labels.

2. Guided Task-Specific Generation

To augment a specific target task, the framework uses the diffusion model to generate new graphs ($G'$) based on existing labeled graphs ($G, y$). This denoising process is guided by two novel objectives designed to ensure the synthetic data is both useful and diverse:

  • Sufficiency ($I_2$): A property predictor ensures that the newly generated graph $G'$ is highly likely to retain the same label ($y$) as the original graph.
  • Minimality ($I_1$): This objective encourages $G'$ to be structurally distinct from $G$. This prevents the model from simply memorizing the training set and ensures the synthetic data provides meaningful new information for the predictor.

By iteratively training the property predictor and generating new augmented data, the model progressively refines its understanding of which structural features are most relevant to the task at hand.

Experimental Evaluation

The researchers evaluated DCT across 15 datasets spanning chemistry, biology, and material science. The unlabeled sources included QM9 (113k molecules), ZINC (249k molecules), and PPI (306k protein ego-networks). The target tasks included:

  • Molecular Classification: 7 tasks from the Open Graph Benchmark (e.g., ogbg-HIV, Tox21, BBBP).
  • Molecular and Polymer Regression: 7 tasks focusing on physical properties like glass transition temperature and oxygen permeability.
  • Protein Classification: Utilizing the PPI dataset.

Key Results

DCT outperformed 15 baseline methods, including state-of-the-art SSL and semi-supervised techniques, across all 15 tasks.

  • Regression Performance: While SSL often struggles with regression, DCT reduced MAE by 13.4% on molecular tasks and 10.2% on polymer tasks compared to the best existing baselines.
  • Visible Knowledge Transfer: Unlike the "black box" of weight transfer, DCT allows researchers to inspect the generated graphs. This revealed that the model develops "domain awareness," such as identifying specific atom swaps (e.g., fluorine vs. methyl groups) that influence oxygen permeability in polymers.

Discussion and Insights

The success of DCT highlights several critical insights for graph-based machine learning:

  • The SSL Conflict: The study provides evidence that standard SSL can occasionally hinder performance if the pre-training bias is too strong or irrelevant to the downstream task.
  • Data Augmentation vs. Pre-training: In the graph domain, generating high-quality, task-relevant synthetic data appears to be a more robust method for leveraging unlabeled data than traditional parameter transfer.

Limitations and Future Work

Despite its success, DCT faces challenges regarding diffusion model capacity. Using larger datasets like ZINC did not always yield better results than smaller ones like QM9, suggesting that current generative models may hit a ceiling when modeling highly diverse graph distributions. Additionally, the "chemical validity" of generated graphs can decrease when there is a significant structural gap between the unlabeled pool and the target task. Future research will likely focus on developing more powerful generative models capable of handling larger, more complex structures like large proteins and complex polymers.

Summary updated

BibTeX
@inproceedings{liu2023data,
  author = {Gang Liu and Eric Inae and Tong Zhao and Jiaxin Xu and Tengfei Luo and Meng Jiang},
  title = {{Data-Centric Learning from Unlabeled Graphs with Diffusion Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=DmakwvCJ7l},
}
Figure