Transformers and LLMs

Hybrid Attention, explained

Hybrid attention combines different attention patterns, such as local and global attention, inside one model.
Back to Glossary

Part of the Semantic Notion technical glossary.

Short Definition

Hybrid attention combines different attention patterns, such as local and global attention, inside one model.

Intuition

The model uses cheap local attention where nearby context is enough and global attention where full-context access matters.

Technical Definition

Hybrid attention architectures mix attention masks or attention mechanisms across layers to balance compute, memory, and context access.

Example

Inkling alternates sliding-window attention with global attention layers.

Common Misunderstandings

Hybrid attention is a design family, not one fixed algorithm.
It does not remove the need to test long-context behavior empirically.

Start here

Need the broader concept map?

Return to the glossary index to move from this definition into adjacent AI, ML, mathematics, and computer science terms.