Large Vision Models Can Solve Mental Rotation Problems

Sebastian Ray Mason, Anders Gjølbye, Phillip Chavarria Højbjerg, Lenka Tetková, Lars Kai HansenarXiv 2025

Introduction

Mental rotation—the ability to mentally manipulate 2D or 3D representations of objects—is a cornerstone of human spatial intelligence. In computer vision, the dominant paradigm has been achieving invariance, where a model recognizes an object regardless of its orientation. However, tasks like distinguishing an object from its mirror image require equivariance, where the model is sensitive to specific poses. This study investigates whether modern Large Vision Models (LVMs) implicitly learn these geometric properties during large-scale training.

Methodology

The researchers evaluated four major Vision Transformer (ViT) families: supervised ViTs (ImageNet-21K), CLIP (contrastive language-image pre-training), and self-supervised models DINOv2 and DINOv3.

To determine if these models capture spatial information, the authors employed a layer-wise probing technique. Embeddings were extracted from every layer of a "frozen" model and fed into a lightweight Siamese Network. This network was tasked with a binary classification: determining if two input images represented the same object at different rotations or a mirrored version.

The experimental pipeline for probing mental rotation capabilities in ViTs.

The evaluation spanned three dataset families:

  • Shepard-Metzler Blocks: Classic 3D block structures used in cognitive psychology.
  • Text: Rotated and flipped strings of characters (Normal, Random, and PseudoSloan), testing OCR-like spatial reasoning.
  • Photo-Realistic Scenes: 3D fruit rendered in naturalistic tabletop environments using Blender.

Key Findings: The Middle-Layer Phenomenon

A primary discovery is that spatial reasoning capabilities are not uniform across a network's depth. Performance typically peaks in the intermediate layers and significantly declines toward the final layers. This suggests that as models move toward higher-level semantic abstraction (e.g., identifying a "cat"), they actively discard the precise geometric information required for mental rotation.

Layer-wise test accuracy across different model families and datasets.

Supervision vs. Self-Supervision

The training objective plays a critical role in preserving geometric cues:

  • Supervised Models: Performed the worst. Their objective to ignore pose in favor of class labels leads to the suppression of rotation-sensitive information.
  • Self-Supervised Models (DINOv2/v3): These were the top performers. Their objective of matching local patches across different views forces the model to maintain a rich internal representation of 3D structure.
  • CLIP: Showed strong performance on text-based tasks, likely due to its exposure to diverse text-image pairs.
  • MAE: Masked Autoencoders failed to solve these tasks, indicating that pixel reconstruction alone is insufficient for learning 3D pose-sensitivity.

Results and Analysis

DINOv3 Huge emerged as the most capable model, uniquely solving the unconstrained 3D "Free" Shepard-Metzler task at layer 18. Furthermore, the models exhibited human-like constraints; performance dropped as rotation angles increased, mirroring the increased cognitive load and reaction time humans experience during mental rotation.

Visual analysis using Principal Component Analysis (PCA) revealed that in high-performing layers, embeddings for rotated objects form smooth, circular structures corresponding to the rotation angle. In layers that fail the task, these structures appear disorganized, confirming the loss of geometric coherence.

Conclusion

This research demonstrates that large-scale self-supervised training can lead to the emergence of human-like spatial reasoning "for free." However, the tendency of standard training to "forget" this information in final layers highlights a tension between semantic invariance and geometric equivariance. Future work may focus on architectural designs or training objectives that preserve these crucial 3D cues, which are vital for applications like robotics and spatial computing.

Summary updated

BibTeX
@misc{mason2025large,
  author = {Sebastian Ray Mason and Anders Gjølbye and Phillip Chavarria Højbjerg and Lenka Tetková and Lars Kai Hansen},
  title = {{Large Vision Models Can Solve Mental Rotation Problems}},
  year = {2025},
  eprint = {2509.15271},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.15271},
}
Figure