使用Q学习辅助的选举方法建模Bahdanau注意力
Modelling Bahdanau Attention using Election methods aided by Q-Learning
摘要:
神经机器翻译最近获得了很多“关注”,随着越来越复杂但大大改进的模型的出现。注意力机制已被证明是在这个方向上的一个福音,通过提供权重的输入单词,使解码器很容易识别的单词表示当前的上下文。但是,随着更复杂的新注意力模型的发展,它们涉及到大量的计算,使得推理变慢。在本文中,我们使用与社会选择理论相呼应的技术对注意力网络进行了建模。与此同时,注意力机制,作为一个马尔可夫决策过程,已表示为强化学习技术。因此,我们建议使用选举方法($k$ -Borda),使用Q学习进行微调,作为注意力网络的替代品。该网络的推理时间比标准的Bahdanau翻译器短,翻译结果也相当。这不仅从实验上验证了上述主张,而且有助于提供更快的推断。
英文摘要:
Neural Machine Translation has lately gained a lot of "attention" with the advent of more and more sophisticated but drastically improved models. Attention mechanism has proved to be a boon in this direction by providing weights to the input words, making it easy for the decoder to identify words representing the present context. But by and by, as newer attention models with more complexity came into development, they involved large computation, making inference slow. In this paper, we have modelled the attention network using techniques resonating with social choice theory. Along with that, the attention mechanism, being a Markov Decision Process, has been represented by reinforcement learning techniques. Thus, we propose to use an election method ($k$-Borda), fine-tuned using Q-learning, as a replacement for attention networks. The inference time for this network is less than a standard Bahdanau translator, and the results of the translation are comparable. This not only experimentally verifies the claims stated above but also helped provide a faster inference.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。