Preserving Geometric Symmetry in Uncertainty Estimation for Molecular Forces

Xinyu Li, Zhen Zhang, Jiayu Huang, Daniel M. Steinberg, Lina Yao, Javen Qinfeng ShiNeurIPS 2026

TL;DR

When neural networks predict 3D physical vectors like atomic forces, rotating the molecule in space should identically rotate both the predicted force and the shape of the model's uncertainty about that force. Most fast uncertainty estimation methods break this basic law of physics, leaving us with miscalibrated, physically meaningless error bars. This paper introduces a single-pass framework that mathematically guarantees rotation-aware uncertainty—giving scientists reliable confidence intervals for molecular simulations without the crushing computational cost of model ensembles.

What Problem Does This Paper Address?

Quantum mechanical calculations are the gold standard for molecular discovery, but they are painfully slow. Graph Neural Networks (GNNs) act as fast surrogates, predicting scalar properties (like total energy) and vector properties (like atomic forces). Because tiny force errors can snowball and ruin a long Molecular Dynamics simulation, knowing when a model is unsure is just as important as the prediction itself.

For 3D vectors, models must respect equivariance: if you rotate an input molecule by a rotation matrix $\mathbf{R}$, the output force vector $\mathbf{f}$ must rotate the exact same way ($\mathbf{Rf}$). Consequently, its 3D uncertainty "cloud"—represented by a covariance matrix $\mathbf{\Sigma}$—must also rotate consistently ($\mathbf{R\Sigma R}^\top$).

Illustration of equivariant uncertainty: rotating a molecule must consistently rotate both the mean force prediction and its 3D covariance distribution.

Currently, you have to pick your poison:

  1. Ensembles or MC Dropout: Naturally preserve rotational symmetry by averaging multiple predictions, but require running many models or forward passes—too slow for large-scale simulations.
  2. Sampling-free methods (e.g., Evidential Regression): Output a probability distribution in a single pass. However, standard multivariate versions build covariance matrices using operations (like Cholesky decompositions with exponential diagonals) that destroy 3D rotational symmetry. Rotate the molecule, and the uncertainty cloud warps inconsistently.

Methods

The authors build upon Multivariate Evidential Regression (MER), a single-pass method where a network outputs the parameters of a higher-order prior—the Normal-Inverse-Wishart (NIW) distribution—over the mean and covariance of the target vector.

To make this equivariant without overparameterizing the network, they introduce Equivariant Multivariate Evidential Regression (EMER) with three clever additions:

  • Symmetry-Preserving Covariance ($\mathbf{\Psi}$): Instead of Cholesky factors, EMER constructs the $3 \times 3$ NIW scale matrix as $\mathbf{\Psi}(\alpha, \mathbf{F}) = \exp(\alpha)\mathbf{I} + \mathbf{FF}^\top$. Here, $\alpha$ is a rotation-invariant scalar that guarantees the matrix is strictly positive definite (a spherical base uncertainty), and $\mathbf{F}$ is a $3 \times 2$ equivariant matrix predicted by an equivariant GNN. Because $\mathbf{F}$ rotates with the molecule, $\mathbf{FF}^\top$ stretches the uncertainty cloud in the right 3D directions while avoiding the redundant, unstable math of a full $3 \times 3$ factor.
  • Training-Only Dropout (EMER-D): Deep encoders paired with evidential heads tend to suffer from "feature collapse," becoming wildly overconfident. The authors add dropout only during training as a feature-space regularizer—keeping inference deterministic, fast, and single-pass.
  • Mahalanobis Calibration (MCal): Standard 1D calibration metrics fail on 3D vectors. The authors introduce a rotation-invariant calibration score based on the Mahalanobis distance (measuring error normalized by predicted covariance) evaluated against the theoretical Student's $t$ / scaled $F$-distribution of the evidential output.

Datasets

The authors evaluate EMER on three standard quantum chemistry benchmarks:

  • MD17 & OC20: Used for joint energy and 3D atomic force prediction.
  • QM7-X: Used for predicting 3D molecular dipole-moment vectors.
  • MD17-RotOOD & QM7X-RotOOD (Newly Constructed): To stress-test rotational robustness, the authors align training molecules so dominant vector variations lie in the $xy$-plane, then rotate test molecules by $90^\circ$ out-of-plane. This mimics real-world orientation biases while keeping molecular geometries intact.

Key Insights and Ideas

  • Distance calibration hides directional flaws: Under out-of-distribution rotations, non-equivariant models with dropout (MER-D) actually get decent Mahalanobis calibration scores because MCal mainly checks overall uncertainty scale. However, they fail miserably on dimension-wise calibration (RCal) and likelihood (NLL) because their uncertainty clouds point the wrong way when rotated!
  • Less rank is more: In ablating $\mathbf{F} \in \mathbb{R}^{3 \times m}$, setting $m=3$ caused training instability under dropout due to overparameterization, whereas $m=0$ (purely spherical uncertainty) missed directional nuances. Rank $m=2$ hit the mathematical sweet spot.
  • Dropout tames evidential overconfidence: Vanilla EMER is an accuracy powerhouse, but without training-time dropout regularization (EMER-D), deep GNN backbones collapse into poorly calibrated overconfidence.

Key Results

Tested across backbones like PaiNN, NequIP, and MACE, the framework shines under rotational shift:

  • Force Prediction (MD17-RotOOD): Vanilla EMER achieves the best single-model Energy MAE on 5 of 7 molecules and Force MAE on 4 of 7. Meanwhile, EMER-D sweeps Negative Log-Likelihood (Max NLL), winning on all 7 molecules (e.g., dropping Aspirin Max NLL from MER's 11.81 down to 0.75, beating even Ensemble's 0.85).
  • Dipole Prediction (QM7X-RotOOD): Across all three GNN backbones, EMER-D delivers the strongest calibration and likelihood under rotation. With MACE, EMER-D cuts dimension-wise miscalibration (Max RCal) from MER's 1.19 down to 0.15 (beating Ensemble's 0.36), while cutting dipole MAE in half compared to the standard backbone (0.0041 vs. 0.0082).
Table 2: Dipole moment prediction on QM7X-RotOOD across PaiNN, NequIP, and MACE backbones, showing EMER-D dominating calibration and NLL metrics.

Limitations and Future Work

  • Accuracy vs. Calibration Trade-off: Adding training dropout (EMER-D) dramatically fixes uncertainty calibration, but slightly degrades raw point-estimate accuracy (especially Energy MAE on MD17) compared to unregularized EMER.
  • Residual Ambiguity: Using a $3 \times 2$ factor $\mathbf{F}$ shrinks rotational non-uniqueness from $O(3)$ down to $O(2)$, though it doesn't eliminate it completely (a stricter Gram–Schmidt variant removed this up to sign flips, but didn't improve empirical performance).
  • Future Directions: The authors envision plugging this fast, trustworthy vector uncertainty directly into active learning loops, on-the-fly error detection during long-timescale simulations, and adaptive multiscale modeling.

Summary updated

Abstract

Accurate and reliable uncertainty estimation (UE) for vector-valued physical properties is crucial for scientific discovery in fields like drug and materials discovery. For example, atomic forces are central to finding optimal structures and identifying equilibrium systems, and a fundamental requirement of these vectors is that they must be equivariant under 3D rotations. However, existing UE methods often fail to respect these geometric constraints, leading to poorly calibrated uncertainty and degraded predictive performance. To address the problem, we introduce a novel framework for equivariant multivariate evidential regression. Our primary contribution is a theoretically grounded parameterization of the evidential prior's scale matrix, constructed via a decomposition into an invariant scalar component and an equivariant low-rank term. Furthermore, we address the lack of suitable evaluation standards for vector fields by introducing a rigorous calibration metric based on the Mahalanobis distance. Extensive experiments on molecular property prediction benchmarks, including MD17, QM7-X, and OC20, show that our framework consistently outperforms established baselines, achieving state-of-the-art single-model predictive accuracy with well-calibrated uncertainty. This work provides a principled and practical approach to uncertainty estimation for equivariant vector-valued properties, paving the way for more trustworthy machine learning applications in scientific discovery.
BibTeX
@inproceedings{li2026preserving,
  author = {Xinyu Li and Zhen Zhang and Jiayu Huang and Daniel M. Steinberg and Lina Yao and Javen Qinfeng Shi},
  title = {{Preserving Geometric Symmetry in Uncertainty Estimation for Molecular Forces}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ey4IT8N8rl},
}
Figure