NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Global Plane Waves from Local Gaussians: Periodic Charge Densities in a Blink

Jonas Elsborg, Felix Aertebjerg, Luca Thiede, Alan Aspuru-Guzik, Tejs Vegge, Arghya Bhowmik

Density Functional Theory (DFT) is the undisputed workhorse of computational materials science, enabling researchers to simulate everything from next-generation battery electrodes to novel catalysts. However, DFT's predictive power comes at a steep computational cost. It relies on a self-consistent field (SCF) loop: the algorithm starts with a guess of the electron charge density, calculates the system's energy, updates the density, and repeats this cycle until the system stabilizes.

Providing a high-quality initial guess using a machine learning (ML) model can significantly reduce the number of iterations required. Yet, the materials science community has recently hit a wall: the "inference tax." Most modern ML models are so computationally heavy that the time spent running the model (inference) exceeds the time saved during the DFT calculation. In many cases, using a "smart" ML initialization actually slows down the total workflow.

To solve this, researchers have introduced ELECTRAFI (Electronic Tensor Reconstruction Algorithm with Fourier Inversion), a fast, end-to-end differentiable model that predicts periodic charge densities up to 633× faster than current state-of-the-art methods. By bridging local Gaussian functions with global plane waves, ELECTRAFI achieves a rare feat: a net 20% reduction in total DFT computation time.

The Methodology: Mathematical Delegation

ELECTRAFI abandons the traditional approach of predicting charge density at every point on a dense real-space grid, which is notoriously slow. Instead, its architecture is built on three mathematical pillars:

  1. Anisotropic Gaussians: The model predicts the parameters (weight, center, and shape) of a set of "floating" 3D Gaussians centered around the atoms in a crystal.
  2. The Poisson Summation Formula: Crystalline materials are inherently periodic. Standard models must sum up contributions from many neighboring "images" of the crystal, a computationally heavy task. ELECTRAFI sidesteps this by leveraging the Poisson summation formula, a mathematical identity that translates a sum of functions in real space into a sum in reciprocal (Fourier) space.
  3. Analytic Fourier Transforms: Because Gaussians have a closed-form Fourier transform, ELECTRAFI can analytically calculate "plane-wave coefficients" directly. It then uses a single Inverse Fast Fourier Transform (IFFT) to reconstruct the final periodic charge density grid.

This approach delegates the heavy lifting of periodicity and long-range behavior to exact analytic transforms, rather than forcing a neural network to learn these physical constraints from scratch.

Datasets and Evaluation

The model was rigorously trained and evaluated across several prominent periodic benchmarks:

  • Materials Project (MP-Full): Over 100,000 structures, primarily oxides and inorganic compounds.
  • GNoME: A dataset of 2,000 structures used to test generalization to new, diverse chemical spaces.
  • ECD-HSE06: A dataset utilizing a more advanced hybrid functional to test the model's capacity for higher-fidelity physics.
  • MP-Mixed & Cubic: Standard benchmarks for comparing against legacy models like DeepDFT and SCDP.

Key Results: Speed, Accuracy, and End-to-End Savings

The most critical takeaway from ELECTRAFI is that accuracy does not equal utility. While competing models like ChargE3Net are slightly more accurate on paper, their high inference times (minutes versus sub-seconds) result in a net slowdown of the total DFT workflow.

  • Unprecedented Speed: ELECTRAFI achieved an average inference time of 0.17 seconds on the Materials Project test set, compared to 78.73 seconds for ChargE3Net—a staggering 463× speedup. On the HSE06 dataset, this speedup reached 633×.
  • Top-Tier Accuracy: Despite its blazing speed, ELECTRAFI maintains highly competitive accuracy. On the MP-Full set, it achieved a Normalized Mean Absolute Error (NMAE) of 0.58%, trailing only slightly behind the 0.54% of the much slower state-of-the-art.
  • Real-World Savings: When integrated into a real VASP (DFT software) workflow, ELECTRAFI reduced the total time-to-solution by ~17-20%. In stark contrast, using the slower ChargE3Net actually increased the total time by about 5% due to its inference overhead.

Interestingly, error analysis revealed complementary biases between the models. ELECTRAFI performs best on ionic and heavy elements where charge distributions are smoother. Conversely, grid-based models like ChargE3Net excel at light, covalent bonds where charge is highly directional. This suggests that future hybrid models could leverage the strengths of both approaches.

Limitations and Future Directions

While ELECTRAFI represents a major leap forward for practical ML-accelerated DFT, the authors note a few areas for future improvement:

  • Rotation Equivariance: The model is not naturally equivariant to 3D rotations. While data augmentation helps bridge the gap, it is not a perfect substitute for a strictly equivariant architecture.
  • Missing Components: Fully initializing a DFT calculation requires more than just the valence charge density (e.g., augmentation occupancies for PAW potentials). Currently, these must still be sourced elsewhere.
  • Magnetism: The current iteration does not predict spin-polarized densities, which are essential for studying magnetic materials.
  • Benchmark Quality: The authors emphasize the need for better, more reproducible benchmarks that include full DFT input files, as current datasets often lack the metadata required for true end-to-end testing.

Ultimately, ELECTRAFI proves that inference speed is just as critical as accuracy for practical scientific acceleration, setting a new standard for how machine learning models should be evaluated in computational chemistry.

Summary updated

BibTeX
@inproceedings{elsborg2026global,
  author = {Jonas Elsborg and Felix Aertebjerg and Luca Thiede and Alan Aspuru-Guzik and Tejs Vegge and Arghya Bhowmik},
  title = {{Global Plane Waves from Local Gaussians: Periodic Charge Densities in a Blink}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=EPKdX56JSc},
}
Figure