Skip to main content
QUICK REVIEW

[论文解读] Contrastive Embedding for Generalized Zero-Shot Learning

Zongyan Han, Zhenyong Fu|arXiv (Cornell University)|Mar 30, 2021
Domain Adaptation and Few-Shot LearningComputer Science参考文献 69被引用 22
一句话总结

本文提出 CE-GZSL,一种混合广义零样本学习框架,通过将特征生成模型与对比嵌入模型相结合,将真实和合成的视觉特征映射到判别性嵌入空间,从而提升分类性能。该方法通过对比损失同时利用类别级和实例级监督,使在五个基准数据集中的三个达到最先进性能,显著提升了调和平均准确率。

ABSTRACT

Generalized zero-shot learning (GZSL) aims to recognize objects from both seen and unseen classes, when only the labeled examples from seen classes are provided. Recent feature generation methods learn a generative model that can synthesize the missing visual features of unseen classes to mitigate the data-imbalance problem in GZSL. However, the original visual feature space is suboptimal for GZSL classification since it lacks discriminative information. To tackle this issue, we propose to integrate the generation model with the embedding model, yielding a hybrid GZSL framework. The hybrid GZSL approach maps both the real and the synthetic samples produced by the generation model into an embedding space, where we perform the final GZSL classification. Specifically, we propose a contrastive embedding (CE) for our hybrid GZSL framework. The proposed contrastive embedding can leverage not only the class-wise supervision but also the instance-wise supervision, where the latter is usually neglected by existing GZSL researches. We evaluate our proposed hybrid GZSL framework with contrastive embedding, named CE-GZSL, on five benchmark datasets. The results show that our CEGZSL method can outperform the state-of-the-arts by a significant margin on three datasets. Our codes are available on https://github.com/Hanzy1996/CE-GZSL.

研究动机与目标

  • 为解决广义零样本学习(GZSL)中的数据不平衡和泛化能力差的问题,其中未见类别缺乏训练样本。
  • 通过学习更具意义的嵌入空间,克服原始视觉特征空间在 GZSL 中的次优判别能力。
  • 通过整合特征生成与利用类别级和实例级监督的对比嵌入模型,提升 GZSL 性能。
  • 通过合成未见类别特征并在统一嵌入空间中学习鲁棒表示,缓解 GZSL 中对已见类别的偏差。

提出的方法

  • 该框架结合了一个为未见类别合成视觉特征的特征生成模型,以及一个将真实和合成特征映射到共享嵌入空间的对比嵌入模型。
  • 引入了一种对比嵌入损失,通过类别级和实例级监督,强制使正样本对(如同类别样本)在嵌入空间中比负样本对更接近。
  • 对比损失采用温度缩放的交叉熵公式计算,其中嵌入空间和语义空间分别使用可学习的温度参数 τₑ 和 τₛ。
  • 最终的 GZSL 分类器在嵌入空间中使用监督的 Softmax 分类器,基于真实和生成特征的组合进行训练。
  • 通过消融研究评估了嵌入维度、生成样本数量和小批量采样策略的影响,结果表明方法具有鲁棒性并带来性能提升。
  • 通过交叉验证调整超参数(如嵌入维度和批量大小),最终选择 2,048 维作为性能与计算成本之间的权衡。

实验结果

研究问题

  • RQ1将对比嵌入模型与特征生成模型结合,能否提升广义零样本学习中的泛化能力?
  • RQ2在类别级监督之外引入实例级监督,是否能带来 GZSL 性能的提升?
  • RQ3嵌入维度和生成样本数量的选择如何影响混合 GZSL 框架的性能?
  • RQ4所提出的对比嵌入方法对温度超参数和小批量采样策略的变化是否具有鲁棒性?

主要发现

  • CE-GZSL 在五个基准数据集中的三个——AWA1、AWA2 和 FLO 上达到最先进性能,显著优于先前方法。
  • 在 AWA1 上,使用 2,048 维嵌入时,该方法实现了 69.0 的调和平均准确率,未见类别 top-1 准确率为 64.9%,已见类别为 73.9%。
  • 在 AWA2 上,使用 2,048 维嵌入时,该方法实现了 70.0 的调和平均准确率,未见类别准确率为 63.1%,已见类别为 78.6%。
  • 在 FLO 上,该方法实现了 73.5 的调和平均准确率,未见类别准确率为 69.0%,已见类别为 80.3%,优于先前方法。
  • 该方法对温度超参数 τₑ 和 τₛ 具有鲁棒性,最优值因数据集而异:AWA1、CUB 和 SUN 上 τₑ=0.1,τₛ=0.1;AWA2 上 τₑ=10.0,τₛ=1.0;FLO 上 τₑ=0.1,τₛ=1.0。
  • 使用 4,096 个样本的大规模随机小批量采样优于手工设计的采样策略,表明充足的正负样本对对对比学习至关重要。

阅读本论文

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

在 Nubint 中阅读本论文

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