Engineering PapersSearch

DOE OSTI · 3365777

MATEY: multiscale adaptive transformer models for spatiotemporal physical systems

Abstract

Accurate representation of the multiscale features in spatiotemporal physical systems using vision transformer architectures requires extremely long, computationally prohibitive token sequences. To address this issue, we propose two novel adaptive tokenization schemes that dynamically adjust patch sizes based on local features: one ensures convergent behavior to uniform patch refinement, while the other offers better computational efficiency. Moreover, we present a set of spatiotemporal attention schemes, where the temporal or axial spatial dimensions are decoupled, to evaluate their baseline computational and data efficiencies and to determine whether adaptive tokenization can improve this performance. We assess the performance of the proposed multiscale adaptive model, MATEY, in a sequence of experiments. Compared to a full spatiotemporal attention scheme or a scheme that decouples only the temporal dimension, we find that fully decoupled axial attention is less efficient and expressive, requiring more training time and model parameters to achieve the same accuracy. The experiments on the adaptive tokenization schemes show that, compared to a uniformly refined model, the proposed schemes achieve comparable or improved accuracy at a much lower cost in the tested two-dimensional settings. While the asymptotic analysis suggests the potential for favorable scaling, empirical validation at substantially longer sequence lengths remains to be performed in future work. Finally, we demonstrate in two fine-tuning tasks featuring different physics that models pretrained on PDEBench data outperform the ones trained from scratch, especially in the low data regime with frozen attention.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Zhang, Pei [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0000000283510529), Laiu, M. Paul [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0000000222156968), Norman, Matthew [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0000000347643348), Stefanski, Doug [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0000000237548753), Gounley, John [Oak Ridge National Laboratory (ORNL), Oak Ridge, TN (United States)] (ORCID:0000000184244982). 2026-05-15. MATEY: multiscale adaptive transformer models for spatiotemporal physical systems. https://doi.org/10.1088/2632-2153%2Fae67d1

Cite the original work for its findings. Save a collection to share your selection of sources.