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

带模仿损失的动态调度抽样神经文本生成

Dynamic Scheduled Sampling with Imitation Loss for Neural Text Generation

Nanyang Technological University(南洋理工大学)

Xiang Lin, Prathyusha Jwalapuram, Shafiq Joty

摘要:

最先进的神经文本生成模型通常经过训练,以最大化以先前目标令牌为条件的地面实况序列中每个令牌的可能性。然而,在推理过程中,模型需要根据自己生成的标记进行预测。这种训练-测试差异被称为暴露偏倚。定时采样是一种课程学习策略,它在训练过程中逐渐将模型暴露于自己的预测中,以减轻这种偏差。大多数提出的方法都基于训练步骤设计调度器,这通常需要根据训练设置进行仔细调整。在这项工作中,我们引入了动态计划采样与模仿损失(DySI),它仅基于训练时间的准确性来保持时间表,同时通过引入模仿损失来增强课程学习,这试图使解码器的行为与教师强制解码器的行为难以区分。DySI普遍适用于所有训练设置,只需进行最小的调整。大量的实验和分析表明,DySI不仅在标准机器翻译基准测试中取得了显著的改进,而且显著提高了其他文本生成模型的鲁棒性。

英文摘要:

State-of-the-art neural text generation models are typically trained to maximize the likelihood of each token in the ground-truth sequence conditioned on the previous target tokens. However, during inference, the model needs to make a prediction conditioned on the tokens generated by itself. This train-test discrepancy is referred to as exposure bias. Scheduled sampling is a curriculum learning strategy that gradually exposes the model to its own predictions during training to mitigate this bias. Most of the proposed approaches design a scheduler based on training steps, which generally requires careful tuning depending on the training setup. In this work, we introduce Dynamic Scheduled Sampling with Imitation Loss (DySI), which maintains the schedule based solely on the training time accuracy, while enhancing the curriculum learning by introducing an imitation loss, which attempts to make the behavior of the decoder indistinguishable from the behavior of a teacher-forced decoder. DySI is universally applicable across training setups with minimal tuning. Extensive experiments and analysis show that DySI not only achieves notable improvements on standard machine translation benchmarks, but also significantly improves the robustness of other text generation models.

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

↑