arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1906.02780cs.CL
收藏

用于更快神经机器翻译的语法监督Transformers

Syntactically Supervised Transformers for Faster Neural Machine Translation

College of Information and Computer Sciences(信息与计算机科学学院);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Nader Akoury, Kalpesh Krishna, Mohit Iyyer

摘要:

用于神经机器翻译的标准解码器在每个时间步长自回归地生成单个目标令牌,这减慢了推理,特别是对于长输出。虽然诸如Transformer之类的架构进步在训练时完全并行化解码器计算,但推理仍按顺序进行。非自回归解码和半自回归解码自回归解码的最新发展在每个时间步独立于其他时间步产生多个令牌,这提高了推理速度,但降低了翻译质量。在这项工作中,我们提出了语法监督的Transformer(SynST),它首先自回归预测一个分块的解析树,然后生成所有的目标令牌在一个镜头的条件下预测的解析。一系列对照实验表明,SynST解码句子的速度比基线自回归Transformer快约5倍,同时在En-De和En-Fr数据集上获得比大多数竞争方法更高的BLEU分数。

英文摘要:

Standard decoders for neural machine translation autoregressively generate a single target token per time step, which slows inference especially for long outputs. While architectural advances such as the Transformer fully parallelize the decoder computations at training time, inference still proceeds sequentially. Recent developments in non- and semi- autoregressive decoding produce multiple tokens per time step independently of the others, which improves inference speed but deteriorates translation quality. In this work, we propose the syntactically supervised Transformer (SynST), which first autoregressively predicts a chunked parse tree before generating all of the target tokens in one shot conditioned on the predicted parse. A series of controlled experiments demonstrates that SynST decodes sentences ~ 5x faster than the baseline autoregressive Transformer while achieving higher BLEU scores than most competing methods on En-De and En-Fr datasets.

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

↑