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

具备自动特征重要性发现的可辨识对比学习

Identifiable Contrastive Learning with Automatic Feature Importance Discovery

Peking University(北京大学);National Key Lab of General Artificial Intelligence(通用人工智能全国重点实验室);School of Intelligence Science and Technology, Peking University(北京大学智能科学与技术学院);Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院)

Qi Zhang, Yifei Wang, Yisen Wang

AI总结:

本文提出三因子对比学习 triCL,通过可学习对角重要性矩阵 S 扩展成对对比,在几乎不增加开销的情况下提升特征可辨识性与可解释性,并验证其在图像检索中的优越性能。

摘要:

现有的对比学习方法依赖成对样本对比 $z_x^\top z_{x'}$ 来学习数据表示,但所学特征往往缺乏人类视角下的清晰可解释性。理论上,这类方法缺乏特征可辨识性,不同初始化可能导致完全不同的特征。本文研究了一种名为三因子对比学习(triCL)的新方法,其采用形式为 $z_x^\top S z_{x'}$ 的三因子对比,其中 $S=\text{diag}(s_1,\dots,s_k)$ 是一个可学习的对角矩阵,能够自动捕捉每个特征的重要性。我们证明,通过这一简单扩展,triCL 不仅能获得消除随机性的可辨识特征,还能获得按照重要性矩阵 $S$ 排序的、更具可解释性的特征。我们表明,高重要性特征通过捕捉常见的类级特征而具有良好的可解释性,并且在仅使用少量特征进行图像检索评估时能够取得优越性能。所提出的 triCL 目标具有通用性,可应用于 SimCLR 和 CLIP 等不同的对比学习方法。我们相信,它是现有双因子对比学习的一种更优替代方案,能够以最小的额外开销提升可辨识性和可解释性。代码见 https://github.com/PKU-ML/Tri-factor-Contrastive-Learning。

英文摘要:

Existing contrastive learning methods rely on pairwise sample contrast $z_x^\top z_{x'}$ to learn data representations, but the learned features often lack clear interpretability from a human perspective. Theoretically, it lacks feature identifiability and different initialization may lead to totally different features. In this paper, we study a new method named tri-factor contrastive learning (triCL) that involves a 3-factor contrast in the form of $z_x^\top S z_{x'}$, where $S=\text{diag}(s_1,\dots,s_k)$ is a learnable diagonal matrix that automatically captures the importance of each feature. We show that by this simple extension, triCL can not only obtain identifiable features that eliminate randomness but also obtain more interpretable features that are ordered according to the importance matrix $S$. We show that features with high importance have nice interpretability by capturing common classwise features, and obtain superior performance when evaluated for image retrieval using a few features. The proposed triCL objective is general and can be applied to different contrastive learning methods like SimCLR and CLIP. We believe that it is a better alternative to existing 2-factor contrastive learning by improving its identifiability and interpretability with minimal overhead. Code is available at https://github.com/PKU-ML/Tri-factor-Contrastive-Learning.

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

↑