betaFeedback

WorksPhysics and Astronomy

Machine-Learning Spin-Fermion Models for Strongly Disordered Magnets: Sb-Doped MnTe

Abstract

Metallic altermagnets are promising for spintronics, but most altermagnets are insulating. Doping can induce metallicity, but introduces chemical and magnetic disorder that is challenging to model from first principles. Here, we introduce a machine-learning approach that renormalizes first-principles calculations onto disordered spin-fermion models. The learned models accurately reproduce first-principles magnetic and electronic properties and enable predictions of millions of inequivalent long-range exchange couplings in large disordered supercells. Applied to Sb-doped MnTe, the approach shows that altermagnetism persists up to about 25% Sb, and reveals disorder broadening as a new factor controlling spin selectivity. More broadly, our work opens a route to combining renormalization with machine-learned Hamiltonians for strongly disordered materials.

Introduction

Altermagnets (AMs) [1–5] are promising for nonvolatile magnetic random-access memory (MRAM), combining the strong spin-transfer torques of ferromagnets (FMs), which enable efficient writing, with the negligible stray fields of antiferromagnets (AFMs), which allow denser bit packing [6–9]. Altermagnets may further enable unconventional superconductivity, including spin-triplet pairing, which can host topological superconductivity and Majorana modes of interest for fault-tolerant quantum computing [10–12]. Both applications require metallicity: MRAM relies on electrical currents for reading and writing, while superconductivity requires mobile charge carriers. However, most predicted altermagnets are insulating [13, 14], limiting their potential for these applications.

An alternative strategy for realizing metallic altermagnets is to dope insulating altermagnets, but the effects of doping on magnetic order can be difficult to predict. For example, Sb doping drives MnTe, an insulating altermagnet [15–17], toward MnSb, a metallic ferromagnet [18–20]. How does altermagnetism evolve between these two limits (Figure 1)? Answering this question at the microscopic level requires first-principles simulations that capture the complex interplay between chemical disorder and long-range magnetic interactions. In metallic systems, these interactions are mediated by conduction electrons (Ruderman–Kittel–Kasuya–Yosida, or RKKY, interactions [21–23]) and extend across many inequivalent chemical environments, giving rise to massive numbers of distinct magnetic couplings and complex non-collinear ground states. Furthermore, modeling chemical and magnetic disorder requires large supercells, which fold electronic bands into smaller Brillouin zones and obscure the momentum-dependent spin splitting characteristic of altermagnets. Band unfolding can recover this momentum-resolved information [24, 25], but accurately resolving disorder-induced spectral broadening requires calculations for many large supercells. Our recent first-principles calculations of Sb-doped MnTe illustrate these limitations: we found an antiferromagnetic-to-ferromagnetic crossover near 25% Sb, but were restricted to a single 128-atom supercell per composition and to collinear magnetic configurations [26]. Together, the complex long-range magnetic interactions, noncollinear magnetic ground states, and need for extensive supercell calculations make conventional first-principles approaches computationally prohibitive.

Figure 1. Schematic illustration of interplay between altermagnetism and metallicity in Sb-doped MnTe. MnTe (left) is an insulating altermagnet, while MnSb (right) favors metallic ferromagnetism; intermediate doping introduces chemical and magnetic disorder difficult to capture with conventional simulations.

Machine learning offers a way forward. Graph neural networks (GNNs) based on message passing [27] are now widely used to learn total energies and forces [28–30], and have since been extended to electronic Hamiltonians [31–33]. These machine-learned Hamiltonian approaches have followed two main routes. The first learns the DFT Hamiltonian matrix directly, as in SchNOrb [31], DeepH [33] and its E(3)-equivariant successors such as DeepH-E3, HamGNN, QHNet and MACE-H [34–37]. These methods bypass self-consistency but retain the atomic-orbital basis of the underlying DFT calculation, so the Hilbert space is not reduced. The second approach reduces the Hilbert space by fitting minimal-basis tight-binding models to band energies or other electronic observables [38, 39, 40, 41] [32]. These methods learn the reduced Hamiltonian only indirectly, through the observables it should reproduce, rather than training directly on renormalized Hamiltonians, and they are restricted to electronic structure and cannot be extended to other low-energy degrees of freedom, such as spins. A key advance for magnetic systems is xDeepH [42], together with the related HamGNN++ [43], which learn the DFT Hamiltonian as a function of both atomic positions and magnetic moments, but they require the magnetic configuration as input, which is not known in advance in disordered systems. This configuration could be obtained from energy-based machine-learning models that also depend on the spin directions [44, 45, 46]. These models capture the magnetic interactions through total energies and magnetic torques computed for many constrained spin configurations of each structure, which becomes demanding in metals, where long-range RKKY-type interactions couple many spins. An alternative is to bring renormalization, the reduction of many degrees of freedom to a few that capture the essential physics, into machine-learned Hamiltonian approaches, so that the magnetic interactions are learned explicitly.

Here, we introduce a machine-learning framework that renormalizes first-principles calculations of strongly disordered magnets onto disordered spin-fermion models, and apply it to Sb-doped MnTe. Trained on small cells, the spin model predicts millions of long-range exchange couplings in large disordered supercells, and the electronic model predicts the corresponding electronic Hamiltonians. Benchmarks against first-principles calculations confirm the accuracy of both. We track the evolution of altermagnetism with doping by applying the framework to many large supercells across a range of Sb concentrations and unfolding the resulting electronic structure into the primitive Brillouin zone. We find that altermagnetism persists up to 25% Sb doping, but disorder broadens the electronic bands such that the tail of each spin channel extends into the peak of the other. This adds a new dimension to altermagnetism: spin selectivity is controlled not only by the spin splitting but also by disorder broadening, which must therefore be considered in the design of doped altermagnets for applications. More broadly, our results demonstrate that combining renormalization with machine-learned Hamiltonians is a viable route to constructing effective models of structurally complex materials beyond the reach of direct first-principles calculations.

Results

Machine-learning disordered spin-fermion models

To map first-principles calculations of strongly disordered magnets onto spin-fermion models, we use two graph neural networks (Figure 2). It is trained on DFT calculations of MnTe1−x_{1-x}Sbx_x supercells with varying cell lengths and angles, Sb concentrations, and Sb arrangements. For each supercell, the exchange couplings JijJ_{ij} are extracted with the magnetic force theorem (MFT) [47, 48, 49]. Given only the atomic positions, GNN1 then predicts all exchange couplings of a supercell, defining a disordered spin model. In this work we restrict this model to isotropic Heisenberg exchange, Hspin=−∑i<jJijSi⋅SjH_{\mathrm{spin}}=-\sum_{i<j}J_{ij}\mathbf{S}_i\cdot\mathbf{S}_j, although anisotropic and single-ion terms can be included in the same framework. The second network, GNN2, learns the electronic model. It is trained on DFT Hamiltonians computed for supercells with both chemical disorder and disordered spin configurations, and predicts the electronic Hamiltonian as a function of both the atomic positions and the orientations of the magnetic moments.

Figure 2. Machine-learning spin-fermion models for strongly disordered magnets. Upper row: DFT and the magnetic force theorem (MFT) provide exchange couplings used to train GNN1, which predicts spin Hamiltonians of large disordered supercells. Lower row: DFT provides electronic Hamiltonians used to train GNN2, which predicts electronic Hamiltonians of large disordered supercells. The magnetic ground state obtained from the spin Hamiltonian is used as input to GNN2. Together, the two networks define a disordered spin-fermion model.

The two networks are combined as follows. For a given disordered supercell, GNN1 provides the spin model, whose magnetic ground state is then determined by torque relaxation of the classical spins using damped Landau–Lifshitz–Gilbert (LLG) dynamics [50]. Because this step involves only classical spins, it is computationaffordable even for large supercells with many inequivalent couplings, and in general yields complex noncollinear ground states. This ground state is passed to GNN2, which predicts the electronic Hamiltonian in the presence of both chemical disorder from Sb substitution and magnetic disorder from the resulting spin texture. Together, the two networks map DFT onto a disordered spin-fermion model with classical spins, in which the electrons move in the magnetic ground state determined by the spin model. We do not relax the atomic structures in this work: relaxing each training configuration would substantially increase the cost of generating thousands of training configurations used for the two networks, and the additional structural variability would likely require even more of them. Instead, Sb atoms occupy the ideal lattice sites of MnTe, with the experimental lattice constants a=4.15a = 4.15 Å and c=6.71c = 6.71 Å [51]. Because both networks take atomic positions as input, relaxed structures can be included directly in future work. Details of the DFT calculations, network training and ground-state relaxations are given in Methods.

Spin model: benchmarking and magnetic phase evolution

Before turning to the GNN, we compare the DFT exchange couplings of the end member MnTe with inelastic neutron scattering (Supplementary Note S5 [52]). The dominant couplings J1J_1 and J3J_3 agree well with experiment [51, 53], while the weak in-plane coupling J2J_2 is overestimated, a coupling that previous DFT studies also fail to reproduce [54, 55] [15]. For the end member MnSb, a direct comparison is less meaningful: neutron scattering constrains only linear combinations of the couplings, the samples contain interstitial Mn, and the analysis neglects induced moments on Sb [56] [19]. Our couplings nevertheless reproduce its strongly ferromagnetic character. Because our aims are to show that machine-learned spin-fermion models can reproduce DFT, and to capture the qualitative evolution from altermagnetic MnTe to ferromagnetic MnSb, this level of agreement with experiment is sufficient for the present purpose.

Turning to the GNN, we computed exchange couplings up to the tenth-nearest neighbor for 510 MnTe1−x_{1-x}Sbx_x supercells with Sb concentrations from 2 to 50% (∼80\sim80 atoms on average) to train GNN1. Here JnJ_n denotes the coupling between Mn atoms in the nnth neighbor shell, ordered by Mn–Mn distance, with J1J_1 the interlayer coupling along cc. The supercells are non-orthogonal and vary in lattice constants and angles, so that the training data are not biased toward any particular supercell geometry. Figure 3 compares GNN and DFT exchange couplings for a Mn64_{64}Te32_{32}Sb32_{32} test supercell not included in the training set, for J1J_1, J2J_2, J3J_3 and J10J_{10} (for J4J_4 to J9J_9, see Supplementary Fig. S1 [52]). The root-mean-square errors (RMSEs) for J1J_1, J2J_2, J3J_3 and J10J_{10} in this supercell are 1.20, 0.81, 1.08 and 0.59 meV, only 6–8% of the

Benchmark of GNN predictions of Heisenberg exchange interactions

Figure 3. Benchmark of GNN predictions of Heisenberg exchange interactions. Top: Non-orthogonal Mn₆₄Te₃₂Sb₃₂ test supercell. Mn-I and Mn-II (red and blue spheres, with orange and blue octahedra, respectively) denote the Mn sublattices with spin up and spin down in the altermagnetic state. The axes aa, bb and cc indicate the supercell lattice vectors; the cc axis of the MnTe unit cell (not shown) is horizontal. Bottom: GNN-predicted versus DFT exchange interactions, JGNNJ_{\mathrm{GNN}} versus JDFTJ_{\mathrm{DFT}}, for the first-, second-, third-, and tenth-nearest-neighbor couplings J1J_1, J2J_2, J3J_3 and J10J_{10}. The dashed line indicates perfect agreement.

ranges of 20, 10, 16 and 7 meV spanned by these couplings. The benchmark also illustrates the complexity of the disordered spin model. Instead of ten exchange couplings, as in pristine MnTe, this single supercell contains 2624 distinct couplings, whose magnitudes vary widely and whose signs can even reverse, as seen for J1J_1. Moreover, the couplings are long ranged. While J4J_4 to J9J_9 are small, J10J_{10}, between Mn atoms 9.8 Å apart, reaches up to 5 meV, comparable to J1J_1, consistent with RKKY-type exchange. Couplings beyond J10J_{10} are again small (Supplementary Fig. S2 [52]), so we truncate the spin model at the tenth neighbor to limit the computational cost of training.

We next use the predicted exchange couplings to determine the magnetic ground states of large disordered supercells. Due to the fact that the spin model is cheap to solve, we can treat 6×6×46 \times6 \times4 supercells (576 atoms) and average over 50 disorder configurations for each Sb concentration. Counting all couplings up to the tenth-nearest neighbor (82 per primitive cell), each 6×6×46 \times6 \times4 supercell contains 11,808 inequivalent exchange couplings, amounting to about 6 million over the 50 configurations and 10 Sb concentrations considered. Obtaining the same ground states directly from DFT would be prohibitive in practice, because it would require noncollinear self-consistent calculations for many large supercells, which are both expensive and notoriously difficult to converge. To track the evolution of the magnetic order, we compare each ground state with altermagnetic (AM) and ferromagnetic (FM) reference states using ΔSRef=1N∑i∣SiGS−SiRef∣\Delta S^{\mathrm{Ref}} = \frac{1}{N} \sum_i \lvert\mathbf{S}_i^{\mathrm{GS}} - \mathbf{S}_i^{\mathrm{Ref}} \rvert, averaged over spin sites and disorder configurations (Figure 4a). At 0% Sb the ground state is the AM state of pristine MnTe, while at 50% Sb it is almost fully FM. Between these limits, the two measures cross at roughly 25–30% Sb, marking the AM-to-FM crossover, consistent with our earlier collinear DFT calculations [26]. Beyond locating the crossover, however, the spin model reveals its nature: Figure 4b shows a representative ground state at 30% Sb. Instead of the antiparallel stacking of AM layers or the parallel stacking of FM layers, the spins in consecutive Mn layers are rotated by roughly 90° with respect to each other, with additional local canting in all directions. Close to the crossover, the disordered ground state is therefore a complex noncollinear state intermediate between AM and FM order.

Figure 4. Magnetic phase evolution in Sb-doped MnTe. (a) Deviation of the magnetic ground state from altermagnetic (AM) and ferromagnetic (FM) reference states, ΔSRef=1N∑i∣SiGS−SiRef∣\Delta S^{\mathrm{Ref}} = \frac{1}{N} \sum_i \lvert\mathbf{S}_i^{\mathrm{GS}} - \mathbf{S}_i^{\mathrm{Ref}} \rvert (Ref = AM or FM), averaged over spin sites and 50 disorder configurations of 6×6×46 \times6 \times4 supercells. The crossing of ΔSAM\Delta S^{\mathrm{AM}} and ΔSFM\Delta S^{\mathrm{FM}} at roughly 25–30% Sb marks the AM-to-FM crossover. (b) Magnetic ground state of a representative 6×6×46 \times6 \times4 supercell at 30% Sb. Colors show the cosine of the angle between each spin and n^∥b^−a^\hat{\mathbf{n}} \parallel\hat{\mathbf{b}} - \hat{\mathbf{a}}.

Spin-fermion model: benchmarking and electronic-structure evolution

GNN2 was trained on 2040 non-orthogonal supercells (∼80 atoms on average) with Sb concentrations from 2 to 50% and disordered spin configurations. As a benchmark, Figure 5 compares the unfolded band structure from GNN2 with that from DFT for a Mn16_{16}Te12_{12}Sb4_4 supercell (25% Sb) not included in the training set. The spectral functions are shown along the path UU–DD–U′U', with D=(0,0,0.3)D = (0, 0, 0.3), U=(0.5,0,0.3)U = (0.5, 0, 0.3) and U′=(0.5,0.5,0.3)U' = (0.5, 0.5, 0.3) in units of the reciprocal lattice vectors (Supplementary Fig. S3 [52]). This path is analogous to that used in the angle-resolved photoemission study of Ref. [17], which lies at kz=0.15k_z = 0.15 in the same units. Both lie away from the spin-degenerate nodal planes at kz=0k_z = 0 and 0.5, so that they show the altermagnetic spin splitting. The GNN reproduces all the complex features of the DFT spectral function, including the gap openings and shadow bands induced by chemical and magnetic disorder. Because this test supercell contains only 32 atoms, its short periodicity produces pronounced band reconstructions with large gap openings. In larger supercells these features merge into smoothly broadened spectral functions, as discussed below. The agreement is weaker at 50% Sb (Supplementary Fig. S4 [52]). There, the GNN still reproduces the pattern of gap openings and shadow bands, but the band energies are shifted relative to DFT. This is understandable, because 50% Sb lies at the edge of the training set, and the accuracy could presumably be improved by including more training data at and beyond 50%. Since this work focuses on the altermagnetic-to-ferromagnetic crossover near 25%, where the agreement is good, we leave such improvements for future work.

Unfolded spectral functions calculated with GNN and DFT

Figure 5. Benchmark of the electronic GNN. Unfolded spectral functions Aσ(k,E)A^\sigma(\mathbf{k}, E) of a Mn16_{16}Te12_{12}Sb4_4 test supercell (25% Sb) with disordered spin configuration, computed with the GNN (left) and DFT (right). Red and blue denote σ=↑\sigma= \uparrow and ↓\downarrow, respectively.

With the spin-fermion model as a surrogate for DFT, we can now study how the electronic structure evolves from MnTe to MnSb. Figure 6 shows the unfolded spectral functions of MnTe1−x_{1-x}Sbx_x from x=0x=0 to x=1x=1, where xx is the Sb fraction (e.g., x=0.25x=0.25 corresponds to 25% Sb). For each intermediate Sb concentration, the magnetic ground state is obtained from GNN1 and the electronic Hamiltonian from GNN2, and the spectral function is averaged over 100 non-orthogonal supercells with ∼120\sim120 atoms on average. This averaging over many large supercells converges the gap openings of individual supercells into smoothly broadened spectral functions. Varying the supercell shape is important here: for supercells of a single shape, gaps open at the same supercell Brillouin-zone boundaries regardless of how the impurities are distributed within the supercell [57].

Configuration-averaged unfolded spectral functions for MnTe$_{1-x}$Sb$_x$

Figure 6. Evolution of the electronic structure from altermagnetic MnTe to ferromagnetic MnSb. Configuration-averaged unfolded spectral functions ⟨Aσ(k,E)⟩\langle A^\sigma(\mathbf{k}, E)\rangle of MnTe1−x_{1-x}Sbx_x for x=0x = 0, 0.050.05, 0.150.15, 0.250.25, 0.50.5 and 11. Spectra for intermediate concentrations are obtained from the spin-fermion model and averaged over 100 non-orthogonal supercells with ∼120\sim120 atoms on average. Red and blue denote σ=↑\sigma= \uparrow and ↓\downarrow, respectively. Arrows in the x=0.25x = 0.25 panel mark the outermost Fermi momenta kFUDk_F^{UD} and kFDU′k_F^{DU'}, located 60% of the way from UU to DD and from U′U' to DD, respectively, analyzed in Figure 8.

Starting with undoped MnTe on the left of Figure 6, the spectral function shows the sharp, spin-split bands of a pure altermagnet. As the Sb concentration increases, the bands broaden, reflecting the finite lifetimes and mean free paths of carriers scattered by chemical disorder from Sb substitution and by magnetic disorder in the ground state. Remarkably, altermagnetism persists up to 25% Sb doping: even there, the momentum-resolved spin selectivity of the altermagnetic bands remains visible, with predominantly spin-up spectral weight near the midpoint of the U−DU-D path and predominantly spin-down weight near the midpoint of the D−U′D-U' path. At 50% Sb, consistent with Figure 4, the altermagnetic order has given way to ferromagnetism: the bands crossing the Fermi level carry spin-up weight along both the U−DU-D and D−U′D-U' paths. The 50% spectral function already resembles that of MnSb, whose sharp, unbroadened ferromagnetic bands are shown at 100%. We can now answer the question raised in the introduction: how does altermagnetism evolve as Sb is introduced into MnTe? We find that altermagnetism extends up to 25% Sb doping, albeit with significant disorder-induced broadening, whose influence we discuss next.

Focusing first on 5% Sb (Figure 7) we notice a remarkable feature. Near the midpoint of the U−DU-D path, while the bands around −300-300 meV are strongly broadened (curly bracket in Figure 7a), the bands crossing the Fermi level remain sharp (black arrow), and the bands below about −500-500 meV are sharp again. A possible explanation could be that the strongly broadened bands have a large Sb-pp contribution. To test this, Figure 7b compares the Sb-pp partial density of states with the total density of states. The Sb-pp weight does peak near −200-200 meV, close to the strongly broadened bands, but the correlation is not precise: the Sb-pp weight is nearly as large at the Fermi level, where the bands remain sharp. The Sb-pp contribution alone therefore cannot explain this energy-dependent broadening. Other factors, such as the phase space available for scattering or the orbital character of the host bands, may play a role, and a detailed understanding requires further study. While our simulations do not yet include atomic relaxations, they reveal that disorder broadening in doped altermagnets can be strongly energy dependent, a general effect that matters for applications: sharp bands at the Fermi level imply long carrier lifetimes favorable for spin transport.

Figure 7. Energy-selective disorder broadening at 5% Sb. (a) Zoom-in of the configuration-averaged unfolded spectral function ⟨Aσ(k,E)⟩\langle A^\sigma(\mathbf{k}, E)\rangle of Figure 6. Bands near the midpoint of the UU–DD path at about −300-300 meV are strongly broadened (curly bracket), whereas the bands crossing the Fermi level remain sharp (black arrow). (b) Total and Sb-pp partial density of states; the Sb-pp contribution is multiplied by five for clarity.

Next, we turn to the more strongly doped case of 25% Sb, where the altermagnetic character is still recognizable in Figure 6: the outermost band crossing the Fermi level carries predominantly spin-up weight at kFUDk_F^{UD} and predominantly spin-down weight at kFDU′k_F^{DU'}, but both are strongly broadened. This broadening degrades the spin selectivity, as quantified by the spin-resolved energy distribution curves in Figure 8. At both momenta, the quasiparticle peak at EFE_F appears as a clear shoulder of a second quasiparticle peak centered around −0.5-0.5 eV. At kFUDk_F^{UD}, the spin-up and spin-down spectral weights at EFE_F are about 0.046 and 0.013 eV−1^{-1}, respectively, a minority-spin fraction of about 22%. At kFDU′k_F^{DU'}, the spin-down and spin-up spectral weights at EFE_F are about 0.033 and 0.022 eV−1^{-1}, respectively, a minority-spin fraction of about 40%. The asymmetry between the two momenta allows us to separate two contributions. Disorder broadening mixes the two spin channels equally at both momenta, whereas the partial ferromagnetic character of the ground state adds spin-up weight everywhere, reducing the minority fraction at kFUDk_F^{UD} and increasing it at kFDU′k_F^{DU'}. We write the minority fractions as fbroad∓fFMf_{\mathrm{broad}}\mp f_{\mathrm{FM}}, where fbroadf_{\mathrm{broad}} is the contribution of disorder broadening, assumed equal at both momenta, and fFMf_{\mathrm{FM}} the shift due to the partial ferromagnetic character. This gives fbroad≈31%f_{\mathrm{broad}}\approx31\% and fFM≈9%f_{\mathrm{FM}}\approx9\%, so disorder broadening is the dominant source of spin mixing.

Spin-resolved energy distribution curves for 25% Sb

Figure 8. Spin-resolved energy distribution curves ⟨Aσ(k,E)⟩\langle A^\sigma(\mathbf{k}, E)\rangle for 25% Sb at the outermost Fermi momenta k=kFUD\mathbf{k} = \mathbf{k}_F^{UD} (left) and k=kFDU′\mathbf{k} = \mathbf{k}_F^{DU'} (right) marked in Figure 6. Red and blue denote σ=↑\sigma= \uparrow and ↓\downarrow, respectively.

Disorder broadening thus emerges as a new factor controlling spin selectivity, beyond the commonly considered spin splitting. Although 25% Sb represents an extreme case close to the altermagnetic-to-ferromagnetic crossover, disorder-induced spin mixing will occur to a lesser extent at any finite doping. This has direct consequences for applications. In spintronic devices, readout through tunneling magnetoresistance depends steeply on the spin polarization at the Fermi level, so even moderate spin mixing can substantially reduce the signal. Disorder broadening also affects superconductivity. In a clean altermagnet, the spin splitting leaves a single spin channel at a given momentum on the Fermi surface, which blocks spin-singlet pairing between kk and −k-k in favor of equal-spin triplet pairing. Disorder-induced spin mixing restores weight in the opposite spin channel at the same momentum, reopening the spin-singlet channel so that it can compete with triplet pairing. Disorder broadening is therefore an important consideration for both spintronic and unconventional superconducting applications of altermagnets.

Discussion

We have introduced a machine-learning framework that renormalizes first-principles calculations of strongly disordered magnets onto disordered spin-fermion models, and applied it to Sb-doped MnTe. By combining a GNN that learns explicit exchange couplings with a GNN that learns the electronic Hamiltonian in a given magnetic configuration, we obtained the magnetic ground states and momentum-resolved electronic structure of large disordered supercells across the altermagnetic-to-ferromagnetic crossover. Trained on small cells and benchmarked against DFT, the learned models predicted millions of inequivalent, long-range exchange couplings in many large disordered supercells, whose noncollinear ground states would be prohibitive to obtain with direct first-principles calculations. This revealed that altermagnetism persists up to about 25% Sb, and that disorder broadening, alongside the spin splitting, controls spin selectivity, adding a new dimension to the design of altermagnets.

A natural next step is to include atomic relaxations, which we omitted here to keep the generation of training data tractable. Since both networks take atomic positions as input, this can be achieved by training on relaxed supercells and combining the framework with machine-learned force fields [28–30]: structures would be relaxed first, after which GNN1 provides the exchange couplings and GNN2 the electronic Hamiltonian. Beyond relaxations, GNN1 can also be extended from isotropic Heisenberg exchange to the full exchange tensor, including Dzyaloshinskii–Moriya, Kitaev and Γ\Gamma interactions. This would enable simulations of moiré-engineered spin textures, such as the noncollinear moiré magnetism and skyrmions in twisted CrI3_3 bilayers [58, 59, 60]. Such systems are typically modeled by taking the exchange at each point of the moiré cell from untwisted bilayers with the same local stacking [61, 62]. Learning the exchange tensor directly from the local atomic environment would avoid this approximation, including at larger twist angles and with lattice relaxation. For the electronic model, training GNN2 on Wannier-downfolded Hamiltonians would further reduce the electronic Hilbert space, but generating such training data in practice requires automated Wannierization [63, 64].

Energy-based machine-learning models that also depend on the spin directions [44, 45, 46] offer a complementary route to the magnetic model, in which the magnetic interactions are learned from total energies of constrained spin configurations. This energy-based approach naturally captures interactions beyond bilinear exchange, such as biquadratic and multi-spin terms, as well as spin–lattice coupling, and provides the energies and forces needed for spin–lattice dynamics. The magnetic force theorem used here, in turn, extracts all bilinear couplings from a single calculation as a small perturbation around a reference state. This is advantageous for long-range exchange in metals, where an energy-based approach requires many constrained calculations per structure that may converge to different self-consistent solutions. It is also advantageous for systems with very weak exchange, such as ff-electron magnets [65] or magnets with well-separated magnetic ions [66]. There, energy mapping must extract sub-meV couplings as small differences of large total energies, whereas the magnetic force theorem computes each coupling directly as a second-order response, so that even small couplings retain their relative accuracy. A systematic comparison of the two approaches, including their training efficiency, would clarify which is best suited to which class of materials.

Finally, the disordered spin-fermion model presented here is one realization of combining renormalization with machine-learned Hamiltonians, but the concept extends beyond spin-fermion models and beyond DFT as the high-level theory. For example, exact diagonalization of cluster models derived from first principles provides exchange tensors, whose derivatives with respect to atomic displacements yield spin–phonon couplings [67]. Learning these tensors as functions of atomic positions, analogous to electron–phonon couplings from machine-learned DFT Hamiltonians [68], could extend such couplings to disordered materials. This would be highly relevant for Kitaev spin liquid materials, where the half-quantized thermal Hall effect can only be observed in the presence of edge disorder [69, 70]. As another example, Bethe–Salpeter calculations [71, 72] could be renormalized onto effective models for moiré excitons in transition-metal dichalcogenide bilayers, which form tunable arrays of quantum emitters [73, 74, 75, 76]. More generally, the approach demonstrated here opens a broad route: any accurate but expensive first-principles method can, in principle, be renormalized onto an effective model of the degrees of freedom that matter. Machine learning then carries first-principles accuracy from small cells to the large, structurally complex systems relevant to experiments and devices.

Methods

First-principles calculations

DFT calculations were performed with OpenMX [77], using pseudatom orbital basis sets Mn: s2p2d1, Te: s3p2d2, Sb: s3p2d1, the Perdew–Burke–Ernzerhof (PBE) exchange-correlation functional [78] and a Hubbard U=3U = 3 eV on Mn dd within the Dudarev scheme [79], chosen consistently with our previous study, where it ensured dynamical stability and reasonable lattice parameters and phonons for MnTe and MnSb [26]. Spin–orbit coupling was not included. kk-meshes were generated with a density of 70 points per 2π A˚−12\pi\ \text{Å}^{-1} along each reciprocal lattice direction. We used an energy cutoff of 400 Ry. Training supercells contained randomly placed Sb atoms and had random lattice constants and angles, with cell angles α\alpha and β\beta drawn between 70∘70^\circ and 110∘110^\circ and γ\gamma between 50∘50^\circ and 130∘130^\circ, and cell volumes chosen to give about 80 atoms on average. For the electronic training data, random noncollinear spin configurations were stabilized with a penalty functional [80] of 0.5 eV.

Exchange couplings

Exchange couplings were computed with the magnetic force theorem [47, 48] as implemented in the Jx code [81, 82], using a smaller kk-mesh with 2/3 density used in the self-consistent calculations to reduce computational cost. For each Sb concentration, the response was evaluated relative to the altermagnetic reference state. The couplings are defined for unit spins (S=1S = 1), so that they correspond to JS2J S^2 in a model with spin length SS.

Graph neural networks

The spin model (GNN1) builds on DeepH [33], which we modified to train on spin Hamiltonians, with exchange couplings from the magnetic force theorem as edge targets instead of electronic Hamiltonian blocks. The modified code, RenormHNet, is available at [83] together with example input files. We also tested the E(3)-equivariant DeepH-E3 [34], but found it computationally more expensive. GNN1 was trained on 510 supercells: 10 at 2% Sb and 50 at each Sb concentration from 5 to 50% in steps of 5%. These were randomly split into 90% for training and 10% for validation. The learning rate was initialized to 1.6×10−31.6 \times10^{-3} and multiplied by 0.8 at epochs 40, 80, and 120, and by 0.6 at epoch 150. We used a cutoff radius of 10 Å, covering couplings up to J10J_{10}. The validation loss reached its minimum after 57 epochs, at which point the root-mean-square error over all couplings in the validation set was 0.356 meV; beyond this point it increased while the training loss continued to decrease, indicating overfitting, and we therefore used the model at 57 epochs.

The electronic model (GNN2) uses xDeepH [42] without modification, with a cutoff radius of 8 Å. GNN2 was trained on 2040 supercells: 4 chemical configurations at 2% Sb and 20 at each Sb concentration from 5 to 50% in steps of 5%, each with 10 random spin configurations. These were randomly split into 90% for training and 10% for validation. The initial learning rate was set to 2×10−32 \times10^{-3}. Whenever the validation loss failed to improve for 20 consecutive epochs, the best checkpoint was restored and the learning rate was multiplied by 0.8. The model with the lowest validation loss, at epoch 264, was used for subsequent calculations, with a root-mean-square error of 2.88 meV for the Hamiltonian matrix elements in the validation set.

Magnetic ground states

Magnetic ground states were obtained by damped Landau–Lifshitz–Gilbert relaxation of classical unit spins [50], using a phenomenological damping parameter λ=1\lambda= 1 and a time step of Δt=0.01\Delta t = 0.01, until the maximum torque fell below 1×10−101 \times10^{-10} meV. For each supercell, we started from 50 random spin configurations and kept the lowest-energy solution.

Band unfolding

Spectral functions were unfolded into the primitive Brillouin zone following Ref. [24],

Aσ(k,E)=∑n∑KJ∣⟨knσ∣KJ⟩∣2δ(εKJ−E),(1)A^{\sigma}(\mathbf{k}, E) = \sum_n \sum_{KJ} |\langle kn\sigma|KJ\rangle|^2 \delta(\varepsilon_{KJ} - E), \tag*{(1)}

where εKJ\varepsilon_{KJ} and ∣KJ⟩|KJ\rangle are the supercell eigenvalues and eigenstates, and ∣knσ⟩|kn\sigma\rangle are primitive-cell Bloch states of orbital nn and spin σ\sigma. The overlaps are obtained from the coefficients of ∣KJ⟩|KJ\rangle in orthonormal supercell Bloch orbitals ∣KN⟩|KN\rangle,

⟨knσ∣KJ⟩=1Np∑Ne−ik⋅r(N)δnσ,n′(N)⟨KN∣KJ⟩,(2)\langle kn\sigma|KJ\rangle= \frac{1}{\sqrt{N_p}} \sum_N e^{-i\mathbf{k}\cdot\mathbf{r}(N)} \delta_{n\sigma,n'(N)} \langle KN|KJ\rangle, \tag*{(2)}

where r(N)\mathbf{r}(N) is the position of orbital NN in the supercell, n′(N)n'(N) its orbital and spin index in the primitive cell, NpN_p the number of primitive cells per supercell, and δk−K\delta_{\mathbf{k}-\mathbf{K}} selects the supercell wave vector K\mathbf{K} that unfolds to k\mathbf{k}. The orbitals ∣KN⟩|KN\rangle must be orthonormal for the unfolded spectral functions to be normalized. Because the pseudoatomic orbitals ∣KN~⟩|K\widetilde{N}\rangle of OpenMX are non-orthogonal, we constructed Löwdin-orthogonalized orbitals ∣KN⟩=∑M∣KM⟩[S(K)−1/2]MN|KN\rangle= \sum_M |KM\rangle[S(\mathbf{K})^{-1/2}]_{MN}, with overlap matrix SMN(K)=⟨KM∣KN~⟩S_{MN}(\mathbf{K}) = \langle KM|K\widetilde{N}\rangle, in which the coefficients become ⟨KN∣KJ⟩=∑M[S(K)−1/2]NM⟨KM∣KJ⟩\langle KN|KJ\rangle= \sum_M [S(\mathbf{K})^{-1/2}]_{NM} \langle KM|KJ\rangle. The δ\delta function was replaced by a Lorentzian with a half width at half maximum of 20 meV. The spectral functions along the UU–DD–U′U' path were computed at 200 k points. The spectral functions were averaged over disorder configurations cc,

⟨Aσ(k,E)⟩=1Nc∑c=1NcAcσ(k,E),(3)\langle A^\sigma(\mathbf{k}, E) \rangle= \frac{1}{N_c} \sum_{c=1}^{N_c} A_c^\sigma(\mathbf{k}, E), \tag*{(3)}

with Nc=100N_c = 100 non-orthogonal supercells with random lattice constants and angles, about 120 atoms on average, and random Sb configurations for each Sb concentration.

Data availability

The following data are available on Zenodo [84]: the trained network weights of GNN1 and GNN2; all 510 supercell structures and their DFT exchange couplings used to train GNN1, together with selected OpenMX and Jx input and output files; and all 2040 supercell structures and spin configurations used to train GNN2, together with the OpenMX input files.

Code availability

RenormHNet, our modified version of DeepH for learning exchange couplings, is available on GitHub [83]. The input files and hyperparameters for training, together with the full GNN1 training set of 510 supercells and their exchange couplings, are available on Zenodo [84].

Author contributions

D.H.K. and T.B. designed the study, analyzed and interpreted the data, and wrote the manuscript. D.H.K. developed the code, performed the calculations and curated the data. P.R.R. provided initial input and information for the calculations. All authors contributed to the discussions and reviewed the manuscript.

Acknowledgments

This work was supported by the U.S. Department of Energy, Office of Science, Basic Energy Sciences, Materials Sciences and Engineering Division. This research used resources of the Compute and Data Environment for Science (CADES) at the Oak Ridge National Laboratory, which is supported by the Office of Science of the U.S. Department of Energy under Contract No. DE-AC05-00OR22725. A portion of this research used computational resources at the Center for Nanophase Materials Sciences, which is a Department of Energy (DOE) Office of Science User Facility. Claude (Opus 5.5, Anthropic) was used, as directed by the authors, for text editing and literature search; all scientific content was verified by the authors.

References

References

  1. [38]C. Schattauer, M. Todorović, K. Ghosh, P. Rinke, and F. Libisch, npj Comput. Mater. 8, 116 (2022).
  2. [39]Q. Gu, Z. Zhouyin, S. K. Pandey, P. Zhang, L. Zhang, and W. E, Nat. Commun. 15, 6772 (2024).
  3. [40]E. Cignoni, D. Suman, J. Nigam, L. Cupellini, B. Menucci, and M. Ceriotti, ACS Cent. Sci. 10, 637 (2024).
  4. [41]K. Choudhary, J. Phys. Chem. Lett. 16, 11109 (2025).
  5. [42]H. Li, Z. Tang, X. Gong, N. Zou, W. Duan, and Y. Xu, Nat. Comput. Sci. 3, 321 (2023).
  6. [43]Y. Zhong, B. Zhang, H. Yu, X. Gong, and H. Xiang, Accelerating the electronic-structure calculation of magnetic systems by equivariant neural networks (2023), arXiv:2306.01558 [cond-mat.mtrl-sci].arxiv.org/abs/2306.01558
  7. [44]H. Yu, Y. Zhang, L. Hong, C. Xu, W. Ren, X. Gong, and H. Xiang, Phys. Rev. B 109, 144426 (2024).
  8. [45]Z. Yuan, Z. Xu, H. Li, X. Cheng, H. Tao, Z. Tang, Z. Zhou, W. Duan, and Y. Xu, Quantum Front 3, 8 (2024).
  9. [46]T. Yang, Z. Cai, Z. Huang, W. Tang, R. Shi, A. Godfrey, H. Liu, Y. Lin, C.-W. Nan, M. Ye, L. Zhang, K. Wang, H. Wang, and B. Xu, Phys. Rev. B 110, 064427 (2024).
  10. [47]A. I. Liechtenstein, M. I. Katsnelson, V. P. Antropov, and V. A. Gubanov, J. Magn. Magn. Mater. 67, 65 (1987).
  11. [48]M. I. Katsnelson and A. I. Liechtenstein, Phys. Rev. B 61, 8906 (2000).
  12. [49]A. Szilva, Y. Kvashnin, E. A. Stepanov, L. Nordström, O. Eriksson, A. I. Liechtenstein, and M. I. Katsnelson, Rev. Mod. Phys. 95, 035004 (2023).
  13. [50]T. L. Gilbert, IEEE Trans. Magn. 40, 3443 (2004).
  14. [51]W. Suszkiewicz, E. Dynowska, B. Witkowska, and B. Hennion, Phys. Rev. B 73, 104403 (2006).
  15. [52]SI, See Supplementary Information for additional benchmarks of the exchange interactions J₄ through J₉, the benchmark of the electronic model at 50% Sb, and the Brillouin zone with the k-path used for the spectral functions.
  16. [53]Z. Liu, M. Ozeki, S. Asai, S. Itoh, and T. Masuda, Phys. Rev. Lett. 133, 156702 (2024).
  17. [54]I. I. Mazin, Phys. Rev. B 107, L100418 (2023).
  18. [55]M. Alaei, P. Sobczieszyk, A. Ptok, N. Rezaei, A. R. Oganov, and A. Qaimuzadeh, Phys. Rev. B 111, 104416 (2025).
  19. [56]Y. Yamaguchi, S. Tomiyoshi, M. Harada, and G. Shirane, J. Magn. Magn. Mater. 103, 50 (1992).
  20. [57]T. Berlijn, D. Volja, and W. Ku, Phys. Rev. Lett. 106, 077005 (2011).
  21. [58]Q. Tong, F. Liu, J. Xiao, and W. Yao, Nano Lett. 18, 7194 (2018).
  22. [59]M. Akram, H. LaBollita, D. Dev, J. Kapeghian, Q. Erten, and A. S. Botana, Nano Lett. 21, 6633 (2021).
  23. [60]T. Song, Q.-C. Sun, E. Anderson, C. Wang, J. Qian, T. Taniguchi, K. Watanabe, M. A. McGuire, R. Stöhr, D. Xiao, T. Cao, J. Wrachtup, and X. Xu, Science 374, 1140 (2021).
  24. [61]R. Berlitstrizer and A. H. MacDonald, Proc. Natl. Acad. Sci. U.S.A. 108, 12233 (2011).
  25. [62]K.-M. Kim, D. H. Kiem, G. Bednik, M. J. Han, and M. J. Park, Nano Lett. 23, 6088 (2023).
  26. [63]V. Vitale, G. Pizzi, A. Marrazzo, J. R. Yates, N. Marzari, and A. A. Mostofi, npj Comput. Mater. 6, 66 (2020).
  27. [64]J. Qiao, G. Pizzi, and N. Marzari, npj Comput. Mater. 9, 208 (2023).
  28. [65]A. O. Scheie, Y. Kamiya, H. Zhang, S. Lee, A. J. Woods, M. O. Ajeesh, M. G. Gonzalez, B. Bernu, J. W. Villanova, J. Xing, Q. Huang, Q. Zhang, J. Ma, E. S. Choi, D. M. Pajerowski, H. Zhou, A. S. Sefat, S. Okamoto, T. Berlijn, L. Messio, R. Movshovich, C. D. Batista, and D. A. Tennant, Phys. Rev. B 109, 014425 (2024).
  29. [66]A. H. Abdeldaim, H. Gretarsson, S. J. Day, M. D. Le, G. B. G. Stenning, P. Manuel, R. S. Perry, A. A. Tsirlin, G. J. Nilsen, and L. Clark, Nat. Commun. 15, 9778 (2024).
  30. [67]R. Dhakal, D. A. S. Kaib, K. Choi, S. Biswas, R. Valentí, and S. M. Winter, Theory of intrinsic phonon thermal Hall effect in α-RuCl₃ (2024), arXiv:2407.00660.arxiv.org/abs/2407.00660
  31. [68]H. Li, Z. Tang, J. Fu, W.-H. Dong, N. Zou, X. Gong, W. Duan, and Y. Xu, Phys. Rev. Lett. 132, 096401 (2024).
  32. [69]M. Ye, G. B. Halász, L. Savary, and L. Balents, Phys. Rev. Lett. 121, 147201 (2018).
  33. [70]H. Zhang, G. B. Halász, S. Ghosh, S. Jesse, T. Z. Ward, D. A. Tennant, M. A. McGuire, and J. Yan, Phys. Rev. Lett. 136, 226301 (2026).
  34. [71]M. Rohling and S. G. Louie, Phys. Rev. B 62, 4927 (2000).
  35. [72]J. B. Haber, D. Y. Qiu, F. H. da Jornada, and J. B. Neaton, Phys. Rev. B 108, 125118 (2023).
  36. [73]K. Tran et al., Nature 567, 71 (2019).
  37. [74]K. L. Seyler, P. Rivera, H. Yu, N. P. Wilson, E. L. Ray, D. G. Mandrus, J. Yan, W. Yao, and X. Xu, Nature 567, 66 (2019).
  38. [75]C. Jin, E. C. Regan, A. Yan, M. Iqbal Bakti Utama, D. Wang, S. Zhao, Y. Qin, S. Yang, Z. Zheng, S. Shi, K. Watanabe, T. Taniguchi, S. Tongay, A. Zettl, and F. Wang, Nature 567, 76 (2019).
  39. [76]E. M. Alexeev, D. A. Ruiz-Tijerina, M. Danovich, M. J. Hamer, D. J. Terry, P. K. Nayak, S. Ahn, S. Pak, J. Lee, J. I. Sohn, M. R. Molas, M. Koperski, K. Watanabe, T. Taniguchi, K. S. Novoselov, R. V. Gorbachev, H. S. Shin, V. I. Fal’ko, and A. I. Tartakovskii, Nature 567, 81 (2019).
  40. [77]T. Ozaki, Phys. Rev. B 67, 155108 (2003).
  41. [78]J. P. Perdew, K. Burke, and M. Ernzerhof, Phys. Rev. Lett. 77, 3865 (1996).
  42. [79]S. L. Dudarev, G. A. Botton, S. Y. Savrasov, C. J. Humphreys, and A. P. Sutton, Phys. Rev. B 57, 1505 (1998).
  43. [80]P. Kurz, F. Förster, L. Nordström, G. Bihlmayer, and S. Blügel, Phys. Rev. B 69, 024415 (2004).
  44. [81]H. Yoon, T. J. Kim, J.-H. Sim, and M. J. Han, Comput. Phys. Commun. 247, 106927 (2020).
  45. [82]H. Yoon, T. J. Kim, J.-H. Sim, S. W. Jang, T. Ozaki, and M. J. Han, Phys. Rev. B 97, 125132 (2018).
  46. [83]https://github.com/DHIKiem/RenormHNet.git.
  47. [84]D. H. Kiem, P. R. Raghuvanshi, D. S. Parker, L. Lindsay, V. R. Cooper, T. Berlijn, Data for “machine-learning spin-fermion models for strongly disordered magnets: Sb-doped mnte”, Zenodo (2026).arxiv.org/abs/2611.33544

Paper details

vlnc:W_ytqmbw5e
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 3

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Claude Opus 5.5 (bare)

View statement
Looking for related papers…
Contents