Learning Invariant Molecular Representation in Latent Discrete Space

Zhuang Xiang, Qiang Zhang, Keyan Ding, Yatao Bian, Xiao Wang +3 more
2/12/2026

No official code found. Best implementation: HICAI-ZJU/iMoLD (24 stars, MIT, last commit 2023-10-16).

Abstract

Molecular representation learning lays the foundation for drug discovery. However, existing methods suffer from poor out-of-distribution (OOD) generalization, particularly when data for training and testing originate from different environments. To address this issue, we propose a new framework for learning molecular representations that exhibit invariance and robustness against distribution shifts. Specifically, we propose a strategy called ``first-encoding-then-separation'' to identify invariant molecule features in the latent space, which deviates from conventional practices. Prior to the separation step, we introduce a residual vector quantization module that mitigates the over-fitting to training data distributions while preserving the expressivity of encoders. Furthermore, we design a task-agnostic self-supervised learning objective to encourage precise invariance identification, which enables our method widely applicable to a variety of tasks, such as regression and multi-label classification. Extensive experiments on 18 real-world molecular datasets demonstrate that our model achieves stronger generalization against state-of-the-art baselines in the presence of various distribution shifts. Our code is available at https://github.com/HICAI-ZJU/iMoLD.

View on arXivView PDF

Code Implementations(1)

HICAI-ZJU/iMoLDCommunity56%
MIT

Official implementation for Learning Invariant Molecular Representation in Latent Discrete Space (NeurIPS 2023)

242PythonOct 9, 20233 years agoMIT
molecular-representation-learningout-of-distribution

Similar Papers

Cite this paper

@article{xiang2026learning,
  title  = {Learning Invariant Molecular Representation in Latent Discrete Space},
  author = {Zhuang Xiang and Qiang Zhang and Keyan Ding and Yatao Bian and Xiao Wang and Jingsong Lv and Hongyang Chen and Huajun Chen},
  year   = {2026},
  eprint = {2310.14170},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.14170},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.14170.svg)](https://codeofpaper.com/paper/2310.14170)

Discussion