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

多语句语言模型的具有全等Transformers的层次GPT

Hierarchical GPT with Congruent Transformers for Multi-Sentence Language Models

School of Electrical Engineering, Korea Advanced Institute of Science and Technology(韩国科学技术院电气工程学院);KI for Artificial Intelligence, Korea Advanced Institute of Science and Technology(韩国科学技术院人工智能研究所)

Jihyeon Roh, Huiseong Gim, Soo-Young Lee

摘要:

我们报告了一个基于GPT的多句子语言模型的对话生成和文档理解。首先,我们提出了一个分层的GPT,它由三个块组成,即,句子编码块、句子生成块和句子解码块。句子编码和解码块基本上是标准Transformers的编码器-解码器块,它们独立地处理每个句子。句子生成块被插入在编码块和解码块之间,并且从先前的句子嵌入向量生成下一个句子嵌入向量。我们认为这是人类进行对话和理解段落和文档的方式。由于每个句子可以由更少的单词组成,所以句子编码和解码Transformers可以使用小得多的维度嵌入向量。其次,我们注意到在Transformers中使用了内积相似性度量。因此,为了比较同一空间中的两个向量,我们将查询和键的转换矩阵设置为相同。否则,相似性概念是不一致的。我们报告的实验结果表明,这两个修改增加了语言模型的多个句子的任务的性能。

英文摘要:

We report a GPT-based multi-sentence language model for dialogue generation and document understanding. First, we propose a hierarchical GPT which consists of three blocks, i.e., a sentence encoding block, a sentence generating block, and a sentence decoding block. The sentence encoding and decoding blocks are basically the encoder-decoder blocks of the standard Transformers, which work on each sentence independently. The sentence generating block is inserted between the encoding and decoding blocks, and generates the next sentence embedding vector from the previous sentence embedding vectors. We believe it is the way human make conversation and understand paragraphs and documents. Since each sentence may consist of fewer words, the sentence encoding and decoding Transformers can use much smaller dimensional embedding vectors. Secondly, we note the attention in the Transformers utilizes the inner-product similarity measure. Therefore, to compare the two vectors in the same space, we set the transform matrices for queries and keys to be the same. Otherwise, the similarity concept is incongruent. We report experimental results to show that these two modifications increase the language model performance for tasks with multiple sentences.

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

↑