Litcius/Paper detail

Optimizing Attention for Sequence Modeling via Reinforcement Learning

Hao Fei, Yue Zhang, Yafeng Ren, Donghong Ji

2021IEEE Transactions on Neural Networks and Learning Systems29 citationsDOI

Abstract

Attention has been shown highly effective for modeling sequences, capturing the more informative parts in learning a deep representation. However, recent studies show that the attention values do not always coincide with intuition in tasks, such as machine translation and sentiment classification. In this study, we consider using deep reinforcement learning to automatically optimize attention distribution during the minimization of end task training losses. With more sufficient environment states, iterative actions are taken to adjust attention weights so that more informative words receive more attention automatically. Results on different tasks and different attention networks demonstrate that our model is of great effectiveness in improving the end task performances, yielding more reasonable attention distribution. The more in-depth analysis further reveals that our retrofitting method can help to bring explainability for baseline attention.

Topics & Concepts

Reinforcement learningComputer scienceIntuitionArtificial intelligenceMachine learningTask (project management)Machine translationEngineeringCognitive sciencePsychologySystems engineeringTopic ModelingExplainable Artificial Intelligence (XAI)Machine Learning in Materials Science