Search arXiv⌕ Search

arXiv · 2509.07785

Algorithmic differentiation for plane-wave DFT: materials design, error control and learning model parameters

Abstract

We present a differentiation framework for plane-wave density-functional theory (DFT) that combines the strengths of forward-mode algorithmic differentiation (AD) and density-functional perturbation theory (DFPT). In the resulting AD-DFPT framework derivatives of any DFT output quantity with respect to any input parameter (e.g. geometry, density functional or pseudopotential) can be computed accurately without deriving gradient expressions by hand. We implement AD-DFPT into the Density-Functional ToolKit (DFTK) and show its broad applicability. Amongst others we consider the inverse design of a semiconductor band gap, the learning of exchange-correlation functional parameters, or the propagation of DFT parameter uncertainties to relaxed structures. These examples demonstrate a number of promising research avenues opened by gradient-driven workflows in first-principles materials modeling.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Niklas Frederik Schmitz, Bruno Ploumhans, Michael F. Herbst. 2025-10-24. Algorithmic differentiation for plane-wave DFT: materials design, error control and learning model parameters. https://doi.org/10.1038/s41524-025-01880-3

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Symmetry-induced magnetic fullerene

Defect-free, charge-neutral, pure-carbon materials are generally viewed as intrinsically non-magnetic. Here we challenge this view by establishing a fundamental principle of symmetry-induced magnetism in pure-carbon fullerene systems through molecular orbital theory. We show that high-order symmetry of fullerene molecules or their crystalline lattices induces degenerate energy levels and hence, quantised magnetic moments at half filling. This mechanism holds for all high-order symmetries. It suggests a plausible intrinsic origin for the previously debated magnetic fullerene. Additionally, recent experimental advances in the synthesis of monolayer fullerene networks provide a feasible platform to implement our prediction on the deep link between symmetry and magnetism in these systems. Our results create new, broad frontiers of quantum magnetism by introducing molecular or crystalline symmetries in any lattice.

cond-mat.mtrl-sci↗

Tritium for Nanoscale Hydrogen Analysis by Atom Probe Tomography

Accurate nanoscale detection of hydrogen is essential for understanding hydrogen-related phenomena in materials, yet conventional tracing with deuterium is often complicated by residual background hydrogen. This study evaluates tritium as a highly resolvable isotopic marker for nanoscale hydrogen analysis in metals using atom probe tomography. Titanium was selected for its ability to incorporate hydrogen isotopes, providing a suitable platform for tritium detection. Time of flight secondary ion mass spectrometry and electron backscatter diffraction were performed prior to tritium charging to characterize the initial composition and microstructure. Atom probe tomography in laser mode before and after tritium charging, at three post-charging time intervals, enables tracking of tritium incorporation over time. Thermal desorption analysis confirmed the presence of tritium and complemented the secondary ion mass spectrometry measurements, highlighting the role of the surface oxide layer in modulating tritium release. While tritium, deuterium, and protium differ in their diffusion and trapping behavior, the distinct mass signal associated with tritium provides a practical advantage for resolving hydrogen at very low concentrations. This work serves as a fundamental benchmarking study for leveraging tritium and atom probe tomography as a combined tool for understanding hydrogen in materials, relevant for interpreting local processes such as hydrogen embrittlement.

cond-mat.mtrl-sci↗

Interfacial melting as a thermodynamic indicator of solid-state synthesizability

Computational materials discovery commonly ranks candidate materials by their thermodynamic stability on the formation energy convex hull, yet many predicted-stable phases resist synthesis. We propose that solid-state synthesizability through interfacial-melt-mediated routes requires an additional thermodynamic condition: the interfacial melt at the target composition must itself remain locally stable against spinodal decomposition. We examine this in the classical Fe--B system, where thermodynamically stable FeB$_4$ has been reported under high-pressure synthesis but not in low-pressure synthesis attempts. Using melt--quench molecular dynamics driven by a fine-tuned machine-learning interatomic potential, we find that, at ambient pressure, the B-rich interfacial melt near the FeB$_4$ composition develops a concave free-energy landscape, signaling a demixing instability that is corroborated by the concentration--concentration structure factor and correlated with low-energy icosahedral and pentagonal-pyramidal boron motifs. In contrast to FeB$_4$, metastable Fe$_3$B and Fe$_{23}$B$_6$ remain synthesizable because their corresponding melts are stable. Applied pressure introduces a convex $PV$ contribution that strongly suppresses this instability, reducing the curvature at the FeB$_4$ composition to within the uncertainty of our fit at 1800~K, consistent with the experimental synthesis boundary. Comparison with CrB$_4$ further shows that weaker melt instability correlates with easier experimental synthesis. Interfacial-melt stability, which atomistic simulations can assess via the low-$k$ concentration--concentration structure factor, is thus proposed as a practical thermodynamic screening descriptor of synthesizability for AI-assisted materials discovery.

cond-mat.mtrl-sci↗