GramLoop: Training-Free Gram-Gated Replay for Robust Dense Prediction
Yang Chen, Canyu Shen, Xinzhe Rao, Yuanyi Yan, Yunlu Chen, Meng Tang, Teng Long, Vincent Tao Hu
Key points
From the paper's conclusion- We introduce GramLoop, a training-free framework that replays a short transformer window and controls each replay through final-layer cosine-Gram consistency.
Abstract
We aim to improve frozen DINOv3 dense-prediction models under distribution shift by adding inference computation inside the visual backbone, without changing model weights, task adapters, or prediction heads. The challenge is that repeated transformer-block computation must refine dense features without disrupting the pairwise patch relations that DINOv3 uses to preserve spatial structure. We introduce GramLoop, a training-free framework that replays a short transformer window and controls each replay through final-layer cosine-Gram consistency. Each proposal is propagated through the frozen suffix, measured against the standard DINOv3 trajectory, and accepted through a patchwise gate at the replay-window endpoint. Across object detection and semantic segmentation under corruptions, perturbations, and natural shifts, GramLoop improves all five shifted benchmarks over the paired DINOv3 baseline. On COCO-O, it improves mAP by +0.252 and Effective Robustness by +0.250, while preserving clean ADE20K performance. Code will be released.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Training-Free Hidden-State Refinement for Flow-Matching Image GeneratorsarXiv · 2026
- StyleID++: Position-Decoupled and Structure-Coherent Style Retrieval across Diffusion ArchitecturesarXiv · 2026
- LoopPrune: Recurrent Pruning for Looped Diffusion TransformersarXiv · 2026
- loopxDINO: Dense Visual Prediction via Iterative Latent ReasoningarXiv · 2026
- Distill to Loop: Turning Pretrained Diffusion Transformers into Looped Models with Adjustable DeptharXiv · 2026
- LoopFit: Retrofitting Pretrained Diffusion Transformers with Recurrent RefinementarXiv · 2026