'Attention Mechanisms decrease accuracy?

i used deep learning model and when i use Attention Mechanisms decrease accuracy ! is there some case Attention Mechanisms can decrease accuracy ! any advice ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source