mlsanityData to 14 Oct 2026

Out-of-Distribution Detection in Molecular Complexes via Diffusion Models for Irregular Graphs

arXiv 2512.18454 ↗First posted 20 Dec 2025cs.LG q-bio.QMcited by 0

On the map: Diffusion models → Flow matching, time series and science

Abstract (arXiv)

Predictive machine learning models generally excel on in-distribution data, but their performance degrades on out-of-distribution (OOD) inputs. Reliable deployment therefore requires robust OOD detection, yet this is particularly challenging for irregular 3D graphs that combine continuous geometry with categorical identities and are unordered by construction. Here, we present a probabilistic OOD detection framework for complex 3D graph data built on a diffusion model that learns a density of the training distribution in a fully unsupervised manner. A key ingredient we introduce is a unified continuous diffusion over both 3D coordinates and discrete features: categorical identities are embedded in a continuous space and trained with cross-entropy, while the corresponding diffusion score is obtained analytically via posterior-mean interpolation from predicted class probabilities. This yields a single self-consistent probability-flow ODE (PF-ODE) that produces per-sample log-likelihoods, providing a principled typicality score for distribution shift. We validate the approach on protein-ligand complexes and construct strict OOD datasets by withholding entire protein families from training. PF-ODE likelihoods identify held-out families as OOD and correlate strongly with prediction errors of an independent binding-affinity model (GEMS), enabling a priori reliability estimates on new complexes. Beyond scalar likelihoods, we show that multi-scale PF-ODE trajectory statistics - including path tortuosity, flow stiffness, and vector-field instability - provide complementary OOD information. Modeling the joint distribution of these trajectory features yields a practical, high-sensitivity detector that improves separation over likelihood-only baselines, offering a label-free OOD quantification workflow for geometric deep learning.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 27 of its 45 references that are in the map. First posted on arXiv 20 Dec 2025.

Builds on

27 of 45 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024Optimizing OOD Detection in Molecular Graphs: A Novel Approach with Diffusion Models24 Apr
  2. 2022Structure-based Drug Design with Equivariant Diffusion Models24 Oct
  3. 2022Equivariant Diffusion for Molecule Generation in 3D31 Mar

Other references · 24

  1. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  2. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  3. 2022Elucidating the Design Space of Diffusion-Based Generative Modelscited by 3,045
  4. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  5. 2017Enhancing The Reliability of Out-of-distribution Image Detection in Neural Networkscited by 1,328
  6. 2020Energy-based Out-of-distribution Detectioncited by 1,299
  7. 2021Generalized Out-of-Distribution Detection: A Surveycited by 802
  8. 2021ReAct: Out-of-distribution Detection With Rectified Activationscited by 486
  9. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 453
  10. 2018Do Deep Generative Models Know What They Don't Know?cited by 443
  11. 2020Why Normalizing Flows Fail to Detect Out-of-Distribution Datacited by 221
  12. 2022Continuous diffusion for categorical datacited by 214
12 more
  1. 2019Input complexity and out-of-distribution detection with likelihood-based generative modelscited by 186
  2. 20233D Equivariant Diffusion for Target-Aware Molecule Generation and Affinity Predictioncited by 177
  3. 2022ChemBERTa-2: Towards Chemical Foundation Modelscited by 127
  4. 2018Improving Reconstruction Autoencoder Out-of-distribution Detection with Mahalanobis Distancecited by 74
  5. 2023Energy-based Out-of-Distribution Detection for Graph Neural Networkscited by 68
  6. 2021Deep Graph-level Anomaly Detection by Glocal Knowledge Distillationcited by 67
  7. 2023Ankh: Optimized Protein Language Model Unlocks General-Purpose Modellingcited by 45
  8. 2024Out-of-Distribution Detection with a Single Unconditional Diffusion Modelcited by 22
  9. 2023Likelihood-based Out-of-Distribution Detection with Denoising Diffusion Probabilistic Modelscited by 10
  10. 2024Rate-In: Information-Driven Adaptive Dropout Rates for Improved Inference-Time Uncertainty Estimationcited by 7
  11. 2025Revisiting Likelihood-Based Out-of-Distribution Detection by Modeling Representationscited by 6
  12. 2025Generalization Beyond Benchmarks: Evaluating Learnable Protein-Ligand Scoring Functions on Unseen Targetscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Distributional Priors Guided Diffusion for Generating 3D Molecules in Low Data Regimes
  2. 2026Geometry over Density: Few-Shot Cross-Domain OOD Detection
  3. 2023Geometry-Complete Diffusion for 3D Molecule Generation and Optimization
  4. 2025Data-Dependent Smoothing for Protein Discovery with Walk-Jump Sampling
  5. 2025EigenScore: OOD Detection using Covariance in Diffusion Models
  6. 2023Accelerating Inference in Molecular Diffusion Models with Latent Representations of Protein Structure
  7. 2025DOSE3 : Diffusion-based Out-of-distribution detection on SE(3) trajectories
  8. 2024Equivariant Blurring Diffusion for Hierarchical Molecular Conformer Generation