Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
119 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

On the Locality of Attention in Direct Speech Translation (2204.09028v1)

Published 19 Apr 2022 in cs.CL, cs.SD, and eess.AS

Abstract: Transformers have achieved state-of-the-art results across multiple NLP tasks. However, the self-attention mechanism complexity scales quadratically with the sequence length, creating an obstacle for tasks involving long sequences, like in the speech domain. In this paper, we discuss the usefulness of self-attention for Direct Speech Translation. First, we analyze the layer-wise token contributions in the self-attention of the encoder, unveiling local diagonal patterns. To prove that some attention weights are avoidable, we propose to substitute the standard self-attention with a local efficient one, setting the amount of context used based on the results of the analysis. With this approach, our model matches the baseline performance, and improves the efficiency by skipping the computation of those weights that standard attention discards.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (4)
  1. Belen Alastruey (12 papers)
  2. Javier Ferrando (15 papers)
  3. Gerard I. Gállego (19 papers)
  4. Marta R. Costa-jussà (73 papers)
Citations (7)

Summary

We haven't generated a summary for this paper yet.