Distribution Learning for Molecular Regression
Nima Shoghi, Pooya Shoghi, Anuroop Sriram, Abhishek Das
TL;DR
This work tackles regression with soft targets by analyzing histogram-based targets and biases, then introduces Distributional Mixture of Experts (DMoE), which learns target distributions via a loss that combines histogram cross-entropy and a distance term. The approach yields consistent improvements across OC20, MD17, and QM9, across multiple GNN backbones, and provides formal gradient bounds and uncertainty metrics. Key contributions include addressing distribution quantization and distance biases, proposing non-uniform bin distributions with multi-head histograms, and offering uncertainty measures (entropy and KL divergence) with calibration techniques. While effective on ID data and several OOD scenarios, the method exhibits limited gains on certain OC20 OOD splits, highlighting domain sensitivity and the need for further OOD-specific design choices.
Abstract
Using "soft" targets to improve model performance has been shown to be effective in classification settings, but the usage of soft targets for regression is a much less studied topic in machine learning. The existing literature on the usage of soft targets for regression fails to properly assess the method's limitations, and empirical evaluation is quite limited. In this work, we assess the strengths and drawbacks of existing methods when applied to molecular property regression tasks. Our assessment outlines key biases present in existing methods and proposes methods to address them, evaluated through careful ablation studies. We leverage these insights to propose Distributional Mixture of Experts (DMoE): A model-independent, and data-independent method for regression which trains a model to predict probability distributions of its targets. Our proposed loss function combines the cross entropy between predicted and target distributions and the L1 distance between their expected values to produce a loss function that is robust to the outlined biases. We evaluate the performance of DMoE on different molecular property prediction datasets -- Open Catalyst (OC20), MD17, and QM9 -- across different backbone model architectures -- SchNet, GemNet, and Graphormer. Our results demonstrate that the proposed method is a promising alternative to classical regression for molecular property prediction tasks, showing improvements over baselines on all datasets and architectures.
