Fig. 3: Visualizing the local attention Mechanism.
From: Bridging clinical knowledge and AI: an interpretable transformer framework for ECG diagnosis

The attention map highlights the significance of the local attention mechanism, particularly in light of the substantial local heterogeneity observed between these classifications.