atlas

Research map / Architectures and efficiency / Attention and transformers

xT: Nested Tokenization for Larger Context in Large Images

ICML 2024 · Architectures and efficiency › Attention and transformers · approach: Token merging and masked pretraining · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes xT, a two-stage nested-tokenization framework that lets pretrained vision backbones encode large images region-by-region and aggregates global context with a linear-attention or Mamba/Transformer-XL context encoder.

Problem

Vision pipelines handle large images only by down-sampling or cropping, losing high-frequency detail or global context; full-image end-to-end modeling of very large images runs out of GPU memory.

Approach

Independently encode regions of a large image with a small-image vision backbone (region encoder), then stream the resulting region features through a lightweight long-context sequence model (HyperAttention LLaMA-style, Mamba, or Transformer-XL with recurrence) so each region's features are contextualized globally with near-linear memory.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add nested tokenization and Mamba context to Swin-TSwin-T · iNaturalist 2018 Reptiliatop-1 accuracy: 53.76 -> 61.97Helped
Add nested tokenization and Hyper context to Swin-SSwin-S · iNaturalist 2018 Reptiliatop-1 accuracy: 58.45 -> 63.62Helped
Add nested tokenization and Hyper context to Hiera-BHiera-B · iNaturalist 2018 Reptiliatop-1 accuracy: 48.60 -> 57.20Helped
Add nested tokenization and Hyper context to Swin-BSwin-B · iNaturalist 2018 Reptiliatop-1 accuracy: 58.57 -> 64.08Helped
Add nested tokenization and XL context to Swin-LSwin-L · iNaturalist 2018 Reptiliatop-1 accuracy: 68.78 -> 73.47Helped
Add nested tokenization and XL context to Swin-SSwin-S · xView3-SARclose-to-shore F1: 46.1 -> 52.8Helped
Add nested tokenization and XL context to Swin-SSwin-S · xView3-SARaggregate F1: 44.9 -> 55.1Helped
Add nested tokenization and XL context to Swin-TSwin-T · xView3-SARF1 score: 76.8 -> 81.2Helped
Add nested tokenization and XL context to Swin-BSwin-B · xView3-SARF1 score: 75.8 -> 77.2Helped
Use nested tokenization and XL context to process the full imageSwin-B-DetINO · CityscapesmAPHelped
Replace ViT context encoder with Hyper (ablation)Swin-B xT · iNaturalist 2018 Reptiliatop-1 accuracy: 63.26 -> 64.08Helped
Replace Hyper context encoder with Mamba (ablation)Swin-B xT · iNaturalist 2018 Reptiliatop-1 accuracy: 64.08 -> 63.73Hurt

Surprising findings

Limitations

Experimental setup

Datasets: iNaturalist 2018 (Reptilia subset) xView3-SAR Cityscapes ImageNet-1k

Benchmarks: iNaturalist 2018 Reptilia xView3-SAR Cityscapes

Metrics: top-1 accuracy mAP mAP-Large F1 score close-to-shore F1 memory per region throughput

Baselines: Swin-T Swin-S Swin-B Swin-L Hiera-B Hiera-B+ Swin-B-DetINO

Builds on: Transformer-XL Mamba HyperAttention SwinV2 Hiera

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy