paper-with-me

홈 › Papers

Why self-attention is Natural for Sequence-to-Sequence Problems? A Perspective from Symmetries

2022-10-13 · Chao Ma, Lexing Ying

In this paper, we show that structures similar to self-attention are natural to learn many sequence-to-sequence problems from the perspective of symmetry. Inspired by language processing applications, we study the orthogonal equivariance of seq2seq functions with knowledge, which are functions taking two inputs -- an input sequence and a `knowledge'' -- and outputting another sequence. The knowledge consists of a set of vectors in the same embedding space as the input sequence, containing the information of the language used to process the input sequence. We show that orthogonal equivariance in the embedding space is natural for seq2seq functions with knowledge, and under such equivariance the function must take the form close to the self-attention. This shows that network structures similar to self-attention are the right structures to represent the target function of many seq2seq problems. The representation can be further refined if a `finite information principle'' is considered, or a permutation equivariance holds for the elements of the input sequence.

📄 PDF Abstract BibTeX arXiv:2210.06741

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Tanh Activation 설명 없음
Sigmoid Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
Seq2Seq Seq2Seq, or Sequence To Sequence, is a model used in sequence prediction tasks, such as language modelling and machine translation. The idea is to use one…

Similar Papers 제목 키워드 기반

Nyströmformer: A Nyström-Based Algorithm for Approximating Self-Attention

2021-02-07 · Yunyang Xiong, Zhanpeng Zeng, Rudrasis Chakraborty, Mingxing Tan 외

Transformers have emerged as a powerful tool for a broad range of natural language processing tasks. A key component that drives the impressive performance of Transformers is the self-attention mechanism that encodes the…

Natural Language InferenceQuestion AnsweringSemantic Textual SimilaritySentiment Analysis

Parallel Attention Network with Sequence Matching for Video Grounding

2021-05-18 · Findings (ACL) 2021 8 · Hao Zhang, Aixin Sun, Wei Jing, Liangli Zhen 외

Given a video, video grounding aims to retrieve a temporal moment that semantically corresponds to a language query. In this work, we propose a Parallel Attention Network with Sequence matching (SeqPAN) to address the ch…

Representation LearningVideo Grounding

Self-Contextualized Attention for Abusive Language Identification

2021-06-01 · NAACL (SocialNLP) 2021 6 · Horacio Jarquín-Vásquez, Hugo Jair Escalante, Manuel Montes

The use of attention mechanisms in deep learning approaches has become popular in natural language processing due to its outstanding performance. The use of these mechanisms allows one managing the importance of the elem…

Abusive LanguageLanguage Identification

Multiformer: A Head-Configurable Transformer-Based Model for Direct Speech Translation

2022-05-14 · NAACL (ACL) 2022 7 · Gerard Sant, Gerard I. Gállego, Belen Alastruey, Marta R. Costa-jussà

Transformer-based models have been achieving state-of-the-art results in several fields of Natural Language Processing. However, its direct application to speech tasks is not trivial. The nature of this sequences carries…

Translation

You Only Sample (Almost) Once: Linear Cost Self-Attention Via Bernoulli Sampling

2021-11-18 · Zhanpeng Zeng, Yunyang Xiong, Sathya N. Ravi, Shailesh Acharya 외

Transformer-based models are widely used in natural language processing (NLP). Central to the transformer model is the self-attention mechanism, which captures the interactions of token pairs in the input sequences and d…

GPU