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

加速Entmax

Speeding Up Entmax

Nazarbayev University(纳扎尔巴耶夫大学);NAVER LABS Europe(NAVER LABS欧洲)

Maxat Tezekbayev, Vassilina Nikoulina, Matthias Gallé, Zhenisbek Assylbekov

摘要:

Softmax是现代神经网络语言处理的事实标准。然而,通过产生密集的概率分布,词汇表中的每个标记在每个生成步骤中都有非零的机会被选择,从而导致文本生成中的各种报告问题。Peters等人的$α$ -entmax(2019,arXiv:1905.05702)解决了这个问题,但比softmax慢得多。在本文中,我们提出了一个替代$α$ -entmax,它保持了其良性的特点,但一样快,优化softmax,并实现了同等或更好的性能在机器翻译任务。

英文摘要:

Softmax is the de facto standard in modern neural networks for language processing when it comes to normalizing logits. However, by producing a dense probability distribution each token in the vocabulary has a nonzero chance of being selected at each generation step, leading to a variety of reported problems in text generation. $α$-entmax of Peters et al. (2019, arXiv:1905.05702) solves this problem, but is considerably slower than softmax. In this paper, we propose an alternative to $α$-entmax, which keeps its virtuous characteristics, but is as fast as optimized softmax and achieves on par or better performance in machine translation task.

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

↑