Zebra-Llama: Towards Extremely Efficient Hybrid Models
2025/05/22 by Mingyu Yang, Mehdi Rezagholizadeh, Yang, Mingyu +7 · 15 voices · 4 citations
#cs.LG #cs.CL
paper · pdf · doi:10.48550/arxiv.2505.17272
Abstract
With the growing demand for deploying large language models (LLMs) across diverse applications, improving their inference efficiency is crucial for sustainable and democratized access. However, retraining LLMs to meet new user-specific requirements is prohibitively expensive and environmentally unsustainable. In this work, we propose a practical and scalable alternative: composing efficient hybrid language models from existing pre-trained models. Our approach, Zebra-Llama, introduces a family of 1B, 3B, and 8B hybrid models by combining State Space Models (SSMs) and Multi-head Latent Attention (MLA) layers, using a refined initialization and post-training pipeline to efficiently transfer knowledge from pre-trained Transformers. Zebra-Llama achieves Transformer-level accuracy with near-SSM efficiency using only 7-11B training tokens (compared to trillions of tokens required for pre-training) and an 8B teacher. Moreover, Zebra-Llama dramatically reduces KV cache size -down to 3.9%, 2%, and 2.73% of the original for the 1B, 3B, and 8B variants, respectively-while preserving 100%, 100%, and >97% of average zero-shot performance on LM Harness tasks. Compared to models like MambaInLLaMA, X-EcoMLA, Minitron, and Llamba, Zebra-Llama consistently delivers competitive or superior accuracy while using significantly fewer tokens, smaller teachers, and vastly reduced KV cache memory. Notably, Zebra-Llama-8B surpasses Minitron-8B in few-shot accuracy by 7% while using 8x fewer training tokens, over 12x smaller KV cache, and a smaller teacher (8B vs. 15B). It also achieves 2.6x-3.8x higher throughput (tokens/s) than MambaInLlama up to a 32k context length. We will release code and model checkpoints upon acceptance.
Citations
Cited by
Discussions
- Zebra-Llama – Towards efficient hybrid models [hn, 113 points, 61 comments]
- Зебра-лама: к эффективным гибридным моделям Telegram ИИ Дайджест #ai #llama #news [bsky, 1 points, 0 comments]
- Zebra-Llama: Towards Efficient Hybrid Models Telegram AI Digest #ai #llama #news [bsky, 1 points, 0 comments]
- Zebra-Llama: Towards Efficient Hybrid Models arxiv.org/abs/2505.17272 (news.ycombinator.com/item?id=4617...) [bsky, 0 points, 0 comments]
- https://bsky.app/profile/hackernews.com.web.brid.gy/post/3m7ee6tli4y62 [bsky, 0 points, 0 comments]
- Zebra-Llama: Towards Efficient Hybrid Models #HackerNews https://arxiv.org/abs/2505.17272 [bsky, 0 points, 0 comments]
- Zebra-Llama – Towards efficient hybrid models https://arxiv.org/abs/2505.17272 https://news.ycombinator.com/item?id=46176289 [bsky, 0 points, 0 comments]
- Zebra-Llama: Towards Efficient Hybrid Models https://arxiv.org/abs/2505.17272 [bsky, 0 points, 0 comments]
- Zebra-Llama – Towards efficient hybrid models https://arxiv.org/abs/2505.17272 [comments] [94 points] [bsky, 0 points, 0 comments]
- ⚡ Hackernews Top story: Zebra-Llama: Towards Efficient Hybrid Models [bsky, 0 points, 0 comments]
- 最近、AIの研究で面白い論文が話題になってるみたいですね。 「Zebra-Llama」という名前で、効率的なハイブリッドモデルに関する研究なんですって。 詳細はまだ見ていないのですが、この分野は今後の発展に期待されているようです。 arxiv.org #news [bsky, 0 points, 0 comments]
- https://arxiv.org/abs/2505.17272 既存の事前学習済みモデルから効率的なハイブリッド言語モデルを構成する新しい手法、Zebra-Llamaが提案されました。 このモデルは、State Space Models (SSM) と Multi-head Latent Attention (MLA) レイヤーを組み合わせています。 Transformerレベルの精度を維持しつ [bsky, 0 points, 0 comments]
- Zebra-Llama: Towards Efficient Hybrid Models view on hacker news [bsky, 0 points, 0 comments]
- Zebra-Llama – Towards efficient hybrid models https:// arxiv.org/abs/2505.17272 # arxiv # llama [mastodon, 0 points, 0 comments]
- Zebra-Llama: Towards Efficient Hybrid Models https://arxiv.org/abs/2505.17272 (https://news.ycombinator.com/item?id=46176289) [bsky, 0 points, 0 comments]
Related