Implicit Memory Transformer for Computationally Efficient Simultaneous Speech Translation

Matthew Raffel, Lizhong Chen
7/3/2023
cs.CLcs.LG

Official code: OSU-STARLAB/ImplicitMemory (3 stars, MIT, last commit 2023-07-21).

Abstract

Simultaneous speech translation is an essential communication task difficult for humans whereby a translation is generated concurrently with oncoming speech inputs. For such a streaming task, transformers using block processing to break an input sequence into segments have achieved state-of-the-art performance at a reduced cost. Current methods to allow information to propagate across segments, including left context and memory banks, have faltered as they are both insufficient representations and unnecessarily expensive to compute. In this paper, we propose an Implicit Memory Transformer that implicitly retains memory through a new left context method, removing the need to explicitly represent memory with memory banks. We generate the left context from the attention output of the previous segment and include it in the keys and values of the current segment's attention calculation. Experiments on the MuST-C dataset show that the Implicit Memory Transformer provides a substantial speedup on the encoder forward pass with nearly identical translation quality when compared with the state-of-the-art approach that employs both left context and memory banks.

View on arXivView PDF

Code Implementations(1)

MIT

[Findings of ACL 2023] Official implementation of "Implicit Memory Transformer for Computationally Efficient Simultaneous Speech Translation"

31C++, LuaMay 16, 20233 years agoMIT

Cite this paper

@article{raffel2023implicit,
  title  = {Implicit Memory Transformer for Computationally Efficient Simultaneous Speech Translation},
  author = {Matthew Raffel and Lizhong Chen},
  year   = {2023},
  eprint = {2307.01381},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.01381v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.01381.svg)](https://codeofpaper.com/paper/2307.01381)

Discussion