用于字符级转换的精确硬单调注意力
Exact Hard Monotonic Attention for Character-Level Transduction
AI总结:
提出一种强制严格单调性并联合学习潜在对齐的硬注意力序列到序列模型,通过动态规划计算所有单调对齐的精确边缘化,在形态屈折变化等字符级转换任务上取得最先进性能。
摘要:
许多常见的字符级字符串到字符串转换任务,例如字素到音素转换和形态屈折变化,几乎完全由单调转换组成。然而,使用非单调软注意力的神经序列到序列模型通常优于流行的单调模型。在这项工作中,我们提出以下问题:单调性对这些任务真的是一种有用的归纳偏置吗?我们开发了一种硬注意力序列到序列模型,该模型强制执行严格单调性,并在学习转换的同时联合学习潜在对齐。借助动态规划,我们能够计算所有单调对齐的精确边缘化。我们的模型在形态屈折变化上实现了最先进的性能。此外,我们在其他两个字符级转换任务上发现了强大的性能。代码可在 https://github.com/shijie-wu/neural-transducer 获取。
英文摘要:
Many common character-level, string-to string transduction tasks, e.g., grapheme-tophoneme conversion and morphological inflection, consist almost exclusively of monotonic transductions. However, neural sequence-to sequence models that use non-monotonic soft attention often outperform popular monotonic models. In this work, we ask the following question: Is monotonicity really a helpful inductive bias for these tasks? We develop a hard attention sequence-to-sequence model that enforces strict monotonicity and learns a latent alignment jointly while learning to transduce. With the help of dynamic programming, we are able to compute the exact marginalization over all monotonic alignments. Our models achieve state-of-the-art performance on morphological inflection. Furthermore, we find strong performance on two other character-level transduction tasks. Code is available at https://github.com/shijie-wu/neural-transducer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。