DiRGeo: Learning Directional Geometry of Visual Representations
Organizations: Department of Computer Science, University of Nebraska Omaha
Abstract
Conventional geometric measures of visual representations are symmetric, assigning equal costs to forward and reverse motion along the same path. We propose DiRGeo, a framework for learning directional geometry over frozen visual representations. Grounded in Randers geometry, DiRGeo learns a state-dependent directional field from ordered image trajectories through self-supervised contrast, without semantic labels. Sphere-tangent correction and attractor-relative decomposition distinguish learned directional structure from normalization artifacts and common convergence. Experiments across 17 visual processes, three encoder families, and multiple representation depths demonstrate consistent directional discrimination and whole-path asymmetry beyond simple attractor-based explanations. The learned fields become increasingly process-specific in deeper representations, while natural-video experiments reveal event-dependent directional preferences. As functional validation, DiRGeo guides restoration selection. These results establish directional geometry as a useful complement to symmetric representation analysis.
Figures & tables
| Trajectory group | Reverse (%) | Shuffled (%) | |
|---|---|---|---|
| Global appearance | 84.8–100.0 | 76.0–100.0 | 0.129–0.962 |
| Object-level | 64.1–92.7 | 56.5–78.2 | 0.014–0.413 |
| Matched controls | 67.6–99.8 | 59.5–82.7 | 0.036–0.585 |
| Trajectory group | Residual (%) | (pp) | DiRGeo wins |
|---|---|---|---|
| Global appearance | 81.6–99.8 | +7.4 to +45.6 | 80/80 |
| Object-level | 54.8–78.8 | +1.2 to +27.8 | 24/40 |
| Matched controls | 59.3–85.8 | +4.4 to +30.3 | 28/50 |
| Full field | Residual field | |||||
|---|---|---|---|---|---|---|
| Encoder | L4 | L8 | L12 | L4 | L8 | L12 |
| CLIP | 0.66 | 0.48 | 0.25 | 0.48 | 0.37 | 0.23 |
| DINOv2 | 0.81 | 0.55 | 0.16 | 0.57 | 0.45 | 0.16 |
| Supervised ViT | 0.74 | 0.42 | 0.15 | 0.53 | 0.36 | 0.15 |
| Video event | Insert | Grow | Enter |
|---|---|---|---|
| Approach | |||
| Recede | |||
| Ordinary motion | |||
| Static |
| Selection score | Colour top-1 (%) |
|---|---|
| Learned field + penalties | 31.8 |
| Fitted sink + penalties | 27.8 |
| Learned field only | 21.4 |
| MUSIQ | 18.2 |
| BRISQUE | 9.1 |
| NIQE | 8.8 |
Appendix figures & tables48 assets
Supplementary material from the paper’s appendix.
Appendix
| Representation | Trajectory group | Reverse | Shuffled | Random |
|---|---|---|---|---|
| CLIP L4 | Global appearance | 100.0 | 99.2 | 100.0 |
| Object dataset | 92.0 | 67.0 | 91.5 | |
| CLIP L8 | Global appearance | 100.0 | 99.7 | 100.0 |
| Object dataset | 88.3 | 71.9 | 87.7 | |
| CLIP L12 | Global appearance | 99.9 | 97.6 | 99.8 |
| Object dataset | 80.7 | 69.0 | 79.5 |
| CLIP | DINOv2 | Supervised ViT | ||||||||
| Family | L4 | L8 | L12 | Emb. | L4 | L8 | L12 | L4 | L8 | L12 |
| Global appearance transformations | ||||||||||
| Blur | 100.0 | 100.0 | 100.0 | 99.9 | 100.0 | 100.0 | 99.2 | 100.0 | 100.0 | 100.0 |
| Noise | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 100.0 | 99.4 | 100.0 | 100.0 | 99.9 |
| JPEG | 100.0 | 100.0 | 99.8 | 99.8 | 100.0 | 99.7 | 91.5 | 99.9 | 99.8 | 99.4 |
| Brightness | 100.0 | 100.0 | 99.9 | 99.8 | 100.0 | 99.8 | 84.8 | 100.0 | 100.0 | 99.9 |
| CLIP | DINOv2 | Supervised ViT | ||||||||
| Family | L4 | L8 | L12 | Emb. | L4 | L8 | L12 | L4 | L8 | L12 |
| Global appearance transformations | ||||||||||
| Blur | 99.7 | 99.6 | 99.2 | 99.0 | 99.3 | 99.1 | 96.8 | 100.0 | 99.5 | 98.6 |
| Noise | 100.0 | 99.9 | 98.2 | 96.9 | 100.0 | 99.9 | 96.1 | 100.0 | 100.0 | 97.9 |
| JPEG | 94.4 | 99.8 | 97.5 | 97.3 | 87.8 | 93.2 | 83.6 | 87.0 | 98.3 | 95.3 |
| Brightness | 99.9 | 99.9 | 98.2 | 97.1 | 99.8 | 95.1 | 76.0 | 100.0 | 100.0 | 98.6 |
| CLIP | DINOv2 | Supervised ViT | ||||||||
| Family | L4 | L8 | L12 | Emb. | L4 | L8 | L12 | L4 | L8 | L12 |
| Global appearance transformations | ||||||||||
| Blur | 32.7 | 23.4 | 9.2 | 7.4 | 30.4 | 33.4 | 31.8 | 37.8 | 28.5 | 28.2 |
| Noise | 18.6 | 31.3 | 37.7 | 30.3 | 24.3 | 21.0 | 40.8 | 24.3 | 13.7 | 38.8 |
| JPEG | 20.9 | 16.2 | 19.6 | 13.5 | 27.1 | 30.2 | 28.9 | 28.6 | 31.1 | 36.0 |
| Brightness | 24.9 | 21.8 | 32.0 | 25.0 | 38.2 | 40.8 | 24.7 | 30.3 | 22.7 | 36.5 |
| CLIP | DINOv2 | Supervised ViT | ||||||||
| Family | L4 | L8 | L12 | Emb. | L4 | L8 | L12 | L4 | L8 | L12 |
| Global appearance transformations | ||||||||||
| Blur | 96.1 | 99.0 | 98.5 | 97.6 | 96.8 | 98.3 | 97.2 | 97.0 | 99.2 | 98.8 |
| Noise | 90.0 | 99.5 | 98.8 | 97.2 | 95.8 | 99.7 | 96.6 | 95.9 | 99.8 | 98.7 |
| JPEG | 91.9 | 99.0 | 97.0 | 96.4 | 91.5 | 94.6 | 85.0 | 88.7 | 98.9 | 96.7 |
| Brightness | 95.8 | 99.8 | 98.6 | 97.0 | 98.7 | 97.8 | 81.6 | 97.5 | 99.4 | 98.8 |
| CLIP | DINOv2 | Supervised ViT | ||||||||
| Family | L4 | L8 | L12 | Emb. | L4 | L8 | L12 | L4 | L8 | L12 |
| Global appearance transformations | ||||||||||
| Blur | 21.0 | 11.9 | 6.7 | 6.2 | 23.0 | 29.0 | 31.1 | 24.8 | 13.4 | 23.8 |
| Noise | 9.1 | 12.6 | 25.9 | 19.2 | 15.7 | 9.4 | 37.7 | 10.9 | 4.8 | 35.3 |
| JPEG | 20.9 | 5.0 | 11.9 | 9.3 | 16.2 | 26.3 | 27.6 | 21.6 | 25.5 | 31.3 |
| Brightness | 24.9 | 18.9 | 28.3 | 21.8 | 38.2 | 37.4 | 24.6 | 30.3 | 21.1 | 36.5 |
| CLIP | DINOv2 | Supervised ViT | ||||||||
| Family | L4 | L8 | L12 | Emb. | L4 | L8 | L12 | L4 | L8 | L12 |
| Global appearance transformations | ||||||||||
| Blur | 42 | 36 | 29 | 37 | 45 | 29 | 9 | 50 | 35 | 17 |
| Noise | 63 | 40 | 22 | 27 | 68 | 46 | 7 | 63 | 42 | 20 |
| JPEG | 38 | 27 | 12 | 16 | 62 | 33 | 8 | 52 | 27 | 16 |
| Brightness | 46 | 35 | 25 | 29 | 44 | 34 | 12 | 52 | 31 | 13 |
| Pure convergence | Convergence + local field | |||
| Field | Reverse | Shuffled | Reverse | Shuffled |
| Learned MLP field | 100.0 | 60.3 | 100.0 | 100.0 |
| Fitted spherical sink | 100.0 | 62.3 | 100.0 | 59.4 |
| Learned straight-line sink | 100.0 | 62.3 | 100.0 | 59.4 |
| Center-of-sphere sink | 50.0 | 50.0 | 50.0 | 50.0 |
| Residual: fitted spherical sink removed | 49.8 | 50.0 | 100.0 | 100.0 |
| Representation | Insert–Enter | Insert–Grow | Grow–Enter | Insert–Colour | Insert–Blob | Grow–Blob | Enter–Blob |
|---|---|---|---|---|---|---|---|
| CLIP L4 | 0.66 | 0.65 | 0.78 | -0.03 | 0.29 | 0.29 | 0.30 |
| CLIP L8 | 0.48 | 0.54 | 0.59 | -0.04 | 0.20 | 0.23 | 0.22 |
| CLIP L12 | 0.25 | 0.26 | 0.29 | -0.03 | 0.09 | 0.03 | 0.03 |
| CLIP embedding | 0.30 | 0.32 | 0.34 | -0.04 | 0.09 | 0.03 | 0.05 |
| DINOv2 L4 | 0.81 | 0.82 | 0.88 | 0.01 | 0.26 | 0.18 | 0.26 |
| DINOv2 L8 | 0.55 | 0.56 | 0.64 | -0.04 | 0.24 | 0.26 | 0.25 |
| Representation | Insert–Enter | Insert–Grow | Grow–Enter | Insert–Colour | Insert–Blob | Grow–Blob | Enter–Blob |
|---|---|---|---|---|---|---|---|
| CLIP L4 | 0.48 | 0.50 | 0.63 | -0.05 | 0.27 | 0.30 | 0.28 |
| CLIP L8 | 0.37 | 0.44 | 0.48 | -0.04 | 0.18 | 0.23 | 0.22 |
| CLIP L12 | 0.23 | 0.24 | 0.26 | -0.03 | 0.10 | 0.07 | 0.07 |
| CLIP embedding | 0.28 | 0.29 | 0.31 | -0.03 | 0.11 | 0.07 | 0.08 |
| DINOv2 L4 | 0.57 | 0.60 | 0.68 | -0.09 | 0.31 | 0.27 | 0.27 |
| DINOv2 L8 | 0.45 | 0.48 | 0.55 | -0.08 | 0.20 | 0.24 | 0.23 |
| CLIP | DINOv2 | Supervised ViT | ||||||||
| Family | L4 | L8 | L12 | Emb. | L4 | L8 | L12 | L4 | L8 | L12 |
| Global appearance transformations | ||||||||||
| Blur | .918 | .748 | .499 | .519 | .914 | .780 | .264 | .942 | .727 | .402 |
| Noise | .921 | .778 | .468 | .479 | .941 | .833 | .222 | .946 | .820 | .489 |
| JPEG | .770 | .593 | .332 | .363 | .824 | .737 | .129 | .807 | .734 | .372 |
| Brightness | .908 | .780 | .547 | .554 | .920 | .830 | .278 | .940 | .831 | .564 |
| Metric | Control higher | Object higher | Unresolved |
|---|---|---|---|
| Reverse accuracy | 49 | 1 | 0 |
| Shuffled accuracy | 23 | 5 | 22 |
| Chord-based | 48 | 1 | 1 |
| s stride | s stride | |||
|---|---|---|---|---|
| Event | Windows | Videos | Windows | Videos |
| Approach | 273 | 6 | 107 | 6 |
| Recede | 150 | 3 | 57 | 3 |
| Motion | 450 | 5 | 203 | 5 |
| Static | 408 | 4 | 187 | 3 |
| Field group | Cases | Chord-based range | CI above zero | CI below zero |
|---|---|---|---|---|
| Global appearance | 240 | 15 | 13 | |
| Object-level | 120 | 11 | 5 | |
| Matched controls | 150 | 12 | 21 | |
| All groups | 510 | 38 | 39 |
| Stride | Event | Insert | Grow | Enter |
|---|---|---|---|---|
| s | Approach | |||
| Recede | ||||
| Ordinary motion | ||||
| Static | ||||
| s | Approach | |||
| Recede |
| Event | Video ID | Insert | Grow | Enter | Windows |
|---|---|---|---|---|---|
| Approach | 12503985 | 9 | |||
| 14241144 | 4 | ||||
| 16011564 | 59 | ||||
| 16235000 | 9 | ||||
| 16359676 | 14 | ||||
| 16905315 | 12 |
| Stride | Order | Approach | Recede |
|---|---|---|---|
| s | Observed | ||
| Shuffled | |||
| s | Observed | ||
| Shuffled |
| Video training order | Mean reverse accuracy (%) | Chord-based range | CI excludes zero |
|---|---|---|---|
| Observed | 63.3 | 4/30 | |
| Reversed | 62.3 | 0/30 | |
| Random | 65.6 | 2/30 |
| Degradation | Candidate constructions | Count |
|---|---|---|
| Blur | Richardson–Lucy: 3, 10, 30, 100 iterations | 4 |
| Wiener: 0.3, 0.1, 0.03, 0.01 | 4 | |
| Unsharp mask: 50, 150, 300, 600% | 4 | |
| Colour cast | Inverse correction: , 0.75, 1.0, 1.25, 1.5 | 5 |
| Gray world, white patch, contrast stretch | 3 |
| Scorer | Top-1 (%) | Percentile | Spearman PSNR |
|---|---|---|---|
| Learned + sink penalties | .716 | .602 | |
| Sink-only + sink penalties | .693 | .587 | |
| Own learned path only | .605 | .467 | |
| Own sink path only | 18.7 | .588 | .469 |
| Learned + learned-field penalties | 23.6 | .578 | .331 |
| MUSIQ | .563 | .365 |
| Cast | Learned (%) | Sink-only (%) | Paired gain [95% CI] | Representations with CI |
|---|---|---|---|---|
| Red | 31.4 | 27.3 | 5/10 | |
| Cyan | 35.1 | 30.1 | 7/10 | |
| Blue | 27.6 | 24.6 | 5/10 | |
| Yellow | 33.2 | 29.3 | 4/10 | |
| All casts | 31.8 | 27.8 | 6/10 |
| Candidate | Best by PSNR | Learned + penalties | Sink-only + penalties | Own learned path | MUSIQ |
|---|---|---|---|---|---|
| Inverse | 0 | 0.2 | 0.5 | 0.0 | 27.8 |
| Inverse | 0 | 2.1 | 3.0 | 0.6 | 16.2 |
| Inverse | 100 | 31.4 | 27.3 | 18.7 | 10.5 |
| Inverse | 0 | 16.1 | 13.6 | 14.9 | 7.8 |
| Inverse | 0 | 6.0 | 4.2 | 31.6 | 3.8 |
| Gray world | 0 | 2.4 | 3.4 | 1.1 | 5.2 |
| Scorer | Top-1 (%) | Percentile | Spearman [95% CI] | Level 2 | Level 3 |
|---|---|---|---|---|---|
| Learned + sink penalties | 12.2 | .529 | .127 | .201 | |
| Sink-only + sink penalties | 10.6 | .559 | .259 | .266 | |
| Own learned path only | 5.0 | .339 | -.055 | -.095 | -.014 |
| NIQE | 5.5 | .496 | .108 | .421 | -.205 |
| BRISQUE | 1.2 | .212 | -.023 | .159 | -.205 |
| MUSIQ | 0.2 | .130 | -.397 | -.327 | -.467 |
| Representation | Learned | Sink | Residual |
|---|---|---|---|
| CLIP L4 | 85.1 | 87.0 | 82.6 |
| CLIP L8 | 82.4 | 87.3 | 74.8 |
| CLIP L12 | 86.0 | 91.3 | 77.9 |
| CLIP embedding | 85.6 | 89.8 | 75.1 |
| DINOv2 L4 | 85.1 | 81.9 | 82.2 |
| DINOv2 L8 | 67.0 | 68.3 | 62.0 |
| Scorer | Blur Spearman | Colour Spearman | Colour top-1 (%) |
|---|---|---|---|
| Learned direction | .297 | .444 | 2.5 |
| Sink direction | .344 | .530 | 6.9 |
| Learned path | -.021 | .468 | 23.0 |
| Sink path | -.114 | .467 | 18.2 |
| Nearest to degraded | .392 | -.055 | 0.0 |
| BRISQUE | -.058 | .044 | 7.8 |
| Own term / penalty source | Top-1 (%) | Percentile | Spearman |
|---|---|---|---|
| Learned / none | 23.0 | .607 | .468 |
| Sink / none | 18.2 | .580 | .467 |
| Learned / learned | 25.1 | .579 | .322 |
| Learned / sinks | 32.6 | .714 | .600 |
| Sink / sinks | 28.0 | .687 | .585 |
| Learned / residuals | 21.4 | .523 | .204 |
| Setting and comparison | Metric | Pooled gain | Representations with CI |
|---|---|---|---|
| Colour: learned vs. sink-only | Top-1 | points | 6/10 |
| Percentile | 6/10 | ||
| Spearman | 6/10 | ||
| Colour: penalties vs. own learned path | Top-1 | points | 10/10 |
| Colour: learned vs. BRISQUE | Top-1 / Spearman | / | 10/10 / 10/10 |
| Colour: learned vs. MUSIQ | Top-1 / Spearman | / | 8/10 / 10/10 |
| CLIP | DINOv2 | Supervised ViT | ||||||||
| Family | L4 | L8 | L12 | Emb. | L4 | L8 | L12 | L4 | L8 | L12 |
| Object-level processes | ||||||||||
| Insert | 1.5 | 0.3 | 6.4 | 6.5 | 1.3 | 1.6 | 14.0 | 1.2 | 1.6 | 12.2 |
| Grow | 0.6 | -1.0 | 7.3 | 5.9 | 1.0 | 1.4 | 13.9 | 0.4 | 1.9 | 10.6 |
| Enter | -0.3 | 0.1 | 5.2 | 5.0 | -0.1 | 0.9 | 9.7 | -0.1 | 1.1 | 7.8 |
| Colour | -0.2 | 0.3 | 2.4 | 2.7 | 0.1 | -0.1 | 4.1 | -0.4 | 1.5 | 3.4 |
| Family | CLIP L12 | CLIP embedding | DINOv2 L12 | Supervised ViT L12 |
|---|---|---|---|---|
| Insert | ||||
| Grow | ||||
| Enter | ||||
| Colour | ||||
| Insert blob | ||||
| Insert scramble |
| Family | CLIP L12 | Emb. | DINO L12 | ViT L12 |
|---|---|---|---|---|
| Insert | 5/5 | 5/5 | 5/5 | 5/5 |
| Grow | 5/5 | 5/5 | 5/5 | 5/5 |
| Enter | 5/4 | 5/4 | 5/5 | 5/5 |
| Colour | 5/1 | 5/1 | 5/3 | 5/2 |
| Insert blob | 4/1 | 4/1 | 5/0 | 5/1 |
| Insert scramble | 5/1 | 3/1 | 5/3 | 5/2 |
| Representations | Object-level | Controls |
|---|---|---|
| Deepest four | 16/16 | 16/20 |
| L4 | 6/12 | 6/15 |
| All ten | 26/40 | 25/50 |
| Family | CLIP L12 | Emb. | DINO L12 | ViT L12 |
|---|---|---|---|---|
| Insert | .0328 | .0358 | .0399 | .0335 |
| Grow | .0226 | .0241 | .0350 | .0254 |
| Enter | .0152 | .0186 | .0211 | .0122 |
| Colour | .0271 | .0315 | .0300 | .0253 |
| Insert blob | .0099 | .0095 | .0088 | .0157 |
| Insert scramble | .0154 | .0151 | .0191 | .0211 |
| Family | CLIP L12 | CLIP embedding | DINOv2 L12 | Supervised ViT L12 |
|---|---|---|---|---|
| Insert | ||||
| Grow | ||||
| Enter | ||||
| Colour |
| Family | Held-out family gap | Later-stage gap |
|---|---|---|
| Blur | ||
| Noise | ||
| JPEG | ||
| Brightness | ||
| Red tint | ||
| Cyan tint |
| Paths | Field | Mean [95% CI] | Mean [95% CI] | Reciprocal (%) [95% CI] |
|---|---|---|---|---|
| Original | Learned | |||
| Residual | ||||
| Fitted sink | ||||
| Unseen | Learned | |||
| Residual | ||||
| Fitted sink |
| Original paths | Unseen paths | |||||||
|---|---|---|---|---|---|---|---|---|
| Representation | Learned (%) | Fitted sink (%) | Learned (%) | Fitted sink (%) | ||||
| CLIP L4 | .00706 | .00206 | 81.7 | 0.0 | .00220 | .00188 | 47.3 | 1.0 |
| CLIP L8 | .01792 | .00977 | 73.8 | 2.2 | .00815 | .01049 | 58.7 | 1.4 |
| CLIP L12 | .02065 | .00580 | 42.2 | 0.5 | .01777 | .00427 | 35.5 | 3.2 |
| CLIP embedding | .01647 | .00489 | 41.2 | 4.2 | .01604 | .00342 | 34.4 | 4.2 |
| DINOv2 L4 | .00168 | .00056 | 52.0 | 1.0 | .00003 | .00041 | 25.7 | 0.8 |
| Example | ||
|---|---|---|
| Car | +.0121 | +.0056 |
| Dog | +.0353 | +.0064 |
| Person | +.0272 | +.0028 |
| Airplane | +.1194 | +.0372 |
| Insert-type path | Far-edge entry | Corner entry | Curved entry |
|---|---|---|---|
| Radial reveal | 33.9 / 3.1 | 38.6 / 2.7 | 36.2 / 2.9 |
| Vertical wipe | 33.8 / 2.6 | 39.3 / 2.8 | 37.5 / 2.3 |
| Pixel dissolve | 35.1 / 2.8 | 39.5 / 2.8 | 36.2 / 2.3 |
| Blur-to-sharp fade | 42.2 / 3.0 | 47.1 / 2.8 | 45.1 / 3.5 |
| New journey | Compared with | Learned (%) [95% CI] | Fitted sink (%) | Mean | Mean |
|---|---|---|---|---|---|
| Radial reveal | Original slide-in | 3.2 | .00344 | .00208 | |
| Vertical wipe | Original slide-in | 2.5 | .00278 | .00234 | |
| Pixel dissolve | Original slide-in | 3.1 | .01065 | .00325 | |
| Blur-to-sharp fade | Original slide-in | 3.5 | .00973 | .00343 | |
| Far-edge entry | Original fade-in | 2.5 | .01138 | .00374 | |
| Corner entry | Original fade-in | 2.5 | .01209 | .00436 |
| Field | Original paths: mean difference [95% CI] | Unseen paths: mean difference [95% CI] |
|---|---|---|
| Insert | ||
| Enter | ||
| Grow | ||
| Colour |
| Field | Mean [95% CI] | Mean [95% CI] | Reciprocal (%) [95% CI] |
|---|---|---|---|
| Learned | |||
| Residual | |||
| Fitted sink |
Neural Representation Geometry
Neural representation geometry studies how learned features are arranged and how that structure relates to model behavior and performance.
See all 278 papers