In the transition from Convolutional Neural Networks (CNNs) to Vision Transformers (ViTs), the computer vision community made a fundamental trade-off: they swapped the local, sliding-window inductive bias for global self-attention. To make this computationally feasible, images are typically divided into a grid of fixed-size patches (often $16 \times 16$ pixels). These patches act as the "visual words" of the model.
However, this discretization creates a "tokenization bottleneck." As researchers like Ali Hatamizadeh and Zalan Fabian have observed, a $16 \times 16$ patch is often too blunt a tool for high-precision tasks. In medical imaging or dense scene understanding, critical details—like a thin arterial calcification or the sharp boundary of an object—are smaller than the patch itself, leading to "blocky" results and lost information.
The challenge is that the computational cost of self-attention scales quadratically ($O(N^2)$) with the number of tokens. If you halve the patch size to $8 \times 8$ to gain more detail, you quadruple the number of tokens, which increases the attention mechanism's memory and compute requirements by a factor of 16. This "quadratic tax" on spatial resolution has sparked a diverse array of strategies to reclaim fine-grained detail without crashing the hardware.
The Cost of Precision
The need for smaller patches is most acute in domains where "global context" is useless without "local fidelity." In UNETR, Ali Hatamizadeh demonstrates that while Transformers excel at capturing long-range dependencies in 3D medical volumes, using coarse patches causes the model to miss fine anatomical structures. Similarly, Bing Cao notes in the E-MAC framework that counting small objects (like birds in drone footage) requires high-resolution inputs that standard ViT backbones simply cannot process efficiently.
Strategy 1: Hybridization and Multi-Scale Hierarchies
One of the most effective ways to bypass the quadratic tax is to let CNNs do what they do best: extract local, high-frequency details. Zalan Fabian and the authors of HUMUS-Net use a hybrid approach for MRI reconstruction, using CNNs to downsample features before feeding them into Transformers. This allows the model to maintain high-resolution awareness while the compute-heavy Transformer blocks operate on a more manageable number of tokens.
Other architectures, like the Inverted Pyramid Multi-task Transformer (InvPT) by Hanrong Ye and Dan Xu, flip the traditional encoder-decoder structure. They use a decoder that increases spatial resolution while maintaining global attention, allowing for pixel-wise precision in tasks like semantic segmentation without the initial memory explosion of a high-resolution encoder.
Strategy 2: Adaptive and Non-Rigid Patching
If a rigid grid is the problem, why not change the shape of the tokens? Jieru Mei and Alan Yuille introduced SPFormer, which replaces square patches with superpixels. These are irregular, semantically coherent regions that adapt to the actual boundaries of objects in the image. By aligning tokens with object geometry, the model can capture fine-grained details with fewer total tokens than a fine-grained square grid would require.
Similarly, Huaishao Luo developed SegCLIP, which uses a "Semantic Group Module" with learnable centers. Instead of forcing the model to look at arbitrary squares, it learns to aggregate patches into meaningful regions, effectively "zooming in" on important areas while keeping the total token count low.
Strategy 3: Linear Complexity and Token Management
Perhaps the most direct way to solve the $O(N^2)$ problem is to change the math of attention itself. Changqian Yu and Debang Li explored this in Diffusion-RWKV, replacing standard Transformers with a Receptance Weighted Key Value (RWKV) architecture. Because RWKV scales linearly with the number of tokens, it can handle much smaller patch sizes—and thus higher fidelity—without the exponential growth in resource requirements.
In the realm of multimodal models, Liang Zhang and Ming Yan proposed TinyChart, which uses visual token merging. By identifying and merging redundant patches (like the empty white space in a chart), the model can afford to start with high-resolution patches and only spend its "token budget" on the areas that contain actual information.
Strategy 4: Recovering Detail Post-Hoc
Finally, some researchers argue that the information lost during tokenization isn't gone; it's just hidden. Dong Lao and Tian Yu Liu introduced Stochastic Resonance Transformers (SRT), a training-free method that applies tiny "sub-token" shifts to the input image. By aggregating the features from these slightly different views, the model can reconstruct fine-grained spatial details that were originally split across patch boundaries, boosting accuracy in dense tasks like depth estimation without increasing the model's internal complexity.
Why It Works
The common thread across these 75 papers is the realization that the patch is a form of lossy compression. The "quadratic tax" is the price we pay for the simplicity of that compression. By making the compression smarter (adaptive patching), shifting the burden to more efficient layers (hybridization), or changing the underlying math (linear attention), researchers are finding ways to give Transformers the "eyesight" of a high-resolution CNN while keeping the "brain" of a global Transformer.