Task-Induced Riemannian Metrics for Vision Transformer Feature Spaces
Andrew Bond, Ege E Özlü, Tuna Çimen, Ilkin U Melanlioglu, Tolga Birdal, Erkut Erdem, Aykut Erdem
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Task-Aware Representation Geometry · Type: new method · Keywords: task-induced Riemannian metrics, Vision Transformer, Jacobian approximation, low-rank learnability, spectral pullback, conformal head
Areas: LLM Reasoning › Efficient Reasoning › Attention Mechanisms
Summary
The paper proposes the Spectral Pullback Network (SPN) and a conformal head to learn task-induced Riemannian metrics for Vision Transformer features without materializing large Jacobians.
Explained to a 5-year-old
Computers look at pictures using something called Vision Transformers. They compare parts of the picture by measuring distance in a simple way that treats everything the same. But some picture parts are more important for the job, like finding a cat or a road. The paper finds a trick to learn which parts matter without doing huge calculations, and then makes a small helper that can use this trick quickly. This helps computers understand pictures better and faster.
Explained to a 5-year-old, longer
Computers can look at pictures and try to understand them. They use a special kind of network called a Vision Transformer to break the picture into pieces. To decide which piece is similar to another, they usually measure distance in a simple way that treats every direction equally. However, some directions are more important for the task, like finding a car or a person. The paper wants to find a way to learn which directions are important without doing huge math. It creates a diagnostic that tells whether a small approximation can capture the important parts. When that is possible, it trains a network on those directions and then makes a tiny helper that can use the learned rule quickly. If the important directions are too many, it uses another trick called a VAE to compress the information into a simpler space. This allows the system to work faster and use less memory. The results show that the new method can predict which directions matter very accurately and can prune unnecessary parts of the picture, improving performance. Overall, the work makes it easier for computers to focus on what truly matters when looking at images.
For a technical reader
The paper addresses the inefficiency of Euclidean distance in Vision Transformer feature spaces by learning a task-specific Riemannian metric. It introduces a diagnostic to assess low-rank learnability, trains a network on Jacobian directions, and distills it into a lightweight head, optionally using a VAE for complex spectra. Experiments across multiple backbones demonstrate high correlation with the full metric and significant gains in token pruning.
Problem
Current methods for evaluating feature similarity in Vision Transformers rely on Euclidean distance, which treats all directions equally and ignores that downstream tasks focus on a low-dimensional submanifold. Computing the true task-induced Riemannian metric via Jacobians is infeasible due to its massive size, making it impractical for real-world use.
Method
The approach approximates the task-induced Riemannian metric by learning a low-rank approximation of the Jacobian’s energy capture, using a diagnostic that measures how much of the Jacobian’s top singular directions are captured. When feasible, a network is trained on these directions and distilled into a lightweight feature-only head; otherwise a VAE reparameterization creates a latent space where the same machinery applies. This avoids materializing the full Jacobian and enables per-token scoring.
Results
The diagnostic correctly predicts which architectures succeed, achieving a Spearman correlation of 0.998 against the Jacobian-derived target on DINOv2 classification, and geometric token pruning improves performance by 25% relative to ToMe on DPT at high prune ratios.
Contributions
The paper introduces a diagnostic for low-rank learnability of task-induced metrics, a scalable network that learns which directions matter without materializing Jacobians, and a VAE reparameterization that makes dense pipelines tractable.
Limitations and assumptions
The approach relies on a low-rank budget and may not capture very rich spectra; the VAE reparameterization is only applied when the original spectrum is too complex; evaluation is limited to the listed backbones.
Practical relevance
By providing a scalable way to learn task-specific feature metrics, the work enables more efficient model analysis and pruning in computer-vision systems.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction