Hymba: A Hybrid-head Architecture for Small Language Models
Summary
arXiv 2411.13676: Hymba hybrid-head (attention + SSM in parallel), learnable meta tokens, cross-layer KV sharing, partial SWA. Hymba-1.5B-Base claims SOTA among sub-2B public models and beats Llama-3.2-3B avg accuracy with ~11.67× smaller cache and ~3.49× throughput. HF: nvidia/Hymba-1.5B-Base|Instruct. Discord: NVIDIA hybrid Mamba×Attention 1.5B.
- Venue
- arXiv 2411.13676; NVIDIA
- Publisher
- arXiv 2411.13676; NVIDIA
- Source
- arxiv
- Access
- open arXiv PDF/abs
- Language
- en
- Purpose
- Hybrid-head parallel attention+SSM small LMs with meta tokens and compact KV cache
- Scale
- Hymba-1.5B; paper cites ~1.5T pretrain tokens for key results
- Domain
- hybrid Mamba/attention SLMs; meta tokens; KV sharing
- Used for
- small LM architecture; hybrid SSM-attention experiments
- Time period
- arXiv 2024-11-20; Discord Nov 2024
- Author type
- industry research (NVIDIA)
- Added
- Sep 14, 2026
- Verified
- Sep 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Nov 20, 2024
- arXiv categories
- cs.CL, cs.AI, cs.LG
- Author comment
- 20 pages, models are available on huggingface
- Citations
- 119 (12 influential)
- References
- 81
- Published in
- International Conference on Learning Representations
Abstract (from arXiv)
We propose Hymba, a family of small language models featuring a hybrid-head parallel architecture that integrates transformer attention mechanisms with state space models (SSMs) for enhanced efficiency. Attention heads provide high-resolution recall, while SSM heads enable efficient context summarization. Additionally, we introduce learnable meta tokens that are prepended to prompts, storing critical information and alleviating the "forced-to-attend" burden associated with attention mechanisms. This model is further optimized by incorporating cross-layer key-value (KV) sharing and partial sliding window attention, resulting in a compact cache size. During development, we conducted a controlled study comparing various architectures under identical settings and observed significant advantages of our proposed architecture. Notably, Hymba achieves state-of-the-art results for small LMs: Our Hymba-1.5B-Base model surpasses all sub-2B public models in performance and even outperforms Llama-3.2-3B with 1.32% higher average accuracy, an 11.67x cache size reduction, and 3.49x throughput.
Tags
Topics
hybrid Mamba/attention SLMs; meta tokens; KV sharing
Research notes
- Mapped from Discord NVIDIA hybrid model LinkedIn. Primary: arXiv abs.
Cited by, within this collection
Similar entries
- Paper Cross-Model KV Cache Transfer in LLM Families: A Closed-Form Linear Mapping for Prefill Reuse
- Paper Agentic Discovery of Neural Architectures: AIRA-Compose and AIRA-Design
- Paper SuperBPE: Space Travel for Language Models
- Paper PixelUMM: Encoder-Free Unified Image and Video Understanding and Generation
- Paper LatentMoE: Toward Optimal Accuracy per FLOP and Parameter in Mixture of Experts
- Paper HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing