Manuscript Offprint

arXiv:2611.08912

SSF-Net: A Spatial-Spectral Fusion Network for Accurate PDE Operator Learning

Siqi Zhao, Flora D. Salim

ABSTRACT

Machine learning methods for solving partial differential equations (PDEs) significantly improve computational efficiency over traditional numerical solvers such as finite element method (FEM). However, PDE dynamics inherently span both local and global dynamics: disturbances propagate and decay gradually through the domain, while global coupling effects can influence the whole system simultaneously. Capturing both types of dynamics with a low complexity model remains a key challenge. To address this, we propose the Spatial-Spectral Fusion Network (SSF-Net), built around a dual-branch Spatial–Spectral Fusion (SSF) block comprising a spatial branch and a spectral branch. The spatial branch employs a multi-directional Mamba, which mitigates its inherent causal, single-direction scanning bias and capture local interactions with reduced directional bias at linear complexity. The spectral branch leverages a Fourier transform with a block-diagonal MLP to efficiently capture global spectral features with reduced parameter count and complexity. The SSF block is embedded in a multiresolution convolutional encoder-decoder, which extracts multi-scale features. We evaluate SSF-Net on a comprehensive PDE benchmark spanning multiple task types and assess its long-horizon stability. Compared with attention-based and convolution-based baselines, SSF-Net achieves lower prediction error with fewer parameters while retaining near-linear asymptotic complexity in the number of spatial tokens.

1 INTRODUCTION

Scientific and engineering problems such as aerodynamics and wave propagation involve solving complex partial differential equations (PDEs). Conventional PDE solvers such as the finite element method (FEM), the finite volume method (FVM), and spectral methods discretize the continuous physical domain into a finite set of points, cells, or elements (Quarteroni & Valli, 1994). These methods are accurate and physically grounded, but remain computationally expensive at scale. This challenge has motivated the development of data-driven machine learning methods for solving PDEs, among which neural operators have emerged as a particularly promising direction.

Neural operators aim to learn the underlying PDE solution operator, which directly maps an input function space—including initial and boundary conditions, coefficients, etc.—to the corresponding PDE solution (Li, 2021). Compared to conventional simulation, these methods achieve lower computational cost and faster inference (Takamoto et al., 2022). Moreover, because neural operators are data-driven, they remain applicable even when the governing equations are incomplete or unknown. Existing neural operators are built on a variety of backbones, including convolutions (Raonic et al., 2023), graph neural networks (Li et al., 2020b), Fourier transforms (Li et al., 2020a; 2023a;b), and transformers (Wu et al., 2024; Luo et al., 2025; Herde et al., 2024; Holzschuh et al., 2025b).

Nevertheless, PDE dynamics inherently span both local and global scales. Locally, disturbances such as shock fronts, boundary layers, and localized stress concentrations propagate gradually, decay with distance, and are primarily governed by neighboring interactions. Globally, coupling effects—such as pressure fields in incompressible flow or potential fields in Poisson-type equations—can instantaneously influence the entire system, independent of spatial distance.

*Corresponding author.

Figure

Figure 1: Effective-kernel strength on FNS-KF. Effective-kernel strength is a measure of how strongly infinitesimal changes in the source features affect the query output. See Section 4.4 and Appendix F for details. Axes denote normalized spatial displacements. All panels share a logarithmic color scale, with gray indicating zero.

Existing methods struggle to efficiently integrate local and global dynamics. Firstly, convolution-and graph-based models typically require multiple layers to capture long-range dependencies. Fourier-based models can lose fine-scale spatial details through mode truncation. Transformer-based models face a trade-off between the quadratic cost of global attention and the restricted receptive fields of window-based attention. Moreover, these methods do not explicitly model decaying local interaction. Figure 1 illustrates how input locations across the spatial domain influence the output at a given query position. CNO exhibits domain-wide responses concentrated near the query, while FNO shows broad spatial coverage with enhanced influence along the horizontal and vertical axes through the query. The scOT block is restricted to its attention window. None of them shows an explicit gradual decaying influence with distance which is common in the local interaction of PDEs.

To address these gaps, we introduce SSF-Net, a dual-branch neural operator that jointly models local and global PDE dynamics at near-linear complexity. The spectral branch extracts global dynamics via a Fourier transform, while the spatial branch extracts local dynamics via a state-space model (SSM). This design combines complementary local and global representations and achieves improved prediction accuracy with fewer parameters than the compared baselines. As shown in Figure 1, the SSF spatial branch exhibits a concentrated, directional response that rapidly weakens away from the query, while its spectral branch provides broad spatial coverage. These complementary patterns support the integration of local sensitivity and global interaction within PDEs. We make the following contributions:

  • We propose a novel dual-branch architecture that combines SSM (Gu & Dao, 2023; Tiwari et al., 2025) for local dynamic extraction with a Fourier transform for global dynamic extraction. The resulting model, termed the Spatial-Spectral Fusion Network (SSF-Net), is embedded within a U-Net-style multiresolution encoder-decoder to extract multi-scale features while reducing parameter count.
  • We show that SSF-Net has near-linear asymptotic complexity in the number of spatial tokens, avoiding the quadratic token-mixing cost of full self-attention.
  • We evaluate SSF-Net on a diverse collection of PDE benchmarks and show that it consistently achieves lower prediction errors with fewer parameters than the compared baselines.

References (85)

  • Mamba: Linear-Time Sequence Modeling with Selective State Spaces
  • Efficiently Modeling Long Sequences with Structured State Spaces
  • Adaptive fourier neural operators: Efficient token mixers for transformers (opens arXiv in a new tab)
  • Gaussian Error Linear Units (GELUs)
  • Poseidon: Efficient foundation models for pdes
  • P3d: Scalable neural surrogates for high-resolution 3d physics simulations with global context (opens arXiv in a new tab)
  • Pde-transformer: Efficient and versatile transformers for physics simulations (opens arXiv in a new tab)
  • A benchmark for autoregressive neural emulators of pdes
  • Neural operator: Learning maps between function spaces with applications to pdes
  • Drift-net: A spectral-coupled neural operator for pdes learning (opens arXiv in a new tab)
  • Fourier neural operator for parametric partial differential equations (opens arXiv in a new tab)
  • Neural operator: Graph kernel network for partial differential equations (opens arXiv in a new tab)
  • Fourier neural operator with learned deformations for pdes on general geometries
  • Advances in Neural Information Processing Systems, 36:35836–35854, 2023b
  • Architectures, variants, and performance of neural operators: A comparative review
  • Vmamba: Visual state space model
  • Swin transformer: Hierarchical vision transformer using shifted windows
  • A convnet for the 2020s
  • Learning nonlinear operators via deeponet based on the universal approximation theorem of operators
  • Transolver++: An accurate neural solver for pdes on million-scale geometries (opens arXiv in a new tab)
  • *arXiv preprint arXiv:2310.02994*, 2023 (opens arXiv in a new tab)
  • *Numerical approximation of partial differential equations*
  • Convolutional neural operators for robust and accurate learning of pdes
  • Aroma: Preserving spatial structure for latent pde modeling with local neural fields
  • Pdebench: An extensive benchmark for scientific machine learning
  • Dim: Diffusion mamba for efficient high-resolution image synthesis (opens arXiv in a new tab)
  • *arXiv preprint arXiv:2505.19105*, 2025 (opens arXiv in a new tab)
  • Attention is all you need
  • Cvit: Continuous vision transformer for operator learning (opens arXiv in a new tab)
  • Pvt v2: Improved baselines with pyramid vision transformer
  • U-fno—an enhanced fourier neural operator-based deep-learning model for multiphase flow
  • Transolver: A fast transformer solver for pdes on general geometries (opens arXiv in a new tab)
  • Alias-free mamba neural operator
  • Here $a \in \mathcal{X}$ is the initial condition, and $u \in C([0,T];\mathcal{X})$ is the corresponding solution
  • For time-independent PDEs, the corresponding solution map is $\bar{\mathcal{S}}:\mathcal{X}\to\mathcal{X}$, with $\bar{u}=\bar{\mathcal{S}}(a)$
  • Given only the initial condition (and boundary conditions), the learned operator should generate the full trajectory $\{\mathcal{S}^*(t,a)\}_{t\in[0,T]}$ that approximates the true trajectory $\{\mathcal{S}(t,a)\}_{t\in[0,T]}$
  • We consider a two-dimensional spatial domain $D\subset\mathbb{R}^2$, discretized on a grid of size $H\times W$ with $C$ channels
  • We refer readers to Gu et al. (2021) for the full derivation
  • We use zero-order hold (ZOH) as the discretization rule to discretize SSM with a timescale $\Delta \in \mathbb{R}$:
  • With these input-dependent parameters, the equation 16 can be written as follows:
  • Unlike conventional linear time invariance (LTI) SSMs, where the kernel $K$ depends only on the time difference $t - j$, selective SSMs produce an input-dependent kernel whose coefficients vary with both the input sequence and temporal positions
  • It sits with other patch-based surrogates (Herde et al., 2024; Li & Salim, 2025; Holzschuh et al., 2025b)
  • This view makes explicit why the two branches are complementary rather than redundant
  • Writing the 2D coordinates $s=(i,j)$, $t=(i',j')$ and $(\Delta_i,\Delta_j)=(i-i',j-j')$, the raster orderings of equation 48 give
  • So under $\pi_1$ alone a horizontal neighbor sits at ordering distance 1 while a vertical neighbor sits at distance $d_1$ and is attenuated by $\rho^{d_1}$ rather than $\rho$, a result of the flattening, not of the underlying PDE field
  • Since $\pi_2=N+1-\pi_1$ and $\pi_4=N+1-\pi_3$, the four orderings form two reversed pairs, and for any ordered pair $(s,t)$ exactly one member of each pair satisfies the causality condition above
  • For square grids $(H=W)$, it is also invariant under exchanging the coordinate offsets, $(\Delta_{i},\Delta_{j})\mapsto(\Delta_{j},\Delta_{i})$
  • For a complex vector $z=x+iy$, consider the componentwise map $\phi_{\mathbb{C}}(z)=\phi(x)+i\phi(y)$
  • The biases $b_{1}, b_{2}$ affect these masks and are therefore retained in their evaluation
  • These weights account for conjugate completion in the inverse real FFT
  • Writing the block input as $X = [X_s; X_f]$ with $X_s, X_f \in \mathbb{R}^D$ and $D = C/2$, the kernel acting on the full channel space is the block row
  • The original input is patched, processed by multiple stages of SSF blocks, and downsampled to coarser resolution
  • We index resolution levels by $\ell \in \{1, \ldots, L_{\text{res}}\}$, where $\ell = 1$ is the finest level and $\ell = L_{\text{res}}$ the bottleneck
  • It carries no spatial mixing, so all coupling between locations is produced by the two branches
  • Each block applies it residually
  • Write $\mathcal{D}^{(\ell)}$ for the downsampling operator from level $\ell$ to $\ell+1$, a convolution with kernel size 3, stride 2 and padding 1 that halves both spatial dimensions and doubles the channel width
  • Re-indexing the patch index $j \in \{1, \ldots, H^{(1)} \cdot W^{(1)}\}$ of equation 39 as a grid pair $(m, n)$, $m \in \{1, \ldots, H^{(1)}\}$, $n \in \{1, \ldots, W^{(1)}\}$, let $d^{(c)}(m, n)$, $c = 1, \ldots, C^{(1)}$, denote the decoder output at the finest resolution
  • Writing the pixel index as $i = (m-1)p + u$, $j = (n-1)p + v$ with $u, v \in \{1, \ldots, p\}$
  • each pixel is written by exactly one token, so $r \in \mathbb{R}^{H \times W \times C^{(1)}}$ is discontinuous at patch borders
  • The multi-directional Mamba is used in spatial branch in the SSF blocks
  • Each ordering is a raster scan: every row (column) is read in the same direction
  • Only $\Delta_n$, $\mathbf{B}_n$ and $\mathbf{C}_n$ are produced from the input
  • Since complex field $\mathbb{C}$ admits no natural ordering, neither is defined on a complex value as a whole
  • Composing equation 52 with equation 51, one layer of the block-diagonal complex MLP in equation 9 is computed as
  • An entry is zeroed if and only if the absolute values of both its real and imaginary parts are at most $\lambda$
  • Unless otherwise stated, preprocessing and normalization follow the official PDE GYM protocol
  • Each dataset contains 4000 trajectories on a $128\times128$ grid, divided into 3,700 training, 200 validation, and 100 test trajectories
  • TI and TD denote time-independent and time-dependent tasks, respectively
  • The coefficient $b$ controls the strength of nonlinear vorticity advection, $\nu$ is the kinematic viscosity, and $\lambda < 0$ is a linear drag coefficient that removes energy accumulated in the low-frequency modes
  • The two configurations differ only in the viscosity $\nu$ and linear drag coefficient $\lambda$
  • The coefficient $b$ controls the nonlinear gradient-norm term
  • Both KS-Strong and KS-Weak use the same gradient-norm difficulty coefficient $\delta_2 = -6.0$ and fourth-order hyperdiffusion difficulty coefficient $\gamma_4 = -15.0$
  • $N_{\text{test}}$ is the number of test trajectories, and $T$ is the number of forecast steps
  • u_t \mapsto u_{t+1}$ using single-step teacher forcing
  • We train for 20 epochs on NS-SL, 100 epochs on Poisson-Gauss, and 40 epochs on all remaining benchmarks
  • The model contains 4 resolution levels with 2 SSF blocks at each level, resulting in the depth configuration (2, 2, 2, 2)
  • The input is lifted to a hidden width of 96 and processed by 5 Fourier layers
  • The channel multiplier is set to 32, with 8 residual blocks at each resolution level and 8 additional residual blocks in the bottleneck
  • The PDE-Transformer baseline uses a 5-level multiscale encoder–decoder with patch size 4, base embedding dimension 96 and block depth (2, 5, 8, 5, 2)
  • The model employs a 4-level multiscale encoder–decoder with Swin-style window attention, patch size 4, base embedding dimension 48 and 4 blocks at each resolution level, giving the depth configuration (4, 4, 4, 4)
  • It uses a 4-level encoder–decoder with patch size 4, base embedding dimension 48 and block depths (4, 4, 4, 4)
  • A forward hook captures the input features of the first block in the first encoder stage
  • We compute it by reverse-mode automatic differentiation, enumerating every output-channel basis vector at $q$ and summing the squared input gradients
  • This contrast is more pronounced on FNS-KF, where faster spatial decay accompanies weaker spectral attenuation, consistent with the coexistence of local transport and nonlocal coupling in incompressible flow
  • A single traversal produces a predominantly one-sided response, four traversals extend influence along both coordinate axes, and eight additionally strengthen diagonal interactions