[论文解读] Diffusion Hyperfeatures: Searching Through Time and Space for Semantic Correspondence
Diffusion Hyperfeatures 将扩散模型在不同时间和不同层的特征聚合为逐像素描述符,用于语义关键点对齐,在 SPair-71k 上取得最先进的结果,并能迁移到合成数据。
Diffusion models have been shown to be capable of generating high-quality images, suggesting that they could contain meaningful internal representations. Unfortunately, the feature maps that encode a diffusion model's internal information are spread not only over layers of the network, but also over diffusion timesteps, making it challenging to extract useful descriptors. We propose Diffusion Hyperfeatures, a framework for consolidating multi-scale and multi-timestep feature maps into per-pixel feature descriptors that can be used for downstream tasks. These descriptors can be extracted for both synthetic and real images using the generation and inversion processes. We evaluate the utility of our Diffusion Hyperfeatures on the task of semantic keypoint correspondence: our method achieves superior performance on the SPair-71k real image benchmark. We also demonstrate that our method is flexible and transferable: our feature aggregation network trained on the inversion features of real image pairs can be used on the generation features of synthetic image pairs with unseen objects and compositions. Our code is available at https://diffusion-hyperfeatures.github.io.
研究动机与目标
- 将分布在不同层和时间步的扩散模型内部表示整合为一个逐像素描述符。
- 通过反演从真实图像提取鲁棒描述符,或通过生成从合成图像提取鲁棒描述符。
- 学习一个可解释的特征聚合网络,为语义对应对扩散特征赋权。
- 在 SPair-71k 上展示相较基线的改进语义关键点匹配,并展示对新领域的迁移能力。
提出的方法
- 提取生成(合成)和反演(真实)过程中的所有中间扩散特征,覆盖各层和时间步。
- 使用带瓶颈层的轻量聚合网络对特征进行标准化,并学习跨层-时间步对的混合权重。
- 将标准化的特征图以加权和的方式聚合,生成 Diffusion Hyperfeatures。
- 利用语义关键点对应关系的监督,使用对称交叉熵损失(基于余弦相似度的匹配)来训练聚合器。
- 通过在 Diffusion Hyperfeatures 上进行最近邻匹配并与 SPair-71k 和 CUB 的真实关键点进行对比来评估;评估对合成数据的开域迁移。
实验结果
研究问题
- RQ1是否能将分布在时间和层上的扩散模型特征有效蒸馏成一个用于语义对应的逐像素描述符?
- RQ2可解释的聚合网络在识别用于语义关键点匹配的最具信息量的扩散特征方面表现如何?
- RQ3Diffusion Hyperfeatures 是否能在真实图像到合成图像以及跨越未见物体类别时泛化?
- RQ4在性能上,使用反演特征(真实图像)与生成特征(合成图像)有何影响?
主要发现
- Diffusion Hyperfeatures 在 SPair-71k 的 PCK@0.1_img 上显著超越基线(例如 Layer-4 为 72.56 vs 58.80,裁剪后为 64.02,等其他变体)。
- 跨所有层和时间步聚合特征,相比单层或简单拼接基线在 PCK@0.1_img 上提升了约 14 个百分点。
- 学习到的混合权重揭示了哪些层-时间步组合对语义对应最具信息量,并且允许在不显著损失精度的情况下进行剪枝。
- 基于反演的特征(真实图像)在后期时间步提供更真实的语义信息,聚合网络也能够迁移到合成数据。
- 在未见物体类别的合成生成特征上,基于真实图像反演特征训练的聚合网络具有良好泛化,优于 DINO 与单层扩散基线。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。