Lune

NeurIPS2022Top-tier venue

Learning Substructure Invariance for Out-of-Distribution Molecular Representations

Nianzu Yang, Kaipeng Zeng, Qitian Wu, Xiaosong Jia, Junchi Yan

Abstract

Molecule representation learning (MRL) has been extensively studied and current methods have shown promising power for various tasks, e.g., molecular property prediction and target identification. However, a common hypothesis of existing methods is that either the model development or experimental evaluation is mostly based on i.i.d. data across training and testing. Such a hypothesis can be violated in real-world applications where testing molecules could come from new environments, bringing about serious performance degradation or unexpected prediction. We propose a new representation learning framework entitled MoleOOD to enhance the robustness of MRL models against such distribution shifts, motivated by an observation that the (bio)chemical properties of molecules are usually invariantly associated with certain privileged molecular substructures across different environments (e.g., scaffolds, sizes, etc.). Specifically, We introduce an environment inference model to identify the latent factors that impact data generation from different distributions in a fully data-driven manner. We also propose a new learning objective to guide the molecule encoder to leverage environment-invariant substructures that more stably relate with the labels across environments. Extensive experiments on ten real-world datasets demonstrate that our model has a stronger generalization ability than existing methods under various out-of-distribution (OOD) settings, despite the absence of manual specifications of environments. Particularly, our method achieves up to 5.9% and 3.9% improvement over the strongest baselines on OGB and DrugOOD benchmarks in terms of ROC-AUC, respectively. Our source code is publicly available at https://github.com/yangnianzu0515/MoleOOD .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

62 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Structural Re-weighting Improves Graph Domain Adaptation cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Does Invariant Graph Learning via Environment Augmentation Learn Invariance? cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Does Invariant Graph Learning via Environment Augmentation Learn Invariance? cites Structural Re-weighting Improves Graph Domain Adaptation
  • Does Invariant Graph Learning via Environment Augmentation Learn Invariance? cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Does Invariant Graph Learning via Environment Augmentation Learn Invariance? cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
  • GraphDE: A Generative Framework for Debiased Learning and Out-of-Distribution Detection on Graphs cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Simplifying and Empowering Transformers for Large-Graph Representations cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Simplifying and Empowering Transformers for Large-Graph Representations cites GraphDE: A Generative Framework for Debiased Learning and Out-of-Distribution Detection on Graphs
  • Simplifying and Empowering Transformers for Large-Graph Representations cites NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classification
  • NodeFormer: A Scalable Graph Structure Learning Transformer for Node Classification cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
  • Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift cites GraphDE: A Generative Framework for Debiased Learning and Out-of-Distribution Detection on Graphs
  • Unleashing the Power of Graph Data Augmentation on Covariate Distribution Shift cites Graph Contrastive Learning with Augmentations
  • Graph Contrastive Learning with Augmentations cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Open Graph Benchmark: Datasets for Machine Learning on Graphs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers62

  1. Simplifying and Empowering Transformers for Large-Graph RepresentationsQitian Wu, Wentao Zhao, Chenxiao Yang, Hengrui Zhang et al.NeurIPS 2023 · 318 citations
  2. GraphDE: A Generative Framework for Debiased Learning and Out-of-Distribution Detection on GraphsZenan Li, Qitian Wu, Fan Nie, Junchi YanNeurIPS 2022 · 75 citations
  3. Does Invariant Graph Learning via Environment Augmentation Learn Invariance?Yongqiang Chen, Yatao Bian, Kaiwen Zhou, Binghui Xie et al.NeurIPS 2023 · 71 citations
  4. Unleashing the Power of Graph Data Augmentation on Covariate Distribution ShiftYongduo Sui, Qitian Wu, Jiancan Wu, Qing Cui et al.NeurIPS 2023 · 63 citations
  5. Structural Re-weighting Improves Graph Domain AdaptationShikun Liu, Tianchun Li, Yongbin Feng, Nhan Tran et al.ICML 2023 · 62 citations

Builds on14

  1. Open Graph Benchmark: Datasets for Machine Learning on GraphsWeihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong et al.NeurIPS 2020 · 3,935 citations
  2. Graph Contrastive Learning with AugmentationsYuning You, Tianlong Chen, Yongduo Sui, Ting Chen et al.NeurIPS 2020 · 3,042 citations
  3. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  4. Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations
  5. NodeFormer: A Scalable Graph Structure Learning Transformer for Node ClassificationQitian Wu, Wentao Zhao, Zenan Li, David P. Wipf et al.NeurIPS 2022 · 472 citations

Related papers

  1. Learning Molecular Semantic Invariant Representation with Prototype ConstraintZhiqiang Li, Jianqing Liang, Zhiqiang Wang, Xizhao Luo et al.ICML 2026
  2. Learning Invariant Molecular Representation in Latent Discrete SpaceXiang Zhuang, Qiang Zhang, Keyan Ding, Yatao Bian et al.NeurIPS 2023 · 41 citations
  3. Improving Out-of-Distribution Generalization in Graphs via Hierarchical Semantic EnvironmentsYinhua Piao, Sangseon Lee, Yijingxiu Lu, Sun KimCVPR 2024 · 6 citations
  4. CFD: Learning Generalized Molecular Representation via Concept-Enhanced Feedback DisentanglementAming Wu, Cheng DengICLR 2025
  5. Learning Causally Invariant Representations for Out-of-Distribution Generalization on GraphsYongqiang Chen, Yonggang Zhang, Yatao Bian, Han Yang et al.NeurIPS 2022 · 246 citations
Dusk over the sea between two cliffs drawn in fine vertical lines