生成、过滤和排序:生产就绪NLG系统的语法分类
Generate, Filter, and Rank: Grammaticality Classification for Production-Ready NLG Systems
摘要:
自然语言生成(NLG)的神经方法已被用于面向目标的对话。然而,将这些方法生产化的挑战之一是控制响应质量的能力,并确保生成的响应是可接受的。我们建议使用一个生成,过滤器和排名框架,在该框架中,候选人的反应首先过滤,以消除不可接受的反应,然后排名,以选择最佳的反应。虽然可接受性包括语法正确性和语义正确性,但本文仅关注语法性分类,并表明现有的语法错误校正数据集无法正确捕获数据驱动生成器可能发生的错误分布。我们发布了天气领域的语法分类和语义正确性分类数据集,该数据集由3个数据驱动的NLG系统生成的响应组成。然后,我们探讨了两种监督学习方法(CNN和GBDTs)的语法分类。我们的实验表明,语法分类是非常敏感的数据中的错误的分布,这些分布显着不同的响应源以及域。我们表明,在我们的数据集上,有可能实现高精度和合理的召回率。
英文摘要:
Neural approaches to Natural Language Generation (NLG) have been promising for goal-oriented dialogue. One of the challenges of productionizing these approaches, however, is the ability to control response quality, and ensure that generated responses are acceptable. We propose the use of a generate, filter, and rank framework, in which candidate responses are first filtered to eliminate unacceptable responses, and then ranked to select the best response. While acceptability includes grammatical correctness and semantic correctness, we focus only on grammaticality classification in this paper, and show that existing datasets for grammatical error correction don't correctly capture the distribution of errors that data-driven generators are likely to make. We release a grammatical classification and semantic correctness classification dataset for the weather domain that consists of responses generated by 3 data-driven NLG systems. We then explore two supervised learning approaches (CNNs and GBDTs) for classifying grammaticality. Our experiments show that grammaticality classification is very sensitive to the distribution of errors in the data, and that these distributions vary significantly with both the source of the response as well as the domain. We show that it's possible to achieve high precision with reasonable recall on our dataset.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。