Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

Spec2^2R: Recovering Emergent Properties in Supervised Vision Transformers

Published 23 Nov 2026 in cs.CV | (2611.31589v1)

Abstract: Vision Transformers (ViTs) have achieved strong performance across computer vision tasks, but the quality of their learned representations differs drastically depending on the training paradigm. While self-supervised ViTs often demonstrate emergent properties, such as object-aligned patch representations and attention maps, supervised ViTs typically lack these properties, even when trained with strong data augmentations. Understanding the origin of this difference is important for explaining and controlling the object-level structure. To investigate it, we perform a spectral analysis of supervised and self-supervised models, and identify a key distinction: MLP layers in supervised ViTs introduce high-frequency variations into patch representations, disrupting their spatial organization. Motivated by this finding, we propose Spec2^2R, a lightweight spectral regularization method that fine-tunes the MLP layers of pretrained supervised ViTs. Spec2^2R recovers object-aligned patch representations and attention maps, while improving adversarial robustness and preserving competitive classification accuracy.

Summary

  • The paper identifies MLP-induced radial-frequency expansion as a key source of disrupted object structure in supervised Vision Transformers and introduces Spec²R to suppress it while preserving angular spectral patterns.
  • Spec²R fine-tunes only MLP layers and the classification head with spectral constraints and KL distillation, raising DeiT-III final-layer EPG from 66.09 to 85.84 and VOC foreground IoU from 17.04 to 40.16.
  • The method improves correspondence, tracking, object discovery, and adversarial robustness across three ViT models while reducing clean ImageNet top-1 accuracy by no more than 0.43 percentage points.

Problem formulation and central claim

“Spec2^2R: Recovering Emergent Properties in Supervised Vision Transformers” (2611.31589) studies why supervised Vision Transformers (ViTs) generally exhibit weaker object-level structure than self-supervised models such as DINO, despite achieving comparable or superior image-classification accuracy. The paper focuses on two related properties: object-aligned patch representations and object-aligned CLS-token attention maps. These properties are valuable for semantic correspondence, video tracking, object discovery, and other dense prediction tasks, but they are not typically optimized explicitly by supervised ImageNet training.

The paper’s central claim is that the discrepancy is substantially explained by the evolution of spatial frequencies through the transformer residual stream. In the authors’ analysis, attention branches tend to preserve or reduce high spatial frequencies, whereas MLP branches in supervised ViTs introduce high-frequency variations into patch representations. These variations accumulate across blocks and disrupt object-aligned spatial organization. DINO follows the opposite pattern: its representations progressively shift toward lower spatial frequencies and become increasingly aligned with object boundaries.

Spec2^2R operationalizes this observation as a lightweight regularizer applied to pretrained supervised ViTs. It fine-tunes only the MLP layers and classification head, freezes all attention parameters and the remaining model components, and uses spectral constraints to discourage radial frequency expansion while preserving the angular distribution of spectral energy. The method is therefore positioned not as a new pretraining paradigm, but as a targeted post hoc correction to the internal representation dynamics of supervised ViTs.

Spectral analysis of supervised and self-supervised ViTs

The analysis projects intermediate patch representations onto the three dominant principal directions of the final-layer patch representation for each image. This provides a common low-dimensional basis in which the spatial organization of patch tokens can be visualized and analyzed across all transformer blocks. Each projected component is reshaped into the patch grid, reflection-padded, transformed with a two-dimensional Fourier transform, and summarized through radial and angular spectra.

The radial spectrum measures how spectral amplitude is distributed across spatial frequencies. Its first moment, denoted by μr\mu_r, acts as a compact measure of the characteristic spatial frequency of the representation: higher values indicate greater concentration of energy in fine-grained spatial variations. The angular spectrum measures the distribution of amplitude across orientations. The authors compare normalized angular spectra before and after each block using cosine similarity.

The qualitative trajectories are sharply different. DINO progressively develops coherent object-aligned regions in the principal-component projections. DeiT-III, by contrast, develops increasingly fine-grained spatial fluctuations in intermediate and final representations. Spec2^2R later reverses this behavior while preserving the model’s overall predictive function.

Figure 1

Figure 1: Spatial structure across ViT blocks for DINO, DeiT-III, and Spec2^2R-regularized DeiT-III.

The radial-moment analysis identifies the MLP residual branches as the principal source of the discrepancy. DINO exhibits a decreasing radial moment through approximately the first seven blocks, followed by an approximately non-increasing trajectory. DeiT-III progressively shifts toward higher radial frequencies. When the contribution of each residual branch is isolated, attention produces approximately non-positive radial-moment changes in both model families, while DeiT-III MLP branches produce consistently positive changes, particularly in intermediate blocks 5–8. The supplementary analysis reports the same qualitative pattern for DeiT-Distilled and FlexiViT.

This result supports a specific mechanistic interpretation: the absence of object alignment in supervised ViTs is not attributed primarily to attention failing to aggregate spatial information. Instead, MLP updates inject spatial-frequency content that interferes with the organization established by the residual stream. The claim is notable because the MLP branch is usually treated as a token-wise feature transformation, whereas the paper shows that, after projection onto spatially meaningful feature directions, its effect can be characterized as systematic spatial-frequency expansion.

Figure 2

Figure 2: Radial-moment trajectories and residual-branch contributions showing high-frequency expansion driven mainly by supervised ViT MLP layers.

The angular analysis provides an important constraint on the interpretation. Both DINO and DeiT-III maintain high angular-spectrum similarity across successive blocks. Similarity begins above $0.93$ and increases toward approximately $0.99$. Thus, the models differ primarily in the radial magnitude of their spatial frequencies, not in the orientation-wise organization of spectral amplitude. This observation motivates preserving angular structure while suppressing radial expansion.

Figure 3

Figure 3: Angular-spectrum similarity remains high across blocks for both DINO and DeiT-III despite their different radial-frequency dynamics.

The authors’ decomposition is empirically useful, but it should not be read as a complete causal account of ViT representation formation. The spectral measures are computed after projection onto image-specific principal components of the final-layer patch features. Consequently, the analysis characterizes spatial variation along dominant final-layer directions rather than the entire dd-dimensional representation. The conclusions concern this representation subspace and the measured spectral statistics.

Spec2^2R regularization

Spec2^2R combines three objectives. The first is radial non-expansion. For each PCA component and each consecutive pair of transformer blocks, it penalizes only positive changes in the first radial moment. The use of a positive-part operator makes the constraint asymmetric: decreases in radial frequency are permitted, while increases are discouraged.

The second objective preserves angular spectra. It minimizes the cosine distance between the normalized angular spectra before and after each block. This term is intended to prevent the radial constraint from changing the orientation structure of the representation. The third objective is a KL-divergence distillation loss between the fine-tuned model and the original pretrained model, which limits changes in classification behavior.

In simplified form, the optimization objective is

L=λKLLKL+λrLr+λθLθ.\mathcal{L} = \lambda_{\mathrm{KL}}\mathcal{L}_{\mathrm{KL}} + \lambda_r\mathcal{L}_r + \lambda_\theta\mathcal{L}_\theta.

The PCA basis and reference spectral quantities are stop-gradient targets. The method therefore regularizes the forward activations without allowing the optimization procedure to alter the target basis itself.

The implementation is computationally lightweight. The authors use Adam with a batch size of 64 and approximately 1,300 optimization steps in two stages. The first stage uses a low KL weight, while the second stage lowers the learning rate and increases the KL weight to preserve classification performance. The procedure uses only a small fraction of an ImageNet-1K training epoch. This makes the method substantially cheaper than retraining a ViT under a new representation-learning objective.

The ablation results indicate that angular preservation is not redundant. Under stronger radial regularization, adding Lθ\mathcal{L}_\theta improves ImageNet classification accuracy by up to $0.81$ percentage points relative to radial regularization alone. It also improves attention alignment and object discovery in several settings, although its effect on object discovery decreases at the strongest radial weight. Thus, the angular term primarily functions as a stabilizer that permits radial correction without excessive degradation of the original discriminative representation.

Recovery of object-aligned representations

The qualitative results show that Spec2^2R suppresses the high-frequency artifacts observed in supervised models. Final-layer PCA projections become more spatially coherent, with regions corresponding more closely to foreground objects and their boundaries. The resulting representations visually resemble those of DINO, although the method does not use self-supervised training or modify the attention weights.

Figure 4

Figure 4: Final-layer patch representations show reduced high-frequency artifacts and improved object alignment after Spec2^2R fine-tuning.

The effect on CLS-token attention is especially significant because the attention parameters remain frozen. Fine-tuning only MLP layers and the classification head changes the input representations on which the fixed attention operators act. This produces substantially more object-aligned attention maps in deeper blocks.

Figure 5

Figure 5: Spec2^2R improves final-layer CLS-token attention alignment despite freezing all attention parameters.

For DeiT-III-B/16, final-block ImageNet EPG increases from $66.09$ to $85.84$, a gain of $19.75$ percentage points. On PASCAL VOC, final-block foreground IoU increases from $17.04$ to $40.16$, a gain of $23.12$ points. The regularized DeiT-III therefore exceeds DINO’s final-block scores of $78.89$ EPG and $30.95$ IoU on these two measures. The result is not limited to DeiT-III: DeiT-Distilled gains $15.28$ EPG points and $18.61$ IoU points at the final block, while FlexiViT gains $9.35$ and $15.88$ points, respectively.

Model Final EPG Final EPG gain Final VOC IoU Final IoU gain
DeiT-III 66.09 — 17.04 —
DeiT-III + Spec2^2R 85.84 +19.75 40.16 +23.12
DeiT-Distilled 64.15 — 14.65 —
DeiT-Distilled + Spec2^2R 79.43 +15.28 33.26 +18.61
FlexiViT 65.43 — 21.72 —
FlexiViT + Spec2^2R 74.78 +9.35 37.60 +15.88
DINO 78.89 — 30.95 —

The block-wise results show that Spec2^2R primarily prevents the deterioration of alignment in deeper layers. For DeiT-III, best-head EPG rises from a peak at block 9 in the original model to a final-block value at block 12 after regularization. Foreground IoU still peaks at block 8, but the final-block score increases dramatically. This distinction matters: Spec2^2R does not uniformly improve every block or force all representations to have identical alignment. Rather, it largely preserves object-aligned structure as it propagates through the later residual stream.

Downstream patch-representation performance

The downstream experiments evaluate semantic correspondence, temporal tracking, and unsupervised object discovery. These tasks test whether the patch features support spatially localized and instance-consistent behavior beyond ImageNet classification.

For semantic correspondence, Spec2^2R improves all three supervised architectures across SPair-71k and PF-PASCAL at the reported PCK thresholds. The strongest gains occur for DeiT-III and FlexiViT at the more permissive thresholds. DeiT-III improves by $5.93$ points on SPair-71k at [email protected] and by $7.62$ points on PF-PASCAL at [email protected]. FlexiViT improves by $3.86$ and $7.63$ points on the corresponding datasets and thresholds. DeiT-Distilled surpasses DINO on all three PF-PASCAL thresholds after regularization and on two of three SPair-71k thresholds.

Temporal tracking gains are smaller but consistent. DeiT-III’s DAVIS mean J&F\mathcal{J}\&\mathcal{F} increases from $54.91$ to $57.86$, and its MOSE mean increases from $31.05$ to $33.72$. DeiT-Distilled reaches $35.01$ on MOSE, essentially matching DINO’s $35.03$, while surpassing DINO in MOSE region similarity. FlexiViT changes little on DAVIS, with a mean gain of only $0.02$ points, but improves on MOSE by $0.45$ points. These results suggest that the spectral correction improves temporal consistency, but the magnitude of improvement depends strongly on the baseline representation quality and dataset.

Object discovery exhibits the largest improvements for models with the weakest initial patch structure. FlexiViT gains $29.85$, $31.95$, and $23.08$ CorLoc points on VOC07, VOC12, and COCO20K, respectively. DeiT-III gains $14.45$, $17.81$, and $13.65$ points on the same benchmarks. DeiT-Distilled shows smaller gains of $1.82$, $3.13$, and $0.40$ points. None of the supervised models exceeds DINO on object discovery, but the magnitude of the improvements indicates that the patch representations become substantially more useful for unsupervised foreground localization.

Model SPair [email protected] PF-PASCAL [email protected] DAVIS mean VOC07 CorLoc VOC12 CorLoc COCO20K CorLoc
DeiT-III 37.46 38.36 54.91 21.21 22.54 14.98
DeiT-III + Spec2^2R 43.39 45.98 57.86 35.66 40.35 28.63
DeiT-Distilled 48.16 49.63 60.99 52.62 56.22 45.72
DeiT-Distilled + Spec2^2R 50.06 53.77 61.73 54.44 59.35 46.12
FlexiViT 41.26 43.87 59.10 11.14 14.79 9.28
FlexiViT + Spec2^2R 45.12 50.50 59.12 40.99 46.74 32.36
DINO 46.21 51.41 62.28 57.37 62.54 48.20

The pattern is consistent with the paper’s mechanistic thesis: suppressing high-frequency spatial variation improves tasks that depend on stable object-level patch structure. However, the uneven tracking results also show that spectral alignment is not sufficient by itself to reproduce all properties of self-supervised representations.

Classification preservation and adversarial robustness

The method preserves clean ImageNet classification accuracy with small losses. Top-1 accuracy decreases by $0.43$ points for DeiT-III, $0.12$ points for DeiT-Distilled, and $0.25$ points for FlexiViT. Top-5 accuracy decreases by at most $0.11$ points. This is important because the method deliberately changes intermediate representations that support the classification head; the KL term successfully restricts the induced change in the output distribution.

The most pronounced additional effect is adversarial robustness. Under APGD-CE attacks with ℓ∞\ell_\infty budgets between $0.1/255$ and $1.0/255$, Spec2^2R improves robust accuracy at every nonzero evaluated budget for all three architectures. The largest pointwise gains are $23.7$ points for DeiT-III, $11.0$ points for DeiT-Distilled, and $9.5$ points for FlexiViT. The robust-accuracy AUC increases by $10.40$, $5.97$, and $4.47$ points, respectively.

Figure 6

Figure 6: Spec2^2R preserves clean accuracy within approximately $0.4$ percentage points while substantially improving APGD-CE robustness.

For DeiT-III, clean accuracy changes from 83.79%83.79\% to 83.36%83.36\%, whereas accuracy at ϵ=0.3/255\epsilon=0.3/255 rises from 17.8%17.8\% to 41.5%41.5\%. At ϵ=0.5/255\epsilon=0.5/255, the increase is from 4.1%4.1\% to 16.1%16.1\%. These changes are too large to be explained by a negligible perturbation of the classifier alone and indicate that the regularized internal representation has materially different sensitivity to input perturbations.

The paper does not establish that the spectral mechanism is the sole cause of the robustness gains. The experiments demonstrate correlation between radial-frequency control, object-aligned representations, and robustness, but do not isolate whether robustness arises from reduced high-frequency spatial sensitivity, altered feature margins, smoother MLP mappings, or a combination of these effects.

Limitations and open questions

The evaluation is restricted to ViT-B/16 architectures and three supervised pretrained models, with DINO serving as the principal self-supervised reference. The paper does not establish how the method behaves across model scales, patch sizes, architectures with different normalization or attention designs, or supervised pretraining datasets beyond ImageNet-1K. The downstream evaluation is also concentrated on object-centric benchmarks, so the method’s effect on fine-grained recognition, texture-sensitive classification, dense semantic segmentation, and calibrated uncertainty remains unresolved.

The spectral formulation depends on image-specific PCA bases derived from final-layer patch representations. This makes the regularizer representation-dependent and introduces a coupling between the target basis and the final-layer geometry. Although the basis is stop-gradient during optimization, it is recomputed from the model’s activations and is not a fixed, architecture-independent notion of spatial frequency. The paper therefore leaves open whether comparable results can be obtained using fixed bases, learned bases, Fourier-domain constraints applied directly to token channels, or frequency measures defined without final-layer PCA.

The causal interpretation of the MLP contribution also remains incomplete. The analysis shows that MLP branches increase the measured radial moment, but it does not identify which properties of the MLP—activation nonlinearity, channel mixing, residual scaling, normalization, or learned weights—produce this behavior. Similarly, the experiments do not compare Spec2^2R against equally inexpensive alternatives such as activation smoothing, low-pass filtering, Jacobian regularization, or direct token-similarity constraints under matched optimization budgets.

Finally, the method is applied after pretraining rather than integrated into the original training process. The paper explicitly identifies integrating the regularizer into supervised training and extending the spectral analysis beyond supervised ViTs as open directions. Whether direct training-time regularization would produce the same representation quality with lower post hoc cost, or whether it would alter the classification–localization trade-off, is not determined by the present experiments.

Conclusion

Spec2^2R (2611.31589) presents a spectral account of a persistent difference between supervised and self-supervised ViTs. Its analysis attributes the degradation of object-aligned patch structure in supervised models primarily to MLP-induced radial-frequency expansion, while observing that angular spectral organization remains comparatively stable. The proposed regularizer constrains this expansion, preserves angular structure, and retains the original predictive behavior through KL distillation.

Across three supervised ViT-B/16 models, the method substantially improves attention alignment, patch correspondence, object discovery, and adversarial robustness, while reducing clean ImageNet accuracy by no more than approximately $0.43$ percentage points. The strongest effects occur in final-layer attention alignment and object discovery, including gains of $19.75$ EPG points, $23.12$ VOC IoU points, and up to $31.95$ VOC12 CorLoc points. These results establish that object-aligned internal structure can be recovered through targeted MLP fine-tuning without modifying attention parameters, while leaving open the precise causal mechanisms and the generality of the spectral prescription beyond the evaluated models and tasks.

Whiteboard

Explain it Like I'm 14

1. What is this paper about?

This paper studies how Vision Transformers (ViTs) understand images.

A Vision Transformer breaks an image into many small square pieces, called patches. For example, a picture of a dog might be divided into dozens of small squares. The model then tries to combine information from these patches to recognize the dog.

Some Vision Transformers learn to organize patches in a useful way: patches belonging to the dog are grouped together, while background patches are treated differently. This is called object alignment.

The paper compares two kinds of models:

  • Supervised models, trained with image labels such as “dog” or “car.”
  • Self-supervised models, trained without ordinary labels, such as DINO.

The authors found that supervised models often recognize the correct overall object but have “messier” internal representations. They then introduce a method called Spec²R to make these representations cleaner and more object-focused.

2. What questions did the researchers ask?

The paper focuses on three main questions:

  1. Why do self-supervised Vision Transformers often learn clearer object shapes than supervised ones?
  2. Which part of a Vision Transformer causes the supervised model’s internal representations to become noisy?
  3. Can a supervised model be improved without retraining the whole model from the beginning?

The researchers were especially interested in whether a model could learn better patch representations while still keeping its strong ability to classify whole images.

3. How did the researchers investigate this?

Comparing image patterns

The researchers examined how information changed as it moved through the different layers of the models.

They used a mathematical tool called Fourier analysis. Although this sounds complicated, the basic idea is similar to analyzing music:

  • A musical sound can contain low notes and high notes.
  • An image can contain large, smooth patterns and small, sharp changes.

In images:

  • Low spatial frequencies represent large, smooth areas, such as the broad shape of an animal.
  • High spatial frequencies represent tiny, quick changes, such as speckles, edges, or noisy patterns.

The researchers discovered that supervised models gradually added too many high-frequency patterns. These patterns made the patch information look noisy and less connected to the actual objects.

Studying different parts of the model

A Vision Transformer mainly contains two important parts:

  • An attention layer, which lets image patches communicate with one another.
  • An MLP layer, which processes the information inside each patch.

The researchers measured how much each part changed the image information. They found that the MLP layers in supervised models were mainly responsible for adding the unwanted high-frequency details.

Creating Spec²R

The authors designed Spec²R, a small fine-tuning method. Fine-tuning means making a few careful changes to an already trained model instead of training a completely new one.

Spec²R does three things:

  1. It discourages the model from adding more high-frequency noise as information passes through the layers.
  2. It encourages the model to keep the overall direction and structure of its image patterns stable.
  3. It tries to preserve the model’s original classification behavior.

Importantly, the researchers changed only:

  • The MLP layers.
  • The final classification layer.

They left the attention layers frozen, meaning those layers were not changed.

Testing the models

The researchers tested three supervised Vision Transformers:

  • DeiT-III
  • DeiT-Distilled
  • FlexiViT

They compared them with the self-supervised DINO model.

They tested several abilities, including:

  • Whether the model’s attention focused on the correct object.
  • Whether patches representing similar object parts matched across different images.
  • Whether objects could be followed in videos.
  • Whether the model could separate objects from backgrounds.
  • Whether the model remained accurate at image classification.
  • Whether it became more resistant to small attacks designed to fool it.

4. What did the researchers find?

Supervised models developed noisy patterns

The first major finding was that supervised Vision Transformers and DINO behaved differently inside their layers.

DINO gradually created smoother, more organized representations. Its patches tended to follow object boundaries.

The supervised models, however, increasingly added high-frequency variations. These acted like visual noise and disrupted the object structure.

The researchers traced much of this problem to the MLP layers.

Spec²R improved object-focused attention

After applying Spec²R, the supervised models’ attention maps became much better aligned with the actual objects in an image.

For example, instead of looking at many unrelated parts of the background, the model was more likely to focus on the animal, vehicle, or other main object.

For DeiT-III, the final-layer attention score improved by about:

  • 19.75 percentage points on one ImageNet attention test.
  • 23.12 percentage points on a PASCAL VOC object-segmentation test.

In some cases, the improved supervised models performed better than DINO on these attention tests.

Patch representations became more useful

Spec²R also helped the patch representations perform better in several tasks.

The improvements included:

  • Better matching of similar object parts in different images.
  • Better tracking of objects across video frames.
  • Better discovery of objects without being explicitly told where they were.

The largest improvements were often seen in object discovery. For example, the DeiT-III model improved by approximately:

  • 14.45 points on one PASCAL VOC test.
  • 17.81 points on another PASCAL VOC test.
  • 13.65 points on a COCO test.

FlexiViT also made very large gains in object discovery.

Classification accuracy was mostly preserved

A possible problem was that making the internal representations cleaner might damage the model’s original classification skill.

However, classification accuracy decreased by only about:

  • 0.4 percentage points for DeiT-III.
  • 0.1 percentage points for DeiT-Distilled.
  • 0.3 percentage points for FlexiViT.

This means the models became better at understanding object structure without losing much ability to answer, “What is in this image?”

The models became more resistant to attacks

The researchers also tested adversarial robustness. An adversarial attack makes tiny changes to an image that humans may not notice but that can trick an AI model.

Spec²R made the models more resistant to these attacks. The largest improvements were:

  • Up to 23.7 percentage points for DeiT-III.
  • Up to 11.0 percentage points for DeiT-Distilled.
  • Up to 9.5 percentage points for FlexiViT.

This suggests that cleaner, more organized representations may also help models avoid being fooled.

5. Why are these findings important?

The paper challenges the idea that strong object-level understanding is something only self-supervised models can develop.

It shows that supervised Vision Transformers may already contain useful object information, but that this information is partly hidden by noisy patterns added during processing. By limiting this noise, Spec²R can reveal and improve the model’s existing abilities.

The method is also practical because it does not require:

  • Training a completely new model.
  • Changing the attention layers.
  • Adding a large extra network.
  • Using a lengthy training process.

6. Simple conclusion and possible impact

In simple terms, the paper says:

Supervised Vision Transformers may understand objects better than they appear to, but their internal signals can become too noisy. Spec²R cleans up these signals so that the model’s patch representations and attention focus more clearly on objects.

This could make Vision Transformers more useful for tasks beyond ordinary image classification, such as:

  • Finding objects in pictures.
  • Matching objects across different images.
  • Tracking objects in videos.
  • Working reliably when images contain small disturbances or attacks.

The research may also help scientists understand how neural networks develop useful visual concepts. However, the method currently focuses on a particular type of noise in pretrained supervised models. Future research will need to test whether Spec²R works on more kinds of models and whether the regularization can be included during the original training process.

Practical Applications

Immediate Applications

  • Retrofit supervised Vision Transformers for dense vision tasks — Sector: software, computer vision, enterprise AI. Apply Spec²R as a lightweight post-training procedure to existing supervised ViT models. Because only the MLP layers and classification head are fine-tuned while attention parameters remain frozen, organizations can improve patch-level representations without retraining the entire model. This can support semantic correspondence, image matching, object localization, and dense feature extraction. Potential product/workflow: a model-conversion utility that takes a pretrained DeiT, FlexiViT, or similar checkpoint and outputs a Spec²R-enhanced checkpoint. Dependencies: access to representative fine-tuning data, compatible ViT architecture, and validation on the target domain. The reported evidence is strongest for ViT-B/16 models and ImageNet-like natural images.
  • Improve unsupervised object discovery and segmentation initialization — Sector: computer vision, media, robotics, retail analytics. Spec²R-enhanced patch features can be used with methods such as TokenCut to generate object proposals or foreground masks without additional pixel-level labels. The paper reports especially large gains for DeiT-III and FlexiViT on VOC and COCO object-discovery benchmarks. Potential tools: automatic foreground extraction, image catalog segmentation, visual search indexing, and proposal generation for downstream segmentation systems. Dependencies: object-discovery quality may vary with domain shift, clutter, multiple objects, or scenes unlike the evaluated datasets; masks should be treated as proposals rather than production-grade segmentation without further testing.
  • Strengthen visual tracking and video object segmentation pipelines — Sector: video analytics, surveillance, sports, robotics. Use Spec²R patch embeddings as appearance features for frame-to-frame association, region propagation, and video object segmentation. The reported improvements on DAVIS and MOSE indicate better region and contour consistency. Potential workflow: replace the feature extractor in an existing tracker or segmentation system with a Spec²R-adjusted ViT while leaving the tracking head unchanged. Dependencies: temporal stability was evaluated on benchmark datasets, not all real-world conditions. Occlusion, motion blur, camera cuts, and domain-specific objects require separate validation.
  • Improve semantic correspondence and image matching — Sector: robotics, augmented reality, e-commerce, cultural heritage. More object-aligned patch representations can support keypoint transfer, correspondence between different instances, pose estimation, image alignment, and visual retrieval. This is directly supported by the gains on SPair-71k and PF-PASCAL. Potential products: object-aware image search, AR anchoring, product-part matching, and correspondence-based robot perception. Dependencies: performance depends on the downstream matching algorithm, image resolution, viewpoint changes, and whether the target objects resemble the training distribution.
  • Increase adversarial robustness of deployed image classifiers — Sector: cybersecurity, safety-critical computer vision, trustworthiness. Spec²R can be used as a low-cost hardening step for supervised ViT classifiers. The paper reports substantial improvements under APGD-CE attacks, with maximum gains of 23.7 percentage points for DeiT-III, while clean top-1 accuracy decreases by approximately 0.1–0.4 points. Potential workflow: apply Spec²R during model certification or before deployment in image moderation, industrial inspection, access control, or autonomous systems. Dependencies: the reported robustness applies to the tested attack family and perturbation budgets. It should not be interpreted as universal robustness; adaptive, physical-world, distribution-shift, and other attack types require evaluation.
  • Create interpretable attention-based diagnostics — Sector: model debugging, compliance, human–AI interaction. Improved object alignment in CLS-token attention maps can make attention visualizations more useful for diagnosing whether a model focuses on relevant image regions. This may support error analysis, dataset auditing, and human review. Potential tools: attention-map dashboards, object-focused explanations, and automated checks for background reliance. Dependencies: attention alignment is not equivalent to causal explanation. These maps should supplement, not replace, attribution and reliability analyses.
  • Use spectral analysis as a model-auditing workflow — Sector: academia, ML engineering, governance. The paper’s Fourier-based radial and angular measurements can be implemented to identify whether intermediate ViT representations accumulate high-frequency spatial variation. Teams can use these diagnostics when comparing architectures, checkpoints, or fine-tuning recipes. Potential workflow: monitor radial moment trajectories across blocks and flag models whose MLP branches introduce excessive high-frequency content. Dependencies: the analysis requires spatially arranged patch tokens, a meaningful reference representation, and careful normalization. Thresholds for “excessive” frequency growth are not established universally.
  • Reduce the cost of domain adaptation for pretrained vision models — Sector: edge AI, industrial inspection, healthcare imaging. Since Spec²R updates only a subset of parameters, it may provide a parameter-efficient alternative to full fine-tuning when a pretrained supervised ViT has adequate classification behavior but poor spatial features. Potential product: a low-memory adaptation service or adapter checkpoint distributed separately from the base model. Dependencies: the paper does not directly evaluate medical, industrial, or other specialized domains. Data privacy, calibration, class imbalance, and domain-specific safety testing remain necessary.
  • Support teaching and research on emergent visual representations — Sector: academia and education. The method provides a compact experimental setting for studying how MLP and attention branches shape spatial frequency, object alignment, robustness, and transfer. Researchers can reproduce the comparison between supervised and self-supervised ViTs without training large models from scratch. Potential outputs: laboratory exercises, visualization notebooks, and reproducible benchmarks for representation analysis. Dependencies: the malformed portions of the supplied LaTeX and incomplete reference material would need correction before direct reproduction; code, exact hyperparameters, and pretrained checkpoints are also required.

Long-Term Applications

  • Object-centric perception for autonomous robots and vehicles — Sector: robotics, autonomous systems. Spec²R-like representations could improve object discovery, correspondence, tracking, and attention localization in navigation and manipulation systems. A robot could use object-aligned patch tokens to maintain object identity across viewpoints or to initialize grasping and interaction modules. Dependencies: deployment requires testing under 3D viewpoint changes, illumination variation, occlusion, sensor noise, and real-time constraints. The reported 2D benchmark improvements do not yet establish safety or reliability for autonomous control.
  • Dense perception in healthcare imaging — Sector: healthcare. Better spatial organization of patch features could assist weakly supervised lesion localization, anatomical correspondence, surgical-video tracking, and region proposal generation when pixel-level labels are scarce. Dependencies: this is a prospective use rather than a demonstrated clinical result. Medical images differ substantially from ImageNet; clinical validation, subgroup analysis, calibration, regulatory review, and protection against missed or spurious lesions are essential.
  • Safety-enhanced visual inspection in critical infrastructure — Sector: manufacturing, energy, transportation. Robust and object-aligned ViTs could be used for defect localization, equipment monitoring, infrastructure inspection, and anomaly triage. Improved representations may help distinguish defects from background texture while adversarial robustness may reduce vulnerability to manipulated imagery. Dependencies: industrial defects can be high-frequency by nature, so indiscriminately suppressing high-frequency components could remove useful information. The regularizer must therefore be adapted and validated for each inspection domain.
  • Integrate spectral regularization into end-to-end pretraining — Sector: foundation models and ML infrastructure. Instead of post-hoc fine-tuning, future systems could include radial non-expansion and angular-preservation objectives during supervised ViT training. This could produce models with strong classification accuracy and dense features from the outset. Dependencies: joint training may alter optimization dynamics, increase computational cost, and create conflicts between useful high-frequency detail and object-level smoothness. The appropriate loss weights and layer-specific schedules remain open research questions.
  • Develop architecture-agnostic spectral adapters — Sector: software platforms, model compression, edge deployment. The central idea could be generalized to hierarchical vision transformers, hybrid CNN–ViT models, multimodal encoders, and variable-resolution architectures. Lightweight spectral adapters could be stored and applied per task or domain without changing the base model. Dependencies: the method currently assumes a regular spatial patch grid and transformer residual blocks. Convolutional features, irregular tokens, multi-scale pyramids, and multimodal token spaces require new definitions of frequency and spatial correspondence.
  • Improve multimodal vision-LLMs — Sector: search, accessibility, document intelligence, generative AI. Object-aligned visual tokens could improve region grounding, referring-expression resolution, visual question answering, image caption grounding, and document-region retrieval. A vision-LLM might benefit from more spatially coherent visual inputs without full multimodal retraining. Dependencies: better visual alignment does not automatically improve language grounding. Evaluation must measure hallucination, fine-grained localization, OCR performance, and alignment between visual tokens and generated text.
  • Create standardized representation-quality and robustness certification — Sector: policy, standards, AI governance. The combination of spectral diagnostics, attention alignment, downstream transfer, and adversarial testing could form part of a certification protocol for visual models. Regulators or internal governance teams could require evidence that models do not rely excessively on background artifacts and retain performance under specified perturbations. Dependencies: attention alignment is only a proxy, and benchmark gains may not generalize. Standards would need domain-specific thresholds, adaptive attack testing, demographic and geographic coverage, and independent reproducibility requirements.
  • Use spectral trajectories for automated model selection and monitoring — Sector: MLOps and cloud AI. Radial moment trajectories could become monitoring signals during training, fine-tuning, or continual learning. An MLOps system might detect representation drift when high-frequency content grows abnormally and automatically trigger regularization, rollback, or evaluation. Dependencies: a high radial moment is not inherently harmful; fine texture can be semantically important. Operational thresholds must be learned from task-specific baselines, and monitoring must account for data distribution changes.
  • Apply the method to privacy-preserving and low-label learning workflows — Sector: public-sector analytics, education, small businesses. Parameter-efficient refinement could make pretrained models more useful when organizations cannot collect large labeled datasets or cannot afford full retraining. Improved object discovery and correspondence may reduce the need for dense annotation. Dependencies: unlabeled or weakly labeled target data must still be available, and pretrained-model licensing, privacy, and memorization risks must be addressed. Gains observed with ImageNet-derived models may not transfer to sensitive or highly specialized data.

Overall, the most immediately practical contribution is a post-training enhancement pipeline for supervised ViTs: diagnose spectral growth, fine-tune MLP layers and the classification head with Spec²R, and then reuse the resulting features for object discovery, correspondence, tracking, and robustness-oriented deployment. The longer-term opportunity is to establish spectral behavior as a controllable design principle for general-purpose visual representation learning.

Glossary

  • Adversarial robustness: The ability of a model to maintain performance when inputs are deliberately modified by small perturbations. “while improving adversarial robustness and preserving competitive classification accuracy.”
  • Angular spectrum: The distribution of Fourier spectral amplitude across spatial orientations. “The radial and angular spectra are then defined by choosing appropriate interval sets”
  • Attention alignment: The degree to which attention maps correspond to relevant object regions or boundaries. “Spec\textsuperscript{2}R improves attention alignment across all three supervised models on both benchmarks.”
  • Attention map: A spatial representation showing how strongly an attention mechanism weights different image regions. “object-aligned patch representations and attention maps”
  • AUC (area under the curve): A summary measure of performance across a range of operating points, such as perturbation strengths. “These gains are also reflected in higher AUC scores for all three models”
  • Cosine distance: A dissimilarity measure derived from the angle between two vectors, commonly defined as one minus cosine similarity. “we minimize the cosine distance between normalized angular spectra”
  • Cosine similarity: A measure of similarity between vectors based on the cosine of the angle between them. “we measure the cosine similarity between sum-normalized angular spectra”
  • CLS token: A special transformer token whose representation is used to summarize an input for classification. “Qualitative comparison of final-layer CLS-token attention.”
  • Correct Localization (CorLoc): The percentage of images for which a predicted object bounding box sufficiently overlaps the ground-truth box. “We report Correct Localization (CorLoc), measuring the percentage of images in which the predicted object bounding box overlaps the ground-truth box with an IoU of at least 0.5.”
  • Data augmentation: Transformations applied to training examples to increase variation and improve generalization. “DeiT-III introduced a simplified augmentation-based training recipe.”
  • Dense feature map: A spatially organized collection of feature vectors representing many or all image locations. “reducing artifacts in dense feature maps.”
  • Distillation: Training a model to reproduce information or predictions generated by another model, called the teacher. “DeiT-Distilled uses knowledge distillation from a CNN teacher through an additional token.”
  • Emergent property: A capability or structural characteristic that arises from training without being directly imposed. “While self-supervised ViTs often demonstrate emergent properties”
  • Embedding dimension: The number of numerical components used to represent each token or feature vector. “where tt is the number of patch tokens and dd is the embedding dimension.”
  • Energy Pointing Game (EPG): An evaluation metric measuring the fraction of attention energy located inside a ground-truth object box. “The Energy Pointing Game (EPG)~\cite{wang2020score} on ImageNet-1K~\cite{imagenet} measures the fraction of attention concentrated within ground-truth object bounding boxes”
  • Fourier analysis: The analysis of a signal in terms of its frequency components. “we use Fourier analysis to study the spectral dynamics of patch representations”
  • Fourier amplitude spectrum: The magnitudes of the coefficients produced by a Fourier transform, indicating the strength of different frequencies. “the two-dimensional Fourier amplitude spectrum.”
  • Fourier transform: A mathematical operation that converts a signal from a spatial or temporal representation into a frequency representation. “Let F2D(Z)\mathcal{F}_{2D}(\boldsymbol{Z}) denote the 2D Fourier transform of a spatial representation Z\boldsymbol{Z}”
  • Foreground intersection-over-union (IoU): The ratio of the overlap area to the union area between predicted and ground-truth foreground regions. “measuring intersection-over-union (IoU) between attention-based foreground masks and ground-truth segmentation masks.”
  • High-frequency variation: Rapid spatial changes in a representation, often associated with fine-grained noise or artifacts. “MLP layers in supervised ViTs introduce high-frequency variations into patch representations”
  • Image-level supervision: Training supervision provided for an entire image rather than for individual patches or pixels. “such as object-aligned patch representations and attention maps, while supervised ViTs typically lack these properties”
  • Intersection-over-union (IoU): A measure of overlap between two regions, calculated as their intersection divided by their union. “We report Correct Localization (CorLoc), measuring the percentage of images in which the predicted object bounding box overlaps the ground-truth box with an IoU of at least 0.5.”
  • Kullback–Leibler divergence: A measure of how one probability distribution differs from another. “we use the Kullback-Leibler divergence~\cite{hinton2015distilling} between the output probability distributions of the fine-tuned and original models”
  • Knowledge distillation: A training method in which a student model learns from the outputs or representations of a teacher model. “DeiT-Distilled uses knowledge distillation from a CNN teacher through an additional token.”
  • MLP branch: The multilayer-perceptron component of a transformer block that transforms token representations independently or primarily through feature dimensions. “We trace this difference to the MLP layers of supervised ViTs.”
  • Object discovery: The task of locating or separating objects without requiring object-level labels during representation learning. “Object discovery assesses the ability to identify structured object regions from patch representations.”
  • Object-aligned representation: A feature representation whose spatial organization corresponds closely to the boundaries or regions of objects. “Spec\textsuperscript{2}R recovers object-aligned patch representations and attention maps”
  • Patch representation: A learned feature vector associated with an image patch or patch token. “Supervised ViTs are known to produce lower-quality attention maps than their self-supervised counterparts”
  • Patch token: A transformer token representing a localized image patch. “ViTs represent images as sequences of patch tokens”
  • PCA (principal component analysis): A dimensionality-reduction method that identifies orthogonal directions capturing the greatest variance in data. “For each image, we identify the dominant feature directions of the final-layer patch representations Xk\boldsymbol{X}_k through PCA”
  • Percentage of Correct Keypoints (PCK): A metric measuring the proportion of predicted keypoints that fall within a specified distance threshold of their correct locations. “we measure the Percentage of Correct Keypoints (PCK)~\cite{yang2012articulated} on SPair-71k”
  • Positional embedding: A learned or fixed vector encoding the spatial position of a token in a transformer input. “Denoising Vision Transformers~\cite{yang2024denoising} attributed grid-like patterns in patch representations to positional embeddings structure.”
  • Radial moment: A statistic summarizing the expected radial spatial frequency of a spectral distribution. “We refer to the resulting sequence (μr(i))i=0k(\mu_r^{(i)})_{i=0}^k as the radial moment trajectory”
  • Radial spectrum: The distribution of spectral amplitude over spatial-frequency magnitudes. “The radial spectrum Φr\Phi_r quantifies how spectral amplitude is distributed between low and high spatial frequencies”
  • Residual branch: A transformer subnetwork whose output is combined with an existing representation through a residual connection. “To identify which components of each ViT block FiF_i contribute to changes in the radial moment trajectory, we measure the difference in radial moment before and after each residual branch”
  • Residual stream: The sequence of intermediate representations passed through successive residual transformer blocks. “We refer to the sequence (Xi)i=0k(\boldsymbol{X}_i)_{i=0}^{k} as the residual stream.”
  • Self-attention: A mechanism that computes interactions between tokens using query, key, and value representations. “ViTs represent images as sequences of patch tokens, which interact through self-attention layers”
  • Self-distillation: A training strategy in which a model provides supervisory signals for itself, often across augmented views or network branches. “DINO introduced self-distillation for learning visual representations without labels”
  • Semantic correspondence: The matching of semantically equivalent parts across different images or object instances. “Semantic correspondence measures the semantic consistency of patch representations across images.”
  • Spectral amplitude: The magnitude of a signal’s representation at a given frequency. “The radial and angular spectra are then defined by choosing appropriate interval sets”
  • Spectral dynamics: The evolution of a representation’s frequency content across network layers or processing stages. “we use Fourier analysis to study the spectral dynamics of patch representations”
  • Spectral regularization: A training penalty that constrains the frequency-domain properties of learned representations. “We introduce Spec\textsuperscript{2}R, a lightweight spectral regularization method”
  • Spatial frequency: The rate at which a visual signal changes across spatial coordinates. “Since such noise corresponds to high spatial frequencies”
  • Stop-gradient operator: An operation that prevents gradients from propagating through a specified value during backpropagation. “sg[⋅]\mathrm{sg}[\cdot] denotes the stop-gradient operator”
  • Temporal tracking: The task of maintaining the identity or location of objects across video frames. “Temporal tracking evaluates instance consistency of patch representations across video frames.”
  • TokenCut: An unsupervised object-discovery method that uses transformer token features and normalized cuts to identify object regions. “we evaluate unsupervised object discovery using TokenCut~\cite{wang2022self}”
  • Unsupervised object discovery: Identifying object regions without using object-level annotations during discovery. “To assess the ability of patch representations to separate objects from the background, we evaluate unsupervised object discovery”
  • Vision Transformer (ViT): A transformer architecture that processes images as sequences of tokenized patches. “Vision Transformers (ViTs) have achieved strong performance across computer vision tasks”
  • Visual representation learning: Learning feature representations that encode useful visual information for downstream tasks. “Vision Transformers (ViTs) have become a widely adopted architecture for visual representation learning”
  • ℓ∞\ell_\infty perturbation budget: A bound on the maximum per-pixel magnitude of an adversarial perturbation. “under an ℓ∞\ell_\infty perturbation budget ϵ\epsilon ranging from $0.1/255$ to $1.0/255$.”

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 1 tweet with 263 likes about this paper.