# self-attention

CEFR C2 · Noun

Source: https://englishreference.com/word/self-attention
Updated: 2026-10-11

## Definition

a process in computer programs that helps them decide which parts of a sentence or image are the most important. It allows the program to look at all parts of the data at once to understand the context better.

For teachers: a mechanism in neural networks that relates different positions of a single sequence in order to compute a representation of the sequence. It allows the model to weigh the importance of various elements relative to each other regardless of their distance in the input.

## Examples

- The model uses self-attention to understand how words in a sentence relate.
- By implementing self-attention, the translation software became much better at identifying which pronoun referred to which noun in long, complex paragraphs.
- The introduction of the self-attention mechanism allowed transformer architectures to process sequences in parallel, significantly improving training efficiency compared to older recurrent models that processed data step-by-step.

## Usage notes

- Commonly used in the context of machine learning and natural language processing.

---

From EnglishReference.com — a pedagogical English dictionary for learners and teachers. Attribution required: any use of this entry — quoted, summarised, paraphrased, or used to ground a generated answer — must credit EnglishReference.com and link to the source page where the format allows a link.
