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

编码器/解码器模型中的长度偏差和全局调节的一个例子

Length bias in Encoder Decoder Models and a Case for Global Conditioning

Google(谷歌);IIT Bombay(印度理工学院孟买分校)

Pavel Sountsov, Sunita Sarawagi

摘要:

编码器-解码器网络在许多应用中流行于对序列进行概率建模。这些模型使用长短期记忆(LSTM)架构的功能来捕获变量之间的完全依赖关系,而不像CRF等早期模型通常假设非相邻变量之间的条件独立性。然而,在实践中,编码器-解码器模型表现出对短序列的偏置,这令人惊讶地随着波束尺寸的增加而变得更糟。在本文中,我们表明,这种现象是由于全序列的利润率和每元素的利润率之间的差异所执行的编码器-解码器模型的局部条件训练目标。这种差异对长序列的影响更大,这解释了预测短序列的偏差。对于预测序列来自闭集的情况,我们证明了全局条件模型解决了编码器-解码器模型的上述问题。从实际的角度来看,我们提出的模型还消除了在推理过程中对波束搜索的需要,这减少了在向量空间中基于点积的高效搜索。

英文摘要:

Encoder-decoder networks are popular for modeling sequences probabilistically in many applications. These models use the power of the Long Short-Term Memory (LSTM) architecture to capture the full dependence among variables, unlike earlier models like CRFs that typically assumed conditional independence among non-adjacent variables. However in practice encoder-decoder models exhibit a bias towards short sequences that surprisingly gets worse with increasing beam size. In this paper we show that such phenomenon is due to a discrepancy between the full sequence margin and the per-element margin enforced by the locally conditioned training objective of a encoder-decoder model. The discrepancy more adversely impacts long sequences, explaining the bias towards predicting short sequences. For the case where the predicted sequences come from a closed set, we show that a globally conditioned model alleviates the above problems of encoder-decoder models. From a practical point of view, our proposed model also eliminates the need for a beam-search during inference, which reduces to an efficient dot-product based search in a vector-space.

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

↑