Optimizing Attention for Sequence Modeling via Reinforcement Learning
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.
BibTeX
@article{fei2022optimizing,
author = {Hao Fei and Yue Zhang and Yafeng Ren and Donghong Ji},
title = {{Optimizing Attention for Sequence Modeling via Reinforcement Learning}},
journal = {IEEE Trans. Neural Networks Learn. Syst.},
year = {2022},
url = {https://openreview.net/forum?id=rAqiAiJxOt},
}Ask Althea to put this paper to the test.
Loading related content...