Source-linked AI summary

SchNet - a deep learning architecture for molecules and materials

Kristof T. Schütt, Huziel E. Sauceda, Pieter-Jan Kindermans, Alexandre Tkatchenko, Klaus-Robert Müller

arXiv:1712.06113v3physics.chem-phcond-mat.mtrl-sci

TL;DR

Accurate quantum-chemical calculations are too costly for broad exploration of molecular and materials chemical space. SchNet uses continuous-filter convolutions to model atomistic interactions and learns invariant representations, achieving accurate property, potential-energy-surface, and force-field predictions across molecules and materials.

Abstract

from arXiv · show

Deep learning has led to a paradigm shift in artificial intelligence, including web, text and image search, speech recognition, as well as bioinformatics, with growing impact in chemical physics. Machine learning in general and deep learning in particular is ideally suited for representing quantum-mechanical interactions, enabling to model nonlinear potential-energy surfaces or enhancing the exploration of chemical compound space. Here we present the deep learning architecture SchNet that is specifically designed to model atomistic systems by making use of continuous-filter convolutional layers. We demonstrate the capabilities of SchNet by accurately predicting a range of properties across chemical space for \emph{molecules and materials} where our model learns chemically plausible embeddings of atom types across the periodic table. Finally, we employ SchNet to predict potential-energy surfaces and energy-conserving force fields for molecular dynamics simulations of small molecules and perform an exemplary study of the quantum-mechanical properties of C$_{20}$-fullerene that would have been infeasible with regular ab initio molecular dynamics.

I. INTRODUCTION

SchNet addresses the computational cost of exploring chemical space by learning atomistic representations and interactions directly from atomic types and positions. It is designed to predict molecular and material properties, potential-energy surfaces, and force fields while respecting key atomistic symmetries.

Motivation

  • Accurate quantum-chemical calculations are too costly for exploring the vast chemical space of molecules and materials.Machine-learning approaches reduce the required reference calculations, but earlier methods often rely on handcrafted descriptors or lack atomic positions.Source: §I · p. 1

Contribution

  • SchNet models complex atomic interactions using continuous-filter convolutions and learned representations of atom types and positions.The architecture is a variant of DTNNs and uses filter-generating neural networks to incorporate chemical knowledge and constraints.Source: §I · p. 1, §II · p. 2
  • Rotational, translational, and atom-indexing invariance are built into SchNet, supporting predictions across compositional and configurational chemical space.These symmetries are captured by design rather than learned only from examples.Source: §I · p. 1
  • SchNet incorporates periodic boundary conditions through its filter-generating networks, enabling accurate formation-energy predictions for diverse bulk crystals.The filters can encode periodic structure while preserving the required property invariances.Source: §I · p. 1

Applications

  • SchNet enables efficient molecular-dynamics studies by predicting potential-energy surfaces and energy-conserving force fields.The introduction reports nanoseconds of low-temperature PIMD completed within hours instead of years for an exemplary C20-fullerene study.Source: §I · pp. 1–2

B. Atom-wise layers

SchNet refines atom-wise representations through shared atom-wise layers and interaction blocks. Continuous-filter convolutions accommodate atoms at arbitrary positions, while shifted-softplus activations support smooth energy and force modeling.

Atom-wise layers

  • Shared atom-wise layers transform each atom representation independently while preserving scalability with respect to the number of atoms.The layers also process environmental information incorporated through interaction layers.Source: B. Atom-wise layers · p. 2

Interaction blocks

  • Interaction blocks add refinements based on pair-wise interactions with surrounding atoms using continuous-filter convolutional layers.These convolutions generalize discrete convolutions to atomistic systems whose positions are not arranged on a regular grid.Source: C. Interaction blocks · p. 2
  • A continuous-filter convolution and three atom-wise layers form the residual mapping of an interaction block.The overall architecture and interaction-block organization are illustrated in Fig. 1.Source: C. Interaction blocks · p. 2

Activation functions

  • Shifted-softplus activations satisfy ssp(0) = 0 and have infinite-order continuity, supporting smooth potential-energy surfaces, force fields, and second derivatives.The shift is described as improving convergence.Source: C. Interaction blocks · p. 3

D. Filter-generating networks

SchNet generates continuous interaction filters from relative atomic positions, incorporating atomistic invariances and allowing resolution to be controlled through Gaussian distance expansions.

Filter generation

  • The filter-generating network maps the vector from an atom to a neighbor to filter values that determine how their interaction is modeled.This fully connected network can constrain the model and incorporate chemical knowledge.Source: D. Filter-generating networks · p. 3

Distance representation

  • Rotational invariance is included by computing pairwise distances rather than using relative positions.The distances are then expanded in a Gaussian basis.Source: §1 · p. 3
  • Gaussian centers are placed uniformly between zero and the distance cutoff, while the number of Gaussians and γ determine filter resolution.The work uses a grid spacing and scaling parameter γ of 0.1 Å for all models.Source: §1 · p. 3

2. Periodic boundary conditions

SchNet handles periodic systems by applying periodic boundary conditions directly to the interaction filters, preserving unit-cell invariance and enabling invariant property prediction. Energy-based force prediction additionally yields rotationally equivariant, energy-conserving force fields.

Periodic boundary conditions

  • Periodic repetitions receive equivalent atom-wise feature vectors, so periodic boundary conditions are applied directly to the filters.This accurately describes atom interactions while keeping predictions invariant to the choice of unit cell.Source: §2 · p. 3

Periodic filters

  • The periodic filter sums contributions from all periodic images within the cutoff and can be normalized by the number of nearby atoms.Generated filters reflect the lattice structures of diamond and graphite.Source: §2 · p. 3

Property prediction

  • SchNet predicts molecular or material properties from atom-wise contributions by summing extensive properties or averaging intensive properties.This construction retains invariance to atom indexing.Source: E. Property prediction · p. 3

Force prediction

  • Atomic forces are obtained by differentiating the predicted energy with respect to atomic positions.With a rotationally invariant energy model, this produces rotationally equivariant and energy-conserving force predictions.Source: E. Property prediction · pp. 3–4

F. Training

SchNet is trained by minimizing property-specific squared losses, with a combined energy-and-force loss for molecular-dynamics trajectories. Training uses ADAM with validation-based early stopping, and nearby-atom preprocessing makes training cost linear in system size.

  • SchNet models each property target by minimizing a squared loss.Source: F. Training · p. 4
  • Energy and force trajectory models use a combined loss that balances energy and force errors through ρ.ρ controls the trade-off between the two loss components.Source: F. Training · p. 4
  • Models use mini-batch stochastic gradient descent with ADAM and batches of 32 examples.The learning rate decays exponentially by a ratio of 0.96 every 100,000 steps.Source: F. Training · p. 4
  • Data are split into training, validation, and test sets, with validation used for early stopping.The remaining data are used to compute test errors.Source: F. Training · p. 4
  • Precomputing nearby-atom indices makes each training step scale linearly with system size within the cutoff.Source: F. Training · p. 4

III. RESULTS

SchNet is evaluated on molecular and materials property prediction, with strong performance across suitable QM9 targets and improved learning behavior as interaction blocks increase. Its atomic contribution decomposition remains less suitable for some global properties, motivating property-specific output layers.

  • QM9 experiments train SchNet on 131k small organic molecules with up to nine heavy atoms, using T = 6 and 64-dimensional atomic representations.Source: A. Learning molecular properties · p. 4
  • SchNet reaches or improves over enn-s2s on 8 out of 12 QM9 properties where atomic decomposition is appropriate.Its predictions of polarizability α and electronic spatial extent ⟨R2⟩ are noticeably less accurate.Source: A. Learning molecular properties · p. 4
  • Interpretable property-specific output layers, such as for the dipole moment, remain future work.Source: A. Learning molecular properties · p. 5
  • 0.014 eV is the U0 mean absolute error for SchNet with T ∈ {3, 6} interaction blocks and 110k training examples.With T = 2, the error is 0.015 eV; the figure compares learning curves against best-performing DTNN models with T = 3.Source: Figure 3 · p. 4, A. Learning molecular properties · p. 5
  • T = 6 produces the lowest U0 errors when training on fewer examples, despite having the most parameters.With 110k examples, it also reduces convergence from 2400 epochs for T = 2 to fewer than 750 epochs.Source: A. Learning molecular properties · p. 5

B. Learning formation energies of materials

SchNet predicts formation energies for a broad Materials Project crystal set while learning atom embeddings that reflect periodic-table chemistry. Its learned local chemical potentials also reproduce chemically meaningful molecular and solid-state patterns.

Formation energies

  • SchNet predicts formation energies for 69,640 Materials Project crystal structures spanning 89 atom types up to Z = 94.The model uses six interaction blocks, 64-dimensional atomic representations, and a 5 Å distance cutoff.Source: B. Learning formation energies of… · p. 5

Learned atom embeddings

  • Figure 4 visualizes the two leading principal components of sp-atom embeddings, with colors denoting periodic-table groups.The projection explains only about 20% of embedding variance, so overlapping points may still be distant in the full space.Source: Figure 4 · p. 5, B. Learning formation energies of… · p. 5
  • The learned atom embeddings group elements according to periodic-table groups and often order them from lighter to heavier elements.This structure was inferred from geometries and formation-energy targets rather than imposed on the model.Source: B. Learning formation energies of… · p. 5, Figure 4 · p. 5

Local chemical potentials

  • Local chemical potentials are computed by adding a virtual probe atom that acts as a test charge to the SchNet input.The probe enables visualization of the learned representation in its molecular environment.Source: C. Local chemical potentials · p. 5, Figure 5 · p. 6
  • For QM9 molecules, DTNN and SchNet local potentials capture bond saturation and varying aromaticity, while SchNet produces sharper feature separation.The distinguishing molecular features remain remarkably robust across the two neural-network architectures.Source: C. Local chemical potentials · p. 6, Figure 5 · p. 6
  • The relationship between inferred local potentials and traditional observables such as electron density, electrostatic potentials, and orbitals remains unresolved.The paper identifies chemical-reactivity trends as a possible future application.Source: C. Local chemical potentials · p. 6
  • SchNet local-potential cuts for graphite and diamond resemble the periodic structures of the corresponding solids.In solids, these potentials could help investigate defect formation and distribution, including vacancies and interstitials.Source: C. Local chemical potentials · p. 6, Figure 6 · p. 6

D. Combined learning of energies and atomic forces

SchNet is evaluated on molecular-dynamics trajectories using energy-only or combined energy-and-force training. Force information substantially improves small-data learning, while the model remains scalable to larger datasets and competitive with GDML on selected molecules.

Benchmark setup

Combined training

  • On small training sets, adding force information reduces SchNet energy and force errors by 12 orders of magnitude versus energy-only training.With 50,000 examples, the improvement is less apparent because the potential-energy surface is already well sampled.Source: D. Combined learning of energies and… · p. 7

Comparison with GDML

  • With 1,000 reference calculations, SchNet outperforms GDML on malonaldehyde and ethanol, whereas GDML achieves lower force errors on trajectories containing aromatic rings.The authors suggest SchNet’s indexing invariance may benefit more flexible molecules.Source: D. Combined learning of energies and… · p. 7

Accuracy and scalability

  • SchNet achieves energy and force MAEs below 0.12 kcal/mol and 0.33 kcal/mol/Å, respectively.These results are reported for the tested molecular-dynamics trajectories and prediction setup.Source: D. Combined learning of energies and… · p. 7

Combined training

  • SchNet performs better with combined energy-and-force training on 1,000 calculations than with energy-only training on 50,000 examples.The comparison supports the value of force information when reference calculations are limited.Source: D. Combined learning of energies and… · p. 7

E. Application to molecular dynamics of C20-fullerene

SchNet was trained to reproduce the C20-fullerene potential-energy surface and used for molecular-dynamics simulations including nuclear quantum effects. The resulting model enabled long PIMD simulations with DFT-level accuracy at substantially lower computational cost.

Model and reference data

Potential-energy surface

  • The selected model reproduced DFT normal-mode frequencies with a largest error of approximately 1%.The authors conclude that the model successfully reconstructs the C20 potential-energy surface and its symmetries.Source: E. Application to molecular dynamics… · p. 8, Figure 7 · p. 8
  • The force-only model was selected to drive molecular dynamics because the study focused on the fullerene's mechanical properties.Differentiating the energy model still guarantees an energy-conserving force field.Source: E. Application to molecular dynamics… · p. 8

Nuclear quantum effects

IV. CONCLUSIONS

The paper presents SchNet as a versatile architecture for quantum chemistry that spans molecular and materials property prediction and accurate potential-energy modeling. Its C20 application demonstrates computationally feasible path-integral molecular dynamics that common DFT approaches could not practically provide.

Conclusions

  • SchNet learns task-adapted representations from first principles rather than requiring painstaking design of mechanistic force fields or descriptors.The architecture is applied from property prediction across chemical space to force fields for individual molecules.Source: §IV · p. 9
  • SchNet models rotational, translational, and permutational invariances by design and can directly represent periodic boundary conditions.The paper also examines learned representations and atomic embeddings.Source: §IV · p. 9
  • The C20 PIMD study at the PBE+vdWTS level would not have been computationally feasible with common DFT approaches.The authors identify larger molecules, periodic systems, and interpretable architectures as directions for future work.Source: §IV · p. 9

Appendix A: Error distributions

The appendix presents logarithmic-scale histograms of prediction errors for QM9 and the Materials Project dataset. It also records the DFT-based C20 simulation setup and the PIMD treatment of nuclear quantum effects.

C20 simulation setup

  • C20 reference data were generated with classical NVT molecular dynamics at 500 K using PBE plus the Tkatchenko-Scheffler method for van der Waals interactions.The reported timestep was 1 fs.Source: Appendix B · p. 9
  • Nuclear quantum effects were introduced with path-integral molecular dynamics, where the number of beads controls their treatment.The simulations used a 0.5 fs timestep and an NVT path-integral Langevin thermostat.Source: Appendix B · p. 9

Error distributions

  • QM9 error histograms include absolute prediction errors for all predicted properties and use a logarithmic scale to show distribution tails.The histograms aggregate test errors across all three repetitions.Source: Appendix A · p. 9, Figure 9 · p. 10
  • The Materials Project error histogram shows absolute errors for formation energies per atom on a logarithmic scale.The logarithmic presentation is used to visualize the tails of the error distribution.Source: Figure 10 · p. 10
Loading 1712.06113v3…