arXiv:2610.36135cond-mat.mtrl-sciOct 2026

Manuscript Offprint

arXiv:2610.36135

Physical structure as an organizing principle for universal Hamiltonian learning

Mingkang Liu, Zhanghao Zhouyin, Guanghui Wang, Daye Zheng, Lei Shen, Qiangqiang Gu

Abstract

Density functional theory (DFT) gives the electronic structure of materials, but its cost limits large-supercell calculations and materials screening. Machine-learned Hamiltonians bypass the self-consistent cycle but are usually system-specific; universal ones could cover new compositions and disordered solids. Such models must generalize across chemistry and keep downstream properties physical, while staying inexpensive for large cells. Here we introduce UniTB, a universal E(3) equivariant Hamiltonian representation framework that integrates physical priors rooted in density-functional tight-binding theory with deep learning. UniTB's network, which corrects a prior Hamiltonian, generalizes across chemistry through a mixture of experts routed by that prior and a charge-equilibration head as in self-consistent-charge tight binding. A projection bounds band shifts from the prior, suppressing spurious states and keeping downstream properties physical. We provide the fastest SO(2) tensor-product GPU kernels for the network. The variant UniTB-Flash assembles its prior from two-center tables at O(N)O(N) cost for N atoms, against O(Nlog⁡N)O(N \log N) on a grid. Trained on 29,242 crystals, UniTB reaches a 0.48 meV matrix-element error on nonmagnetic test crystals spanning 68 elements. Without amorphous training data, both models agree with DFT optics and conductivity of amorphous Ge–Sb–Te. UniTB-Flash ranks candidates with no significant difference from UniTB, whose property values are more accurate; together they screen 16,195 crystals for five application domains of industrial relevance.

Introduction

The electronic structure of a material determines its optical and transport properties. Density functional theory (DFT) obtains it by iterating the electron density to self-consistency, at a cost that grows as the cube of the number of atoms with conventional diagonalization 1^{1}. This cost limits calculations on amorphous semiconductors and phase-change memory alloys, which need supercells of hundreds of atoms or more 2−4^{2-4}, and it limits screens over many candidate materials 5,6^{5,6}. Machine-learned Hamiltonians bypass the self-consistent cycle: in a basis of localized atomic orbitals, equivariant neural networks predict the onsite and hopping blocks of the Kohn–Sham Hamiltonian H directly from the atomic structure 7−13^{7-13}. Universal DeepH demonstrated direct Hamiltonian learning on a crystals dataset spanning 24 elements in the first four periods, without spin–orbit coupling 14^{14}. Universal HamGNN broadened chemical coverage across much of the periodic table using the residual H−H(0)H - H^{(0)} relative to a non-self-consistent reference Hamiltonian H(0)H^{(0)} constructed from neutral-atom densities 15^{15}. The later Uni-HamGNN incorporates spin–orbit coupling and supports crystal screening 16^{16}. NextHAM also learns H−H(0)H - H^{(0)} and additionally uses its zeroth-step reference H(0)H^{(0)} to initialize the node and edge features of the network 17^{17}. Trained once on crystals of up to a few tens of atoms, a universal model could then be used for new compositions, disordered solids and materials screening 18^{18}.

These uses require one model that transfers across chemistry, keeps its spectra free of spurious states and stays inexpensive for large cells. Transfer across chemistry depends first on how parameters are shared. A universal model uses one network for thousands of element pairs, distinguished by element embeddings or assigned to sub-networks or experts by bond length 14,16,17,19^{14,16,17,19}; models trained for a single material set the accuracy that a universal model aims to reach 13,14,16,17,20^{13,14,16,17,20}. A new composition also changes the charge transferred between atoms, and the neutral-atom prior H(0)H^{(0)} contains no charge transfer. The transferred charge depends on the structure beyond the cutoff of a local network, and its potential acts at long range, so a local correction captures only part of it. Interatomic potentials include charge transfer through explicit charge-equilibration (QEq) terms 21−23^{21-23}, and a long-range Coulomb correction has been added to Hamiltonian models of single polar systems 24^{24}; the same argument calls for an explicit term in a universal model. Disorder is a further test of transfer: Hamiltonian models of amorphous materials have been trained on the materials they describe 25−27^{25-27}, whereas a universal model would have to describe their optics and transport from crystal training alone.

The spectrum sets the second requirement. Errors in HH are amplified in its generalized eigenvalues when the overlap matrix SS is ill-conditioned, so a matrix error below 1 meV can still place a spurious (ghost) state in the band window17,19^{17,19}, where it distorts the properties computed from the spectrum. Band-energy and reciprocal-space terms in the training loss lower these errors9,16,17^{9,16,17}; a bound that holds beyond the training set has to come from the construction of the model. The third requirement is cost. Besides the network, the prior, the overlap and the spin-flip blocks of the spin–orbit Hamiltonian are built for every structure. For NextHAM, building H(0)H^{(0)} requires the Hartree and exchange–correlation potentials on a grid that fills the cell, at a cost that grows as Nlog⁡NN \log N for NN atoms at fixed density and with the cell volume at fixed NN; this step has been reported to take most of the inference time of a model that corrects H^{(0)}$$^{17}.

Here we build a universal model, UniTB, on the structure of tight binding, which writes the Hamiltonian as a transferable atomic part plus a correction that depends on the environment and suggests a construction for each requirement. Like NextHAM, UniTB starts from H(0)H^{(0)} 17^{17}. For transfer across chemistry, it combines a mixture of experts with a charge-equilibration head. Tight-binding parametrizations give every element pair its own two-center tables 28,29^{28,29}, and a mixture of experts 30−34^{30-34} lets a shared network specialize in a comparable way: in UniTB, the bond type and the rotation invariants of the bond’s prior block 35,36^{35,36}, which contains the potentials of the neighboring atoms, select the experts applied to that bond (PDQ-MoE) 37,38^{37,38}. In self-consistent-charge density-functional tight binding (SCC-DFTB) 39^{39}, the potentials of transferred charges shift each Hamiltonian block in proportion to the overlap of its two orbitals. UniTB adds a charge-equilibration head of this form; its site potentials come from local readouts and from latent charges that are solved as in QEq 21−23^{21-23} and sum to zero over the cell.

For the spectrum, UniTB uses a property of H(0)H^{(0)}, the Hamiltonian of the Harris–Foulkes functional 40,41^{40,41}: the self-consistent correction H−H(0)H - H^{(0)} is a change of local potential, which shifts each ordered band by at most the largest magnitude of that change (Methods). A spectral projection imposes a bound of this kind on the predicted correction in the overlap metric, keeping each predicted band within a fixed distance of the band of H(0)H^{(0)} with the same index. For the cost, the variant UniTB-Flash approximates H(0)H^{(0)} from two-center integrals tabulated once per element pair and rotated into each bond by the Slater–Koster rules 28^{28}, as tight-binding codes do 42−44^{42-44}. Because atomic orbitals and projectors have finite range, this grid-free prior, the overlap and the spin-flip blocks of the spin–orbit Hamiltonian are sums over a bounded number of neighbors, assembled at a cost linear in N and independent of the cell volume 1,44,45^{1,44,45}. With the prior at linear cost, the network and its SO(2) tensor products become the main cost of training and inference. We therefore provide fused GPU kernels for the forward and backward passes of these tensor products, SO2CUDA; they do not depend on UniTB and can be used by other equivariant models built on SO(2) convolutions, including interatomic potentials.

With 29,242 training crystals, UniTB reaches a mean absolute matrix-element error of 0.48 meV on nonmagnetic test crystals spanning 68 elements. After projection, none of the 200 band-test structures shows a spurious state in UniTB's bands under the strict detection criterion. On one graphics processing unit (GPU), UniTB-Flash generates H and S for a 3,456-atom cell in 1.65 s and UniTB in 5.11 s; the grid-free prior leaves a larger correction to learn and so trades some accuracy for speed. Without amorphous training data, both models reproduce the DFT-Hamiltonian optical constants and conductivity of amorphous Ge–Sb–Te supercells of 180–198 atoms as well as the computed valence-band photoemission spectra of amorphous Ge–Sb–Te and Si. On held-out thermoelectric crystals, they reproduce the Seebeck coefficients. We test both models on application domains chosen from common industrial needs: interconnect metals for chips, high-index photonic materials, photovoltaic absorbers, high-mobility semiconductors and thermoelectrics, together with band-gap design. In these six domains, UniTB-Flash reaches screening scores close to those of UniTB, with no significant difference, whereas UniTB gives the more accurate property values. In a two-stage screen of 16,195 public crystal structures for the first five domains, UniTB-Flash ranks the candidates, UniTB re-evaluates the highest ranked and DFT checks the final lists. The screen finds n-type thermoelectric candidates beyond the strongest reference material, among them compounds with measured large power factors, and in every domain the DFT checks confirm the accuracy of both models on crystals they have not seen.

References (75)