arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1607.08725cs.CL
收藏

Cseq2seq:循环序列到序列学习

Cseq2seq: Cyclic Sequence-to-Sequence Learning

Xiamen University(厦门大学);Soochow University(苏州大学)

Biao Zhang, Deyi Xiong, Jinsong Su

摘要:

香草序列到序列学习(seq 2seq)读取和编码一个源序列到一个固定长度的向量只有一次,在源和目标序列之间的结构对应建模不足的痛苦。在本文中,我们建议使用递归神经网络(RNN)作为替代方案(Cseq 2seq-I),而不是使用线性加权注意力机制来处理这种不足。在解码期间,Cseq 2seq-I将先前的解码状态循环地反馈回编码器作为RNN的初始状态,并重新编码源表示以产生上下文向量。我们惊讶地发现,引入的RNN成功地动态检测相关的源令牌根据部分目标序列。基于这一发现,我们进一步假设,部分目标序列可以作为一个反馈,以提高对源序列的理解。为了验证这一假设,我们提出了循环序列到序列学习(Cseq 2seq-II),它不同于seq 2seq只有在重新引入以前的解码状态到同一个编码器。我们进一步在Cseq 2seq-II上执行参数共享,以减少参数冗余并增强正则化。特别是,我们共享编码器和解码器的权重,以及两个目标端词嵌入,使Cseq 2seq-II等效于单个条件RNN模型,具有31%的参数修剪,但性能更好。Cseq 2seq-II不仅保留了seq 2seq的简单性,而且在机器翻译任务上也产生了相当的和有希望的结果。在汉英和英德翻译上的实验表明,Cseq 2seq在seq 2seq上取得了显著和一致的改进,与基于注意力的seq 2seq模型一样具有竞争力。

英文摘要:

The vanilla sequence-to-sequence learning (seq2seq) reads and encodes a source sequence into a fixed-length vector only once, suffering from its insufficiency in modeling structural correspondence between the source and target sequence. Instead of handling this insufficiency with a linearly weighted attention mechanism, in this paper, we propose to use a recurrent neural network (RNN) as an alternative (Cseq2seq-I). During decoding, Cseq2seq-I cyclically feeds the previous decoding state back to the encoder as the initial state of the RNN, and reencodes source representations to produce context vectors. We surprisingly find that the introduced RNN succeeds in dynamically detecting translationrelated source tokens according to the partial target sequence. Based on this finding, we further hypothesize that the partial target sequence can act as a feedback to improve the understanding of the source sequence. To test this hypothesis, we propose cyclic sequence-to-sequence learning (Cseq2seq-II) which differs from the seq2seq only in the reintroduction of previous decoding state into the same encoder. We further perform parameter sharing on Cseq2seq-II to reduce parameter redundancy and enhance regularization. In particular, we share the weights of the encoder and decoder, and two targetside word embeddings, making Cseq2seq-II equivalent to a single conditional RNN model, with 31% parameters pruned but even better performance. Cseq2seq-II not only preserves the simplicity of seq2seq but also yields comparable and promising results on machine translation tasks. Experiments on Chinese- English and English-German translation show that Cseq2seq achieves significant and consistent improvements over seq2seq and is as competitive as the attention-based seq2seq model.

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

↑