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

问题生成模型中的变形形式是冗余的

Inflected Forms Are Redundant in Question Generation Models

University of Macau(澳门大学);Meituan Inc.(美团公司)

Xingwu Sun, Hongyin Tang, chengzhong Xu

摘要:

具有编码器-解码器框架的神经模型为问题生成(QG)提供了可行的解决方案。然而,在分析模型词汇表后,我们发现当前的模型(基于RNN的和基于预训练的)有超过23%的变形形式。结果,编码器将为变形形式生成单独的嵌入,导致训练数据和参数的浪费。更糟糕的是,在解码时,这些模型容易受到不相关噪声的影响,并且它们的计算成本很高。在本文中,我们提出了一种方法,以提高QG的性能,融合词转换。首先,我们从编码器的输入中识别出词的屈折形式,并将其替换为词根词,让编码器更加关注重复的词根词。其次,我们建议将QG适应为编码器-解码器框架中以下动作的组合:生成疑问词,从源序列复制词或生成词变换类型。这种扩展可以大大减少解码器中预测字的大小以及噪声。我们将我们的方法应用于一个典型的基于RNN的模型和\textsc{UniLM},以获得改进的版本。我们在SQuAD和MS MARCO数据集上进行了广泛的实验。实验结果表明,改进后的算法在BLEU、ROUGE-L和METEOR等性能指标以及时间开销方面都明显优于相应的基准算法。

英文摘要:

Neural models with an encoder-decoder framework provide a feasible solution to Question Generation (QG). However, after analyzing the model vocabulary we find that current models (both RNN-based and pre-training based) have more than 23\% inflected forms. As a result, the encoder will generate separate embeddings for the inflected forms, leading to a waste of training data and parameters. Even worse, in decoding these models are vulnerable to irrelevant noise and they suffer from high computational costs. In this paper, we propose an approach to enhance the performance of QG by fusing word transformation. Firstly, we identify the inflected forms of words from the input of encoder, and replace them with the root words, letting the encoder pay more attention to the repetitive root words. Secondly, we propose to adapt QG as a combination of the following actions in the encode-decoder framework: generating a question word, copying a word from the source sequence or generating a word transformation type. Such extension can greatly decrease the size of predicted words in the decoder as well as noise. We apply our approach to a typical RNN-based model and \textsc{UniLM} to get the improved versions. We conduct extensive experiments on SQuAD and MS MARCO datasets. The experimental results show that the improved versions can significantly outperform the corresponding baselines in terms of BLEU, ROUGE-L and METEOR as well as time cost.

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

↑