Skip to main content
QUICK REVIEW

[论文解读] Steerable Equivariant Representation Learning

Sangnie Bhardwaj, Willie McClinton|arXiv (Cornell University)|Feb 22, 2023
Domain Adaptation and Few-Shot LearningComputer Science被引用 3
一句话总结

本文提出了一种在深度神经网络中学习可调节、等变表示的方法,通过在潜在空间中学习线性映射,显式建模嵌入在数据增强下的变化方式。该方法可直接对嵌入进行变换操作(如颜色和亮度变化),在线性探测准确率上提升1-3%,ImageNet-C鲁棒性提升最高达3.4%,且在分布外检测的测试时增强中实现近50倍的速度提升。

ABSTRACT

Pre-trained deep image representations are useful for post-training tasks such as classification through transfer learning, image retrieval, and object detection. Data augmentations are a crucial aspect of pre-training robust representations in both supervised and self-supervised settings. Data augmentations explicitly or implicitly promote invariance in the embedding space to the input image transformations. This invariance reduces generalization to those downstream tasks which rely on sensitivity to these particular data augmentations. In this paper, we propose a method of learning representations that are instead equivariant to data augmentations. We achieve this equivariance through the use of steerable representations. Our representations can be manipulated directly in embedding space via learned linear maps. We demonstrate that our resulting steerable and equivariant representations lead to better performance on transfer learning and robustness: e.g. we improve linear probe top-1 accuracy by between 1% to 3% for transfer; and ImageNet-C accuracy by upto 3.4%. We further show that the steerability of our representations provides significant speedup (nearly 50x) for test-time augmentations; by applying a large number of augmentations for out-of-distribution detection, we significantly improve OOD AUC on the ImageNet-C dataset over an invariant representation.

研究动机与目标

  • 解决在需要对输入变换(如颜色或亮度变化)保持敏感性的任务中,传统不变表示方法的局限性。
  • 通过在潜在空间中学习的线性映射,实现对学习嵌入的直接操作,以支持任意数据增强。
  • 提升下游任务(如迁移学习、对噪声的鲁棒性、分布外检测)的性能。
  • 通过在嵌入空间而非输入空间中应用变换,实现测试时增强的显著计算加速。
  • 证明等变性可与鲁棒性共存,即使在准确率损失更高的情况下,其在ImageNet-C上的表现仍优于标准不变模型。

提出的方法

  • 通过学习变换映射 $ M(e, \theta) $ 利用可调节表示,预测在给定增强参数 $ \theta $(如颜色偏移或亮度调整)下,嵌入 $ e $ 应如何变化。
  • 使用自监督对比损失端到端训练模型,强制输出嵌入 $ e(g(\mathbf{x};\theta)) $ 与 $ M(e(\mathbf{x}), \theta) $ 匹配,从而实现等变性。
  • 在潜在空间中使用线性映射 $ M $ 直接调节嵌入,实现无需重新编码输入即可高效应用多种增强。
  • 通过在嵌入空间中应用 $ M $ 实现测试时增强,仅需一次前向传播,相比输入空间增强显著降低推理成本。
  • 将变换映射 $ M $ 参数化为可学习的线性层或小型前馈网络,使方法与网络架构无关,并可在不同预训练范式中通用。
  • 通过在线性探测、ImageNet-C鲁棒性、零样本检索和分布外检测的评估,验证可调节性与等变性的优势。
Figure 1: Two examples of image retrieval, comparing our steerable equivariant model to the baseline invariant (standard) model. The top example (flowers) is for color-based steering; the bottom example (buildings) is shown for brightness-based retrieval. For each example, we show three query images
Figure 1: Two examples of image retrieval, comparing our steerable equivariant model to the baseline invariant (standard) model. The top example (flowers) is for color-based steering; the bottom example (buildings) is shown for brightness-based retrieval. For each example, we show three query images

实验结果

研究问题

  • RQ1在潜在空间中可调节的等变表示是否能相比标准不变表示,提升迁移学习性能?
  • RQ2尽管模型对变换保持敏感,可调节等变性是否能增强对分布偏移(如ImageNet-C中的噪声)的鲁棒性?
  • RQ3通过在嵌入空间而非输入空间中应用增强,测试时数据增强的加速程度如何?
  • RQ4可调节等变表示是否能通过放大分布外样本的嵌入方差,提升分布外检测性能?
  • RQ5是否可能在不施加架构约束的前提下,实现对多样化数据增强(如光度、几何)的实用且通用的等变性?

主要发现

  • 与标准不变模型相比,可调节等变模型在ImageNet上的线性探测Top-1准确率提升1–3%。
  • 在ImageNet-C上,该模型在所有噪声类型下Top-1准确率最高提升3.4%,mCE为0.81,优于不变基线的0.845。
  • 使用潜在空间增强的分布外检测AUC比输入空间增强高出5–15%,且推理时间接近50倍加速。
  • 在嵌入空间中应用60种增强仅需每小批量0.0091秒,而输入空间增强需0.2263秒,实现近50倍加速。
  • 可调节模型能基于语义变换(如颜色或亮度)检索图像,而不变模型则产生静态、与变换无关的结果。
  • 尽管准确率损失更高,等变模型对噪声的敏感性使其在测试时增强下AUC曲线显著更优,证明其在分布外检测中的优势。
Figure 2: For both invariant and equivariant/steerable models, we show performance with $4$ types of embeddings. $e(g(\mathbf{x}))$ and $M(e(\mathbf{x}))$ tend to be similar to each other (since Eqn. 3 encourages this). For the invariant model, semantic retrieval (flowers) override visual (pink colo
Figure 2: For both invariant and equivariant/steerable models, we show performance with $4$ types of embeddings. $e(g(\mathbf{x}))$ and $M(e(\mathbf{x}))$ tend to be similar to each other (since Eqn. 3 encourages this). For the invariant model, semantic retrieval (flowers) override visual (pink colo

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。