MATEY: multiscale adaptive foundation models for spatiotemporal physical systems

Pei Zhang, M. Paul Laiu, Matthew Norman, Doug Stefanski, John Gounley
12/29/2024
cs.LGcs.AIcs.CE

No confident code implementation found for this paper.

Abstract

Accurate representation of the multiscale features in spatiotemporal physical systems using vision transformer (ViT) architectures requires extremely long, computationally prohibitive token sequences. To address this issue, we propose two 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, and evaluate their computational and data efficiencies. We assess the performance of the proposed multiscale adaptive model, MATEY, in a sequence of experiments. The results show that adaptive tokenization schemes achieve improved accuracy without significantly increasing the length of the token sequence. 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 weights to achieve the same accuracy. 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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2024matey,
  title  = {MATEY: multiscale adaptive foundation models for spatiotemporal physical systems},
  author = {Pei Zhang and M. Paul Laiu and Matthew Norman and Doug Stefanski and John Gounley},
  year   = {2024},
  eprint = {2412.20601},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.20601v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.20601.svg)](https://codeofpaper.com/paper/2412.20601)

Discussion