Correlation-Aware Fragmentation for Privately Trained Hamiltonian Models

Machine-learned models can now predict the Hamiltonian matrix of a molecule directly from its atomic coordinates. The Hamiltonian is the central object a density functional theory (DFT) solver repeatedly builds and diagonalizes, and that diagonalization is what makes the solver's cost grow as the cube of system size. A good predicted Hamiltonian can seed the solver's self-consistent loop, which is the iterative refinement a DFT code runs until the electron density stops changing, and so cut the number of expensive iterations. To reach large systems, such models are naturally trained on overlapping fragments. Each fragment is a region of atoms plus a surrounding "buffer" shell. This is the divide-and-conquer recipe, and it is accurate because electrons in gapped systems are nearsighted.

The most useful training data for large systems, such as industrial catalysts, doped surfaces, and proprietary transition-metal complexes, is exactly the data companies will not share. Fragmentation creates a specific privacy problem here. One sensitive site, for example a metal center with its ligands, appears in every fragment whose buffer covers it, much as one user in a social graph appears in every neighborhood that contains them. This is the setting of node-level differential privacy: a formal guarantee that the trained model reveals almost nothing about whether any single site, together with all its connections, was in the data. Its cost grows with how many training records one site can touch.

Our observation is that strong electronic correlation fixes this count. Near-degenerate, strongly correlated sites close the electronic gap. That forces larger buffers for accuracy, which puts each site into more fragments, which increases the noise privacy requires. We propose to design the fragmentation itself around a measured correlation map. Buffers become large only where orbital entanglement says they must be, and a hard, public cap limits how many fragments any site can enter.

Core Claim

When private Hamiltonian models are trained on fragments, three quantities are tied to the same geometric choice, the buffer radius around each fragment. That radius sets accuracy, compute, and privacy cost together, and the radius accuracy demands is set by local electron correlation.

The divide-and-conquer analysis of Analysis of the divide-and-conquer method for electronic structure calculations is our first input. It proves that the error in fragment density decays exponentially with distance to the buffer edge when a spectral gap exists, and only algebraically when the gap closes. That gives the accuracy side. Node-level DP training that bounds each node's participation gives the privacy side. Training Differentially Private Graph Neural Networks with Random Walk Sampling clamps gradient sensitivity to a constant by making nodes appear in at most one subgraph, and our argument follows the same logic.

If every site appears in at most $m$ fragments and each fragment's gradient is clipped to norm $C$, removing one site changes the summed gradient by at most

$$\Delta \le m\,C.$$

The Gaussian noise that DP-SGD (differentially private stochastic gradient descent) must add therefore scales linearly with $m$. A uniform fragmentation must choose one buffer radius for the whole system. It either uses a small radius everywhere and fails at correlated sites, or a large radius everywhere, which inflates $m$ and compute for every atom. Our claim is that a correlation-aware fragmentation can match the accuracy of uniform large buffers at a much smaller coverage cap. It chooses fragment centers and radii from a cheap orbital-entanglement diagnostic and solves a bounded-coverage covering problem. The result should be a better accuracy–privacy–compute trade-off, and the advantage should grow with the fraction of strongly correlated sites.

Nothing in the file connects all three directions. The closest work is private graph learning (GAP, DRW, DPAR), which has only been tested on citation and social graphs, and non-private Hamiltonian learning (QHNet on QH9), which has only been tested on small closed-shell organics.

Research Program

The first component is the correlation map. For each candidate site we compute single-orbital entropies $s(1)_i$ from partially converged density matrix renormalization group (DMRG) calculations. DMRG is a tensor-network method for strongly correlated wavefunctions. We reuse the distributed divide-and-conquer entanglement scheme of autoCAS: A Program for Fully Automated Multiconfigurational Calculations. That scheme isolated the 60 π-orbitals of C₆₀ from 240 valence orbitals using 144 bounded-memory sub-calculations, so the diagnostic itself stays affordable. We then bin sites using the entropy thresholds of Orbital Entanglement in Bond-Formation Processes: below 0.1 means dynamic correlation only, 0.1 to 0.5 means static correlation, and above 0.5 means nondynamic correlation. Each bin is assigned a required buffer radius $r_i$, calibrated empirically on held-out systems by the radius at which fragment Hamiltonian blocks reach a target error.

The second component is fragmentation as an optimization problem. We choose fragment centers and radii so that every atom $i$ lies in the core of at least one fragment and sits at least $r_i$ from that fragment's boundary. The objective is total cubic compute, the sum of fragment sizes cubed. The hard constraint is that no site is covered by more than a public cap $m_{\max}$ fragments. Where the cap and the accuracy requirement conflict, the algorithm merges overlapping fragments around a correlated region into a single large fragment rather than tiling it with many overlapping ones. It pays compute to save coverage. If a requirement still cannot be met, the buffer is truncated. That costs accuracy, never privacy, which mirrors how N2E clips graphs to a public degree bound in N2E: A General Framework to Reduce Node-Differential Privacy to Edge-Differential Privacy for Graph Analytics and how DPAR restricts aggregation to top-$K$ neighbors in DPAR: Decoupled Graph Neural Networks with Node-Level Differential Privacy.

The third component is private training. An SE(3)-equivariant Hamiltonian network, meaning one whose outputs rotate correctly when the molecule is rotated, is trained on fragment-level targets with per-fragment clipping and Gaussian noise. We use QHNet from Efficient and Equivariant Graph Networks for Predicting Quantum Hamiltonian. Because noise is added to parameter gradients rather than to features, equivariance is preserved by construction. This deliberately avoids GAP-style feature perturbation from GAP: Differentially Private Graph Neural Networks with Aggregation Perturbation, since isotropic noise on tensor-valued features would break the rotation behavior of Hamiltonian blocks. Predicted fragment blocks are stitched into a full Hamiltonian that warm-starts the self-consistent loop, following the protocol of QH9: A Quantum Hamiltonian Prediction Benchmark for QM9 Molecules.

The main technical risk is that the fragmentation depends on the private data. Removing one site can change the correlation map and hence which fragments exist, so the simple bound $\Delta \le mC$ is not yet a complete privacy proof. We will prove a stability lemma of the following form: fragments whose centers lie beyond a fixed radius of the removed site are unchanged, so at most a bounded number of fragments differ. If that proof fails, we fall back to a design that is valid by construction. In the fallback, fragment centers lie on a public grid and only radii are chosen from the correlation map. Radii are drawn from a small public menu, and the entropy bin at each grid point is released through a DP selection step. The same budget-split tuning issue that DPAR reports then applies, and we will report it rather than hide it.

The data consists of three tiers, each with a different role. QH9, with 130,831 stable and 99,900 dynamic B3LYP/Def2SVP Hamiltonians, is the gapped, weakly correlated control. There the correlation map should be nearly flat and our method should reduce to uniform fragmentation. The second tier is a new composite benchmark we would build, containing the large cationic transition-metal complexes of WCCR10 from New Benchmark Set of Transition-Metal Coordination Reactions for the Assessment of Density Functionals, such as Grubbs catalysts and gold-phosphine complexes. The third tier is stretched-bond systems (N₂, F₂ and CsH motifs along dissociation paths, embedded in larger organic environments), where the fraction of high-entropy sites can be dialed continuously.

We use the same B3LYP/Def2SVP level for all targets so that numbers remain comparable with QH9. This level is known to be unreliable energetically for transition metals. That is acceptable, because the target here is a good warm start and a well-controlled locality structure, not energetics. Generating these labels is the dominant cost of the project.

Baselines

The naive reference point is a cold-start DFT solver with no learned model. It sets the SCF iteration count and wall time that any warm start must beat, and it has no privacy cost because no model is released.

The non-private upper bound is QHNet trained on full systems where they fit, and on uniform large-buffer fragments otherwise. It uses the same data, the same architecture, and the same hyperparameter search budget as every private variant. The only reported number in the file for this model is a Hamiltonian mean absolute error of 76.31 × 10⁻⁶ Hartree on QH9-stable-id, from QH9: A Quantum Hamiltonian Prediction Benchmark for QM9 Molecules. We will reproduce this figure before trusting our pipeline. No reported result was found on Lacuna for Hamiltonian prediction on transition-metal or stretched-bond systems, nor for any differentially private Hamiltonian or molecular property model. All private numbers in this study are therefore new, and the non-private run defines the ceiling.

The strongest private competitor is uniform-buffer fragmentation with the same bounded-coverage DP-SGD. It is the obvious way anyone would combine divide-and-conquer with node-level privacy. We sweep its single radius, and at every privacy level we compare against its best radius, selected on validation data with the same tuning budget. Beating it means lower Hamiltonian error and fewer warm-started SCF iterations at equal $\varepsilon$ and $\delta$, and at equal total fragment compute, on the correlated tiers. The gain must be statistically separated across seeds. We also expect near parity on QH9.

We run a DRW-style disjoint variant with zero buffer overlap, which gives the minimal coverage $m=1$, as in Training Differentially Private Graph Neural Networks with Random Walk Sampling. We also run per-system DP-SGD, where each whole system is one record. These bracket the design space from the privacy side and the record-granularity side.

The key ablation replaces the entropy-based correlation map with a local Kohn–Sham gap map from the same DFT calculation, holding the covering algorithm fixed. A second ablation replaces the map with random radius assignment at matched average radius. Together these isolate whether measured entanglement, rather than just variable buffers, is what earns the gain.

Why not just…?

Why not just treat each molecule or material as one record and use ordinary DP-SGD? This is the right choice when a dataset holds many independent small molecules, and on QH9 we expect it to be competitive. The consortium setting is different: a few parties each contribute a small number of large systems. With per-system records, the number of records is tiny and the noise per useful gradient step is overwhelming. It also protects a coarser unit than needed, because the sensitive object is usually a site motif rather than the whole structure. The experiment settles this directly. We plot error against $\varepsilon$ for per-system DP-SGD and for site-level bounded-coverage training as the number of contributed systems shrinks. If per-system DP matches us at realistic dataset sizes, the finer granularity is not worth its complexity, and we will say so.

Why not just use disjoint fragments with no buffers, which minimizes sensitivity? Disjointness is exactly what makes DRW work. DRW itself reports that it only matches baselines on small, dense graphs like Cora, because cutting edges discards information. In electronic structure the loss has a known form. The divide-and-conquer analysis bounds density error by the buffer distance, so zero buffers give errors that are uncontrolled near fragment boundaries. With vanishing gaps those errors decay only algebraically, so they are worst at strongly correlated sites. We expect disjoint fragments to do acceptably on QH9 and to fail on the transition-metal and stretched-bond tiers. The per-tier comparison will show whether that expectation holds.

Why not just use the local HOMO–LUMO gap from DFT to size buffers, instead of DMRG entanglement? This is the most serious threat. It is far cheaper, and the divide-and-conquer proof is stated in terms of the gap. The case for entanglement is that single-reference DFT is least trustworthy precisely where static correlation matters, as The Delicate Balance of Static and Dynamic Electron Correlation documents, so its gap may misreport where locality breaks down. That is an argument, not evidence, and the gap-map ablation decides it. If the gap map performs as well, we adopt it and drop the DMRG step. The contribution then narrows to the bounded-coverage covering design, which is still new but smaller.

Why not just use uniform large buffers and accept the privacy cost? At a fixed $\varepsilon$, noise scales with coverage. Coverage grows roughly as the cube of the radius-to-spacing ratio in three dimensions, and compute grows as the cube of fragment size. Uniform large buffers pay both costs everywhere, to fix a problem that exists at a minority of sites. The radius sweep in the strongest baseline measures exactly how much this costs.

Proposed Experiments

The decisive experiment is an accuracy–privacy frontier on each data tier. For each method we record Hamiltonian block mean absolute error, HOMO/LUMO energy error, and warm-started SCF iteration count, at $\varepsilon \in \{1, 2, 4, 8\}$ with fixed $\delta$, matched total fragment compute, and three seeds. The prediction is specific. On QH9 the correlation-aware and uniform methods are within noise of each other. On the stretched-bond tier our advantage grows monotonically as the fraction of high-entropy sites increases. A flat advantage curve would falsify the central claim that correlation drives the trade-off.

The second check tests the claimed coupling mechanism directly. For uniform fragmentation we plot, as a function of buffer radius, the fragment error at high-entropy versus low-entropy sites, alongside the resulting coverage $m$. This verifies that correlated sites need larger radii and that this need is what inflates $m$.

The third check is empirical privacy. We train membership-inference attackers to decide whether a specific transition-metal site motif was in the training data, following the style of attack evaluation GAP used on Facebook, where attack success fell to 50–52% under its mechanism. We check that attack success approaches chance at the claimed $\varepsilon$ and is clearly above chance for the non-private model.

The fourth check is the stability lemma. On random site deletions we count how many fragments actually change, and compare that count to the bound used in the privacy accounting. If the bound is exceeded even once, we switch to the public-grid design and report both sets of results.