Focus Only on What's Important: Training-Free Focus Maps for Frozen Vision Transformers in Long-Video Object Segmentation
Organizations: Independent Researcher
Abstract
Vision transformers are strong but costly image encoders for video object segmentation. Training-free token merging cuts compute uniformly across the frame, including on tracked objects. We give a frozen DINOv3 ViT inside a trained Cutie head a training-free focus map: full resolution where the segmenter expects its objects and coarser merging elsewhere. Protecting only the previous frame's mask works on short clips but fails on long videos, where fast motion pushes targets outside the margin and into background merging, locking in loss. Our policy instead takes the union of velocity-shifted and block-matched masks, runs a camera-compensated surprise check, delegates uncertain regions to the compared merger, and falls back to it when all objects are lost. On long videos (LVOS V2 valid, pre-specified protocol, three ViT-S seeds), it beats ALGM 0.98 by +2.76 J&F (95% object CI [+1.22,+4.44]; video-cluster [+0.99,+4.52]) at 16% fewer counted encoder FLOPs (0.385 vs. 0.459), sitting 1.0 J&F point below the dense-encoder baseline; at ViT-B the gain over ALGM 0.95 is +3.89 [+2.03,+5.87]. On DAVIS 2017 val it stays within -0.19 J&F of the dense encoder at ViT-S (-0.12 at ViT-B). Controls qualify the result: protecting only the previous mask under ALGM matches or exceeds accuracy at higher FLOPs (0.486), so expectation and surprise mainly reduce counted encoder compute. Practically, lower counted encoder compute did not reduce startup-inclusive mean Cutie step time on a 12-video LVOS sample (3%-8% lower in steady state; an equally engineered ALGM is faster at ViT-S and ViT-B). Section 5.2 separately examines a Cutie permanent-memory schedule and its latency and memory trade-offs. Code: https://github.com/boletoms/focused-cv
Figures & tables
| Method | FLOPs | our scorer | official | Ours method (our scorer) |
|---|---|---|---|---|
| Dense | 1.000 | 69.47 | 69.19 | |
| ALGM 0.98 | 0.459 | 65.72 | 65.40 | |
| Ours | 0.385 | 68.48 | 68.16 | |
| Memory | Encoder | FLOPs | , all | , 600 frames |
|---|---|---|---|---|
| Default | Dense | 1.000 | 69.47 | 52.27 |
| Default | ALGM 0.98 | 0.459 | 65.72 | 51.26 |
| Default | Ours | 0.388 | 68.63 | 51.99 |
| Schedule | Dense | 1.000 | 72.88 | 62.26 |
| Schedule | ALGM 0.98 | 0.486 | 69.49 | 62.32 |
| Schedule | Ours | 0.413 | 72.82 | 63.74 |
| Frames | Share | Contribution to the gain |
|---|---|---|
| Before the video’s first fallback | 62.1% | |
| Fallback (every object lost; ALGM runs) | 19.6% | |
| After re-acquisition | 18.2% | |
| Total |
| Object speed | Object-frames | Moved previous mask | Final high tier | High or middle |
|---|---|---|---|---|
| slow ( 0.5 patches) | 13,820 | 0.994 (1%) | 0.996 (0%) | 0.999 (0%) |
| medium | 16,526 | 0.976 (3%) | 0.987 (2%) | 0.999 (0%) |
| fast ( 2 patches) | 6,050 | 0.851 (33%) | 0.982 (2%) | 0.999 (0.31%) |
| all | 36,450 | 0.961 (7%) | 0.989 (1%) | 0.999 (0%) |
| Method | FLOPs | dense | Ours method | |
|---|---|---|---|---|
| Closed-loop focus map, rate 0.7 | 0.293 | 86.55 | ||
| Protected ALGM 0.77 | 0.351 | 86.73 | ||
| Closed-loop focus map, rate 0.3 | 0.353 | 86.54 | ||
| Protected ALGM 0.83 | 0.373 | 86.74 | ||
| ALGM 0.95 | 0.438 | 85.30 | ||
| Protected ALGM 0.91 | 0.452 | 86.81 |
| Method | FLOPs | dense | Ours method | |
|---|---|---|---|---|
| Closed-loop focus map, rate 0.7 | 0.378 | 87.68 | ||
| Closed-loop focus map, rate 0.3 | 0.428 | 88.00 | ||
| Protected ALGM 0.83 | 0.459 | 87.74 | ||
| Ours | 0.524 | 88.32 | ||
| ALGM 0.95 | 0.589 | 87.54 | ||
| AiluRus 0.5 | 0.637 | 88.36 |
| Method | ViT-S | ViT-B | ViT-L |
|---|---|---|---|
| Dense, CUDA graphs | 2.91 | 5.68 | 16.94 |
| ALGM, eager | 4.61 | 4.89 | – |
| ALGM, same implementation | 1.60 | 3.18 | 9.46 |
| Ours, eager | 10.56 | 10.01 | – |
| Ours, same implementation | 1.94 (1.50 ) | 3.46 (1.64 ) | 9.25 (1.83 ) |
| Dense, deterministic | 3.33 | 6.16 | 18.07 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Method | FLOPs | dense | Ours method | |
|---|---|---|---|---|
| Closed-loop focus map, rate 0.7 | 0.303 | 88.49 | ||
| Closed-loop focus map, rate 0.3 | 0.330 | 88.12 | ||
| ToMe r64 | 0.495 | 78.56 | ||
| Ours | 0.497 | 88.45 | ||
| AiluRus 0.5 | 0.569 | 87.97 | ||
| Protected ALGM 0.83 | 0.581 | 88.47 |
| Default | Schedule | Gain, all objects | ||||
|---|---|---|---|---|---|---|
| all | 600 | all | 600 | FLOPs | ||
| Dense Cutie | 69.47 | 52.27 | 72.88 | 62.26 | 1.000 | |
| ALGM 0.98 | 65.72 | 51.26 | 69.49 | 62.32 | 0.459 0.486 | |
| Ours | 68.63 | 51.99 | 72.82 | 63.74 | 0.388 0.413 | |
| 300 frames | 301–600 | 600 | |
|---|---|---|---|
| Videos / objects | 58 / 128 | 52 / 69 | 30 / 42 |
| Ours ALGM 0.98 | |||
| Ours dense | |||
| Schedule gain, dense Cutie | |||
| Schedule gain, ALGM 0.98 | |||
| Schedule gain, ours |
Video Object Segmentation
Video object segmentation assigns pixel-level masks to objects across frames while preserving their identities through motion, occlusion, and change.
See all 126 papers