Subquadratic Attention with a Hierarchical Tree-Structured Indexer
Ranking
Overall
79
Content
95
Popularity
42
Observed public metrics from 1 member.
Merged summary
TL;DR - Zyphra Hierarchical Attention uses a tree-structured index over compressed KV-cache summaries to achieve subquadratic attention scaling. It could enable pretrained LLMs to handle dramatically longer contexts without sacrificing key retrieval and reasoning capabilities.
- Queries traverse a progressively deepened tree to select a sparse subset of relevant keys.
- ZHA can retrofit pretrained models through short KL-distillation training over a few billion tokens.
- Reported evaluations cover long-context retrieval, reasoning, mathematics, and agentic coding.
- Performance modeling suggests advantages over competing methods beyond one million tokens and potential scaling to hundreds of millions or billions of tokens.
Sources (1)
Subquadratic Attention with a Hierarchical Tree-Structured Indexer
Public signals
Hugging Face upvotes 0
TL;DR - Zyphra Hierarchical Attention uses a tree-structured index over compressed KV-cache summaries to achieve subquadratic attention scaling. It could enable pretrained LLMs to handle dramatically longer contexts without sacrificing key retrieval and reasoning capabilities.
- Queries traverse a progressively deepened tree to select a sparse subset of relevant keys.
- ZHA can retrofit pretrained models through short KL-distillation training over a few billion tokens.
- Reported evaluations cover long-context retrieval, reasoning, mathematics, and agentic coding.
- Performance modeling suggests advantages over competing methods beyond one million tokens and potential scaling to hundreds of millions or billions of tokens.