arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.15657cs.CV
收藏

无数据的广义零样本学习

Data-Free Generalized Zero-Shot Learning

Beihang University(北京航空航天大学);The University of Hong Kong(香港大学)

Bowen Tang, Long Yan, Jing Zhang, Qian Yu, Lu Sheng, Dong Xu

AI总结:

针对数据共享受限下的零样本分类难题,提出仅用CLIP基类预训练分类器的无数据零样本学习框架,通过vMF分布恢复虚拟特征、FLPT对齐特征语义、条件生成新类特征,在多基准上取得优异效果。

摘要:

深度学习模型具备从大规模数据集中提取丰富知识的能力。然而,由于数据版权和隐私方面的顾虑,数据共享变得愈发困难,这进而阻碍了现有数据中的知识向新型下游任务和新概念的有效迁移。零样本学习(ZSL)方法旨在通过迁移从基类中学习到的语义知识来识别新类别。但传统的生成式ZSL方法通常需要获取基类的真实图像,且依赖人工标注的属性,这在数据限制和模型可扩展性方面带来了挑战。为此,本文研究了一个兼具挑战性与实用性的问题,称为无数据零样本学习(DFZSL),该场景下仅能使用基于CLIP的基类数据预训练分类器来完成零样本分类。具体而言,我们提出了一个通用的DFZSL框架,该框架包含三个主要组件。首先,为恢复基类数据的虚拟特征,我们基于预训练分类器,将基类图像的CLIP特征建模为来自冯·米塞斯-费舍尔(vMF)分布的样本。其次,我们利用CLIP的文本特征作为低成本语义信息,并提出特征-语言提示调优(FLPT)方法,以进一步对齐虚拟图像特征和文本特征。第三,我们使用对齐良好的虚拟图像特征及对应的语义文本特征训练条件生成模型,从而能够生成新类别特征,实现更优的零样本泛化能力。我们在5个常用的广义ZSL基准以及11个基类到新类ZSL基准上对该框架进行了评估,结果证明了我们方法的优越性与有效性。我们的代码可在https://github.com/ylong4/DFZSL获取。

英文摘要:

Deep learning models have the ability to extract rich knowledge from large-scale datasets. However, the sharing of data has become increasingly challenging due to concerns regarding data copyright and privacy. Consequently, this hampers the effective transfer of knowledge from existing data to novel downstream tasks and concepts. Zero-shot learning (ZSL) approaches aim to recognize new classes by transferring semantic knowledge learned from base classes. However, traditional generative ZSL methods often require access to real images from base classes and rely on manually annotated attributes, which presents challenges in terms of data restrictions and model scalability. To this end, this paper tackles a challenging and practical problem dubbed as data-free zero-shot learning (DFZSL), where only the CLIP-based base classes data pre-trained classifier is available for zero-shot classification. Specifically, we propose a generic framework for DFZSL, which consists of three main components. Firstly, to recover the virtual features of the base data, we model the CLIP features of base class images as samples from a von Mises-Fisher (vMF) distribution based on the pre-trained classifier. Secondly, we leverage the text features of CLIP as low-cost semantic information and propose a feature-language prompt tuning (FLPT) method to further align the virtual image features and textual features. Thirdly, we train a conditional generative model using the well-aligned virtual image features and corresponding semantic text features, enabling the generation of new classes features and achieve better zero-shot generalization. Our framework has been evaluated on five commonly used benchmarks for generalized ZSL, as well as 11 benchmarks for the base-to-new ZSL. The results demonstrate the superiority and effectiveness of our approach. Our code is available in https://github.com/ylong4/DFZSL

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑