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

视觉Transformer中键的流形表示

A Manifold Representation of the Key in Vision Transformers

University of Oslo(奥斯陆大学);University of Agder(阿格德大学);Oslo Metropolitan University(奥斯陆城市大学)

Li Meng, Morten Goodwin, Anis Yazidi, Paal Engelstad

AI总结:

本文提出将视觉Transformer中的键从查询和值中解耦并赋予流形表示,在ImageNet-1K和COCO任务上验证了该方法能有效提升ViT-B、Swin-T等模型的性能。

摘要:

视觉Transformer通过堆叠多个注意力模块来实现多头自注意力。查询、键和值通常在这些模块中通过单一的共享线性变换交织生成。本文探讨了将键从查询和值中解耦,并对键采用流形表示的概念。我们的实验表明,解耦并赋予键流形结构能够提升模型性能。具体而言,在ImageNet-1K数据集上,当流形键包含八张图表时,ViT-B的top-1准确率提高了0.87%,而Swin-T的top-1准确率提升了0.52%。我们的方法在COCO数据集上的目标检测和实例分割任务中也取得了积极结果。我们证实这些性能提升并非仅仅源于增加更多参数和计算量的简单做法。未来研究可以探索削减此类表示预算的策略,并基于我们的发现追求进一步的性能改进。

英文摘要:

Vision Transformers implement multi-head self-attention via stacking multiple attention blocks. The query, key, and value are often intertwined and generated within those blocks via a single, shared linear transformation. This paper explores the concept of disentangling the key from the query and value, and adopting a manifold representation for the key. Our experiments reveal that decoupling and endowing the key with a manifold structure can enhance the model's performance. Specifically, ViT-B exhibits a 0.87% increase in top-1 accuracy, while Swin-T sees a boost of 0.52% in top-1 accuracy on the ImageNet-1K dataset, with eight charts in the manifold key. Our approach also yields positive results in object detection and instance segmentation tasks on the COCO dataset. We establish that these performance gains are not merely due to the simplicity of adding more parameters and computations. Future research may investigate strategies for cutting the budget of such representations and aim for further performance improvements based on our findings.

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

↑