Take Note: Your Molecular Dataset Is Probably Aligned
Peter Lippmann, Roman Remme, Manuel Viktor Klockow, Fred A. Hamprecht
摘要
Massive training datasets are fueling the astounding progress in molecular machine learning. Since these datasets are typically generated with computational chemistry codes which do not randomize pose, the resulting molecular geometries are usually not randomly oriented. While cheminformaticians are well aware of this fact, it can be a real pitfall for machine learners entering the burgeoning field of molecular machine learning. We demonstrate that molecular poses in the popular datasets QM9, QMugs, and OMol25 are indeed biased. While the fact can easily be overlooked by visual inspection alone, we show that a simple classifier can separate original data samples from randomly rotated ones with high accuracy. Second, we empirically validate that neural networks can and do exploit the orientation bias in these datasets by successfully training a model on chemical property prediction using molecular orientation as sole input. Third, we present visualizations of all molecular orientations and confirm that chemically similar molecules tend to have similar canonical poses. In summary, we recall and document orientation bias in the prevalent datasets that machine learners should be aware of. In this paper, we make the following contributions: we demonstrate, using QM9, QMugs, and OMol25 as prominent examples, that molecules in many popular ML datasets are not randomly oriented by training a simple classifier that distinguishes between randomly rotated and unrotated samples with very high accuracy. We show that the accuracy remains high even when the default atom positions are perturbed with substantial noise and random rotations of up to 90 • . Further, we demonstrate that neural networks can leverage the canonical orientation to achieve artificially high accuracy in an extreme scenario: using only the normalized principal components of atom positions as input, we regress molecular properties and observe performance on the three standard datasets that exceeds the best possible accuracy expected for randomly oriented data. Lastly, we visualize the orientations of all molecules in these datasets and show that chemically similar molecules tend to be oriented similarly (see Fig. 1 ). We make our code publicly available as a toolbox to visualize and quantify orientation bias in molecular datasets at https://github.com/sciai-lab/are-my-molecules-aligned . an additional loss. The MLIPs are trained on OMol25 and the MD17 dataset, which can both be shown to exhibit strong orientation bias (cf. Fig. 5b and Fig. 11 ), which may influence the training and evaluation of these models. Motivated by the "bitter lesson" Sutton (2019), the conformer generation model presented in (Wang et al., 2023b) is based on an efficient and scalable diffusion model that operates directly on 3D atomic positions without enforcing rotational equivariance. The authors conduct experiments on QM9 and the strongly aligned GEOM dataset (cf. Fig. 7a ). Notably, the authors observe that randomly rotating their training set prior to training negatively impacts their performance and hypothesize that the reason may be that "DFT simulations used to generate the data might be implicitly encoding a canonical coordinate system, which affects generalization if broken" (Wang et al., 2023b) (p. 8). INVESTIGATING ORIENTATIONS IN MOLECULAR DATASETS: METHODS, RESULTS, AND IMPLICATIONS Clearly, the first step that comes to mind when investigating the orientations of molecular geometries is to visually inspect the 3D geometries for obvious alignment. Figure 2 shows 100 randomly sampled molecular geometries from each dataset. For QM9, clear structure is visible. Most strikingly, the first bond (adjacent to the origin) almost perfectly aligns with the Cartesian y-axis. The original QM9 paper (Ramakrishnan et al., 2014) invoked the cheminformatics tool Corina (version 3.491, 2013 ) (Sadowski & Gasteiger, 1993) to generate 3D structures from SMILES strings. The geometries were then relaxed using Kohn-Sham DFT calculations at the B3LYP/6-31G(2df,p) level. The Corina algorithm (closed-source) is likely responsible for the alignment with the y-axis, while the subsequent geometry relaxation softens the strict alignment. For QMugs and OMol25, no similarly
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
它引用的顶会 Paper20
- Do Transformers Really Perform Badly for Graph Representation?Chengxuan Ying, Tianle Cai, Shengjie Luo, Shuxin Zheng 等NeurIPS 2021 · 被引用 1,632 次
- MACE: Higher Order Equivariant Message Passing Neural Networks for Fast and Accurate Force FieldsIlyes Batatia, Dávid Péter Kovács, Gregor N. C. Simm, Christoph Ortner 等NeurIPS 2022 · 被引用 1,448 次
- EquiformerV2: Improved Equivariant Transformer for Scaling to Higher-Degree RepresentationsYi-Lun Liao, Brandon M. Wood, Abhishek Das, Tess E. SmidtICLR 2024 · 被引用 311 次
- Frame Averaging for Invariant and Equivariant Network DesignOmri Puny, Matan Atzmon, Edward J. Smith, Ishan Misra 等ICLR 2022 · 被引用 177 次
- Reducing SO(3) Convolutions to SO(2) for Efficient Equivariant GNNsSaro Passaro, C. Lawrence ZitnickICML 2023 · 被引用 157 次
相关 Paper
- Hybrid Directional Graph Neural Network for MoleculesJunyi An, Chao Qu, Zhipeng Zhou, Fenglei Cao 等ICLR 2024 · 被引用 1 次
- Learning Over Molecular Conformer Ensembles: Datasets and BenchmarksYanqiao Zhu, Jeehyun Hwang, Keir Adams, Zhen Liu 等ICLR 2024 · 被引用 13 次
- Pre-training via Denoising for Molecular Property PredictionSheheryar Zaidi, Michael Schaarschmidt, James Martens, Hyunjik Kim 等ICLR 2023 · 被引用 30 次
- Conformal Prediction Sets for Graph Neural NetworksSoroush H. Zargarbashi, Simone Antonelli, Aleksandar BojchevskiICML 2023 · 被引用 49 次
- Energy-Motivated Equivariant Pretraining for 3D Molecular GraphsRui Jiao, Jiaqi Han, Wenbing Huang, Yu Rong 等AAAI 2023 · 被引用 64 次
