arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.01381cs.CLcs.LG
收藏

面向计算高效同声传译的隐式记忆Transformer

Implicit Memory Transformer for Computationally Efficient Simultaneous Speech Translation

Oregon State University(俄勒冈州立大学)

Matthew Raffel, Lizhong Chen

AI总结:

本文提出隐式记忆Transformer,用上一段注意力输出作为左上下文替代记忆库,在MuST-C上以几乎相同的翻译质量显著加速同声传译编码器计算。

摘要:

同声传译是一项对人类而言困难但必不可少的通信任务,要求在语音输入不断到来的同时生成译文。对于这类流式任务,采用分块处理将输入序列切分为若干段的Transformer已以较低的计算成本取得了当前最优性能。现有用于在段间传递信息的方法,包括左上下文和记忆库,均不尽如人意,因为它们既表示不充分,又计算开销不必要地高昂。本文提出一种隐式记忆Transformer,通过一种新的左上下文方法隐式保留记忆,从而无需借助记忆库显式表示记忆。我们从上一段的注意力输出生成左上下文,并将其纳入当前段注意力计算的键和值中。在MuST-C数据集上的实验表明,与同时使用左上下文和记忆库的当前最优方法相比,隐式记忆Transformer在编码器前向传播上实现了显著加速,同时翻译质量几乎相同。

英文摘要:

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.

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

↑