Transolver is a Linear Transformer: Revisiting Physics-Attention through the Lens of Linear Attention

Wenjie Hu, Sidun Liu, Peng Qiao, Zhenglun Sun, Yong DouarXiv 2025 · DOI

Abstract

Recent advancements in neural operators, particularly the Transolver model, have significantly improved the efficiency of solving partial differential equations (PDEs). This work reveals that Transolver's "Physics-Attention" is actually a constrained form of linear attention. By generalizing and simplifying this mechanism, we introduce LinearNO (Linear Attention Neural Operator). LinearNO achieves state-of-the-art accuracy across major physics benchmarks while being 40% smaller and 36% faster than its predecessor.

Introduction

Solving Partial Differential Equations (PDEs) is fundamental to engineering and scientific discovery, spanning applications from aerodynamics to climate modeling. While traditional numerical solvers are accurate, their high computational cost has spurred the development of Neural Operators. These AI models learn to map input conditions directly to solutions, offering significant speedups.

Transformers have emerged as a powerful architecture for neural operators due to their ability to model global dependencies. However, standard self-attention suffers from $O(N^2)$ complexity relative to the number of grid points. Transolver addressed this via "Physics-Attention," which uses learnable "slices" to group grid points. This paper investigates the theoretical foundations of Physics-Attention, demonstrating that it can be reformulated as a canonical linear transformer, leading to the more efficient LinearNO architecture.

Methods: From Physics-Attention to LinearNO

The transition from Transolver to LinearNO involves a two-step "mathematical autopsy" of the Physics-Attention mechanism to strip away redundant operations and decouple internal weights.

1. The Generalization Step

In the original Transolver, the weights for generating "Queries" and "Keys" were shared, imposing a symmetry constraint. LinearNO relaxes this by decoupling the internal weights, allowing the model to learn asymmetric relationships between grid points and latent physical states. This increases the "rank" of the attention matrix, enabling the model to capture more complex physical phenomena with the same amount of memory.

2. The Simplification Step

The authors discovered that the "slice attention" component—where grouped slices interact with each other—was often redundant or even harmful. By removing this interaction and focusing on the "slice" (projection to latent space) and "deslice" (reconstruction) operations, the model becomes a true linear transformer. This simplification reduces parameters and FLOPs without sacrificing predictive power.

The architecture of LinearNO compared to the original Physics-Attention mechanism.

Experimental Evaluation

LinearNO was evaluated on a diverse set of benchmarks to ensure robustness across different physical domains:

  • Standard PDE Benchmarks: Including Airfoil, Pipe flow, Plasticity, Navier-Stokes (NS), Darcy Flow, and Elasticity.
  • Industrial Datasets: AirfRANS (2D aerodynamics) and Shape-Net Car (3D aerodynamic flow).
  • Super-Resolution: Testing discretization-invariance on the 1D Burgers’ equation to ensure the model works regardless of mesh density.

Key Results and Insights

LinearNO consistently outperforms existing models across all tested benchmarks. As shown in the table below, it achieves the lowest relative L2 error on standard PDE tasks, surpassing models like FNO, GNOT, and the original Transolver.

Comparison of LinearNO against state-of-the-art neural operators on standard PDE benchmarks.

Beyond accuracy, LinearNO offers substantial efficiency gains. On average, it reduces parameter count by 40.0% and computational costs (FLOPs) by 36.2% compared to Transolver. In complex aerodynamic tasks like AirfRANS, LinearNO improved the prediction of the lift coefficient ($C_L$) by over 60%, achieving a near-perfect Spearman correlation of 0.9992.

A key insight from this study is that the effectiveness of slice-based models lies in their ability to compress and decompress spatial information efficiently, rather than the complex interactions between the compressed slices themselves. This suggests that linear attention is sufficient for many physical systems when the latent projection is handled correctly.

Conclusion and Future Work

LinearNO demonstrates that viewing physics-informed architectures through the lens of classical attention theory can yield significant improvements in both performance and efficiency. While the model is highly effective, future work will address its sensitivity to the number of slices ($M$) and explore the integration of local inductive biases to better capture small-scale phenomena like turbulence. Additionally, extending LinearNO to handle long-term temporal stability in chaotic, time-varying systems remains a promising research direction.

Summary updated

BibTeX
@misc{hu2025transolver,
  author = {Wenjie Hu and Sidun Liu and Peng Qiao and Zhenglun Sun and Yong Dou},
  title = {{Transolver is a Linear Transformer: Revisiting Physics-Attention through the Lens of Linear Attention}},
  year = {2025},
  eprint = {2511.06294},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.06294},
}
Figure