From Sequential Refinement to One-Shot Global Selection: Monotone Adaptive Tokenization
Abstract
Adaptive tokenization reduces the cost of transformers on high-resolution and high-dimensional data by allocating fine-grained tokens to informative regions and coarse-grained tokens elsewhere, typically through sequential Top- refinement over a quadtree or octree. This refinement can itself become a bottleneck: when run on the GPU, it accounts for 53–80% of each training step on our 2D benchmarks, exceeding the runtime of the model itself, because its dependent rounds must run sequentially, each dominated by kernel-launch overhead. We observe that when importance scores are monotone along the hierarchy, with every ancestor scoring no lower than its descendants, the hierarchy satisfies the heap order property; as in classical heap selection, sequential Top- refinements then select exactly the highest-scoring regions. Monotone Adaptive Tokenization (MAT) therefore replaces sequential refinement with one global Top- selection while preserving the exact Top- allocation under monotone scores; non-monotone metrics are made monotone through bottom-up sum or max reductions. Across high-resolution 2D segmentation, large-scale 3D point clouds, and multichannel weather data, MAT achieves up to and higher training and inference throughput than sequential refinement on 2D data, and over a dense-voxel baseline in 3D with substantially lower memory usage, and and over sequential refinement on weather data, while preserving downstream quality. Across the tested token budgets and attention backends, the speedups reach up to in training and in inference.Our code is publicly available at https://anonymous.4open.science/r/Monotone_Adaptive_Tokenization-76FC.
est. 32% chance this paper gets accepted at ICLR 2027.
What do you think this paper will get?
All positions stay anonymous.