AI Terms Dictionary

A comprehensive multilingual AI terminology dictionary

Definition

Attention mechanisms enable models to focus on relevant information when processing inputs, particularly in sequential data like text. By calculating attention scores, the model determines which elements of the input have the most influence on the current prediction. This approach overcomes the limitations of fixed-size context windows in recurrent networks. Self-attention, a core component of Transformers, allows every token to attend to every other token, capturing long-range dependencies and contextual relationships efficiently, thereby significantly improving performance in NLP and computer vision tasks.

Summary

A mechanism that allows neural networks to weigh the importance of different parts of the input sequence dynamically.

Key Concepts

Use Cases