用于神经生成的即时注意调制
On-the-Fly Attention Modulation for Neural Generation
摘要:
尽管深度神经语言模型(LM)取得了相当大的进步,但神经文本生成仍然存在退化问题:生成的文本重复、通用、自相矛盾,而且往往缺乏常识。我们对LMs的注意模式的分析表明,神经退化可能与注意力机制对特定任务特征的学习不足有关。这一发现激发了即时注意力调节-一种简单但有效的方法,可以在推理过程中将先验知识注入注意力计算。三个文本生成基准的自动和人工评估结果表明,注意力调制有助于LM生成具有增强的流畅性,创造力和常识推理的文本,除了显着减少重复水平。
英文摘要:
Despite considerable advancements with deep neural language models (LMs), neural text generation still suffers from degeneration: the generated text is repetitive, generic, self-contradictory, and often lacks commonsense. Our analyses on sentence-level attention patterns in LMs reveal that neural degeneration may be associated with insufficient learning of task-specific characteristics by the attention mechanism. This finding motivates on-the-fly attention modulation -- a simple but effective method that enables the injection of priors into attention computation during inference. Automatic and human evaluation results on three text generation benchmarks demonstrate that attention modulation helps LMs generate text with enhanced fluency, creativity, and commonsense reasoning, in addition to significantly reduce sentence-level repetition.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。