Conceptio › Archive › arXiv CS
arXiv CS open access

Euclidean Fourier Neural Operators

2026 · arxiv_cs
arXiv CS · Papers · 2026
Open Source ↗Direct PDF ↓
machine-learningneural-networks
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Euclidean Fourier Neural Operators

arXiv:2608.28425v1 [cs.LG] 28 Aug 2026

Nathanael Bosch∗ Niklas Frederik Schmitz∗ Michael F. Herbst Mathematics for Materials Modelling (MatMat) Institute of Mathematics & Institute of Materials École Polytechnique Fédérale de Lausanne, 1015 Lausanne, Switzerland {nathanael.bosch, niklas.schmitz, michael.herbst}@epfl.ch

Abstract Fourier neural operators (FNOs) provide an efficient framework for learning mappings between function spaces as they are, by construction, independent of the grid resolution at which they are trained and evaluated. However, FNOs are not independent of the periodic domain they are applied to: their discrete spectral weights are indexed by integer Fourier mode numbers, which correspond to physical wavevectors. When applied to a different domain, the same trained weights act at different wavevectors, and the FNO silently represents a different operator. This makes FNOs unsuitable for tasks where transfer across domains is crucial. We propose Euclidean Fourier neural operators (EFNOs) as a domain-independent alternative to FNOs. By parameterizing the spectral kernel as a continuous function of the physical wavevector, the EFNO can learn operators that act consistently across periodic domains of varying shape and size. We evaluate the EFNO on a simple heat equation and on a practically relevant materials science task of learning exchange-correlation potentials across different crystal structures, and demonstrate that the EFNO is able to generalize to unseen grid sizes and domains.

1

Introduction

Fourier neural operators (FNOs) [Li et al., 2021] have been established as an efficient framework for learning mappings between function spaces, with successful applications throughout the physical sciences, including fluid mechanics [Li et al., 2022], weather and climate forecasting [Pathak et al., 2022, Bonev et al., 2023], and seismology [Yang et al., 2021]. A particular strength of FNOs is that they are, by construction, independent of the grid resolution at which they are trained and evaluated. But many physical problems are not tied to a single fixed domain, and the same problem can be posed on domains of varying shape and size. This requires models that can transfer across domains. FNOs do not natively support such transfer. Their defining spectral convolution layer parameterizes a convolution kernel by discrete trainable weights indexed by Fourier mode numbers m ∈ Zd , which correspond to physical wavevectors km ∈ Rd that depend on the periodic domain (see section 2). Thus, when a trained FNO is applied to a different domain, the same weights act at different wavevectors and the FNO silently represents a different operator. Various extensions to FNOs have been proposed, for applications to irregular grids or varying geometries [Li et al., 2023, Liu et al., 2023, Oguadimma et al., 2026] or via continuous parameterizations of the spectral kernel [Xiao et al., 2024, Shi et al., 2026, Shin et al., 2024, Lee et al., 2026], but their spectral layers still operate on Fourier mode indices and thus retain the same domain dependence. In this paper, we propose Euclidean Fourier neural operators (EFNOs). By parameterizing the spectral kernel as a continuous function of the physical wavevectors, EFNOs learn operators in Euclidean space that can be applied consistently across domains. We evaluate the EFNO on a simple ∗ Equal contribution.

Preprint.

heat equation and on a materials science task that covers crystal structures of varying shape and size, and demonstrate that, in contrast to the FNO, the EFNO is able to learn operators that generalize to unseen grid sizes and domains.

2

Fourier neural operators and their domain dependence

Neural operators are a class of neural networks designed to learn mappings between function spaces. The common blueprint to parameterize a neural operator Gθ : A → U uses a sequence of layers Gθ := Q ◦ σ(WT + KT ) ◦ · · · ◦ σ(W1 + K1 ) ◦ P,

(1)

with point-wise linear lifting layer P and projection layer Q, and T hidden layers consisting of a linear channel-wise transformation Wt , nonlocal kernel integral operators Kt and nonlinear activation function σ [Kovachki et al., 2023]. The parameterization of the nonlocal operator K is where most neural operator architectures vary (cf. [Kovachki et al., 2023, Section 4]). Fourier neural operators (FNOs) [Li et al., 2021] model K as a convolution operator, parameterized in the Fourier domain where its application becomes a point-wise multiplication: Z X (Kv)(x) = κ(x − y)v(y)dy = κ bm vbm eikm ·x , (2) Td

m∈Zd ,∥m∥∞ ≤M

where Td = Rd /Zd is the periodic domain and κ bm , vbm denote the Fourier coefficients of κ and v at the wavevector km = 2πm, for m ∈ Zd . FNOs then parameterize the Fourier coefficients of κ as a lookup table of trainable weights κ bm =: Rm ∈ Cc×c , where c is the number of channels in the hidden representation v, up to a mode cutoff ∥m∥∞ ≤ M . A particular strength of FNOs is that they are independent of the resolution at which the input-output pairs are discretized, as long as the grid is fine enough to resolve the retained modes, since finer discretization only adds frequencies beyond the cutoff M . However, FNOs are not independent of the choice of the periodic domain: Consider a general periodic domain D = Rd /LZd , specified by its lattice matrix L ∈ Rd×d whose columns span the domain. The wavevectors km within the Fourier expansion of eq. (2) then depend on the lattice L as km = 2πL−⊤ m.

(3)

Therefore, if one were to apply the same trained FNO on data from two different domains D and D′ , the learned weights Rm would be applied at different physical wavevectors km , and thus the applied operator K would differ depending on the domain. For physical applications where one wants to learn and apply a common operator across varying domains, this is a severe limitation.

3

Euclidean Fourier neural operators

We propose a simple modification of the FNO that removes the implicit dependence on the choice of periodic domain. Let K be a translation-invariant linear convolution operator defined in Euclidean space Rd . Such an operator K is fully characterized by its symbol κ b : Rd → Cc×c , by which it acts d [ in Fourier space as (Kv)(k) = κ b(k) vb(k) for any k ∈ R . For any given L-periodic function v, the action of K on v can be expressed in real space as a Fourier series X (Kv)(x) = κ b(km ) vbm eikm ·x , with km = 2πL−⊤ m. (4) m∈Zd

Instead of learning a lookup table over mode numbers m, we propose here to directly parameterize the continuous symbol κ bθ : Rd → Cc×c , such that it can be evaluated at any wavevector k the domain at hand requires. We call the resulting operator the Euclidean Fourier neural operator (EFNO). In practice, as in the FNO, we assume that the input-output pairs are discretized on uniform grids such that we can use FFTs to efficiently compute vbm and to reconstruct (Kv)(x) on the grid. But additionally, this assumption truncates the Fourier series expansion of eq. (4): If v is discretized on a grid N1 × · · · × Nd , the FFT resolves only modes with |mj | ≤ Nj /2 for j = 1, . . . , d, turning the series into a finite sum. Thus, unlike the FNO, the EFNO does not require any fixed mode cutoff. 2

b. FNO (test)

c. EFNO (test)

100

Error [%]

a. Train & test data

d. Scaling to larger cells

50

FNO EFNO

0 1

2

3

4

5

6

Supercell size n

Figure 1: Domain transfer test for a learned convolution. a. A periodic array of Gaussian sources, smoothed by the heat kernel. Both models are fitted in the small rhombic cell (dashed), and evaluated on the equivalent rectangular cell (solid). The FNO (b.) distorts visibly, while the EFNO (c.) transfers perfectly. d. Relative L2 error of the FNO and EFNO on n × n supercells of the fitting cell. The FNO error grows with the size of the supercell, while the EFNO error remains constant. Parameterizing the continuous symbol κ bθ (k) also enables the incorporation of physical inductive biases, since known properties of the operator K translate directly into constraints on κ bθ : a smooth real-space kernel κθ (x) requires a decaying κ bθ (k); exponential decay in κθ (x) requires smoothness in κ bθ (k); E(3)-equivariance on scalar channels requires an isotropic symbol κ bθ (k) = κ bθ (|k|); and real-ness of κθ (x) requires Hermitian symmetry κ bθ (−k) = κ bθ (k). See also section B for a more detailed collection of these standard correspondences. In principle any function approximator can serve as κ bθ , including neural networks, but some model classes make such properties easier to impose than others. In the experiments below, we consider a linear Gaussian basis model to parameterize an exponentially decaying, smooth, isotropic, and real-valued symbol κ bθ ; see section C for details.

4

Experiments

We evaluate the proposed EFNO on two tasks. First, we consider a simple heat equation whose solution operator is a Gaussian convolution and compare the behaviour of a trained FNO and EFNO when evaluated on different periodic domains. Second, we evaluate the EFNO on a more realistic materials science task and learn the exchange-correlation potential across different crystal structures, which inherently requires generalization across both grid sizes and domains. 4.1

Transferring a learned convolution across equivalent periodic cells

This experiment evaluates the abilities of FNO and EFNO to transfer a learned convolution across periodic domains that can represent the same physical system but have different shapes and sizes. To this end, consider the solution operator of the heat equation ∂t u = ∆u with periodic boundary 2 conditions, G (t) : u(0, ·) 7→ u(t, ·), which is a convolution with symbol κ b(t) (k) = exp(−t|k| ). We fit single FNO and EFNO spectral convolution layers to the exact symbol for a fixed t = 0.006 on a small rhombic cell, and then evaluate the fitted operators on an equivalent rectangular cell of twice the area and on n × n supercells of the fitting cell. Details on the exact experimental setup and the model architectures are provided in section D.1. Figure 1 shows the results. The FNO shows precisely the domain dependence failure mode described in section 2 and does not transfer the learned convolution from the rhombic cell to the rectangular cell, whereas the EFNO transfers perfectly. Similarly for the n × n supercells, the relative L2 error of the FNO grows with the size of the supercell to ∼ 90%. The EFNO error remains constant below 10−5 %, which demonstrates its capabilities to transfer a learned operator across periodic domains. 4.2

Learning exchange-correlation potentials across crystal structures

We now apply the EFNO to a materials science task that requires generalization across both resolutions and domains. The de-facto standard method for simulating the electronic structure of atoms, molecules, and solids is density-functional theory (DFT), but in practice the accuracy of DFT is limited by the accuracy of the exchange-correlation (XC) functional. Various XC approximations 3

e₂ (Å) 6

4 3 2 1 0

0.1

1000 100 10

0.0

2

4

y( Å)

6

6

4

2

Å)

x(

0

−20 −25 0

2

4

e₁ (Å)

6

8

Train

PBE FNO EFNO

Test

10 1.6 10 1.7 10 1.8 10 1.9 10 2.0

e. Results: Water

−15

4 3 2 1 0

1000

Error

0 0

0.2

c. Output: RPA potential

2

e₂ (Å)

z (Å)

4

d. Results: Diamond 0.3

Error

b. Input: PBE density

a. Diamond unit cell

100 10

Train

10

2.50

PBE FNO EFNO 10

2.75

Test

10 3.00

Cell volume (ų)

Figure 2: Overview and results of the exchange-correlation potential learning task. a. Example system, showing a diamond unit cell with 16 atoms. b.–c. PBE electron density and RPA exchangecorrelation potential on the slice plane highlighted in (a.); these are the inputs and outputs for the operator learning task. d.–e. Error (WRMSE) against cell volume for both tasks. The FNO extrapolates poorly from the smaller training cells to the larger test cells; the EFNO generalizes well and achieves errors that are an order of magnitude smaller than the PBE baseline.

have been proposed, ranging from cheap models like the PBE functional [Perdew et al., 1996], to approaches like the random phase approximation (RPA) [Furche, 2001, Fuchs and Gonze, 2002] that are more accurate but are prohibitively expensive for routine use. We consider here the task of learning an operator that maps PBE electron densities to RPA exchange-correlation potentials. We consider two subsets of the ML-RPA dataset by Riemelmoser et al. [2023] of PBE densities and RPA potentials: diamond consisting of 20 8-atom structures and 20 16-atom structures, and liquid water consisting of 32 structures of 8 water molecules as well as 39 structures of 31 or 32 water molecules. A visualization of a diamond system and its density and potential is shown in fig. 2. For each subset, we train operators on the smaller structures and evaluate them on the larger ones. We use the same EFNO architecture for both tasks, consisting of a lifting layer, 2 EFNO layers, and a projection layer, with 8 channels and 16 basis functions. We additionally train a standard FNO with 2 layers, 8 channels, and 4 modes as a baseline, that we apply across cell sizes without modification. We train both models on a gauge-invariant density-weighted mean squared error loss, and evaluate the trained models with the square-root of this metric (WRMSE). More details on the architecture and the training and evaluation procedure are provided in section D.2.1. Table 1 and fig. 2 show the main results. Table 1: Density-weighted root mean square error Both the EFNO and FNO are able to fit the (WRMSE); median value within each split. training data well and return potentials that Diamond Water are significantly closer to RPA than the PBE Model Train Test Train Test baseline. However, the FNO fails to generPBE 826.67 825.17 1350.33 1348.37 alize to the larger test structures. The EFNO FNO 81.96 1815.42 108.03 1675.35 also shows an increase in test error, but still EFNO 47.88 56.11 57.95 103.54 outperforms PBE by an order of magnitude throughout all instances. More visualizations of the predicted potentials for a few example structures can be found in section D.2.2. Altogether, the results demonstrate that the EFNO is able to learn an operator that generalizes across both grid sizes and domains, showing its potential for applications in materials science and chemistry.

5

Conclusion

We proposed Euclidean Fourier neural operators (EFNOs). By parameterizing the Fourier symbol as a continuous function of the physical wavevector, EFNOs remove the implicit domain dependence of FNOs and learn operators that can be applied consistently across domains of varying shape and 4

size. This has been demonstrated in experiments on a heat equation and on a materials science task of learning exchange-correlation potentials across crystal structures. Natural extensions of this work include more expressive symbol parameterizations beyond isotropic Gaussian models, comparison to additional baselines, and evaluation on complex PDEs from other fields, to further establish EFNOs as a practical approach to operator learning in the physical sciences.

Acknowledgments and Disclosure of Funding This research was supported by the Swiss National Science Foundation (SNSF, Grant No. 10002757) as well as the NCCR MARVEL, a National Centre of Competence in Research, funded by the SNSF (Grant No. 205602). We express our gratitude to Stefan Riemelmoser for helpful discussions and to Bruno Ploumhans for feedback on the manuscript.

References Boris Bonev, Thorsten Kurth, Christian Hundt, Jaideep Pathak, Maximilian Baust, Karthik Kashinath, and Anima Anandkumar. Spherical fourier neural operators: Learning stable dynamics on the sphere. In International Conference on Machine Learning, 2023. Martin Fuchs and Xavier Gonze. Accurate density functionals: approaches using the adiabaticconnection fluctuation-dissipation theorem. Physical Review B, 65, 6 2002. doi: 10.1103/physrevb. 65.235109. URL https://doi.org/10.1103/physrevb.65.235109. Filipp Furche. Molecular tests of the random phase approximation to the exchange-correlation energy functional. Physical Review B, 64, 10 2001. doi: 10.1103/physrevb.64.195120. URL https://doi.org/10.1103/physrevb.64.195120. Yingdi Jin, Xinming Qin, Ruichen Liu, Jie Liu, Zhenyu Li, and Jinlong Yang. V2rho-fno: Fourier neural operator for electronic density prediction. arXiv preprint arXiv:2603.15669, 2026. Seongsu Kim and Sungsoo Ahn. Gaussian plane-wave neural operator for electron density estimation. In International Conference on Machine Learning, 2024. Nikola Kovachki, Zongyi Li, Burigede Liu, Kamyar Azizzadenesheli, Kaushik Bhattacharya, Andrew Stuart, and Anima Anandkumar. Neural operator: Learning maps between function spaces with applications to pdes. Journal of Machine Learning Research, 24(89):1–97, 2023. Jin Lee, Ziming Liu, Xinling Yu, Yixuan Wang, Haewon Jeong, Murphy Yuezhen Niu, and Zheng Zhang. KANO: Kolmogorov–arnold neural operator. In International Conference on Learning Representations, 2026. arXiv:2509.16825. Zhijie Li, Wenhui Peng, Zelong Yuan, and Jianchun Wang. Fourier neural operator approach to large eddy simulation of three-dimensional turbulence. Theoretical and Applied Mechanics Letters, 12 (6):100389, 2022. doi: 10.1016/j.taml.2022.100389. Zongyi Li, Nikola Kovachki, Kamyar Azizzadenesheli, Burigede Liu, Kaushik Bhattacharya, Andrew Stuart, and Anima Anandkumar. Neural operator: Graph kernel network for partial differential equations. arXiv preprint arXiv:2003.03485, 2020. Zongyi Li, Nikola Kovachki, Kamyar Azizzadenesheli, Burigede Liu, Kaushik Bhattacharya, Andrew Stuart, and Anima Anandkumar. Fourier neural operator for parametric partial differential equations. In International Conference on Learning Representations, 2021. Zongyi Li, Daniel Z Huang, Burigede Liu, and Anima Anandkumar. Fourier neural operator with learned deformations for pdes on general geometries. Journal of Machine Learning Research, 24 (388):1–26, 2023. Levi Lingsch, Mike Y Michelis, Emmanuel de Bezenac, Sirani M Perera, Robert K Katzschmann, and Siddhartha Mishra. Beyond regular grids: Fourier-based neural operators on arbitrary domains. In International Conference on Machine Learning, 2024. 5

Ning Liu, Siavash Jafarzadeh, and Yue Yu. Domain agnostic fourier neural operators. In Advances in Neural Information Processing Systems, 2023. Lu Lu, Pengzhan Jin, Guofei Pang, Zhongqiang Zhang, and George Em Karniadakis. Learning nonlinear operators via deeponet based on the universal approximation theorem of operators. Nature Machine Intelligence, 3(3):218–229, 2021. Emmanuel E Oguadimma, Victory C Obieke, and Xueying Yu. Geometry-conditioned fourier neural operators for cubic nonlinear schrödinger dynamics on periodic domains. arXiv preprint arXiv:2606.27459, 2026. Jaideep Pathak, Shashank Subramanian, Peter Harrington, Sanjeev Raja, Ashesh Chattopadhyay, Morteza Mardani, Thorsten Kurth, David Hall, Zongyi Li, Kamyar Azizzadenesheli, Pedram Hassanzadeh, Karthik Kashinath, and Anima Anandkumar. FourCastNet: A global data-driven highresolution weather model using adaptive Fourier neural operators. arXiv preprint arXiv:2202.11214, 2022. John P. Perdew, Kieron Burke, and Matthias Ernzerhof. Generalized gradient approximation made simple. Physical Review Letters, 77(18):3865–3868, 1996. doi: 10.1103/PhysRevLett.77.3865. Stefan Riemelmoser, Carla Verdi, Merzuk Kaltak, and Georg Kresse. Machine learning density functionals from the random-phase approximation. Journal of Chemical Theory and Computation, 19(20):7287–7299, 2023. doi: 10.1021/acs.jctc.3c00848. Pengqing Shi, Jie Yin, Stephen Tierney, and Junbin Gao. Sirenfno: Efficient and full frequency learning of fourier neural operators. arXiv preprint arXiv:2606.11518, 2026. Jin Young Shin, Jae Yong Lee, and Hyung Ju Hwang. Pseudo-differential neural operator: Generalized fourier neural operator for learning solution operators of partial differential equations. Transactions on Machine Learning Research, 2024. arXiv:2201.11967. Zipeng Xiao, Siqi Kou, Zhongkai Hao, Bokai Lin, and Zhijie Deng. Amortized fourier neural operators. Advances in Neural Information Processing Systems, 37:115001–115020, 2024. Yan Yang, Angela F. Gao, Jorge C. Castellanos, Zachary E. Ross, Kamyar Azizzadenesheli, and Robert W. Clayton. Seismic wave propagation and inversion with neural operators. The Seismic Record, 1(3):126–134, 2021. doi: 10.1785/0320210026. Zhiwei Zhao, Changqing Liu, Yingguang Li, Zhibin Chen, and Xu Liu. Diffeomorphism neural operator for various domains and parameters of partial differential equations. Communications Physics, 8, 2025. doi: 10.1038/s42005-024-01911-3.

A

Related work

Neural operators on varying geometries. Fourier neural operators [Li et al., 2021] apply learned per-mode weight matrices to truncated Fourier coefficients, within the general operator-learning framework of Kovachki et al. [2023]. Several variants extend them to irregular or varying geometry by deforming the domain to a regular grid (Geo-FNO, Li et al., 2023), mapping it to a fixed reference domain (DNO, Zhao et al., 2025), encoding it with a smoothed characteristic function (DAFNO, Liu et al., 2023), replacing the FFT with a non-uniform transform [Lingsch et al., 2024], or supplying the domain geometry as an extra input channel [Oguadimma et al., 2026]; in each case the spectral weights stay indexed by mode number, so transferring across physical domains still requires re-fitting or re-learning them. Non-spectral operators such as DeepONet [Lu et al., 2021] and graph neural operators [Li et al., 2020] handle varying geometry natively through query coordinates or message passing, respectively, but forgo the FFT and its efficiency. Learned continuous spectral symbols. A closer line of work replaces the discrete weight table with a function of the frequency variable. AM-FNO [Xiao et al., 2024] and SirenFNO [Shi et al., 2026] learn a network over the mode number (or a grid-normalized version of it), covering all modes with a fixed parameter budget. PDNO [Shin et al., 2024] and KANO [Lee et al., 2026] instead read the weight as a pseudo-differential symbol that also depends on position, for variable-coefficient 6

problems. PDNO formulates its symbol over ξ ∈ Rd but restricts the symbol network to integer modes ξ ∈ Zd (their Appendix B2), a choice they motivate by continuity of the operator. In all of these the frequency argument is the mode number, so the represented operator depends on the domain, and the weights are trained and evaluated at a single physical scale. Our layer keeps a position-independent convolution but takes the physical wavevector as the argument (table 2). Table 2: Parameterization of the spectral weight across FNO variants. FNO stores a discrete table over modes; the others learn it as a function. Its argument is the mode number, with PDNO and KANO adding the position (a pseudo-differential symbol); EFNO alone uses the physical wavevector, the quantity that changes with the domain. Method

Spectral weight

Kernel argument

FNO [Li et al., 2021] AM-FNO [Xiao et al., 2024] SirenFNO [Shi et al., 2026] PDNO [Shin et al., 2024] KANO [Lee et al., 2026] EFNO (ours)

lookup table learned function learned function learned function learned function learned function

mode number mode number mode number mode number & position mode number & position physical wavevector

Applications to electronic structure. Closest to our application are neural operators that predict electronic-structure fields. V2Rho-FNO [Jin et al., 2026] maps the external potential to the electron density for molecules in a fixed cubic box, and GPWNO [Kim and Ahn, 2024] predicts electron densities across crystals using a combined orbital and plane-wave basis; in both cases the spectral weights are tied to a single domain or bypass the Fourier-multiplier structure. Our experiment learns a related map on structures whose lattices differ from sample to sample.

B

Kernel properties

Table 3 collects some standard correspondences from Fourier analysis connecting the real-space convolution kernel and its Fourier transform. Table 3: Correspondence between real-space and spectral properties of the kernel. Each row is an equivalence.

C

Real-space kernel κ

Spectral kernel κ b

Real-valuedness κ real-valued

Hermitian symmetry b(k) κ b(−k) = κ

Smoothness κ has s derivatives in L2

Decay at large |k| s |k| κ b ∈ L2

Range κ supported in |x| ≤ R

Smoothness of κ b κ b entire, |b κ(k)| ≲ eR|Im k|

Isotropy κ(x) = κ(|x|)

Isotropy κ b(k) = κ b(|k|)

Gaussian basis parameterization of the EFNO symbol

We parameterize the symbol κ bθ as a linear combination of Gaussian basis functions in |k|2 ,   n basis X   −(|k|2 − µj )2 2 2 ϕj |k| wj , ϕj |k| = exp , κ bθ (k) = 2σ 2 j=1

(5)

2 2 with nbasis centers µj placed uniformly on [0, kmax ] in |k|2 , a shared width σ = kmax /nbasis , and c×c 2 trainable real coefficients wj ∈ R . Since the basis is Gaussian in |k| , the symbol κ bθ (k) is a

7

smooth function of k, decays as |k| → ∞, is isotropic as it depends only on |k|, and is real-valued by construction; see section B for the correspondences between these properties and those of the real-space kernel.

D

Additional experiment details and results

D.1

Experiment 1: Gaussian smoothing across periodic cells

Operator and cells. The test operator is the solution operator of the heat equation ∂t u = ∆u with periodic boundary conditions,G (t) : u(0, ·) 7→ u(t, ·) at t = 0.006, a convolution with the known symbol κ b(t) (k) = exp −t |k|2 . Both models are fitted on a rhombic cell with lattice  √ √ 3/2 3/2 Lfit = , (6) 1/2 −1/2 sampled on a 48 × 48 grid. Models are then evaluated on two different sets of test cells: √  3 0 (i) a rectangular cell of twice the area, Lrect = , on an 84 × 48 grid; 0 1 (ii) n × n supercells with lattice Ln = nLfit , for n = 1, . . . , 6, on 48n × 48n grids, holding the resolution per unit length constant. With this choice, any field that is periodic on Lfit is also periodic on Lrect and on Ln for all n. Models and fitting. Both evaluated models consist only of a single spectral convolution layer so that the only difference is the parameterization of the symbol. The FNO keeps M = 12 modes per dimension (325 weights); The EFNO uses the Gaussian nbasis = 25 coefficients,  basis of eq. (5) with 2 2 2 centers uniform on [0, kmax ] with kmax = − log 10−6 /t and width σ = kmax /nbasis . Both are fitted in closed form to the exact symbol on the fitting cell’s wavevector grid, with no input-output data and no iterative optimisation: the FNO sets Rm = κ b(km ) directly, the EFNO solves a least-squares problem with a small Tikhonov term (10−10 tr(Φ⊤ Φ)/nbasis I) for numerical conditioning. Input field and evaluation. The probe is a periodic array of Gaussian sources (width 0.03, one per lattice site, summed over periodic images). As it has the periodicity of the rhombic fitting cell, it is exactly representable on every supercell. Errors are relative L2 against the exact smoothed field, in percent. Results. Table 4 reports the error on the fitting cell, the rectangular supercell, and the n × n supercells. Figure 1 visualises the rectangular-cell transfer and the supercell sweep. On the fitting cell, both models are near-exact. On both the rectangular test cell and the n × n supercells, the FNO error becomes large while the EFNO error remains constant at the fitting residual. Table 4: Relative L2 error (%) of the FNO and EFNO. The FNO is near-exact on the fitting cell but fails to transfer; the EFNO stays at its basis-approximation residual on every cell. n × n supercell

Single cell Model

Fitting

Rectangular

n=2

n=3

n=4

n=5

n=6

FNO EFNO

∼0 3.5×10−6

49.70 3.5×10−6

66.09 3.5×10−6

85.16 3.5×10−6

89.60 3.5×10−6

90.12 3.5×10−6

90.16 3.5×10−6

D.2 D.2.1

Experiment 2: Exchange-correlation potential learning Architecture and training

Dataset and splits. We use the ML-RPA dataset [Riemelmoser et al., 2023], consisting of 189 crystal structures spanning small molecules, diamond bulk systems, surfaces, and liquid water. We consider two subsets: the diamond subset, consisting of 20 eight-atom structures for training and 8

validation, and 20 sixteen-atom structures for testing; and the liquid-water subset, consisting of 32 structures of eight water molecules for training and validation, and 39 structures of 31 or 32 water molecules for testing. In both cases, we train on the smaller structures and test on the larger ones, with an 80/20 train/validation split. The training and validation structures are Fourier-resampled to a common grid (483 for diamond, 803 for water) to enable efficient batching during training; the test structures are kept on their original grids, so that the evaluation reflects generalization across both grid sizes and domains. Loss and evaluation metric. Following Riemelmoser et al. [2023], we train the models on a gauge-invariant density-weighted mean squared error loss, Z 2 1 pred ref L= ρ(r) ṽxc (r) − ṽxc (r) dr, (7) Ne Ω R R where Ne = Ω ρ(r)dr is the number of electrons in the cell Ω, and ṽxc = vxc − N1e Ω ρ(r) vxc (r)dr subtracts the density-weighted mean to remove the constant gauge freedom of vxc . All integrals are discretized over the uniform real-space grid. We train on the mean of L over the training structures, and report its square root (WRMSE), averaged over structures, in meV/e− . Model and training. Each model consists of a lifting layer that maps the scalar input to c channels, two (E)FNO blocks, and a projection layer that maps back to a single channel. As in the standard FNO, each block is a sum of a spectral convolution and a pointwise linear channel-mixing layer, followed by a gelu activation. Both models use c = 8 channels, two (E)FNO layers, a lifting 2 and a projection layer. The EFNO uses 16 basis functions per layer, spread uniformly in [0, kmax ] 2 −2 with kmax = 40 bohr , chosen to cover the ML-RPA dataset’s plane-wave band limit (set to Ecut = 600 eV throughout). The FNO baseline uses 4 modes per layer. Both models are trained with Adam at a constant learning rate of 10−2 , full-batch over all training structures, for a fixed number of steps, and we select the checkpoint with the lowest validation WRMSE. D.2.2

Visualizations of the predicted potentials

Figures 3 and 4 show the predicted RPA exchange-correlation potentials for one representative training and one representative test structure from each task (diamond and liquid water), with the PBE electron density as input. On the training structures both models reproduce the RPA potential; on the test structures the FNO error grows substantially while the EFNO stays close to the reference, which is consistent with the aggregated results of table 1.

9

2

−20

2

2

2

−20

1

−25

1

1

1

0

0

0

−25

0 1 2 3 f. Density 0.25 0.20 0.15 0.10 0.05

3 2

1 3

Å)

y(

2 3

2 ) x (Å

1

0

1

0 0

j. Test system

1

2

k. RPA potential

z (Å)

5.0

0

2

4

6

o. Density

Å) y(

5.0 6

4 ) x (Å

2

0

2

4

2

2

0

1

1

1

6

0 1

2

l. PBE

1

2

3

0

m. FNO

2

4

6

2

4

6

2

4

6

3 −15 −20 −25

0

q. FNO − RPA

2

4

6

r. EFNO − RPA

4 3 2 1 0 0

2

4 3 2 1 0 0

p. PBE − RPA

4 0.2 3 2 0.1 1 0

1

n. EFNO

4 3 2 1 0 0

−2

0 0

3

4 −20 3 2 −25 1 0

0.3

4 3 2 1 0 0

3

2

0

2.5 0.0 0.0 2.5

3

2 0

−15

0 1 2 3 i. EFNO − RPA

3

3

4 3 2 1 0

0 1 2 3 h. FNO − RPA

0 1 2 3 g. PBE − RPA

4 3 2 1 0 0

2

4

Potential (eV)

z (Å)

3

1 0 0

−15

3

0

2

e. EFNO

3

Error (eV)

3

d. FNO

c. PBE

−15

6

2 0 −2 0

2

4

Error (eV)

3

Potential (eV)

b. RPA potential

a. Train system

6

Figure 3: Predicted potentials for a representative diamond train and test structure. a. Unit cell of a training system, showing the plane along which the density and potential are visualized. b. RPA reference potential. c.–e. PBE, FNO, and EFNO predictions. f. Input electron density (PBE). g.–i. Difference of each prediction to the reference. j.–r. Corresponding panels showing the cell, potentials, density, and errors for a test system. On the training system, both the FNO and the EFNO are able to reproduce the RPA potential well and show small errors (h.–i.). On the test system, the FNO shows substantial errors (q.) that are larger than the PBE baseline (p.), while the EFNO stays close to the reference (r.).

Å) y(

6

1 3 2

0

4 6 5 ) x (Å

6 5 4 3 2 1 0

0.6 0.3

z (Å)

6

2

4

y(

6

Å)

8

4

8

6 ) x (Å

2

0

0123456 i. EFNO − RPA 6 5 4 3 2 1 0

3 0 −3

0123456

0123456

0123456

0123456

l. PBE

m. FNO

n. EFNO

−10 −20 −30

8 6 4 2 0

8 6 4 2 0

8 6 4 2 0

0.9 0.6 0.3

8 6 4 2 0

8 6 4 2 0 0 2 4 6 8

0 2 4 6 8

8 6 4 2 0 0 2 4 6 8 q. FNO − RPA

0 2 4 6 8 p. PBE − RPA

−10 −20 −30

0 2 4 6 8 r. EFNO − RPA 8 6 4 2 0

0 2 4 6 8

Potential (eV)

−15 −20 −25 −30 −35

k. RPA potential

0 2 4 6 8 o. Density

4

6 5 4 3 2 1 0

6 5 4 3 2 1 0

e. EFNO 6 5 4 3 2 1 0

0123456 h. FNO − RPA

0123456 g. PBE − RPA 0.9

8 6 4 2 0

8

d. FNO 6 5 4 3 2 1 0

Error (eV)

6 5 4 3 2 1 0

0123456 f. Density

j. Test system

2 0 0

c. PBE −15 −20 −25 −30 −35

Potential (eV)

z (Å)

6 5 4 3 2 1 0 0 1 2 3 4 5

6 5 4 3 2 1 0

3 0 −3

Error (eV)

b. RPA potential

a. Train system

0 2 4 6 8

Figure 4: Predicted potentials for a representative liquid-water train and test structure. a. Unit cell of a training system, showing the plane along which the density and potential are visualized. b. RPA reference potential. c.–e. PBE, FNO, and EFNO predictions. f. Input electron density (PBE). g.–i. Difference of each prediction to the reference. j.–r. Corresponding panels showing the cell, potentials, density, and errors for a test system. On the training system, both the FNO and the EFNO are able to reproduce the RPA potential well and show small errors (h.–i.). On the test system, the FNO shows substantial errors (q.) that are larger than the PBE baseline (p.), while the EFNO stays close to the reference (r.).

10

Related documents

Record · ID 618557 · SHA-256 651dae991ac023ee
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive