解码寄存器令牌可保留全局场景细节
Decoding Register Tokens Preserves Global Scene Details
AI总结:
该研究针对视觉Transformer的解码环节,探究保留寄存器特征对图像重建与生成的影响,通过RAEs等方法在ImageNet-1K上实现了重建FID、生成FID等指标的显著优化。
摘要:
预训练视觉Transformer学习涵盖空间补丁令牌和非空间令牌的结构化图像表示。近期分析表明,非空间寄存器令牌编码全局场景属性,如光照、模糊和风格。然而基于补丁的图像解码器会丢弃这些输出,仅让解码器从补丁中恢复图像外观。我们研究当完整空间补丁表示已可用时,保留寄存器特征是否能改善解码效果。我们使用带有冻结的配备寄存器的编码器的表示自编码器(RAEs)研究该问题。我们的解码器通过联合自注意力处理四个寄存器令牌和所有补丁令牌。外观探测、配对重建误差分析以及固定解码器寄存器替换,用于检查从寄存器可获取哪些全局图像属性,以及这些属性的值如何影响重建像素。对于生成任务,我们训练多头注意力池化(MHAP)预测器,从采样补丁中恢复寄存器特征,同时保持预训练扩散模型及其样本不变。在ImageNet-1K上,我们的ViT-B解码器使用DINOv2实现的平均重建FID为0.472,使用DINOv3为0.442,相较于各自仅用补丁的基线分别降低9.5%和5.2%;对应的PSNR分别为19.73和20.54 dB。对于生成任务,我们的DINOv2模型实现的平均FID为1.641,在相同采样补丁下比仅用补丁的基线低9.8%。
英文摘要:
Pretrained vision transformers learn structured image representations spanning spatial patch tokens and non-spatial tokens. Recent analyses suggest that non-spatial register tokens encode global scene properties such as illumination, blur, and style. Yet patch-based image decoders discard these outputs, leaving the decoder to recover image appearance from patches alone. We investigate whether retaining register features improves decoding when the complete spatial patch representation is already available. We study this question using representation autoencoders (RAEs) with frozen register-equipped encoders. Our decoder processes four register tokens together with all patch tokens through joint self-attention. Appearance probes, paired reconstruction-error analysis, and fixed-decoder register substitutions examine which global image properties are accessible from registers and how their values affect reconstructed pixels. For generation, we train a multi-head attention pooling (MHAP) predictor to recover register features from sampled patches, keeping the pretrained diffusion model and its samples unchanged. On ImageNet-1K, our ViT-B decoders achieve mean reconstruction FIDs of 0.472 with DINOv2 and 0.442 with DINOv3, reductions of 9.5% and 5.2% relative to their respective patch-only baselines. The corresponding PSNRs are 19.73 and 20.54 dB. For generation, our DINOv2 models achieve a mean FID of 1.641, 9.8% below the patch-only baseline on identical sampled patches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。