paper-with-me

Papers

Understanding How Encoder-Decoder Architectures Attend

2021-10-28 · NeurIPS 2021 12 · Kyle Aitken, Vinay V Ramasesh, Yuan Cao, Niru Maheswaranathan

Encoder-decoder networks with attention have proven to be a powerful way to solve many sequence-to-sequence tasks. In these networks, attention aligns encoder and decoder states and is often used for visualizing network behavior. However, the mechanisms used by networks to generate appropriate attention matrices are still mysterious. Moreover, how these mechanisms vary depending on the particular architecture used for the encoder and decoder (recurrent, feed-forward, etc.) are also not well understood. In this work, we investigate how encoder-decoder networks solve different sequence-to-sequence tasks. We introduce a way of decomposing hidden states over a sequence into temporal (independent of input) and input-driven (independent of sequence position) components. This reveals how attention matrices are formed: depending on the task requirements, networks rely more heavily on either the temporal or input-driven components. These findings hold across both recurrent and feed-forward architectures despite their differences in forming the temporal components. Overall, our results provide new insight into the inner workings of attention-based encoder-decoder networks.

📄 PDF Abstract BibTeX arXiv:2110.15253

Code (0)

등록된 구현이 없습니다.

Tasks

Decoder

Similar Papers 제목 키워드 기반

Understanding Neural Machine Translation by Simplification: The Case of Encoder-free Models

2019-07-18 · RANLP 2019 9 · Gongbo Tang, Rico Sennrich, Joakim Nivre

In this paper, we try to understand neural machine translation (NMT) via simplifying NMT architectures and training encoder-free NMT models. In an encoder-free model, the sums of word embeddings and positional embeddings…

DecoderMachine TranslationNMTTranslation+1

FANS: Fusing ASR and NLU for on-device SLU

2021-10-31 · Martin Radfar, Athanasios Mouchtaris, Siegfried Kunzmann, Ariya Rastrow

Spoken language understanding (SLU) systems translate voice input commands to semantics which are encoded as an intent and pairs of slot tags and values. Most current SLU systems deploy a cascade of two neural models whe…

DecoderSpoken Language Understanding

Attendre: Wait To Attend By Retrieval With Evicted Queries in Memory-Based Transformers for Long Context Processing

2024-01-10 · Zi Yang, Nan Hua

As LLMs have become capable of processing more complex types of inputs, researchers have recently studied how to efficiently and affordably process possibly arbitrarily long sequences. One effective approach is to use a …

DecoderReading ComprehensionRetrievalTriviaQA

On the approximation properties of recurrent encoder-decoder architectures

2021-09-29 · ICLR 2022 4 · Zhong Li, Haotian Jiang, Qianxiao Li

Encoder-decoder architectures have recently gained popularity in sequence to sequence modelling, featuring in state-of-the-art models such as transformers. However, a mathematical understanding of their working principle…

Decoder

CoCa: Contrastive Captioners are Image-Text Foundation Models

2022-05-04 · Jiahui Yu, ZiRui Wang, Vijay Vasudevan, Legg Yeung 외

Exploring large-scale pretrained foundation models is of significant interest in computer vision because these models can be quickly transferred to many downstream tasks. This paper presents Contrastive Captioner (CoCa),…

Action ClassificationDecoderImage CaptioningImage Classification+9