On the Intrinsic Limits of Transformer Image Embeddings in Non-Solvable Spatial Reasoning
Siyi Lyu, Quan Liu, Feng Yan
TL;DR
The paper identifies an intrinsic limit of constant-depth transformer image embeddings in handling non-solvable spatial reasoning, formalizing spatial understanding as a Group Homomorphism and linking it to the Word Problem. It shows that for groups like $SO(3)$, the Word Problem is $ ext{NC^1}$-complete, while standard ViTs operate within $ ext{TC^0}$, implying a fundamental depth-based barrier under the conjecture $ ext{TC^0} \subsetneq \text{NC^1}$. Through the Latent Space Algebra benchmark and recursive linear probing, the authors demonstrate a structural collapse in ViT representations for non-solvable transformations as compositional depth grows, while abelian cases remain tractable. The work argues that achieving genuine spatial reasoning requires architectural changes that provide deeper logical depth or explicit geometric inductive biases, with implications for safety and efficiency in embodied AI. Overall, the results reveal a principled trade-off between expressivity and depth in current transformer architectures for spatial tasks.
Abstract
Vision Transformers (ViTs) excel in semantic recognition but exhibit systematic failures in spatial reasoning tasks such as mental rotation. While often attributed to data scale, we propose that this limitation arises from the intrinsic circuit complexity of the architecture. We formalize spatial understanding as learning a Group Homomorphism: mapping image sequences to a latent space that preserves the algebraic structure of the underlying transformation group. We demonstrate that for non-solvable groups (e.g., the 3D rotation group $\mathrm{SO}(3)$), maintaining such a structure-preserving embedding is computationally lower-bounded by the Word Problem, which is $\mathsf{NC^1}$-complete. In contrast, we prove that constant-depth ViTs with polynomial precision are strictly bounded by $\mathsf{TC^0}$. Under the conjecture $\mathsf{TC^0} \subsetneq \mathsf{NC^1}$, we establish a complexity boundary: constant-depth ViTs fundamentally lack the logical depth to efficiently capture non-solvable spatial structures. We validate this complexity gap via latent-space probing, demonstrating that ViT representations suffer a structural collapse on non-solvable tasks as compositional depth increases.
