← Library · Definition

Attention Mechanism

An attention mechanism allows a neural network to focus on specific parts of its input data that are most relevant for a given task. Instead of processing all input uniformly, it assigns different 'weights' or importance scores to various elements. This greatly improves performance in tasks like natural language processing, where certain words are more critical for understanding meaning.

Learn one new AI thing every day.

Daily Deck sends you seven plain-English cards like this every morning. Free.

Start free