arXiv

MeshTok: Efficient Multi-Scale Tokenization for Scalable PDE Transformers

Title: MeshTok: Efficient Multi-Scale Tokenization for Scalable PDE Transformers

Abstract:

Standard patch-based Transformers typically rely on uniform spatial partitions, which allocate computational resources evenly across the entire domain regardless of local feature complexity. This rigid tokenization approach is fundamentally constrained in its capacity to efficiently represent and solve complex partial differential equations (PDEs). To overcome these limitations, we introduce MeshTok, a framework for tokenization and sequence modeling inspired by adaptive mesh refinement (AMR). This technique selectively refines spatial areas characterized by sharp gradients, transient dynamics, or multiscale structures, thereby producing a heterogeneous collection of multiscale tokens anchored to a fixed simulation grid. These tokens are integrated into a single Transformer sequence, allowing the model to simultaneously grasp coarse-grained global contexts and fine-grained local nuances without the need for specialized architectural modules. While adaptive refinement leads to a moderate rise in the number of tokens, it facilitates a more precise distribution of computational power toward regions with significant physical information—a strategy we interpret as a practical inductive bias rather than a formal guarantee of optimality. Comprehensive experiments across various PDE families and benchmark datasets reveal that MeshTok consistently enhances the balance between efficiency and accuracy relative to uniform-grid baselines. These findings highlight adaptive multiscale tokenization as a scalable and generalizable principle for neural PDE modeling. The code is publicly accessible at https://github.com/SCAILab-USTC/MeshTok.


Source: arXiv Generated at: 2026-06-04 00:00:00 UTC

Related Articles

China’s Robotaxi Dilemma Shows AI Policy Tension Between Growth and Jobs
Bloomberg

China’s Robotaxi Dilemma Shows AI Policy Tension Between Growth and Jobs

China’s robotaxi expansion highlights the policy tension between driving economic growth through AI and protecting emplo...

Exams watchdog warns of rise in high-tech cheating
BBC News

Exams watchdog warns of rise in high-tech cheating

Ofqual warns of rising high-tech cheating, with smart devices involved in 44% of misconduct cases. Invigilators are trai...

Thailand’s Richest Man Plans $4.3 Billion Expansion Amid AI Boom
Bloomberg

Thailand’s Richest Man Plans $4.3 Billion Expansion Amid AI Boom

Thailand’s wealthiest individual is investing $4.3 billion in expansion, capitalizing on the booming artificial intellig...

US Tech Sector Announces Most Job Cuts in Nearly Two Years
Bloomberg

US Tech Sector Announces Most Job Cuts in Nearly Two Years

The US tech sector recorded its highest wave of layoffs in nearly two years, signaling a significant downturn for the in...

Iran Says No Progress in US Talks | The Opening Trade 6/4/2026
Bloomberg

Iran Says No Progress in US Talks | The Opening Trade 6/4/2026

Iran reports no progress in US talks on June 4, 2026. The Opening Trade highlights the ongoing diplomatic impasse betwee...

The Do’s and Don’ts of Buying Used Tech Gadgets
New York Times

The Do’s and Don’ts of Buying Used Tech Gadgets

Refurbished tech offers a cost-effective alternative amid component shortages and inflated prices. This guide outlines e...