Home Tools Glossary Infini-attention
Technique

Infini-attention

Infini-Transformer Attention Mechanism

/in-fin-ee uh-ten-shun/

An attention mechanism that combines local causal attention with compressive global memory to scale transformers to infinite context.

In plain English
Infini-attention acts like a smart notebook that keeps detailed notes of recent conversations while summarizing older history into compressed memory, allowing the AI to process endless text without running out of space.
Real-world example
Processing multi-hour video transcripts and massive code repositories with constant memory overhead.
Technical definition
Infini-attention integrates compressive global memory into standard transformer attention mechanisms, combining masked local causal attention with an eternal memory state. By maintaining persistent hidden representations alongside sliding window attention, it achieves bounded memory footprints while scaling to infinitely long context sequences.