TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Erwin: A Tree-based Hierarchical Transformer for Large-sca...

Erwin: A Tree-based Hierarchical Transformer for Large-scale Physical Systems

Maksim Zhdanov, Max Welling, Jan-Willem van de Meent

2025-02-24PDE Surrogate ModelingPhysical Simulations
PaperPDFCodeCode(official)

Abstract

Large-scale physical systems defined on irregular grids pose significant scalability challenges for deep learning methods, especially in the presence of long-range interactions and multi-scale coupling. Traditional approaches that compute all pairwise interactions, such as attention, become computationally prohibitive as they scale quadratically with the number of nodes. We present Erwin, a hierarchical transformer inspired by methods from computational many-body physics, which combines the efficiency of tree-based algorithms with the expressivity of attention mechanisms. Erwin employs ball tree partitioning to organize computation, which enables linear-time attention by processing nodes in parallel within local neighborhoods of fixed size. Through progressive coarsening and refinement of the ball tree structure, complemented by a novel cross-ball interaction mechanism, it captures both fine-grained local details and global features. We demonstrate Erwin's effectiveness across multiple domains, including cosmology, molecular dynamics, and particle fluid dynamics, where it consistently outperforms baseline methods both in accuracy and computational efficiency.

Related Papers

Dynamic Diffusion Schrödinger Bridge in Astrophysical Observational Inversions2025-06-09AMR-Transformer: Enabling Efficient Long-range Interaction for Complex Neural Fluid Simulation2025-03-13DecoupledGaussian: Object-Scene Decoupling for Physics-Based Interaction2025-03-07Grounding Creativity in Physics: A Brief Survey of Physical Priors in AIGC2025-02-10Transfer learning in Scalable Graph Neural Network for Improved Physical Simulation2025-02-07Multi-Physics Simulations via Coupled Fourier Neural Operator2025-01-28Deep Operator Networks for Bayesian Parameter Estimation in PDEs2025-01-18PhysicsGen: Can Generative Models Learn from Images to Predict Complex Physical Relations?2025-01-01