Foveation-Guided Dynamic Token Selection
for Robust and Efficient Vision Transformers
July 10, 2026
The human visual system (HVS) employs foveated sampling and eye movements to achieve efficient perception, conserving both metabolic energy and computational resources. Drawing inspiration from this robustness and adaptability, we introduce the Foveated Dynamic Transformer (FDT), a foveation-guided dynamic token-selection architecture that integrates these mechanisms into a vision transformer framework. The FDT exhibits strong resilience to various types of noise and adversarial attacks, despite not being explicitly trained for such challenges. This inherent robustness is achieved through the use of fixation and foveation modules: the fixation module identifies fixation points to filter out irrelevant information, while the foveation module generates foveated embeddings with multi-scale information. At the 50% fixation-budget setting, FDT achieves higher accuracy than DeiT-S (81.9% vs. 80.9%) while reducing multiply-accumulate operations by 34.57%, highlighting one operating point on its accuracy-efficiency trade-off. These attributes position FDT as an HVS-inspired step toward artificial neural networks that combine adaptive computation with improved resilience.1
FDT integrates foveation and fixation into vision transformers.
Dynamic fixation selects informative tokens in a single feedforward pass.
Foveated tokens encode multi-scale context for adaptive attention.
FDT improves robustness without adversarial or corruption training.
At 50% fixation budget, FDT reduces MACs by 34.57%.
Vision Transformer ,Foveated Vision ,Dynamic Token Selection ,Adversarial Robustness ,Human Visual System ,Efficient Inference
Recent studies indicate that deep neural networks and the human brain interpret the environment differently, with the human visual system (HVS) dynamically filtering task-irrelevant information to focus on potential objects of interest, a selective mechanism that contributes to perceptual stability and resilience against noisy or misleading inputs [1]–[4]. The retina contains photoreceptors, with the fovea–a high spatial resolution area–playing a key role in color perception and visual detail recognition [5]. The highest photoreceptor density at the fovea decreases with eccentricity, resulting in a variable-resolution image transmitted to the brain, a phenomenon known as foveation, highlighting HVS’s multi-resolution perception. Such mechanisms suggest that vision models could benefit from integrating spatially adaptive processing strategies inspired by the HVS. In addition to efficiency and robustness, such biologically inspired mechanisms enhance spatial awareness, allowing models to preserve fine details in salient regions while maintaining global scene coherence, similar to how the human visual system balances local and global perception. Studying HVS to enhance deep neural network design is therefore a promising research avenue for developing intelligent agents.
Approximately \(10^7\) to \(10^8\) bits of information enter the visual nerve every second in the HVS [6]. To manage this data efficiently, the HVS uses saccadic eye movements to direct the fovea to selected targets, creating a detailed scene map from varied resolutions, known as fixation points, and saving computational resources [6], [7]. Inspired by the HVS, several studies have incorporated foveation and fixation mechanisms into neural networks [8]–[10]. Existing methods sequentially process the input image, first locating the fixation points and then processing the features around the fixation points. However, these approaches are not optimal for two reasons. First, several inferences are required for each fixation point. Second, they require a fusion mechanism to exploit the collective information acquired from various fixation points.
We therefore propose a biologically inspired transformer architecture dubbed the Foveated Dynamic Transformer (FDT), comprising foveation and fixation modules that dynamically select multiscale tokens based on the input image. To simulate foveation in HVS, we process input tokens with the foveation module to generate multiscale queries, keys, and values. Inspired by the radial-polar pooling model of foveation proposed in [12], foveation module transforms the token into several scales with increasing window size. We employ a dynamic, input-dependent mechanism to simulate eye movement, with the dynamic fixation module producing a fixation map for each token in each transformer block. Tokens that are not at the fixation point are not processed. The multi-head attention processes only the remaining tokens. The processed tokens that are located at the fixation points are merged with the non-fixated tokens and are sent to the next block. Multiple blocks in transformer process information from multiple fixation points by combining the information transferred from the previous blocks, which enables to implement foveation and fixation mechanisms in single pass. While inspired by the biological process, our implementation diverges from the iterative fixation control of the HVS, and also from methods like FoveaTer [13] that require multiple sequential attention steps to simulate gaze shifts. Instead, we embed both foveation and fixation directly into each transformer block, enabling spatial attention shifts in a single feedforward pass. This approach avoids iterative computation, unlike FoveaTer, and does not rely on token pruning heuristics like DynamicViT [14], allowing for end-to-end differentiable and biologically grounded token selection.
Using a DeiT architecture as a baseline, we evaluate our model on an image classification task. We integrate the fixation and foveation modules into the same architecture and evaluate the effectiveness, efficiency, and robustness of our model on the ImageNet100 database. The FDT architecture enhances the robustness of the vision transformers against adversarial attacks, shortcut learning, and natural corruption by 27%, 6%, and 3%, respectively, without being directly trained for these specific challenges. Moreover, FDT achieves a 34% reduction in computational demand, measured in Multiply-Accumulate operations (MACs), demonstrating its efficiency and effectiveness in processing while maintaining a lean computational footprint.
Several approaches inspired by the functioning of the human visual system have been devised to replicate foveation and eye movement within the domain of computer vision. [8] introduced a method that employs a sequence of image movements to aggregate information before classification. This method uses a hard-attention mechanism trained via reinforcement learning to predict fixation points. In a similar vein, [9] developed a foveated object detection system that harnesses varying resolutions to comprehensively analyze the entire image, aligning its fovea with regions of interest in the input data. This approach amalgamates data from multiple fixations and leverages peripheral information, similar to the way the human visual system employs contextual cues to guide gaze.
[15] developed an efficient model that incorporates space-variant sampling, mimicking the human retina, and the mechanisms to generate sequences of fixations. They proposed a CNN-based method that uses Foveal Cartesian Geometry (FCG) sampling, as outlined by [16], to compress visual signals. An attention mechanism is employed for “eye movements" to progressively gather detailed information from a scene. Activation within the feature maps of the final convolutional layer is harnessed to guide the generation of fixation sequences. Additionally, [17] investigate the role of foveation and saccadic eye movements as biologically inspired proxies for data augmentation in the context of self-supervised learning (SSL). They suggest that foveation through cortical magnification and saccade-like sampling of images can replace conventional SSL augmentations, offering insights into potential biological implementations of self-supervision and challenging spatially uniform processing assumptions in both human and machine vision.
More recently, [13] introduced foveation and fixation mechanisms directly into the vision transformer architecture. In this method, the next fixation location is iteratively determined based on the final layer’s attention weights. While this approach captured dynamic attention patterns akin to human visual processing, its iterative nature results in inefficiencies during inference. Similarly, [18] introduced a model that incorporates human gaze sequence using a dual-sequence encoder alongside a vision transformer to correct shortcut biases in visual classification. However, their method required separately modeling gaze data and training an additional gaze encoder module. In contrast, our approach integrates foveation and fixation mechanisms directly into the vision transformer without the need for a separate gaze sequence encoder or auxiliary training components.
Building upon prior biologically inspired studies of foveation and fixation in machine vision [8]–[10], [19], our work extends this line of inquiry to the transformer framework. A detailed overview of these earlier models is provided in Appendix B. In parallel, recent research has focused on improving the computational efficiency of vision transformers through token pruning and slimming strategies [14], [20]–[27]; we summarize these efficiency-oriented approaches in Appendix B.
Our approach integrates foveation and fixation directly within each transformer block, enabling multiple spatial attention shifts in a single feed-forward pass without the iterative computation required by methods such as FoveaTer. Unlike approaches that assign continuous importance scores for gradual pruning, our fixation mechanism produces discrete, binary decisions informed by multi-resolution foveated features. This design reflects the all-or-nothing nature of biological fixation, simplifies the fusion of processed and unprocessed tokens, and yields a biologically grounded, computationally efficient alternative to existing token-slimming strategies.
We introduce FDT, an HVS-inspired transformer with two additional modules: Foveation and Fixation. The Foveation module embeds input features at multiple resolutions, drawing motivation from multi-resolution processing in the human visual system. The Fixation module selectively processes tokens through gaze-inspired sampling, producing binary decisions for each foveated query. The MHSA module then processes a subset of the foveated queries, keys, and values based on the Fixation module’s decisions, while the remaining tokens are passed to the next block. The FDT architecture is shown in 2.
The Foveation module in the FDT architecture is designed as a computational analogue of foveated processing by incorporating multi-scale information from neighboring features to generate query, key, and value features (3). This mechanism enables each token to aggregate information from progressively larger receptive fields. The Foveation module consists of multiple depthwise separable convolutional layers, each of which progressively extracts information from an expanding receptive field. In order to process auxiliary tokens, such as classification tokens, in convolutional layers, we reorganize input tokens \(t\) into patch tokens in image form (\(t_p\)) and auxiliary tokens (\(t_a\)) using the function \(\mathcal{K}\), as follows: \[t_{a}, t_{p}=\mathcal{K}(t) \quad \text{where} \quad \mathcal{K}:\mathbb{R}^{C\times N} \mapsto \mathbb{R}^{C\times A}, \mathbb{R}^{C\times H\times W}.\] where \(C\) represents the embedding size, \(N\) is the number of tokens, \(A\) is the number of auxiliary tokens, and \(H\) and \(W\) are the height and width of the patch-token grid.
The Foveation module leverages multi-resolution information by applying successive depthwise separable convolutions (\(\mathcal{DSC}\)) to patch tokens \(T_{p}\) and pointwise convolutions (\(\mathcal{PC}\)) to auxiliary tokens \(T_{a}\), as the latter are two-dimensional features. This is mathematically represented as follows: \[\begin{align} t_p^l = \mathcal{DSC}^{l-1}(t_p^{l-1}) ~~~~~~~~ \text{and} ~~~~~~~~ t_a^l = \mathcal{PC}^{l-1}(t_a^{l-1}). \end{align}\] Here, \(l\) refers to the layer and \(\mathcal{DSC}\) divides a kernel into two independent kernels that perform depthwise and pointwise convolutions, \(\mathcal{DSC}(x) = \mathcal{PC}(\mathcal{DC}(x))\). As a result, each successive layer of the Foveation module employs progressively larger receptive fields. In all experiments, we use three foveation levels (\(L_{\mathrm{fov}}=3\)): the input features and two successive convolutional outputs. This fixed scale count matches the three-way channel split below, so each level contributes \(C/3\) channels and the concatenated query, key, and value streams each recover width \(C\).
To embed multi-scale information into the query, key, and value features, we split the auxiliary and patch-related features of each layer into three equal-sized splits in the channel dimension using function \(\mathcal{S}\): \[\begin{align} t_{pq}, t_{pk}, t_{pv} &= \mathcal{S}(t_{p}), \\ \mathcal{S}: \mathbb{R}^{C \times H \times W} \;&\mapsto\; \Big(\mathbb{R}^{C/3 \times H \times W}, \mathbb{R}^{C/3 \times H \times W}, \mathbb{R}^{C/3 \times H \times W}\Big), \\[2mm] t_{aq}, t_{ak}, t_{av} &= \mathcal{S}(t_{a}), \\ \mathcal{S}: \mathbb{R}^{C \times A} \;&\mapsto\; \Big(\mathbb{R}^{C/3 \times A}, \mathbb{R}^{C/3 \times A}, \mathbb{R}^{C/3 \times A}\Big). \end{align}\]
Finally, we merge and concatenate the auxiliary and patch splits from the three foveation levels in the channel dimension to form foveated-query (\(q_{\mathrm{fov}}\)), -key (\(k_{\mathrm{fov}}\)), and -value (\(v_{\mathrm{fov}}\)) features using the inverse of the operation that was applied for initial rearrangement:
\[\begin{align} q_{\mathrm{fov}} &= [ \mathcal{K}^{-1}(t_{aq}^{0}, t_{pq}^{0}) \mid \mathcal{K}^{-1}(t_{aq}^{1}, t_{pq}^{1}) \mid \mathcal{K}^{-1}(t_{aq}^{2}, t_{pq}^{2}) ],\\[1mm] k_{\mathrm{fov}} &= [ \mathcal{K}^{-1}(t_{ak}^{0}, t_{pk}^{0}) \mid \mathcal{K}^{-1}(t_{ak}^{1}, t_{pk}^{1}) \mid \mathcal{K}^{-1}(t_{ak}^{2}, t_{pk}^{2}) ],\\[1mm] v_{\mathrm{fov}} &= [ \mathcal{K}^{-1}(t_{av}^{0}, t_{pv}^{0}) \mid \mathcal{K}^{-1}(t_{av}^{1}, t_{pv}^{1}) \mid \mathcal{K}^{-1}(t_{av}^{2}, t_{pv}^{2}) ]. \end{align}\]
Humans execute a sequence of eye movements to construct a detailed scene map, selecting fixation points based on multi-resolution information from foveated perception. Inspired by this principle, we introduce a fixation module that leverages multi-resolution features to determine which input tokens should be processed.
Our fixation module uses the multi-resolution information in the foveated-query token \(q_{\mathrm{fov}}\) to identify fixation points. This token’s extensive receptive field allows fixation decisions to be based on a single token. We implement the module as a single linear layer that maps each foveated query to two logits for binary fixation decisions.
\[\begin{align} \ell_{\mathrm{fix}}^{i,j} &= \operatorname{Linear}(q_{\mathrm{fov}}^{i,j}), \\ &\quad \forall i \in \{0, \dots, H-1\},\; \forall j \in \{0, \dots, W-1\}. \end{align}\]
To generate a fixation map, we feed all the foveated query features to the fixation module (FIX). The fixation map is generated based on the logits produced by the module. The position where the first logit value is higher than the second logit value is set to 1.
\[\label{eq:gate} g(i,j)=\begin{cases} 1, & \ell_{\mathrm{fix}}^{i,j}(0)>\ell_{\mathrm{fix}}^{i,j}(1),\\ 0, & otherwise. \end{cases}\tag{1}\]
The fixation map is used to filter the foveated features that are processed in the Multi-Head Self-Attention (MHSA) module. See 4.
The HVS uses foveation and fixation mechanisms to efficiently process information. Inspired by this, we developed the Foveated Dynamic Transformer (FDT), a variant of the standard vision transformer that integrates computational foveation and fixation modules into its architecture. FDT retains the use of MHSA and MLP modules but processes only fixated tokens. Data flow in FDT, denoted by layer norm (LN), is structured as:
\[\begin{align} q_{\mathrm{fov}}, k_{\mathrm{fov}}, v_{\mathrm{fov}} = \operatorname{FOV}(\operatorname{LN}(x)), ~~~~~ g = \operatorname{FIX}(q_{\mathrm{fov}}), \\ q_{\mathrm{fix}}, k_{\mathrm{fix}}, v_{\mathrm{fix}}, x_{\mathrm{fix}} = \left\{ q_{\mathrm{fov}}^{i,j}, k_{\mathrm{fov}}^{i,j}, v_{\mathrm{fov}}^{i,j}, x^{i,j}\mid g(i,j) = 1 \right\}. \end{align}\]
In this architecture, the MHSA module forms a global relationship among fixated tokens and produces an attention matrix for each input token, focusing on specific fixated values. This module adapts to varying input sizes by processing solely the fixated tokens (where \(d_{h}\) denotes the number of heads and \(\sigma\) represents the softmax function):
\[\begin{align} \mathrm{MHSA}(q_{\mathrm{fix}},k_{\mathrm{fix}},v_{\mathrm{fix}}) &=\sigma(q_{\mathrm{fix}}k_{\mathrm{fix}}^{\top} / \sqrt{d_{h}}) \cdot v_{\mathrm{fix}} \end{align}\]
FDT takes a full-size token map and produces foveated tokens, but since only fixated tokens are processed, their output shape (\(x_{\mathrm{fix}}\)) does not align with the expected input size for subsequent blocks. To resolve this, we blend processed and unprocessed tokens, ensuring proper input for the next stages.
\[out^{i,j}=\begin{cases} x_{\mathrm{fix}}^{i,j}, & \text{if} \quad g(i,j) = 1,\\ x^{i,j}, & \text{otherwise}. \end{cases}\]
In the FDT architecture, the fixation module acts as a gating network that applies a selection operation to the foveated tokens of the input image. Variations in input images result in differing numbers of selected tokens, which complicates training with mini-batches. To facilitate mini-batch training, all foveated tokens are fed into the MHSA module without applying fixation sampling. To enable end-to-end training with a differentiable fixation map, we apply Gumbel-Softmax with hard labeling to the output of the foveation module during training, replacing the logit comparison described in 1 . Taking \(g\) as the output of Gumbel-softmax;
\[\begin{align} x_{\mathrm{masked}} & =\operatorname{MHSA}_{\mathrm{masked}}(q_{\mathrm{fov}},k_{\mathrm{fov}},v_{\mathrm{fov}},g)+x,\\ x_{\mathrm{masked}} & =\operatorname{MLP}(\operatorname{LN}(x_{\mathrm{masked}}))+x_{\mathrm{masked}}. \end{align}\]
The fixation map is then utilized for the calculation of masked attention (where \(\mathcal{C}\) is a large constant):
\[\begin{align} \mathrm{MHSA}_{\mathrm{masked}}(q_{\mathrm{fov}},&k_{\mathrm{fov}},v_{\mathrm{fov}},g) \\ &= \sigma \Big( q_{\mathrm{fov}} k_{\mathrm{fov}}^{\top} / \sqrt{d_h} \;+\; \mathbb{M} \Big) \cdot v_{\mathrm{fov}}, \\[1mm] \mathbb{M} = -\mathcal{C} \;\times\; &\Big( 1 - flatten(g) \otimes flatten(g) \Big). \end{align}\]
In order to achieve high performance, the fixation module tends to assign all tokens as fixation points when there are no budget constraints. However, the ideal behavior of the fixation module should be to focus on the minimum number of tokens necessary for accurate prediction. To achieve this, we introduce a fixation budget constraint that forces the network to allocate a certain percentage of all tokens. The fixation budget loss is defined as the blockwise \(\ell_2\) norm between the desired percentile and the mean of the fixation map to measure the deviation from the desired budget (\(g\) is the fixation map, \(\beta \in (0, 1]\) denotes the desired fixation budget, i.e., the target fraction of tokens to be selected as fixation points in each block, where \(L\) is the number of blocks):
\[\mathcal{L}_{\mathrm{Budget}}=\frac{1}{L}\sum_{\ell=0}^{L-1}\left\Vert \mathbb{E}(g)-\beta\right\Vert ^{2}.\]
Therefore, the total loss for training FDT on a classification task is the sum of cross-entropy loss as the task loss and the fixation budget loss (\(\lambda\) is the balancing factor):
\[\mathcal{L}=\mathcal{L}_{\mathrm{CE}} + \lambda \cdot \mathcal{L}_{\mathrm{Budget}}.\]
We demonstrate that FDT outperforms DeiT in robustness against adversarial attacks, natural corruption, and shortcut learning. We investigate the impact of budget size on both robustness and computational efficiency and provide attention and gating visualizations to support our findings. For experimental details, see Appendix D.
Although adversarial attacks target neural networks specifically, the human visual system is naturally robust to noise, clutter, and distribution shift. Mechanisms like foveation and fixation help humans emphasize meaningful features while discounting irrelevant perturbations. Motivated by this, we evaluated FDT using 12 adversarial attacks and one Gaussian-noise baseline. The results, shown in 5, indicate that FDT outperformed the DeiT method in all types of attacks (for numerical results, see [tab:adversarial95attack95all95models]). We further provide a qualitative visualization of adversarial examples in 10, where FDT perturbations appear more concentrated on semantically relevant image regions than DeiT perturbations.
| DeiT-S | FDT-S\(_{0.5}\) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 3-7(lr)8-12 Category | Corruption | S1 | S2 | S3 | S4 | S5 | S1 | S2 | S3 | S4 | S5 |
| Blur | Defocus Blur | 63.5 | 56.7 | 44.0 | 34.0 | 25.9 | 64.9 | 57.1 | 41.8 | 29.9 | 20.9 |
| Glass Blur | 68.8 | 60.7 | 46.0 | 39.5 | 32.2 | 70.6 | 63.2 | 48.0 | 41.0 | 32.4 | |
| Motion Blur | 70.3 | 62.9 | 53.2 | 43.2 | 37.3 | 72.0 | 64.2 | 53.7 | 43.2 | 36.3 | |
| Zoom Blur | 63.0 | 57.4 | 53.7 | 49.7 | 45.6 | 62.6 | 56.0 | 51.8 | 47.6 | 42.9 | |
| Digital | Contrast | 72.3 | 69.0 | 62.7 | 44.4 | 19.5 | 73.3 | 68.9 | 61.5 | 37.0 | 14.6 |
| Elastic Transform | 75.2 | 67.2 | 74.7 | 72.1 | 62.5 | 76.9 | 67.0 | 76.2 | 74.0 | 64.7 | |
| JPEG Compression | 67.7 | 63.9 | 60.4 | 51.1 | 39.1 | 71.7 | 68.8 | 66.3 | 58.3 | 47.1 | |
| Pixelate | 77.3 | 76.3 | 71.5 | 59.9 | 48.6 | 78.8 | 78.1 | 73.7 | 63.8 | 52.3 | |
| Noise | Gaussian Noise | 74.3 | 69.1 | 57.2 | 38.3 | 16.1 | 76.1 | 70.9 | 60.3 | 42.0 | 18.2 |
| Impulse Noise | 71.8 | 63.8 | 55.8 | 35.0 | 15.8 | 73.9 | 66.9 | 59.2 | 39.0 | 18.0 | |
| Shot Noise | 74.2 | 67.6 | 55.4 | 32.7 | 18.4 | 76.1 | 69.7 | 58.8 | 36.4 | 21.1 | |
| Weather | Brightness | 78.8 | 77.2 | 75.2 | 71.3 | 65.5 | 80.1 | 78.7 | 77.3 | 74.1 | 69.3 |
| Fog | 68.0 | 62.4 | 53.5 | 49.4 | 38.3 | 70.2 | 64.8 | 56.0 | 52.4 | 43.1 | |
| Frost | 73.2 | 66.5 | 59.8 | 59.2 | 54.1 | 75.8 | 69.3 | 63.2 | 62.2 | 57.0 | |
| Snow | 66.9 | 52.0 | 53.7 | 44.7 | 41.9 | 69.0 | 55.4 | 57.9 | 48.8 | 46.6 | |
| Average | 71.0 | 64.8 | 58.5 | 48.3 | 37.4 | 72.8 | 66.6 | 60.4 | 50.0 | 39.0 | |
1.7pt
We evaluated models using the ImageNet100-C [28] dataset, which includes common corruptions. ImageNet100-C denotes ImageNet-C restricted to the same 100-class ImageNet100 subset used for clean training and validation. 1 shows that FDT consistently outperforms DeiT across all severity levels, particularly in weather-related corruptions. This robustness is consistent with the HVS-inspired motivation for adaptive, selective processing.
Our model incorporates the MHSA module, which exhibits quadratic growth in computational complexity as the number of tokens increases. The fixation module within each FDT block dynamically selects a subset of tokens for processing in the MHSA based on the input image’s complexity, significantly reducing the overall computational cost.
To evaluate our model’s efficiency, we quantified the Multiply-Accumulate operations (MACs) required for inference for both DeiT and FDT under various gating budgets. We calculated FDT’s computational complexity by averaging the computations needed per sample in the validation set, reflecting the dynamic nature of our approach. MACs are normalized to DeiT to highlight computational efficiency gains. 2 shows that FDT requires fewer expected MACs for inference than DeiT. At a 50% budget, FDT uses an average of 3.01 GMACs, achieving a 34.57% reduction compared to DeiT. Even at a full budget, where all tokens are utilized, the increase in complexity is only 0.7%, demonstrating the minimal overhead of the foveation and fixation modules. These results indicate that FDT can dynamically allocate computational resources to more informative regions of the image, following an HVS-inspired selective-processing principle. At the 50% budget, this allocation corresponds to higher clean accuracy and a 34.57% MAC reduction relative to DeiT-S. The robustness and shortcut-learning results are consistent with the hypothesis that targeted processing can reduce reliance on irrelevant or misleading features. These findings suggest that FDT can trade off clean accuracy, robustness metrics, and expected MACs across budgets, making it a candidate for future study in resource-constrained vision systems. Furthermore, 2 also serves as an ablation study: FDT\(_{1.0}\)(full budget) isolates the effect of the foveation module, while models with lower budgets highlight the contribution of the fixation mechanism to performance and robustness.
| Accuracy | Relative Gain | |||||||
| Acc. | Adv. | Corr. | Shct. | Eff. Fix. | GMAC | Acc. | GMAC | |
| DeiT | 80.9 | 26.3 | 56.0 | 53.5 | 1.00 | 4.60 | 0 | 0 |
| FDT0.2 | 75.4 | 45.9 | 48.2 | 44.8 | 0.29 | 2.09 | +9.38 | |
| FDT0.3 | 80.0 | 40.1 | 54.5 | 51.4 | 0.37 | 2.36 | +11.19 | |
| FDT0.4 | 81.5 | 36.8 | 56.6 | 54.0 | 0.45 | 2.63 | +10.67 | |
| FDT0.5 | 81.9 | 33.3 | 57.8 | 56.5 | 0.56 | 3.01 | +9.17 | |
| FDT0.6 | 82.8 | 32.8 | 59.2 | 57.9 | 0.68 | 3.47 | +10.25 | |
| FDT0.7 | 83.1 | 31.8 | 59.9 | 59.5 | 0.81 | 3.93 | +10.45 | |
| FDT0.8 | 84.0 | 31.5 | 60.9 | 61.1 | 0.93 | 4.36 | +11.64 | |
| FDT0.9 | 83.9 | 32.4 | 61.8 | 61.8 | 0.99 | 4.59 | +13.19 | |
| FDT1.0 | 84.5 | 32.5 | 62.9 | 62.4 | 1.00 | 4.63 | +14.25 | +0.65 |
3.0pt
Shortcut learning occurs when ANNs form decision rules that excel on specific datasets by exploiting spurious correlations or statistical irregularities instead of learning the underlying task. These strategies, though effective on familiar data, do not generalize well across different data distributions [29]. To assess models, we trained both DeiT and the FDT under varying budget constraints using the Tinted-ImageNet100 dataset, where each training sample is modified with a class-specific tint, following the approach in the Tinted-STL10 dataset. Shortcut-learning performance is evaluated on the untinted standard ImageNet100 validation set, so the reported accuracy measures whether models generalize without the tint cue. 6 suggests that FDT is more robust to this synthetic shortcut than DeiT, especially under larger budgets.
We employ “feature inversion" to enhance our understanding and visualization of transformer-based representations. This technique reconstructs an input image from specific model features or activations, offering insights into how the model processes inputs and makes predictions. While widely used with CNNs [30], [31], its application to transformers remains less explored. Using the ‘Deep Image Prior’ image parameterization of [32] and the feature-inversion setup of [33], we optimize a CNN-based generator \(F_\theta(\cdot)\) to transform random noise input \(z\) into an image. The goal is to match the features of the output image, particularly the \(\mathrm{CLS}\) features, with those of a target image \(I\), defined by:
\[\underset{\theta}{\arg \min }\left\|\phi\left(F_\theta(z)\right)-\phi(I)\right\|_{\mathrm{F}} \label{eq:inverted95features}\tag{2}\]
where \(\phi(I)\) denotes the target features and \(\|\cdot\|_{\mathrm{F}}\) represents the Frobenius norm, focusing on the classification token (\(\mathrm{CLS}\)); thus, \(\phi(I)=\mathrm{CLS}(I)\).
We employ the same network architecture and parameters as [33] for the generative network \(F_\theta(z)\). The qualitative examples in 7 show clearer object structure in FDT reconstructions than in DeiT reconstructions, consistent with the hypothesis [33] that robustness-oriented models can yield more interpretable representations.
The relationship between model size and performance is pivotal in neural network design, balancing capacity with computational efficiency. Generally, larger models can achieve higher accuracy but may overfit and require more resources. Smaller models might better generalize and suit practical needs but have limited learning capacity for certain functions. Understanding this trade-off is crucial for choosing the appropriate model size for specific tasks.
We explore the impact of model size on our FDT by evaluating three sizes: tiny, small, and base, following DeiT conventions. Importantly, to ensure a fair and controlled comparison, we maintained the architectural backbone identical to DeiT, with the only differences being the addition of the foveation and fixation modules. These additions are lightweight: for example, in the small model, FDT has 21.85 million parameters compared to DeiT-S’s 21.70 million, with the foveation block replacing the 5.32 million parameter QKV linear layer with 5.47 million parameters (a marginal 0.15 million increase) and the fixation block adding just 9k parameters. This minimal parameter increase ensures that any performance gains can be attributed to the introduced modules rather than increased capacity.
We compared FDT’s performance against DeiT across the same evaluation metrics, except for the learning rate of the base model set to 2e-4. Our results, presented in 3, cover accuracy on clean, adversarially attacked, and naturally corrupted images, and the relative accuracy gains over DeiT. These results suggest that FDT remains competitive across model sizes in the evaluated clean, adversarial, and corruption settings.
| Size | Model | GMAC | Acc. | Adv. Acc. | Corr. Acc. | Rel. Gain |
|---|---|---|---|---|---|---|
| Tiny | DeiT | 1.26 | 64.4 | 17.6 | 40.8 | 0 |
| FDT | 0.84 | 67.1 | 24.7 | 43.5 | +17.05 | |
| Small | DeiT | 4.60 | 80.9 | 26.3 | 56.0 | 0 |
| FDT | 3.01 | 81.9 | 33.3 | 57.8 | +10.36 | |
| Base | DeiT | 17.57 | 81.5 | 30.0 | 56.9 | 0 |
| FDT | 11.56 | 82.2 | 40.8 | 57.2 | +12.46 |
4.0pt
Reaction-time (RT) in HVS measures the duration to respond to a visual stimulus, reflecting neural and cognitive processes in perception, attention, and decision-making, and varies with task complexity, object number and similarity, and uncertainties like occlusions or viewpoint changes, generally increasing with higher difficulty. We use the reaction-time analogy as a qualitative way to describe input-dependent computational load in FDT, not as a measured comparison to human response times. Because FDT dynamically selects fixation points, different images require different numbers of processed tokens and therefore different GMACs. To illustrate this behavior, we divide validation samples into balanced easy, medium, and hard groups according to their average number of fixations. 4 reports accuracy across these groups, and 8 visualizes representative samples and their compute requirements. Ultimately, these results demonstrate that FDT naturally scales its computational effort in response to image complexity, mirroring the reaction-time dynamics of the human visual system.
We visualize model fixation maps and attention maps as HVS-inspired diagnostics of selective processing. The FDT fixation module generates maps that highlight fixation probabilities across image tokens. To illustrate the model’s blockwise fixation selections, we identify the most likely token positions as fixation points. 9 shows these points across transformer block depth: arrows and green-to-yellow color transitions indicate block order, and circles mark fixation points with a fixed display size chosen for legibility rather than to encode fixation strength or probability. Focus intensity adapts to scenes with multiple objects through diverse sampling. Tokens are selected via Gumbel-Softmax and hard label techniques, producing binary maps. Averaging maps across blocks yields overall fixation maps (9), showing how the model prioritizes informative content while minimizing irrelevant background. Additionally, attention rollout [34] visualizes focus on the classification token, revealing that while fixation maps cover broad informative areas, attention maps concentrate on discriminative regions for class identification. These visualizations qualitatively support the intended selective-processing behavior.
We introduced the Foveated Dynamic Transformer (FDT), a novel architecture inspired by human visual system mechanisms, enhancing computational efficiency and robustness against adversarial attacks, natural corruption, and shortcut learning. Our results on the ImageNet100 dataset show that, at selected budgets, FDT can achieve higher clean accuracy, lower expected MACs, and stronger robustness metrics than the baseline architecture. This research contributes to biologically inspired computational models, integrating human visual principles into deep learning architectures. The FDT balances high performance with computational efficiency in the evaluated settings, highlighting its HVS-inspired capability to focus computation on informative image regions. Future work could evaluate FDT in domains such as video processing and augmented reality, where dynamic foveation may reduce computational demands while maintaining performance, and explore its deployment in real-world, resource-limited scenarios, underscoring the value of bioinspired approaches in developing efficient and robust AI systems.
Although FDT achieves substantial MAC savings relative to the baseline, reduced MACs do not necessarily translate to lower wall-clock latency: the foveation pipeline requires token re-arrangement, channel splits and concat/merge operations to form multiscale Q, K, V tensors, which introduce memory-bound overheads that can dominate runtime. Our primary goal, however, is not to optimize latency, but to demonstrate how HVS-inspired design choices can improve robustness and compute efficiency. Inference latency ultimately depends more on platform and software stack than on MACs alone, and addressing these overheads through kernel-level optimizations or specialized implementations is left as future work to better align theoretical efficiency with measured latency.
FDT should also be interpreted as HVS-inspired rather than as a faithful biological model. In the current architecture, all spatial locations receive the same multi-scale feature construction, so there is no explicit peripheral degradation tied to retinal eccentricity. Multiple fixation regions are selected simultaneously within a single feedforward pass rather than through a temporal sequence of saccades, the model has no recurrence or mechanism for revisiting earlier locations, and the selected fixation set can change from block to block. These differences mean that foveation and fixation serve as design motivations for adaptive computation and token selection, not as claims of biological fidelity.
Appendix
The introduction of the Foveated Dynamic Transformer (FDT) represents a step toward more adaptive artificial vision systems, offering enhanced robustness and efficiency in the evaluated ImageNet100 settings. The FDT’s robustness to adversarial attacks and natural corruption without explicit adversarial training could motivate future studies in safety-sensitive domains such as autonomous driving, medical imaging, and surveillance, where accuracy and reliability are critical. Additionally, the model’s reduced expected MACs may support future deployment work in environments with limited computational resources. As an HVS-inspired design, FDT may foster interdisciplinary collaboration between AI researchers and neuroscientists while motivating future work on adaptive visual processing. Ultimately, the FDT’s approach could inspire new research directions, advancing both artificial intelligence and cognitive science.
Researchers have also examined foveation from complementary computational and perceptual perspectives. [19] investigated how foveated image transformations influence downstream visual representations in two-stage machine vision models, focusing on the role of texture-based peripheral coding. In a similar direction, [10] introduced a foveated object detector that applies image magnification to preserve high-resolution detail at points of interest while maintaining a compact canvas size.
A separate line of work has advanced efficiency in transformer-based vision models through token slimming, pruning, and related reduction strategies. Several methods explore how to discard uninformative visual tokens while retaining task-relevant structure ([20]; [21]; [14]; [22]; [23]). Building on this trend, [24] propose progressively removing less informative tokens during the forward pass to reduce computational overhead. [25] introduce Zero-TPrune, a zero-shot token pruning framework that leverages structural properties of the transformer attention graph to identify redundant tokens without additional training. [26] present a synergistic patch pruning approach that integrates both intra- and inter-layer importance signals to eliminate unnecessary patches across layers. Complementing these methods, [27] propose Focus-DETR, a DETR variant that employs dual attention and token scoring to emphasize informative regions and reduce inference cost while preserving detection accuracy.
Although these token-slimming approaches improve computational efficiency by selectively removing tokens or patches, they are driven primarily by engineering considerations and do not attempt to model visual attention from a biologically grounded perspective.
To complement the quantitative evaluation, a visual comparison is provided between adversarial examples generated for the FDT model and those for the DeiT baseline. This qualitative analysis offers a more intuitive understanding of the differences in robustness between the two models.
Figure 10 illustrates the perturbation patterns produced using the PGD-L2 attack with \(\epsilon=1\) over 100 optimization steps. This PGD-L2 visualization is separate from the \(\ell_\infty\) PGD evaluation row, which uses \(\epsilon=0.1\) as reported in [tab:attack95hparams]. The figure includes multiple visualization strategies to enhance interpretability. The second and third rows display the absolute values of the perturbations, scaled by a factor of 50 to improve visibility. The fourth and fifth rows present shifted versions of the perturbation maps, where pixel values are offset by 128, a standard approach for visualizing both positive and negative perturbation magnitudes. These shifted images are scaled by a factor of 20.
In this qualitative visualization, perturbations for FDT appear more concentrated in semantically relevant image regions, whereas those for DeiT appear more diffuse and less structured. This pattern is consistent with the quantitative robustness results, but it should be read as illustrative rather than as a separate robustness metric.
| Easy | Medium | Hard | |||
|---|---|---|---|---|---|
| Clean | 84.9 | 80.5 | 80.3 | ||
| Adversarial Att. | PGD \(\ell_2\) | 60.6 | 56.4 | 56.6 | |
| Blur | Defocus B. | 45.9 | 43.8 | 39.1 | |
| Glass B. | 55.7 | 52.0 | 45.5 | ||
| Motion B. | 60.0 | 54.4 | 47.2 | ||
| Zoom B. | 63.0 | 52.1 | 41.4 | ||
| Digital | Contrast | 45.0 | 51.1 | 57.1 | |
| Elastic Tran. | 75.4 | 71.4 | 68.5 | ||
| JPEG Comp. | 68.7 | 62.2 | 56.4 | ||
| Pixelate | 74.8 | 68.4 | 64.8 | ||
| Noise | Gaussian N. | 54.4 | 52.2 | 54.0 | |
| Impulse N. | 53.0 | 50.1 | 51.2 | ||
| Shot N. | 53.8 | 50.9 | 52.5 | ||
| Weather | Brightness | 79.3 | 75.0 | 73.4 | |
| Fog | 61.1 | 57.4 | 53.5 | ||
| Frost | 70.6 | 64.3 | 61.7 | ||
| Snow | 63.0 | 54.6 | 49.1 | ||
3.0pt
To evaluate FDT, we conduct image classification experiments on the ImageNet-100 dataset, a subset of the ImageNet-1k dataset containing 100 randomly chosen classes with 1300 training images and 50 validation images per class. We report top-1 accuracy using a single 224x224 crop and compare FDT to DeiT [35] using the same training settings, including AdamW optimization for 300 epochs with cosine learning rate decay and 20 epochs of linear warm-up, batch size of 512, and V100 GPUs for training and evaluation. The initial learning rate, weight decay, and momentum are set to 0.001, 0.05, and 0.9, respectively. Unless otherwise stated, all experiments use a budget of \(\beta=0.5\). All results are reported as the mean and one standard deviation of three differently initialized runs. For training Tiny, Small, and Base models, one, two, and four V100 GPUs with 32GB of memory are used, respectively. Evaluations of the models are done on a single V100 GPU.
The robustness evaluation includes a Gaussian-noise (GN) baseline and 12 adversarial attacks: CW [4], PGD-L2 and PGD-\(\ell_\infty\) [36], FGSM [37], TPGD [38], FFGSM [39], EOTPGD [40], RFGSM [41], APGD and APGDT [42], BIM [43], and MIFGSM [44]. We used TorchAttacks v3.3.0 [45], the latest public release available on Nov. 17, 2022. Unless otherwise noted in [tab:attack95hparams], attack arguments follow the TorchAttacks v3.3.0 defaults. The row labeled PGD corresponds to the CSV column PGD0.1 and uses an \(\ell_\infty\) budget of \(\epsilon=0.1\); PGDL2 is a distinct \(\ell_2\) attack with \(\epsilon=1.0\). All adversarial examples are generated against the inference-time FDT forward pass: the fixation map is computed by the deterministic FIX logit comparison in 1 , selected tokens are processed and merged back into the token stream, and the Gumbel-Softmax masked-attention surrogate used during training is not used for attack evaluation. As demonstrated in Table [tab:adversarial95attack95all95models] in the Appendix, although a lower budget results in some accuracy drops, it overall helps to produce a more robust model. These findings support that the FDT method effectively enhances robustness against adversarial attacks by focusing on relevant features and filtering out noise.
Table
Adversarial-evaluation hyperparameters. All attacks were implemented with TorchAttacks v3.3.0. ‘–’ indicates that the field is not applicable.
Table
Comparison of robustness against 12 adversarial attacks and one Gaussian-noise baseline for FDT and DeiT models trained on ImageNet-100 dataset. The models are labeled with their corresponding fixation budget hyperparameter (subscript) and model size (T, S, B for tiny, small, and base, respectively). The mean and one standard deviation of three runs with different initializations are reported.
Table
Comparison of robustness against 12 adversarial attacks and one Gaussian-noise baseline for FDT and DeiT models trained on Tinted ImageNet-100 dataset. The models are labeled with their corresponding fixation budget hyperparameter (subscript) and model size (T, S, B for tiny, small, and base, respectively). The mean and one standard deviation of three runs with different initializations are reported.
| Corruption | S | DeiT-T | DeiT-S | DeiT-B | FDT-T\(_{0.5}\) | FDT-S\(_{0.2}\) | FDT-S\(_{0.3}\) | FDT-S\(_{0.4}\) | FDT-S\(_{0.5}\) | FDT-S\(_{0.6}\) | FDT-S\(_{0.7}\) | FDT-S\(_{0.8}\) | FDT-S\(_{0.9}\) | FDT-S\(_{1.0}\) | FDT-B\(_{0.5}\) | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Corruption | S | DeiT-T | DeiT-S | DeiT-B | FDT-T\(_{0.5}\) | FDT-S\(_{0.2}\) | FDT-S\(_{0.3}\) | FDT-S\(_{0.4}\) | FDT-S\(_{0.5}\) | FDT-S\(_{0.6}\) | FDT-S\(_{0.7}\) | FDT-S\(_{0.8}\) | FDT-S\(_{0.9}\) | FDT-S\(_{1.0}\) | FDT-B\(_{0.5}\) | |
| – | 0 | 64.4 | 80.9 | 81.5 | 67.1 | 75.4 | 80.0 | 81.5 | 81.9 | 82.8 | 83.1 | 84.0 | 83.9 | 84.5 | 82.2 | |
| Blur | Defocus Blur | 1 | 44.6 | 63.5 | 62.8 | 46.6 | 50.2 | 60.5 | 62.5 | 64.9 | 66.0 | 67.0 | 68.1 | 68.5 | 69.6 | 62.9 |
| 2 | 38.1 | 56.7 | 56.4 | 38.8 | 39.1 | 51.8 | 54.3 | 57.1 | 58.8 | 60.1 | 61.7 | 62.6 | 63.5 | 55.3 | ||
| 3 | 28.4 | 44.0 | 44.7 | 27.4 | 21.0 | 33.7 | 37.2 | 41.8 | 45.2 | 47.2 | 50.5 | 51.1 | 51.7 | 41.0 | ||
| 4 | 21.6 | 34.0 | 34.5 | 20.0 | 12.2 | 20.9 | 24.3 | 29.9 | 33.4 | 36.5 | 39.4 | 40.4 | 40.2 | 28.9 | ||
| 5 | 17.2 | 25.9 | 26.2 | 14.9 | 7.7 | 13.7 | 16.0 | 20.9 | 23.8 | 26.4 | 29.8 | 30.9 | 30.4 | 20.5 | ||
| 2-17 | Glass Blur | 1 | 51.9 | 68.8 | 68.4 | 55.0 | 60.4 | 68.3 | 70.0 | 70.6 | 71.8 | 72.0 | 72.4 | 72.7 | 73.3 | 69.2 |
| 2 | 44.5 | 60.7 | 60.5 | 47.0 | 51.0 | 59.4 | 61.7 | 63.2 | 63.9 | 64.2 | 64.6 | 64.8 | 66.1 | 60.6 | ||
| 3 | 36.2 | 46.0 | 45.9 | 36.2 | 37.4 | 44.7 | 46.4 | 48.0 | 48.0 | 48.2 | 48.3 | 48.7 | 49.5 | 46.1 | ||
| 4 | 31.2 | 39.5 | 39.6 | 30.6 | 30.7 | 36.9 | 39.4 | 41.0 | 40.9 | 41.3 | 41.8 | 41.7 | 42.5 | 39.5 | ||
| 5 | 23.8 | 32.2 | 32.2 | 22.5 | 20.8 | 26.7 | 29.6 | 32.4 | 32.2 | 33.2 | 34.1 | 34.0 | 35.0 | 30.8 | ||
| 2-17 | Motion Blur | 1 | 52.9 | 70.3 | 71.0 | 55.6 | 61.6 | 69.3 | 70.6 | 72.0 | 73.0 | 73.5 | 74.6 | 75.4 | 75.6 | 71.3 |
| 2 | 45.7 | 62.9 | 64.1 | 48.0 | 51.1 | 61.0 | 62.2 | 64.2 | 65.6 | 66.4 | 68.1 | 68.8 | 69.2 | 63.8 | ||
| 3 | 37.5 | 53.2 | 54.3 | 38.7 | 38.9 | 49.6 | 51.3 | 53.7 | 55.9 | 57.1 | 58.2 | 59.7 | 59.9 | 53.8 | ||
| 4 | 30.1 | 43.2 | 43.6 | 30.6 | 27.2 | 38.2 | 39.9 | 43.2 | 44.8 | 45.8 | 47.2 | 48.1 | 48.3 | 42.1 | ||
| 5 | 26.5 | 37.3 | 37.2 | 26.3 | 21.5 | 31.8 | 33.4 | 36.3 | 37.9 | 38.9 | 40.4 | 41.2 | 40.6 | 35.4 | ||
| 2-17 | Zoom Blur | 1 | 48.4 | 63.0 | 63.1 | 49.8 | 53.7 | 61.0 | 61.9 | 62.6 | 63.3 | 64.0 | 64.1 | 64.2 | 65.0 | 61.4 |
| 2 | 43.3 | 57.4 | 57.4 | 44.1 | 46.5 | 54.0 | 54.9 | 56.0 | 56.9 | 57.7 | 57.5 | 57.8 | 58.3 | 55.2 | ||
| 3 | 40.1 | 53.7 | 53.5 | 40.5 | 41.0 | 49.3 | 50.9 | 51.8 | 53.0 | 53.6 | 53.8 | 54.2 | 54.4 | 51.6 | ||
| 4 | 37.1 | 49.7 | 49.5 | 37.2 | 36.4 | 45.4 | 46.4 | 47.6 | 48.5 | 49.1 | 49.1 | 49.8 | 49.9 | 47.4 | ||
| 5 | 34.1 | 45.6 | 45.5 | 33.7 | 31.7 | 41.3 | 41.6 | 42.9 | 44.1 | 44.7 | 44.8 | 45.0 | 44.9 | 43.4 | ||
| Digital | Contrast | 1 | 53.4 | 72.3 | 73.5 | 55.8 | 56.9 | 68.9 | 72.1 | 73.3 | 75.1 | 75.3 | 76.6 | 76.8 | 77.6 | 74.4 |
| 2 | 48.7 | 69.0 | 70.0 | 49.7 | 47.5 | 61.2 | 67.3 | 68.9 | 70.8 | 72.2 | 73.0 | 73.4 | 75.1 | 70.1 | ||
| 3 | 41.2 | 62.7 | 63.7 | 39.3 | 32.4 | 46.0 | 56.5 | 61.5 | 64.1 | 66.7 | 69.1 | 69.3 | 71.1 | 60.6 | ||
| 4 | 24.9 | 44.4 | 46.4 | 20.1 | 13.3 | 21.4 | 32.0 | 37.0 | 42.9 | 46.2 | 53.8 | 53.1 | 58.9 | 35.6 | ||
| 5 | 9.3 | 19.5 | 21.0 | 7.1 | 4.1 | 7.4 | 12.6 | 14.6 | 16.7 | 17.9 | 26.1 | 24.3 | 32.5 | 15.5 | ||
| 2-17 | Elastic Trans. | 1 | 58.9 | 75.2 | 75.6 | 62.1 | 69.1 | 75.2 | 76.3 | 76.9 | 77.9 | 78.3 | 79.1 | 79.0 | 79.4 | 76.2 |
| 2 | 52.3 | 67.2 | 67.0 | 53.8 | 59.2 | 65.5 | 66.4 | 67.0 | 68.4 | 69.0 | 69.1 | 69.2 | 69.9 | 66.2 | ||
| 3 | 58.3 | 74.7 | 74.7 | 62.2 | 68.8 | 75.0 | 76.0 | 76.2 | 77.2 | 77.5 | 77.9 | 78.1 | 78.4 | 75.7 | ||
| 4 | 56.6 | 72.1 | 71.8 | 60.4 | 66.9 | 72.7 | 74.1 | 74.0 | 75.3 | 75.3 | 75.5 | 75.7 | 76.0 | 73.4 | ||
| 5 | 50.0 | 62.5 | 61.6 | 52.2 | 57.3 | 63.0 | 63.7 | 64.7 | 65.2 | 64.8 | 64.7 | 65.1 | 65.4 | 63.8 | ||
| 2-17 | JPEG Comp. | 1 | 52.7 | 67.7 | 68.7 | 58.6 | 66.9 | 70.9 | 72.1 | 71.7 | 72.8 | 72.8 | 73.5 | 73.8 | 74.2 | 70.8 |
| 2 | 48.7 | 63.9 | 64.0 | 55.4 | 64.7 | 67.9 | 68.8 | 68.8 | 69.8 | 69.2 | 69.8 | 69.8 | 71.2 | 67.6 | ||
| 3 | 45.7 | 60.4 | 60.8 | 53.1 | 62.3 | 65.8 | 66.8 | 66.3 | 67.1 | 66.5 | 67.1 | 67.6 | 68.7 | 65.1 | ||
| 4 | 36.7 | 51.1 | 50.7 | 46.5 | 56.3 | 59.0 | 59.2 | 58.3 | 58.5 | 58.0 | 58.1 | 58.9 | 60.9 | 56.9 | ||
| 5 | 28.4 | 39.1 | 38.5 | 38.3 | 47.9 | 49.2 | 48.8 | 47.1 | 46.7 | 45.9 | 46.2 | 46.8 | 49.1 | 45.4 | ||
| 2-17 | Pixelate | 1 | 60.6 | 77.3 | 77.2 | 64.4 | 71.8 | 77.1 | 78.4 | 78.8 | 79.7 | 80.0 | 80.7 | 80.8 | 81.2 | 77.3 |
| 2 | 59.6 | 76.3 | 76.1 | 63.5 | 70.6 | 76.3 | 77.8 | 78.1 | 79.2 | 79.2 | 80.0 | 80.2 | 80.5 | 76.4 | ||
| 3 | 56.0 | 71.5 | 68.8 | 59.7 | 66.0 | 72.4 | 72.9 | 73.7 | 74.4 | 74.6 | 74.4 | 75.4 | 76.3 | 68.3 | ||
| 4 | 50.8 | 59.9 | 55.3 | 53.4 | 58.3 | 64.4 | 63.5 | 63.8 | 62.8 | 62.0 | 61.8 | 61.5 | 62.6 | 53.7 | ||
| 5 | 45.0 | 48.6 | 45.1 | 46.7 | 49.2 | 55.8 | 53.3 | 52.3 | 51.2 | 51.5 | 49.1 | 49.2 | 51.1 | 44.9 | ||
| Noise | Gaussian Noise | 1 | 56.5 | 74.3 | 75.4 | 60.5 | 69.1 | 74.0 | 76.2 | 76.1 | 77.4 | 77.9 | 78.8 | 79.1 | 79.9 | 76.2 |
| 2 | 50.3 | 69.1 | 70.6 | 54.5 | 63.5 | 68.4 | 70.7 | 70.9 | 72.7 | 73.7 | 74.2 | 75.4 | 76.3 | 71.7 | ||
| 3 | 39.4 | 57.2 | 60.1 | 44.1 | 53.2 | 57.6 | 59.3 | 60.3 | 62.5 | 64.0 | 64.3 | 66.5 | 68.3 | 60.9 | ||
| 4 | 25.0 | 38.3 | 42.4 | 30.4 | 36.3 | 39.5 | 40.6 | 42.0 | 45.6 | 46.4 | 46.8 | 50.8 | 54.0 | 42.8 | ||
| 5 | 10.1 | 16.1 | 18.9 | 13.4 | 15.3 | 17.0 | 17.3 | 18.2 | 21.7 | 21.3 | 22.6 | 26.9 | 31.4 | 18.4 | ||
| 2-17 | Impulse Noise | 1 | 54.1 | 71.8 | 73.1 | 58.1 | 67.6 | 72.1 | 73.8 | 73.9 | 75.5 | 75.8 | 76.6 | 77.6 | 78.1 | 74.2 |
| 2 | 45.5 | 63.8 | 66.3 | 50.2 | 60.2 | 64.1 | 66.7 | 66.9 | 68.9 | 69.9 | 70.4 | 72.1 | 72.8 | 67.2 | ||
| 3 | 38.1 | 55.8 | 58.9 | 43.2 | 52.6 | 56.9 | 59.1 | 59.2 | 61.8 | 63.1 | 63.0 | 65.8 | 66.7 | 59.7 | ||
| 4 | 22.5 | 35.0 | 39.4 | 27.3 | 33.0 | 36.9 | 38.6 | 39.0 | 43.1 | 43.6 | 43.9 | 48.7 | 51.1 | 40.1 | ||
| 5 | 10.8 | 15.8 | 19.2 | 13.1 | 15.0 | 17.1 | 17.6 | 18.0 | 22.3 | 21.4 | 23.2 | 27.9 | 32.0 | 18.6 | ||
| 2-17 | Shot Noise | 1 | 55.9 | 74.2 | 75.3 | 60.3 | 69.0 | 73.7 | 75.6 | 76.1 | 77.2 | 77.8 | 78.4 | 79.0 | 79.9 | 76.2 |
| 2 | 48.3 | 67.6 | 69.1 | 53.2 | 62.7 | 67.2 | 69.3 | 69.7 | 71.7 | 72.8 | 73.1 | 74.2 | 75.3 | 70.5 | ||
| 3 | 38.0 | 55.4 | 57.9 | 43.7 | 52.2 | 56.1 | 58.5 | 58.8 | 61.7 | 63.2 | 63.2 | 65.1 | 67.0 | 59.0 | ||
| 4 | 21.8 | 32.7 | 35.8 | 26.8 | 32.3 | 34.6 | 35.5 | 36.4 | 40.4 | 40.6 | 41.3 | 45.3 | 48.7 | 35.8 | ||
| 5 | 12.7 | 18.4 | 20.8 | 16.1 | 18.8 | 20.0 | 20.2 | 21.1 | 25.3 | 24.9 | 25.9 | 30.1 | 33.4 | 20.0 | ||
| Weather | Brightness | 1 | 62.4 | 78.8 | 79.1 | 65.9 | 73.4 | 78.2 | 79.5 | 80.1 | 80.7 | 81.4 | 81.9 | 81.9 | 82.0 | 80.1 |
| 2 | 60.6 | 77.2 | 78.0 | 64.0 | 72.2 | 76.6 | 78.6 | 78.7 | 79.6 | 80.3 | 80.8 | 81.1 | 81.2 | 78.8 | ||
| 3 | 58.0 | 75.2 | 76.0 | 61.1 | 69.6 | 74.4 | 76.5 | 77.3 | 78.0 | 78.4 | 79.0 | 79.4 | 79.7 | 77.0 | ||
| 4 | 53.0 | 71.3 | 73.1 | 57.0 | 65.9 | 70.6 | 73.5 | 74.1 | 75.2 | 75.6 | 76.3 | 76.6 | 77.2 | 74.5 | ||
| 5 | 46.7 | 65.5 | 67.6 | 50.5 | 59.9 | 64.9 | 68.5 | 69.3 | 70.6 | 70.9 | 71.7 | 72.7 | 73.1 | 69.9 | ||
| 2-17 | Fog | 1 | 48.3 | 68.0 | 69.4 | 52.1 | 59.7 | 67.7 | 69.8 | 70.2 | 71.2 | 71.9 | 73.3 | 73.3 | 73.3 | 70.8 |
| 2 | 43.0 | 62.4 | 63.7 | 45.6 | 53.8 | 61.9 | 64.2 | 64.8 | 65.0 | 66.4 | 67.4 | 67.6 | 68.3 | 65.6 | ||
| 3 | 35.4 | 53.5 | 55.0 | 37.2 | 45.3 | 53.5 | 55.8 | 56.0 | 55.3 | 56.9 | 58.0 | 58.3 | 59.1 | 56.8 | ||
| 4 | 32.0 | 49.4 | 51.5 | 34.0 | 42.5 | 49.8 | 52.1 | 52.4 | 51.7 | 53.3 | 54.7 | 54.7 | 56.0 | 52.2 | ||
| 5 | 24.1 | 38.3 | 41.8 | 25.7 | 32.7 | 38.5 | 41.0 | 43.1 | 42.4 | 44.6 | 45.7 | 46.6 | 47.4 | 41.3 | ||
| 2-17 | Frost | 1 | 55.9 | 73.2 | 74.6 | 59.5 | 69.1 | 73.4 | 74.8 | 75.8 | 77.2 | 77.2 | 77.7 | 78.0 | 78.3 | 75.6 |
| 2 | 46.4 | 66.5 | 68.1 | 50.2 | 61.4 | 65.2 | 67.9 | 69.3 | 70.8 | 70.7 | 71.5 | 72.3 | 72.8 | 69.6 | ||
| 3 | 39.0 | 59.8 | 61.9 | 42.7 | 54.3 | 58.3 | 61.4 | 63.2 | 64.3 | 64.5 | 65.7 | 66.5 | 67.5 | 63.6 | ||
| 4 | 38.6 | 59.2 | 61.3 | 41.5 | 53.3 | 57.2 | 60.2 | 62.2 | 63.1 | 63.4 | 64.6 | 65.7 | 66.6 | 62.5 | ||
| 5 | 34.2 | 54.1 | 56.1 | 36.7 | 48.1 | 52.1 | 55.6 | 57.0 | 58.2 | 58.8 | 59.9 | 61.1 | 61.9 | 57.9 | ||
| 2-17 | Snow | 1 | 49.3 | 66.9 | 68.1 | 53.5 | 59.8 | 66.1 | 68.1 | 69.0 | 70.7 | 70.9 | 72.2 | 72.8 | 73.4 | 70.1 |
| 2 | 35.9 | 52.0 | 53.5 | 39.8 | 43.8 | 51.5 | 54.6 | 55.4 | 58.1 | 58.4 | 60.0 | 61.1 | 62.1 | 57.3 | ||
| 3 | 37.3 | 53.7 | 56.0 | 41.0 | 46.7 | 53.4 | 56.2 | 57.9 | 59.9 | 60.6 | 62.3 | 63.0 | 64.0 | 59.3 | ||
| 4 | 29.7 | 44.7 | 46.5 | 32.4 | 36.4 | 43.3 | 46.6 | 48.8 | 50.5 | 51.0 | 53.6 | 54.7 | 56.0 | 50.9 | ||
| 5 | 27.0 | 41.9 | 43.2 | 29.8 | 33.6 | 40.5 | 44.6 | 46.6 | 48.3 | 48.4 | 50.7 | 51.2 | 53.0 | 48.0 | ||
| Corruption | S | DeiT-S | FDT-S\(_{0.2}\) | FDT-S\(_{0.3}\) | FDT-S\(_{0.4}\) | FDT-S\(_{0.5}\) | FDT-S\(_{0.6}\) | FDT-S\(_{0.7}\) | FDT-S\(_{0.8}\) | FDT-S\(_{0.9}\) | FDT-S\(_{1.0}\) | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Corruption | S | DeiT-S | FDT-S\(_{0.2}\) | FDT-S\(_{0.3}\) | FDT-S\(_{0.4}\) | FDT-S\(_{0.5}\) | FDT-S\(_{0.6}\) | FDT-S\(_{0.7}\) | FDT-S\(_{0.8}\) | FDT-S\(_{0.9}\) | FDT-S\(_{1.0}\) | |
| – | 0 | 53.5 | 44.8 | 51.4 | 54.0 | 56.5 | 57.9 | 59.5 | 61.1 | 61.8 | 62.4 | |
| Blur | Defocus Blur | 1 | 37.7 | 25.7 | 31.7 | 36.1 | 38.9 | 41.4 | 42.7 | 44.6 | 44.8 | 45.9 |
| 2 | 31.1 | 18.9 | 24.9 | 29.4 | 31.6 | 34.2 | 35.9 | 37.7 | 38.0 | 38.9 | ||
| 3 | 21.2 | 10.4 | 15.7 | 18.7 | 21.0 | 22.4 | 24.4 | 25.9 | 26.0 | 26.6 | ||
| 4 | 15.4 | 6.6 | 10.6 | 13.0 | 14.4 | 15.4 | 16.7 | 18.1 | 18.1 | 18.6 | ||
| 5 | 11.7 | 4.6 | 8.2 | 9.5 | 10.2 | 11.1 | 12.0 | 12.9 | 12.9 | 12.9 | ||
| 2-13 | Glass Blur | 1 | 43.7 | 33.5 | 40.0 | 43.4 | 46.0 | 47.8 | 49.4 | 50.9 | 51.0 | 51.9 |
| 2 | 36.6 | 26.9 | 33.0 | 37.0 | 38.9 | 40.8 | 42.0 | 43.7 | 43.7 | 44.1 | ||
| 3 | 27.2 | 20.6 | 25.8 | 28.7 | 29.7 | 30.6 | 31.0 | 31.4 | 32.1 | 32.2 | ||
| 4 | 22.6 | 15.9 | 20.5 | 23.4 | 24.1 | 24.6 | 25.2 | 25.5 | 26.0 | 26.3 | ||
| 5 | 17.0 | 9.6 | 13.6 | 16.0 | 17.0 | 18.0 | 18.7 | 19.1 | 19.2 | 19.4 | ||
| 2-13 | Motion Blur | 1 | 44.2 | 34.1 | 41.1 | 44.6 | 46.0 | 48.2 | 49.9 | 50.9 | 51.5 | 52.3 |
| 2 | 37.5 | 26.9 | 34.0 | 37.6 | 38.6 | 40.8 | 42.3 | 43.1 | 44.0 | 44.7 | ||
| 3 | 29.6 | 19.1 | 25.6 | 29.2 | 30.0 | 31.7 | 33.6 | 33.7 | 34.0 | 34.8 | ||
| 4 | 22.2 | 13.2 | 18.7 | 21.6 | 22.3 | 23.5 | 24.8 | 24.9 | 25.4 | 25.8 | ||
| 5 | 18.6 | 10.6 | 15.2 | 17.7 | 18.4 | 19.3 | 20.5 | 20.4 | 20.8 | 21.4 | ||
| 2-13 | Zoom Blur | 1 | 39.8 | 30.9 | 37.6 | 40.0 | 41.6 | 42.5 | 42.9 | 43.3 | 43.8 | 43.8 |
| 2 | 34.8 | 26.8 | 32.6 | 34.6 | 36.7 | 37.1 | 37.1 | 37.6 | 38.4 | 38.3 | ||
| 3 | 32.2 | 23.2 | 29.1 | 31.3 | 33.3 | 33.9 | 34.0 | 34.2 | 34.6 | 34.8 | ||
| 4 | 29.2 | 20.8 | 26.4 | 28.5 | 30.2 | 30.5 | 30.8 | 30.9 | 31.1 | 31.4 | ||
| 5 | 26.0 | 17.7 | 23.6 | 25.1 | 26.6 | 27.4 | 27.1 | 27.4 | 27.4 | 28.2 | ||
| Digital | Contrast | 1 | 44.1 | 27.2 | 37.5 | 42.2 | 44.9 | 47.7 | 49.8 | 51.6 | 52.5 | 53.2 |
| 2 | 40.6 | 21.6 | 32.6 | 37.6 | 41.1 | 43.7 | 46.8 | 47.6 | 48.9 | 49.4 | ||
| 3 | 34.4 | 14.3 | 24.8 | 30.5 | 35.2 | 38.0 | 41.5 | 42.1 | 43.4 | 43.9 | ||
| 4 | 20.4 | 6.4 | 12.6 | 15.9 | 20.9 | 24.6 | 26.8 | 28.2 | 28.7 | 27.6 | ||
| 5 | 5.9 | 2.4 | 4.1 | 5.1 | 7.4 | 8.6 | 8.3 | 8.9 | 8.7 | 8.1 | ||
| 2-13 | Elastic Trans. | 1 | 48.7 | 39.9 | 46.5 | 49.1 | 51.4 | 52.8 | 53.6 | 55.3 | 56.0 | 56.2 |
| 2 | 42.1 | 32.3 | 38.6 | 41.3 | 42.5 | 44.1 | 45.0 | 46.0 | 46.5 | 47.0 | ||
| 3 | 48.6 | 40.4 | 47.2 | 49.5 | 51.9 | 53.2 | 54.5 | 56.4 | 56.5 | 56.6 | ||
| 4 | 46.2 | 39.1 | 45.4 | 47.7 | 50.0 | 51.2 | 52.0 | 53.7 | 54.0 | 54.1 | ||
| 5 | 38.7 | 33.7 | 39.1 | 40.7 | 42.9 | 43.4 | 43.8 | 45.3 | 45.3 | 45.5 | ||
| 2-13 | JPEG Comp. | 1 | 45.3 | 42.0 | 47.5 | 48.8 | 51.0 | 52.0 | 52.4 | 54.1 | 54.2 | 54.7 |
| 2 | 41.4 | 40.1 | 45.1 | 46.3 | 47.8 | 48.6 | 48.7 | 50.4 | 50.0 | 51.3 | ||
| 3 | 38.3 | 37.8 | 43.0 | 43.3 | 45.1 | 45.9 | 46.1 | 47.7 | 47.6 | 48.3 | ||
| 4 | 28.5 | 32.4 | 36.0 | 35.2 | 36.8 | 36.9 | 37.0 | 38.5 | 38.7 | 38.8 | ||
| 5 | 17.7 | 26.1 | 27.4 | 25.9 | 27.5 | 26.4 | 26.2 | 27.8 | 27.6 | 27.6 | ||
| 2-13 | Pixelate | 1 | 52.6 | 42.3 | 49.1 | 52.3 | 54.0 | 55.9 | 57.4 | 59.2 | 59.6 | 60.8 |
| 2 | 51.4 | 40.8 | 47.9 | 51.2 | 53.3 | 55.0 | 56.7 | 58.4 | 59.1 | 60.0 | ||
| 3 | 48.6 | 39.4 | 46.9 | 50.1 | 51.6 | 52.7 | 53.5 | 54.6 | 55.6 | 55.9 | ||
| 4 | 42.0 | 35.3 | 42.1 | 44.1 | 45.5 | 45.8 | 46.1 | 46.5 | 47.7 | 47.4 | ||
| 5 | 33.4 | 30.7 | 36.0 | 37.3 | 37.4 | 37.6 | 37.9 | 37.2 | 38.5 | 36.8 | ||
| Noise | Gaussian Noise | 1 | 52.6 | 46.2 | 51.6 | 53.9 | 55.8 | 58.1 | 58.8 | 60.5 | 61.0 | 61.8 |
| 2 | 46.6 | 41.2 | 46.2 | 49.3 | 51.3 | 53.2 | 54.2 | 56.1 | 56.2 | 57.7 | ||
| 3 | 36.9 | 32.9 | 37.0 | 39.3 | 40.5 | 43.6 | 45.1 | 47.2 | 46.9 | 49.3 | ||
| 4 | 24.3 | 22.2 | 24.7 | 26.1 | 25.2 | 29.1 | 30.1 | 32.6 | 33.0 | 35.6 | ||
| 5 | 11.2 | 10.5 | 12.2 | 12.1 | 10.8 | 13.1 | 13.2 | 14.5 | 15.0 | 17.7 | ||
| 2-13 | Impulse Noise | 1 | 49.4 | 44.1 | 49.8 | 51.8 | 53.7 | 55.8 | 56.6 | 58.1 | 58.4 | 59.9 |
| 2 | 42.2 | 37.6 | 42.3 | 44.6 | 46.4 | 49.3 | 50.0 | 52.6 | 51.7 | 54.3 | ||
| 3 | 35.6 | 31.9 | 35.6 | 37.8 | 39.1 | 43.3 | 44.2 | 46.5 | 45.9 | 48.6 | ||
| 4 | 22.5 | 20.0 | 22.4 | 23.7 | 23.1 | 27.2 | 28.7 | 30.9 | 31.1 | 33.7 | ||
| 5 | 11.6 | 10.5 | 11.9 | 11.7 | 10.9 | 13.9 | 14.4 | 15.2 | 14.9 | 18.2 | ||
| 2-13 | Shot Noise | 1 | 51.4 | 44.9 | 50.9 | 52.9 | 54.7 | 56.5 | 57.4 | 59.5 | 59.8 | 61.1 |
| 2 | 44.7 | 39.6 | 44.8 | 47.0 | 49.1 | 51.0 | 52.0 | 54.1 | 54.0 | 55.8 | ||
| 3 | 35.3 | 31.5 | 36.3 | 38.2 | 39.7 | 42.0 | 43.4 | 45.4 | 45.8 | 47.6 | ||
| 4 | 20.6 | 18.3 | 21.8 | 22.4 | 21.0 | 24.1 | 25.2 | 27.5 | 27.9 | 30.0 | ||
| 5 | 11.8 | 11.3 | 13.0 | 13.3 | 11.7 | 14.2 | 14.5 | 16.1 | 16.3 | 18.8 | ||
| Weather | Brightness | 1 | 48.8 | 41.1 | 47.2 | 49.1 | 51.4 | 53.7 | 54.7 | 56.1 | 56.7 | 57.6 |
| 2 | 45.6 | 38.4 | 44.3 | 46.7 | 49.0 | 51.5 | 52.5 | 53.8 | 54.3 | 55.1 | ||
| 3 | 44.3 | 37.1 | 43.0 | 45.4 | 47.7 | 50.0 | 51.1 | 52.2 | 52.9 | 53.8 | ||
| 4 | 41.5 | 34.5 | 40.5 | 43.0 | 45.5 | 48.2 | 49.1 | 50.1 | 50.8 | 51.7 | ||
| 5 | 37.3 | 30.8 | 36.9 | 39.4 | 41.6 | 43.9 | 45.1 | 46.3 | 46.9 | 48.2 | ||
| 2-13 | Fog | 1 | 42.5 | 32.1 | 40.3 | 41.6 | 45.7 | 46.8 | 48.7 | 49.5 | 50.1 | 50.5 |
| 2 | 37.6 | 27.5 | 34.7 | 36.4 | 40.4 | 41.8 | 43.0 | 43.4 | 44.3 | 44.7 | ||
| 3 | 30.6 | 21.0 | 27.7 | 29.6 | 33.3 | 34.3 | 35.3 | 35.0 | 36.2 | 36.6 | ||
| 4 | 28.0 | 18.9 | 24.7 | 27.0 | 30.8 | 32.0 | 32.3 | 32.3 | 33.7 | 34.6 | ||
| 5 | 20.0 | 13.7 | 17.7 | 20.1 | 22.8 | 24.0 | 24.4 | 24.5 | 25.7 | 26.4 | ||
| 2-13 | Frost | 1 | 37.5 | 32.7 | 37.9 | 39.7 | 41.9 | 43.8 | 44.3 | 45.7 | 46.3 | 46.9 |
| 2 | 33.1 | 27.7 | 33.1 | 35.0 | 37.6 | 39.7 | 39.6 | 41.2 | 42.0 | 42.5 | ||
| 3 | 29.6 | 24.0 | 29.2 | 31.2 | 33.3 | 35.4 | 35.9 | 37.1 | 38.2 | 38.3 | ||
| 4 | 30.5 | 23.9 | 29.6 | 31.5 | 34.1 | 36.1 | 36.3 | 37.7 | 38.8 | 39.0 | ||
| 5 | 27.9 | 21.0 | 26.7 | 29.1 | 31.6 | 33.1 | 33.3 | 35.2 | 35.6 | 35.7 | ||
| 2-13 | Snow | 1 | 27.9 | 26.0 | 29.7 | 31.8 | 34.8 | 35.2 | 35.4 | 37.3 | 36.5 | 37.5 |
| 2 | 19.3 | 18.4 | 21.4 | 22.8 | 25.7 | 25.8 | 26.4 | 27.9 | 27.9 | 28.2 | ||
| 3 | 19.3 | 17.5 | 20.2 | 22.6 | 25.6 | 25.6 | 26.1 | 27.9 | 26.7 | 26.8 | ||
| 4 | 14.6 | 13.7 | 15.8 | 18.0 | 20.9 | 20.6 | 20.9 | 22.6 | 21.5 | 21.8 | ||
| 5 | 14.7 | 13.5 | 15.7 | 17.4 | 19.8 | 20.1 | 20.7 | 22.0 | 21.8 | 22.0 | ||
The code will be shared upon acceptance.↩︎