Task-Induced Riemannian Metrics for Vision Transformer Feature Spaces
Not on the map. Why?
Abstract (arXiv)
Methods operating on Vision Transformer (ViT) feature spaces typically rely on Euclidean distance or cosine similarity. This assumes that every direction is equally meaningful, but there is no reason to believe the true task geometry has this property. The task-sensitive geometry of the feature space is given by the pullback metric g(F) = J(F)^top J(F), where J is the Jacobian of the decoder's output fed to a task-specific distance, with respect to the features. Storing the full g is infeasible at modern scales, and for dense outputs such as depth maps even forming J is impractical. We show that whether a low-rank approximation of this metric can be learned depends on the model-decoder pair, and we characterize this with a matrix-free diagnostic kappacap(r) computable with a low number of Jacobian-vector products. For tractable pairs, we develop the Spectral Pullback Network (SPN), which learns a low-rank version of the metric from randomized power iteration, and we distill it into a 310K-parameter importance head that predicts token importance directly from the features. When the Jacobian spectrum is too spread out for a low-rank approximation, passing the decoder's input features through a VAE bottleneck can restore tractability. Across DPT, DINOv2, CLIP, and VGGT backbones, kappacap(r) predicts which learned-metric architectures are viable. The importance head reaches Spearman ρ = 0.998 on DINOv2 CLS, and our geometric token pruning reduces the additional depth error of ToMe-based token selection by 25% on DPT depth at prune ratio 0.5, without fine-tuning the ViT. Project page: https://cyberiada.github.io/TaskInducedViTs/
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 33 of its 52 references that are in the map. First posted on arXiv 23 Sep 2026.
Builds on
33 of 52 references.
References · 33
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2023DINOv2: Learning Robust Visual Features without Supervisioncited by 7,974
- 2022Flow Matching for Generative Modelingcited by 5,702
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
- 2021Vision Transformers for Dense Predictioncited by 1,803
- 2025VGGT: Visual Geometry Grounded Transformercited by 1,539
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
21 more
- 2024Depth Anything V2cited by 1,422
- 2020Energy-based Out-of-distribution Detectioncited by 1,299
- 2017SmoothGrad: removing noise by adding noisecited by 1,109
- 2022Token Merging: Your ViT But Fastercited by 1,021
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 864
- 2020Quantifying Attention Flow in Transformerscited by 775
- 2022Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizationscited by 363
- 2021AdaViT: Adaptive Tokens for Efficient Vision Transformercited by 362
- 2023Flow Matching on General Geometriescited by 265
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 243
- 2017Latent Space Oddity: on the Curvature of Deep Generative Modelscited by 174
- 2023Understanding the Latent Space of Diffusion Models through the Lens of Riemannian Geometrycited by 125
- 2020The Power Spherical distributioncited by 27
- 2021Data Augmentation in High Dimensional Low Sample Size Setting Using a Geometry-Based Variational Autoencodercited by 27
- 2022Riemannian Metric Learning via Optimal Transportcited by 21
- 2024Token Cropr: Faster ViTs for Quite a Few Taskscited by 19
- 2025A Review on Riemannian Metric Learning: Closer to You than You Imaginecited by 13
- 2021A singular Riemannian geometry approach to Deep Neural Networks I. Theoretical foundationscited by 11
- 2023TaskMet: Task-Driven Metric Learning for Model Learningcited by 11
- 2026Beyond Gaussian Bottlenecks: Topologically Aligned Encoding of Vision-Transformer Feature Spacescited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Geometry-aware similarity metrics for neural representations on Riemannian and statistical manifolds
- 2026Beyond Rigid Geometries: The Spline-Pullback Metric for Universal Diffeomorphic SPD Representation Learning
- 2026Understanding Geometric Representations in Self-Supervised Vision Transformers via Subspace Intervention
- 2026Spectral Superposition: A Theory of Feature Geometry
- 2026Geometric Similarity in VLM Low-Level Vision Representations
- 2026Learning Point Cloud Geometry as a Statistical Manifold: Theory and Practice ↗
- 2025From Per-Image Low-Rank to Encoding Mismatch: Rethinking Feature Distillation in Vision Transformers
- 2026Seeing Is Not Measuring: Tool-Augmented Metric Spatial Reasoning for Vision-Language Models