Manuscript Offprint

arXiv:2610.03265

SPEAR: A Spectral-Disentangled MoE Neural Operator with Knowledge-Guided Expert Aggregation for Large-Scale PDE Pretraining

Dengdi Sun, Xiaoya Zhou, Xiao Wang, Wanli Lyu, Jin Tang, Bin Luo

Abstract

Large-scale pre-training has improved the generalization of neural operators across diverse PDEs. However, existing PDE foundation models still struggle with heterogeneous dynamics, where shared representations may cause knowledge interference, while mixture-of-experts (MoE) architectures suffer from increasing expert redundancy. We propose SPEAR, a spectral-disentangled MoE neural operator with knowledge-guided expert aggregation for large-scale PDE pretraining. SPEAR decouples latent features into low- and high-frequency components, enabling shared modeling of transferable dynamics and specialized learning of PDE-specific patterns. To address expert redundancy, we design a knowledge-guided expert aggregation strategy that measures expert similarity from dataset-specific learned knowledge and routing preferences, enabling the identification and consolidation of similar experts. Experiments on twelve PDE datasets and multiple downstream benchmarks demonstrate superior performance in pre-training, fine-tuning, and transfer learning. Furthermore, our aggregation strategy reduces the number of experts by 50% while maintaining or improving prediction accuracy, achieving a balance between model efficiency and generalization for PDE foundation models.

Introduction

Neural operators have emerged as a compelling alternative for solving PDEs by learning mappings between infinite-dimensional function spaces, achieving orders-of-magnitude speedups at inference time. However, existing neural operators are typically trained under single-task settings—specific PDE families with fixed parameter ranges—resulting in limited generalization to unseen equation types, parameter regimes, or boundary conditions. Inspired by large language models (Vaswani et al. 2017) and vision foundation models (Radford et al. 2021), recent efforts have introduced large-scale pre-training into the PDE domain to learn transferable physical representations. While pre-training enhances generalization, different PDEs exhibit substantially different underlying dynamics, and modeling multiple physical processes within a single shared parameter space may lead to knowledge conflicts and negative transfer.

To scale up modeling capacity while maintaining inference efficiency, recent work has introduced Mixture-of-Experts (MoE) architectures (Shazeer et al. 2017) into neural operator design (Wang et al. 2026; Sun et al. 2026). MoEs employ dynamic routing mechanisms that activate only a subset of expert subnetworks for each input, enabling massive parameter scaling without proportionally increasing per-sample computation. This paradigm shows promise in handling PDE heterogeneity: different experts can specialize in different equation types, physical regimes, or numerical patterns. However, MoE-based neural operators still face the following two critical challenges. As shown in Figure 1, we summarize the motivation and overview of SPEAR.

Challenge 1: Spectral Coupling of PDEs. Different PDE families differ drastically in their physical behaviors. For example, elliptic equations describe steady-state equilibrium, with high-frequency features manifesting as smooth local extrema; hyperbolic equations describe wave propagation, with high-frequency features manifesting as sharp discontinuities; parabolic equations describe dissipative processes, with high-frequency features manifesting as decaying spikes. These differences are most pronounced in high-frequency local patterns, while low-frequency dynamics exhibit broad similarity across equation types. However, Fourier-based neural operators such as AFNO (Guibas et al. 2021) couple all frequency components within shared parameters, forcing morphologically distinct high-frequency patterns to coexist and causing severe gradient interference. Existing remedies, including multi-scale operators (Liu et al. 2024) and frequency enhancement modules (Chen et al. 2025), have yet to break this spectral coupling constraint. Therefore, a mechanism that can separate shared dynamics from specific patterns according to frequency characteristics is urgently needed.

Challenge 2: Expert Redundancy of MoE. While MoE architectures enhance model capacity through specialization, this comes at a cost: as model scale grows, parameter redundancy proliferates, with many experts learning functionally similar representations while inference overhead increases significantly. Existing expert merging methods (Zhang et al. 2026; Li et al. 2026, 2024; Chen et al. 2024a) primarily consolidate similar experts based on routing statistics or expert outputs, rather than the task-specific knowledge semantics that experts truly acquire. This "behavior-based" rather than "knowledge-based" merging strategy lacks physical grounding. In PDE learning, this is particularly problematic: two experts that handle similar physical patterns may never be

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

Figure

Figure 1: Motivation of SPEAR. The upper shows the advantage of frequency decoupling for separating shared and PDE-specific dynamics. The lower highlights knowledge-guided expert merging over routing-based merging.

activated together due to different data distributions, and would thus be judged as "dissimilar" and left unmerged.

It is worth noting that these two challenges are not independent. A key fact connects them: low-frequency dynamics are broadly transferable across PDE types and can be effectively captured by a shared backbone, while high-frequency patterns are PDE-specific and demand expert specialization. This observation naturally suggests a two-stage strategy: first, decouple frequencies to separate sharable low-frequency knowledge from PDE-specific high-frequency patterns, assigning the latter to a dedicated MoE module for expert-level specialization; then, consolidate the high-frequency experts to eliminate redundancy, ensuring that each preserved expert captures truly distinct physical knowledge. In other words: decouple to specialize, then aggregate to refine.

Building on this insight, in this paper, we present a SPectral-disentangled MoE neural operator with knowledge-guided Expert AggRegation (SPEAR). Our framework introduces two tightly coupled innovations. For challenge 1, we propose a spectral-disentangled architecture that explicitly partitions the frequency spectrum. The low-frequency branch employs AFNO to capture global evolution patterns, while the high-frequency branch extracts fine-grained local structures via high-pass filtering and models them through an MoE module composed of shared convolutional backbones and LoRA adapters. Dynamic routing based on high-frequency statistics activates a part of experts to efficiently learn local dynamics across PDEs. For challenge 2, we design a knowledge-guided expert aggregation strategy that compresses and reorganizes functionally similar experts by incorporating physical correlations among PDE tasks and expert preference information. Rather than routing statistics, expert similarity is measured by the learned parameters for each PDE dataset. Then, a dataset-level knowledge matrix is constructed and fused via bilinear projection, yielding semantic similarities for expert merging. Our main contributions are summarized as follows:

  1. We design a spectral-disentangled architecture that explicitly partitions the frequency spectrum: a shared backbone captures low-frequency dynamics across all PDE types, while a dedicated MoE module handles PDE-specific high-frequency patterns.

  2. We propose a knowledge-guided expert aggregation strategy that computes similarities among experts based on their acquired physical knowledge during training and routing preference information, and merges them via bilinear projection and hierarchical clustering.

  3. Extensive experiments on large-scale PDE pretraining datasets show that our method learns transferable representations, achieving strong performance across cross-equation pretraining, fine-tuning, and generalization to unseen PDEs with superior parameter efficiency.

References (37)