arXiv Science⌕ Search

arXiv subjects

Zane Kumar

Publications and source records attributed to Zane Kumar.

2 recordsLinked to original sources

Object Context Leaves a Halo: Probing How DINOv2 Background Tokens Depend on Nearby Objects

Dense uses of vision-transformer features treat each patch token as describing its own patch, but attention lets objects influence nearby background tokens, so cropping or tiling an image can change a patch's features without changing its pixels. How much does a background token's representation depend on the object beside it, and how does this dependence change through the layers? We introduce crop-context instability, an interpretability probe that encodes the same pixels within the full image and within a patch-aligned crop and measures how far each patch embedding moves. On 900 PASCAL VOC images and four frozen DINOv2 backbones, background 4-16 px from an object changes 32-67% more at its peak block than background at least 64 px away, and the contrast fades or reverses at the final block. This halo is learned, being absent in untrained networks, and register tokens change its character: once image position is controlled, standard backbones show almost no excess near objects, whereas in both register backbones background next to objects changes 8-20% more than distant background at the same location. Register backbones also change less under cropping overall. For pipelines that crop or tile images, register backbones give the more stable dense features, and their intermediate blocks are where to test how object context reaches background tokens. Code: https://github.com/znkumar/halo-crop-context

cs.CV↗

Frozen DINO Localizes Image Edits Without a Localizer

Localized image edits can change a photograph's meaning while leaving most of it authentic, so forensic analysis must identify where an edit occurred. We show that patch-level perturbation responses from frozen DINO encoders are themselves localization maps. Training-free Localization of AI-image Edits from patch-token Drift (TRAIL) applies one global Haar perturbation and maps cosine drift between corresponding patch tokens. On 80 source-disjoint CocoGlide test images, TRAIL reaches .903 patch AUROC versus .912 for the mask-supervised Detective SAM; fixed-threshold Dice is .619 versus .709, while an oracle threshold raises TRAIL to .790. Transferred unchanged to Poisson image interpolation, TRAIL reaches .855 AUROC versus .864, showing that the cue persists without a generator. Across sixteen DINO encoders, the best block lies at normalized depth .80-.94. Global context matters: AUROC falls from .903 globally to .857 for local-in-canvas perturbations and .735 for independently encoded crops. Frozen DINO patch tokens therefore contain a strong late-layer localization signal whose visibility depends on the perturbation and preserved context. Code: https://github.com/VishalJ99/trail-image-edit-localization.

cs.CV↗