Manuscript Offprint

arXiv:2609.39914

Cluster Attention Neural Operators for Solving Parametric Partial Differential Equations

Ming Zhong, Antonio Colanera, Gianluigi Rozza, Zhenya Yan

Abstract

Traditional simulations of parametric partial differential equations (PDEs) rely on repetitive computations for each parameter, which makes high-fidelity design impractical. Neural operators address this issue by learning solution operators, accelerating parameter-space mapping by orders of magnitude. Recent Transformer-based neural operators attempt to capture global dependencies, but often at the cost of quadratic attention complexity. Transolver resolves this problem by projecting physical states into a reduced slice space for attention computation. Although fast, this projection sacrifices fine spatial information. Moreover, by operating in this reduced space with shared weights across attention heads, it may constrain the model's flexibility, thereby limiting its capacity to capture complex phenomena. To address these issues, we propose the Cluster Attention Neural Operator (CANO), which reformulates attention via a novel cross-attention mechanism that dynamically clusters queries while preserving full-resolution keys and values. This avoids slice compression loss and removes weight-sharing limits. At the same time, the model remains fast without losing global interactions. Empirically, CANO achieves state-of-the-art performance across canonical PDE benchmarks, covering fluid and solid dynamics (e.g., Navier-Stokes, Airfoil, Plasticity), irregular unstructured geometries (e.g., Pipe

Turbulence, Composites), and long-term temporal rollouts. Across solid deformation and turbulent flow benchmarks, CANO achieves lower errors than baselines and exhibits strong geometric adaptability and temporal consistency.

Keywords: Parametric partial differential equation, Deep learning, Cluster attention neural operator, Transformers

1 Introduction

Partial differential equations (PDEs) play a pivotal role in modeling physical phenomena and have become ubiquitous across science and engineering [1–5]. While these PDEs provide a theoretical framework for understanding natural phenomena, yet solving these equations numerically is often too slow for practical use [6–10]. Traditional numerical solvers, such as the finite element, finite difference, and spectral methods, typically rely on dense spatial discretizations [6–10]. However, the computational cost of standard methods grows steeply with grid resolution. As a result, high-fidelity simulations are often computationally infeasible. This leaves a significant gap between theoretical models and real-world engineering [11, 12].

Recently, scientific machine learning (SciML) has emerged as a promising alternative, replacing classical iterative solvers with trained neural networks [13–16]. For example, the Deep Ritz method [17] solves PDEs via variational formulations, while Physics-Informed Neural Networks (PINNs) [18–20] penalize PDE residuals in the loss function. Other variants, such as PeRCNN [21], enforce physical laws directly through network architectures. However, these methods only solve one PDE instance at a time. Once the physical parameters or boundary conditions changed, the network must be re-trained from scratch, making it impractical for real-time applications [22, 23].

To address this issues, neural operators (NOs) [24–28] learn mappings between parameter or coefficient fields to solution fields. Instead of solving a single PDE instance, they approximate the underlying operator. Once trained, they provide zero-shot solution predictions for unseen configurations at a fraction of the classical computational cost.

Existing neural operator architectures can be broadly categorized into MLP-based, spectral-based, and transformer-based methods. First, MLP-based neural operators, represented by Deep Operator Networks (DeepONet) [26], are fundamentally grounded in the universal approximation theorem for operators [29]. This framework has been extended through various architectures, including POD-DeepONet [30], PINN-DeepONet [31], MIONet [32], and Hybrid-preconditioned DeepONet [33]. In practice, however, these simple architectures struggle to resolve complex nonlinear behaviors.

Second, spectral-based neural operators, such as the Fourier Neural Operator (FNO) [24, 25, 34, 35], exploit global convolutions in the wavenumbers domain to parameterize integral kernels, achieving high accuracy on structured grids. However, accommodating general unstructured domains significantly increases computational cost or requires lossy interpolations [34, 35].

Third, Transformer-based neural operators [36–41] offer an alternative way to handle unstructured domains and irregular meshes. A standard self-attention block computes the output Y as [42–44]

Y=Softmax(QK⊤d)V,(1)\mathbf{Y}=\mathrm{S o f t m a x}\Big(\frac{\mathbf{Q}\mathbf{K}^{\top}}{\sqrt{d}}\Big)\mathbf{V}, \tag{1}

where Q,K,V∈RN×d\mathbf{Q}, \mathbf{K}, \mathbf{V} \in \mathbb{R}^{N \times d} are the query, key, and value matrices, respectively, obtained from the projection of original features (such as function values or coordinates), where NN is the number of tokens and dd is the feature dimension. While this formulation captures long-range dependencies, it scales quadratically, O(N2d)\mathcal{O}(N^2 d), making it impractical for fine physical discretizations. Linear attention variants reduce complexity to O(Nd2)\mathcal{O}(Nd^2) through matrix factorization [45–49]:

Y=ϕ(Q)(ϕ(K)⊤V),(2)\mathbf{Y}=\phi(\mathbf{Q})\left(\phi(\mathbf{K})^{\top}\mathbf{V}\right), \tag{2}

where ϕ(⋅)\phi(\cdot) denotes a feature mapping. Despite its efficiency, linear attention often suffers from overly smooth attention maps. While hierarchical or convolutional designs [50–54] mitigate this issue, they are strictly tailored for structured grids and do not readily apply to unstructured meshes.

Another line of work tackles complex geometries by introducing latent tokens [55–57]. A notable example is Transolver [57], which learns a weight matrix to aggregate input features into a compact "slice space", performs attention within this reduced representation, and projects back. However, compressing physical points into slices loses local geometric details. In addition, Transolver computes attention only in this slice space and shares weights across attention heads, which limits its ability to capture complex dynamics.

To overcome these challenges, we introduce the Cluster Attention Neural Operator (CANO) 1^{1}. Rather than projecting points into a reduced slice space, CANO computes cross-attention by clustering queries (Q) dynamically, while retaining keys (K) and values (V) in their original coordinate space. By clustering queries dynamically, CANO avoids compression loss in the slice space and removes the need for weight sharing across attention heads. As a result, the model maintains global receptive fields while scaling linearly with the number of points N, yielding strong generalization on complex physical systems.

The main contributions of this work are twofold. First, we introduce Cluster Attention, which clusters queries while keeping keys and values at full resolution. This formulation prevents detail loss and scales linearly with the number of points N. Second, we validate CANO on 12 diverse PDE benchmarks, including complex geometries and long rollout horizons, where it achieves up to 41.67% lower error on solid mechanics and 33.73% on turbulent flows compared to previous models.

The remainder of this paper is organized as follows. Section 2 briefly introduces the neural operator framework and related works. Section 3 presents the proposed CANO

1^{1}https://github.com/zhongming12342/CANO architecture. Section 4 reports extensive numerical experimental results on diverse benchmarks and model analysis, followed by concluding remarks in Section 5.

References (95)