ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2502.17019
34
1

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

24 February 2025
Maksim Zhdanov
Max Welling
Jan Willem van de Meent
    AI4CE
ArXivPDFHTML
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.

View on arXiv
@article{zhdanov2025_2502.17019,
  title={ Erwin: A Tree-based Hierarchical Transformer for Large-scale Physical Systems },
  author={ Maksim Zhdanov and Max Welling and Jan-Willem van de Meent },
  journal={arXiv preprint arXiv:2502.17019},
  year={ 2025 }
}
Comments on this paper