arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.18645cs.CVcs.AI
收藏

具有Wasserstein距离感知注意力的随机视觉Transformer

Stochastic Vision Transformers with Wasserstein Distance-Aware Attention

Friedrich-Alexander University Erlangen-Nürnberg(埃尔朗根-纽伦堡弗里德里希-亚历山大大学);Ludwig Maximilian University of Munich(慕尼黑路德维希·马克西米利安大学);Imperial College London(帝国理工学院)

Franciskus Xaverius Erick, Mina Rezaei, Johanna Paula Müller, Bernhard Kainz

AI总结:

本文提出一种随机视觉Transformer,将图像块编码为椭圆高斯分布嵌入,并采用Wasserstein距离感知注意力及正则化,在多种任务中超越自监督基线,提升了准确性与校准性。

摘要:

自监督学习是从有限标注数据中获取知识的最有前景的方法之一。尽管近年来取得了实质性进展,自监督模型仍给实践者带来了挑战,因为它们无法直接提供模型置信度和不确定性的洞察。解决这一问题并非易事,主要原因是实现能够在预训练期间利用学到的潜在表示而不依赖显式标签的技术十分复杂。受此启发,我们提出了一种新的随机视觉Transformer,将不确定性和距离感知集成到自监督学习(SSL)流程中。不同于传统的确定性向量嵌入,我们的新型随机视觉Transformer将图像块编码为椭圆高斯分布嵌入。值得注意的是,这些随机表示嵌入的注意力矩阵使用基于Wasserstein距离的注意力来计算,有效利用了这些嵌入的分布特性。此外,我们提出了一个基于Wasserstein距离的正则化项,用于预训练和微调过程,从而将距离感知纳入潜在表示中。我们在不同任务上进行了大量实验,包括分布内泛化、分布外检测、数据集损坏、半监督设置以及向其他数据集和任务的迁移学习。我们提出的方法在多种数据集上的广泛实验中取得了优越的准确性和校准性,超越了自监督基线。

英文摘要:

Self-supervised learning is one of the most promising approaches to acquiring knowledge from limited labeled data. Despite the substantial advancements made in recent years, self-supervised models have posed a challenge to practitioners, as they do not readily provide insight into the model's confidence and uncertainty. Tackling this issue is no simple feat, primarily due to the complexity involved in implementing techniques that can make use of the latent representations learned during pre-training without relying on explicit labels. Motivated by this, we introduce a new stochastic vision transformer that integrates uncertainty and distance awareness into self-supervised learning (SSL) pipelines. Instead of the conventional deterministic vector embedding, our novel stochastic vision transformer encodes image patches into elliptical Gaussian distributional embeddings. Notably, the attention matrices of these stochastic representational embeddings are computed using Wasserstein distance-based attention, effectively capitalizing on the distributional nature of these embeddings. Additionally, we propose a regularization term based on Wasserstein distance for both pre-training and fine-tuning processes, thereby incorporating distance awareness into latent representations. We perform extensive experiments across different tasks such as in-distribution generalization, out-of-distribution detection, dataset corruption, semi-supervised settings, and transfer learning to other datasets and tasks. Our proposed method achieves superior accuracy and calibration, surpassing the self-supervised baseline in a wide range of experiments on a variety of datasets.

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

↑