稀疏Seq2Seq搜索空间的平滑和收缩
Smoothing and Shrinking the Sparse Seq2Seq Search Space
摘要:
目前的序列到序列模型被训练成最小化交叉熵,并使用softmax来计算目标序列上的局部归一化概率。虽然这种设置在各种任务中都得到了很好的结果,但一个不令人满意的方面是它的长度偏差:模型对简短,不充分的假设给予高分,并且经常使空字符串成为argmax -所谓的猫得到了你的舌头问题。最近提出的基于entmax的稀疏序列到序列模型提供了一种可能的解决方案,因为它们可以通过将零概率分配给坏假设来缩小搜索空间,但是它们使用Transformers处理字级任务的能力从未被测试过。在这项工作中,我们证明了基于entmax的模型有效地解决了猫得到了你的舌头问题,消除了神经机器翻译模型误差的主要来源。此外,我们推广标签平滑,一个关键的正则化技术,更广泛的家庭Fenchel-Young损失,其中包括交叉熵和entmax损失。我们得到的标签平滑entmax损失模型在多语言字形到音素转换方面开创了一个新的领域,并在跨语言形态变化和6种语言对的机器翻译方面提供了改进和更好的校准特性。
英文摘要:
Current sequence-to-sequence models are trained to minimize cross-entropy and use softmax to compute the locally normalized probabilities over target sequences. While this setup has led to strong results in a variety of tasks, one unsatisfying aspect is its length bias: models give high scores to short, inadequate hypotheses and often make the empty string the argmax -- the so-called cat got your tongue problem. Recently proposed entmax-based sparse sequence-to-sequence models present a possible solution, since they can shrink the search space by assigning zero probability to bad hypotheses, but their ability to handle word-level tasks with transformers has never been tested. In this work, we show that entmax-based models effectively solve the cat got your tongue problem, removing a major source of model error for neural machine translation. In addition, we generalize label smoothing, a critical regularization technique, to the broader family of Fenchel-Young losses, which includes both cross-entropy and the entmax losses. Our resulting label-smoothed entmax loss models set a new state of the art on multilingual grapheme-to-phoneme conversion and deliver improvements and better calibration properties on cross-lingual morphological inflection and machine translation for 6 language pairs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。