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

GenView:利用预训练生成模型提升自监督学习的视图质量

GenView: Enhancing View Quality with Pretrained Generative Model for Self-Supervised Learning

Peng Cheng Laboratory(鹏城实验室);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));King Abdullah University of Science and Technology (KAUST)(阿卜杜拉国王科技大学);Nanyang Technological University(南洋理工大学)

Xiaojie Li, Yibo Yang, Xiangtai Li, Jianlong Wu, Yue Yu, Bernard Ghanem, Min Zhang

AI总结:

针对自监督学习中手动构建正视图多样性有限、易产生假正样本对的问题,提出GenView框架,通过自适应生成视图和质量驱动损失提升视图质量,显著改善模型性能,如在ImageNet任务上提升MoCov2性能2.5%/2.2%。

摘要:

自监督学习在从未标记数据中获取高质量表示方面取得了显著成功。被广泛采用的对比学习框架旨在通过最小化源自同一图像的正视图之间的距离来学习不变表示。然而,现有构建正视图的技术高度依赖手动变换,导致多样性有限且可能产生假正样本对。为应对这些挑战,我们提出GenView,这是一个可控框架,利用预训练生成模型的能力增强正视图的多样性,同时保留语义。我们开发了一种自适应视图生成方法,通过动态调整采样中的噪声水平,确保在引入变异性的同时保留基本语义。此外,我们引入质量驱动的对比损失,通过同时考虑前景相似性和背景多样性来评估正样本对的质量。该损失优先考虑我们构建的高质量正样本对,同时减少低质量样本对的影响,从而缓解生成模型和激进数据增强带来的潜在语义不一致。得益于改进的正视图质量和质量驱动的对比损失,GenView在各种任务中显著提升了自监督学习性能。例如,GenView在ImageNet线性/半监督分类任务上使MoCov2的性能分别提升了2.5%/2.2%。此外,GenView的性能甚至远优于使用Laion400M或ImageNet21K对ImageNet数据集进行简单扩充的方法。代码:https://github.com/xiaojieli0903/genview。

英文摘要:

Self-supervised learning has achieved remarkable success in acquiring high-quality representations from unlabeled data. The widely adopted contrastive learning framework aims to learn invariant representations by minimizing the distance between positive views originating from the same image. However, existing techniques to construct positive views highly rely on manual transformations, resulting in limited diversity and potentially false positive pairs. To tackle these challenges, we present GenView, a controllable framework that augments the diversity of positive views leveraging the power of pretrained generative models while preserving semantics. We develop an adaptive view generation method that dynamically adjusts the noise level in sampling to ensure the preservation of essential semantic meaning while introducing variability. Additionally, we introduce a quality-driven contrastive loss, which assesses the quality of positive pairs by considering both foreground similarity and background diversity. This loss prioritizes the high-quality positive pairs we construct while reducing the influence of low-quality pairs, thereby mitigating potential semantic inconsistencies introduced by generative models and aggressive data augmentation. Thanks to the improved positive view quality and the quality-driven contrastive loss, GenView significantly improves self-supervised learning across various tasks. For instance, GenView improves MoCov2 performance by 2.5%/2.2% on ImageNet linear/semi-supervised classification. Moreover, GenView even performs much better than naively augmenting the ImageNet dataset with Laion400M or ImageNet21K. Code: https://github.com/xiaojieli0903/genview.

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

↑