{"title":"一种统一的自我关注问题生成方法","authors":"Stalin Varanasi, Saadullah Amin, G. Neumann","doi":"10.18653/v1/2020.nlp4convai-1.3","DOIUrl":null,"url":null,"abstract":"Contextualized word embeddings provide better initialization for neural networks that deal with various natural language understanding (NLU) tasks including Question Answering (QA) and more recently, Question Generation(QG). Apart from providing meaningful word representations, pre-trained transformer models (Vaswani et al., 2017), such as BERT (Devlin et al., 2019) also provide self-attentions which encode syntactic information that can be probed for dependency parsing (Hewitt and Manning, 2019) and POStagging (Coenen et al., 2019). In this paper, we show that the information from selfattentions of BERT are useful for language modeling of questions conditioned on paragraph and answer phrases. To control the attention span, we use semi-diagonal mask and utilize a shared model for encoding and decoding, unlike sequence-to-sequence. We further employ copy-mechanism over self-attentions to acheive state-of-the-art results for Question Generation on SQuAD v1.1 (Rajpurkar et al., 2016).","PeriodicalId":407342,"journal":{"name":"Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI","volume":"137 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-07-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"11","resultStr":"{\"title\":\"CopyBERT: A Unified Approach to Question Generation with Self-Attention\",\"authors\":\"Stalin Varanasi, Saadullah Amin, G. Neumann\",\"doi\":\"10.18653/v1/2020.nlp4convai-1.3\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Contextualized word embeddings provide better initialization for neural networks that deal with various natural language understanding (NLU) tasks including Question Answering (QA) and more recently, Question Generation(QG). Apart from providing meaningful word representations, pre-trained transformer models (Vaswani et al., 2017), such as BERT (Devlin et al., 2019) also provide self-attentions which encode syntactic information that can be probed for dependency parsing (Hewitt and Manning, 2019) and POStagging (Coenen et al., 2019). In this paper, we show that the information from selfattentions of BERT are useful for language modeling of questions conditioned on paragraph and answer phrases. To control the attention span, we use semi-diagonal mask and utilize a shared model for encoding and decoding, unlike sequence-to-sequence. We further employ copy-mechanism over self-attentions to acheive state-of-the-art results for Question Generation on SQuAD v1.1 (Rajpurkar et al., 2016).\",\"PeriodicalId\":407342,\"journal\":{\"name\":\"Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI\",\"volume\":\"137 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-07-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"11\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.18653/v1/2020.nlp4convai-1.3\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2nd Workshop on Natural Language Processing for Conversational AI","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.18653/v1/2020.nlp4convai-1.3","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 11
摘要
上下文化词嵌入为处理各种自然语言理解(NLU)任务(包括问答(QA)和最近的问题生成(QG))的神经网络提供了更好的初始化。除了提供有意义的单词表示外,预训练的转换模型(Vaswani等人,2017),如BERT (Devlin等人,2019)还提供自关注,其编码的句法信息可以用于依赖性分析(Hewitt和Manning, 2019)和POStagging (Coenen等人,2019)。在本文中,我们证明了BERT的自关注信息对于以段落和回答短语为条件的问题的语言建模是有用的。为了控制注意力广度,我们使用半对角掩码,并利用共享模型进行编码和解码,而不像序列对序列。我们进一步采用复制机制而不是自我关注,以在SQuAD v1.1上获得最先进的问题生成结果(Rajpurkar et al., 2016)。
CopyBERT: A Unified Approach to Question Generation with Self-Attention
Contextualized word embeddings provide better initialization for neural networks that deal with various natural language understanding (NLU) tasks including Question Answering (QA) and more recently, Question Generation(QG). Apart from providing meaningful word representations, pre-trained transformer models (Vaswani et al., 2017), such as BERT (Devlin et al., 2019) also provide self-attentions which encode syntactic information that can be probed for dependency parsing (Hewitt and Manning, 2019) and POStagging (Coenen et al., 2019). In this paper, we show that the information from selfattentions of BERT are useful for language modeling of questions conditioned on paragraph and answer phrases. To control the attention span, we use semi-diagonal mask and utilize a shared model for encoding and decoding, unlike sequence-to-sequence. We further employ copy-mechanism over self-attentions to acheive state-of-the-art results for Question Generation on SQuAD v1.1 (Rajpurkar et al., 2016).