arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.07735cs.CR
收藏

Transformer 的置换等变性及其应用

Permutation Equivariance of Transformers and Its Applications

Hengyuan Xu, Liyao Xiang, Hangyu Ye, Dixi Yao, Pengzhi Chu, Baochun Li

AI总结:

本文提出涵盖前向与后向传播中 token 间及 token 内置换的置换等变性定义,证明其在大多数 vanilla Transformer 模型上几乎无需改动即可满足,并在 ViT、Bert、GPT 等模型上验证,同时探索了其在隐私增强分割学习和模型授权中的应用。

摘要:

基于 Transformer 的模型彻底改变了深度学习领域,在许多任务中取得了卓越的性能。最近的研究认识到这些模型对打乱顺序具有鲁棒性,但仅限于前向传播中的 token 间置换。在这项工作中,我们提出了置换等变性的定义,这是一个更广泛的概念,涵盖神经网络前向和后向传播中的 token 间和 token 内置换。我们严格证明了这种置换等变性可以在大多数 vanilla Transformer 模型上几乎无需改动即可满足。我们在一系列最先进的模型上检验了这一性质,包括 ViT、Bert、GPT 等,并进行了实验验证。此外,作为概念验证,我们探索了现实世界应用如何利用置换等变性,包括增强隐私的分割学习和模型授权,这暗示了更广泛、更有趣的应用场景。

英文摘要:

Revolutionizing the field of deep learning, Transformer-based models have achieved remarkable performance in many tasks. Recent research has recognized these models are robust to shuffling but are limited to inter-token permutation in the forward propagation. In this work, we propose our definition of permutation equivariance, a broader concept covering both inter- and intra- token permutation in the forward and backward propagation of neural networks. We rigorously proved that such permutation equivariance property can be satisfied on most vanilla Transformer-based models with almost no adaptation. We examine the property over a range of state-of-the-art models including ViT, Bert, GPT, and others, with experimental validations. Further, as a proof-of-concept, we explore how real-world applications including privacy-enhancing split learning, and model authorization, could exploit the permutation equivariance property, which implicates wider, intriguing application scenarios.

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

↑