Imagine you’re looking at a map of a city. Usually, we think of the distance from Point A to Point B as being exactly the same as the distance from B back to A. But what if there’s a gale-force wind blowing? Suddenly, walking one way is a breeze, while the return trip is a grueling struggle.
This paper, DiRGeo, argues that the "latent spaces" inside our favorite AI vision models (like CLIP or DINOv2) aren't just static maps—they have winds. And by learning the direction of these winds, we can better understand how AI perceives visual change.
TL;DR
Most ways of measuring AI representations are symmetric—they don't care if a video is playing forward or backward. DiRGeo learns a "directional geometry" (a sort of local wind field) that reveals how AI models prioritize certain directions of visual change, like an object appearing or a scene becoming blurry. This isn't just a mathematical curiosity; it actually helps the AI pick the best way to "fix" a degraded image.
What Problem Does This Paper Address?
When an object enters a scene or the lights dim, a visual encoder (the "brain" of a vision AI) maps these changes as a trajectory through a high-dimensional mathematical space.
Standard tools for analyzing these spaces are symmetric. They use distances and angles where the "cost" of moving from state $A$ to state $B$ is the same as moving from $B$ to $A$. But visual processes are inherently asymmetric. A car entering a frame is not the same as a car leaving it, even if they pass through the same positions.
The authors tackle a fundamental question: Can we learn a geometric structure that distinguishes between these opposite motions? And more importantly, is this directionality just a fluke of how models are trained, or does it represent a deeper understanding of visual processes?
Methods
The researchers introduce DiRGeo, a framework grounded in Randers geometry (a subset of Finsler geometry).
Think of it like this:
- The Base Metric ($\alpha$): This is the standard, symmetric "distance" we all know.
- The Directional Wind ($\beta$): This is a learned, state-dependent field. If your motion aligns with the wind, the "cost" of that motion decreases. If you move against it, the cost increases.
To learn this "wind," they keep the big vision models (the encoders) frozen and train a lightweight neural network on top. They use self-supervised directional contrast: they show the model a sequence of images and tell it, "The forward direction is the 'correct' one; distinguish it from the reverse, shuffled, or random directions."
Crucially, they include a Sphere-tangent correction. Because most AI features are normalized to sit on the surface of a sphere, any movement naturally looks like it's pointing "inward." Their correction ensures they are learning meaningful visual directionality, not just a geometric artifact of normalization.
Datasets
The authors tested DiRGeo across a massive battery of 170 different combinations of encoders and visual processes:
- Global Appearance: 8 processes like increasing blur, noise, or color tints.
- Object-Level: 4 processes where objects are inserted, moved, grown, or changed in color.
- Matched Controls: "Sanity check" processes using random blobs to see if the model needs real objects to feel the "wind."
- Natural Video: 10 real-world videos to see if the geometry learned from synthetic edits transfers to the messy real world.
- Encoders: They tested three heavy hitters: CLIP, DINOv2, and a standard supervised ViT.
Key Insights and Ideas
- The Wind is Real and Reproducible: Across all encoders and processes, the models learned consistent directional preferences. They could reliably tell if a process was moving "forward" or "backward" in latent space.
- Deep Layers are Specialists: In shallow layers of a neural network, the "winds" for different processes (like "entering" vs. "growing") look very similar. But as you go deeper, the geometry becomes highly process-specific. The model's "deep" understanding of an object entering a room is geometrically distinct from its understanding of an object getting bigger.
- Beyond the "Goal": You might think the model just learns to point toward a "goal" (e.g., a clear image). The authors proved this wrong by decomposing the field. Even after removing the component pointing toward a "common attractor" (a sink), a significant, predictive directional signal remained.
- Functional Utility: This isn't just theory. They showed that DiRGeo can act as a guide for image restoration. If you have a blurry image and several "fixed" versions, DiRGeo can pick the best one by seeing which one moves most strongly "against the wind" of the blurring process.
Key Results
- Directional Discrimination: The model achieved near-perfect accuracy (often 100%) in distinguishing forward vs. reverse motion for global changes like blur. For trickier object-level changes, it still significantly outperformed chance.
- Restoration Success: In a color-correction task, DiRGeo picked the highest-quality restoration 31.8% of the time, beating out specialized no-reference quality estimators like MUSIQ (18.2%) and NIQE (8.8%).
- Natural Video Transfer: Fields trained on simple photo edits (like "make object bigger") successfully predicted the direction of motion in real videos (like "cat approaching camera"), showing that these geometric preferences capture something fundamental about the physical world.
Limitations and Future Work
- Fixed Base Metric: Currently, the authors assume the "symmetric" part of the geometry is simple Euclidean distance. Future work could involve learning both the symmetric and asymmetric parts together.
- Degradation Knowledge: For restoration, the model currently needs to know which wind to fight (e.g., "I know this image is red-tinted"). A more universal "arrow of time" field remains an open challenge.
- Generative Potential: DiRGeo currently ranks existing images. A natural next step is using these directional fields to guide generative models, literally "following the wind" to create realistic visual sequences.
Summary updated