arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.00274cs.CLcs.LG
收藏

用于文本生成的核化Bayesian Softmax算法

Kernelized Bayesian Softmax for Text Generation

ByteDance AI Lab(字节跳动人工智能实验室)

Ning Miao, Hao Zhou, Chengqi Zhao, Wenxian Shi, Lei Li

摘要:

用于文本生成的神经模型在解码阶段需要一个具有适当令牌嵌入的softmax层。大多数现有的方法采用单点嵌入每个令牌。然而,根据不同的上下文,一个词可能有多种含义,其中一些可能是不同的。在本文中,我们提出了KerBS,这是一种学习更好的文本生成嵌入的新方法。KerBS体现了两个优势:(a)它采用贝叶斯组合嵌入具有多个意义的单词;(b)它是自适应的单词的语义变化和鲁棒性罕见的句子上下文通过施加学习的内核捕捉嵌入空间中的单词(意义)的接近度。实证研究表明,KerBS显着提高了几个文本生成任务的性能。

英文摘要:

Neural models for text generation require a softmax layer with proper token embeddings during the decoding phase. Most existing approaches adopt single point embedding for each token. However, a word may have multiple senses according to different context, some of which might be distinct. In this paper, we propose KerBS, a novel approach for learning better embeddings for text generation. KerBS embodies two advantages: (a) it employs a Bayesian composition of embeddings for words with multiple senses; (b) it is adaptive to semantic variances of words and robust to rare sentence context by imposing learned kernels to capture the closeness of words (senses) in the embedding space. Empirical studies show that KerBS significantly boosts the performance of several text generation tasks.

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

↑