atlas

Research map / Architectures and efficiency / Attention and transformers

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

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: Attention head and block redesign · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Erwin is a hierarchical transformer built on ball trees that yields linear-time ball attention with progressive coarsening/refinement and rotated-tree cross-ball connections, evaluated across cosmology, molecular dynamics, PDE benchmarks, ShapeNet-Car and EAGLE turbulence.

Problem

Transformers on large-scale irregular point clouds and meshes suffer quadratic attention cost, while long-range and multi-scale interactions must still be captured.

Approach

Organize attention via ball trees built as perfect binary trees with contiguous storage, so attention is computed independently within fixed-size balls at multiple tree levels; alternate original and rotated trees for cross-ball interaction and use tree coarsening/refinement in a UNet-style encoder-decoder.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Increase ball size from 32 to 256 (ablation)Erwin-S · Cosmologytest loss: 0.620 -> 0.595Helped
Increase ball size from 32 to 256 (ablation)Erwin-S · Cosmologyruntime (ms): 126.0 -> 229.6Hurt
Add MPNN embedding (ablation)Erwin · MDtest loss: 0.738 -> 0.720Helped
Add MPNN embedding (ablation)Erwin · ShapeNet-Cartest loss: 30.39 -> 30.49Hurt
Add relative position embedding (ablation)Erwin with MPNN embedding · MDtest loss: 0.720 -> 0.715Helped
Add relative position embedding (ablation)Erwin with MPNN embedding · ShapeNet-Cartest loss: 30.49 -> 30.02Helped
Add rotating-tree cross-ball connections (ablation)Erwin with MPNN and RPE · MDtest loss: 0.715 -> 0.712Helped
Add rotating-tree cross-ball connections (ablation)Erwin with MPNN and RPE · ShapeNet-Cartest loss: 30.02 -> 15.85Helped
Use Erwin instead of EAGLEEAGLE benchmark · EAGLE +1velocity RMSE: 0.053 -> 0.044Helped
Use Erwin instead of EAGLEEAGLE benchmark · EAGLE +1pressure RMSE: 0.46 -> 0.31Helped
Use Erwin instead of EAGLEEAGLE benchmark · EAGLE +50velocity RMSE: 0.349 -> 0.281Helped
Use Erwin instead of EAGLEEAGLE benchmark · EAGLE inferenceruntime (ms): 30 -> 11Helped

Surprising findings

Limitations

Experimental setup

Datasets: Cosmology Molecular dynamics polymer (coarse-grained) Elasticity Plasticity Airfoil Pipe ShapeNet-Car EAGLE

Benchmarks: Cosmology Molecular dynamics Elasticity Plasticity Airfoil Pipe ShapeNet-Car EAGLE

Metrics: MSE relative L2 error negative log-likelihood RMSE runtime memory

Baselines: MPNN NequIP SEGNN PTv3 PointNet++ MeshGraphNet GAT DilResNet EAGLE Transolver UPT GINO

Builds on: Swin Transformer Transformer PointTransformer v3 MPNN UNet

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy