MCP
arXivarXiv
Preprint
Published: August 4, 2026
cs.LG
v2

ED-DiT: Physics-Guided Diffusion Pretraining for Transferable Molecular Representations from Electron Density

Abstract
Pretraining has shown strong potential for learning transferable representations, yet it remains underexplored for electron-density-based molecular learning. Electron density provides a continuous three-dimensional description of molecular electronic structure, capturing both local spatial patterns and global physical quantities. This raises a key question: can electron-density fields be used for self-supervised pretraining to learn a shared representation that transfers across diverse electronic-structure-related tasks? We propose ED-DiT, a physics-guided Diffusion Transformer for self-supervised pretraining on electron-density point clouds. ED-DiT learns reusable representations by reconstructing corrupted and partially masked log-density fields across diffusion noise levels. An electron-number consistency constraint is further introduced to preserve the total electronic mass. The pretrained encoder can be adapted to property prediction, open-/closed-shell classification, molecule-electron-density retrieval, and molecule-conditioned electron-density prediction. Experiments on six EDBench tasks show that ED-DiT consistently outperforms the same architecture trained from scratch, especially under limited supervision. For molecule-conditioned electron-density prediction, it reduces RMSE from 2.2474 to 1.3753 and surpasses the available baseline. With only 10% labels, it improves orbital energy prediction RMSE from 0.0293 to 0.0138. These results demonstrate the effectiveness of physics-guided electron-density pretraining for learning transferable molecular representations.
0
AI overview
Reviews
Citation graph
References · 41
Structured
Starting the AI preview
Generated from v1 · the paper is now at v2

Overview

This paper proposes ED-DiT, a physics-guided diffusion pretraining framework for 3D electron density point clouds, aimed at learning transferable molecular representations that can adapt to multiple classes of electron-structure-related downstream tasks.

Research Background and Problem Definition of Electron Density Molecular Representation Pretraining

Electron density provides a continuous 3D description of molecular electronic structure, capturing both local spatial patterns and global physical quantities of molecules.

Pretraining paradigms have already shown strong application potential in learning transferable representations, but in electron-density-based molecular learning scenarios, exploration of relevant pretraining directions remains insufficient. Prior related modeling efforts were mostly designed separately for specific downstream tasks, and the generalization support of a shared electron density encoder across diverse downstream tasks has not yet been systematically validated.

The study formalizes self-supervised pretraining on 3D electron density as a transferable molecular representation learning problem, clarifying the core research boundary: verifying whether self-supervised pretraining on electron density fields can learn shared representations that transfer across various electron-structure-related tasks.

The Physics-Guided Diffusion Pretraining Mechanism of ED-DiT

ED-DiT's core self-supervised pretraining framework is designed for 3D electron density point clouds, combining a masked diffusion denoising task with physical constraints: it performs diffusion noise prediction on masked log-density tokens while incorporating an electron count consistency constraint as part of the pretraining objective.

After pretraining, ED-DiT's encoder can output shared electronic structure representations with strong transferability. These representations can be directly adapted to multiple classes of downstream electron-density-related tasks, covering property prediction, open-shell/closed-shell classification, molecule-electron density retrieval, and molecule-conditioned electron density prediction. The figure below helps you fully understand ED-DiT's complete pipeline from pretraining to downstream adaptation.

Fig. 1: Overview of the ED-DiT architecture: (a) ED-DiT performs self-supervised physics-guided pretraining on 3D electron density point clouds, learning by predicting diffusion noise on masked log-density tokens, with a pretraining objective combining masked denoising and the electron count consistency physical constraint; (b) the pretrained encoder outputs shared electronic structure representations with strong transferability; (c) these representations can be adapted to EDBench downstream tasks, including property prediction, open-shell/closed-shell classification, bidirectional molecule-electron density retrieval, and molecule-conditioned electron density prediction.

On the property prediction and classification tasks of the EDBench benchmark, ED-DiT consistently outperforms same-architecture baselines trained from scratch, achieving the best performance among EDBench point cloud baselines on all reported property and classification tasks. On the bidirectional molecule-electron density retrieval task, ED-DiT's Top-1 accuracy is near-perfect, matching or exceeding baselines trained from scratch, and substantially outperforming the Geoformer-based baseline methods.

Experimental Validation and Observation Boundaries of ED-DiT

In the evaluation of the molecule-conditioned electron density prediction task, ED-DiT achieved the best performance among all compared methods: compared with the same-architecture baseline trained from scratch, its mean absolute error decreased from 0.4165 to 0.1213, and its root mean square error decreased from 2.2474 to 1.3753, while also outperforming the official HGEGNN baseline and the DeepDFT method on both metrics. This result validates the effectiveness of the pretrained electron density backbone on density-level prediction tasks.

To verify whether electron density pretraining can improve data efficiency on downstream tasks, the study compares the property prediction performance of ED-DiT with models trained from scratch under settings with different proportions of labeled training data. Across the vast majority of labeled-data proportion settings on the four downstream tasks OE, EC, MM, and OCS, ED-DiT outperforms the from-scratch baseline, and these performance gains are especially pronounced in the low-label regime: using only 1% labeled data, ED-DiT improves the AUROC of the OCS task from 0.5438 to 0.9693 while reducing the RMSE of the MM task from 1.06116 to 0.69457. Similar improvements are observed in the 10% labeled data setting, where ED-DiT's AUROC on the OCS task approaches saturation and the prediction error on the MM task also drops markedly. This indicates that self-supervised pretraining on electron density fields can provide transferable electronic structure priors for downstream tasks.

The study performs quantile statistics on prediction errors across different ranges of local electron density variation, observing that prediction errors remain low from the first to the third quantile and rise sharply only in the fourth quantile, a pattern consistent with the qualitative observation that residuals concentrate in regions with drastic local electron density variation. ED-DiT outperforms the from-scratch baseline across all quantile ranges. In the most difficult fourth-quantile region, ED-DiT reduces the MAE from 0.9753 to 0.4182 and the RMSE from 4.1111 to 2.0080, a 51.2% relative RMSE reduction, confirming that the performance gains from pretraining carry over to density prediction even in scenarios with the strongest local electron density variation.

Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first