Towards understanding how attention mechanism works in deep learning. - Tianyu Ruan; Shihua Zhang (CoRR, 2024)