CPS 843 / CP 8307 · Computer Vision · Phase 1

Preserving Register–Patch Interactions

Function-aware post-training quantization for dense vision foundation models

Question

Does low-bit PTQ break the native register–patch interaction of DINOv3 / DINOv2-with-registers on dense segmentation?

Backbones

DINOv3-B (4 registers), DINOv2-reg-B (4), DINOv2-B (0, control)

Dataset

ADE20K 2016 · 150 classes · frozen-backbone linear probe

Hardware

1× RTX 3090 24 GB · bf16 baseline · W4A4 / W4A8

Token layout

Indices are read from model.config.num_register_tokens, never hardcoded: N = 1 + num_reg + (H/p)·(W/p).

[CLS] Xr · 4 registers Xp · 32×32 patches

Diagnostic matrix

Five configurations applied to every linear layer's activation input (q, k, v, o, fc1, fc2) with per-output-channel symmetric weight PTQ in B–E.

IDNameRegisters XrPatches XpScaling
AFull Precision BaselineFP16FP16none
BShared-Scale PTQINT4/8INT4/8single shared scale
CRegister ProtectionFP16INT4/8patch scale s_p
DPatch ProtectionINT4/8FP16register scale s_r
EIndependent ScalingINT4/8INT4/8independent s_r, s_p

What is measured

Dense prediction

mIoU and Boundary IoU of a frozen-backbone linear probe.

Representation drift

Patch cosine similarity and 4-neighbour spatial relation error Lspatial.

Interaction

Attention sub-block deviation Arr, Arp, Apr, App.

Gate

C − B > 3 mIoU would confirm register clipping as the primary failure mode.

Status

Phase 1 results are available. Open the results dashboard →