神经元自回归序列建模中过平滑问题的表征与解决
Characterizing and addressing the issue of oversmoothing in neural autoregressive sequence modeling
摘要:
神经自回归序列模型模糊了许多可能的序列之间的概率,包括简并序列,如空序列或重复序列。在这项工作中,我们解决了一个特定的情况下,模型分配一个高概率不合理的短序列。我们定义过平滑率来量化这个问题。在确认神经机器翻译中的高度过平滑之后,我们建议在训练期间显式地最小化过平滑率。我们进行了一组实验,研究所提出的正则化模型分布和解码性能的影响。我们使用神经机器翻译任务作为测试平台,并考虑三个不同大小的数据集。我们的实验揭示了三个主要发现。首先,我们可以通过调整正则化的强度来控制模型的过平滑率。第二,通过增强过平滑损失贡献,令牌的概率和秩<eos>在不应该出现的位置严重下降。第三,所提出的正则化影响束搜索的结果,特别是当使用大束时。大光束的平移质量(以BLEU测量)的退化随着过平滑率的降低而显著减轻,但与较小光束尺寸相比的退化仍然存在。从这些观察,我们得出结论,高度的过平滑是神经自回归模型中的过度可能的短序列退化的情况下背后的主要原因。
英文摘要:
Neural autoregressive sequence models smear the probability among many possible sequences including degenerate ones, such as empty or repetitive sequences. In this work, we tackle one specific case where the model assigns a high probability to unreasonably short sequences. We define the oversmoothing rate to quantify this issue. After confirming the high degree of oversmoothing in neural machine translation, we propose to explicitly minimize the oversmoothing rate during training. We conduct a set of experiments to study the effect of the proposed regularization on both model distribution and decoding performance. We use a neural machine translation task as the testbed and consider three different datasets of varying size. Our experiments reveal three major findings. First, we can control the oversmoothing rate of the model by tuning the strength of the regularization. Second, by enhancing the oversmoothing loss contribution, the probability and the rank of <eos> token decrease heavily at positions where it is not supposed to be. Third, the proposed regularization impacts the outcome of beam search especially when a large beam is used. The degradation of translation quality (measured in BLEU) with a large beam significantly lessens with lower oversmoothing rate, but the degradation compared to smaller beam sizes remains to exist. From these observations, we conclude that the high degree of oversmoothing is the main reason behind the degenerate case of overly probable short sequences in a neural autoregressive model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。