mlsanityData to 14 Oct 2026

Zebra-Llama: Towards Extremely Efficient Hybrid Models

arXiv 2505.17272 ↗First posted 22 May 2025cs.LG cs.CLcited by 18

On the map: Efficient LLM inference and serving → Serving systems and request scheduling

Abstract (arXiv)

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.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Placed in Serving systems and request scheduling, one of 12 directions in Efficient LLM inference and serving. Builds on 27 of its 34 references that are in the map. First posted on arXiv 22 May 2025.

Builds on

27 of 34 references.

Closest ancestors · 1

Same direction, newest first

  1. 2024An Empirical Study of Mamba-based Language Models12 Jun

Other references · 26

  1. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  2. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  5. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  6. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  7. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  8. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  9. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  10. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  11. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  12. 2024Qwen2.5-Coder Technical Reportcited by 1,203
14 more
  1. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  2. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,135
  3. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  4. 2019Improved Knowledge Distillation via Teacher Assistantcited by 573
  5. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
  6. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
  7. 2024Compact Language Models via Pruning and Knowledge Distillationcited by 148
  8. 2024The Mamba in the Llama: Distilling and Accelerating Hybrid Modelscited by 122
  9. 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
  10. 2024Transformers to SSMs: Distilling Quadratic Knowledge to Subquadratic Modelscited by 67
  11. 2021Annealing Knowledge Distillationcited by 61
  12. 2024GenQA: Generating Millions of Instructions from a Handful of Promptscited by 35
  13. 2025Llamba: Scaling Distilled Recurrent Models for Efficient Language Processingcited by 35
  14. 2025X-EcoMLA: Upcycling Pre-Trained Attention into MLA for Efficient and Extreme KV Compressioncited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 13.

18 papers.

Sort:

By area:

  1. 2025Distilling to Hybrid Attention Models via KL-Guided Layer Selectioncited by 20
  2. 2026Hybrid Linear Attention Done Right: Efficient Distillation and Effective Architectures for Extremely Long Contextscited by 18
  3. 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insightscited by 14
  4. 2026CARE: Covariance-Aware and Rank-Enhanced Decomposition for Enabling Multi-Head Latent Attentioncited by 5
  5. 2026Distill-then-Replace: Efficient Task-Specific Hybrid Attention Model Constructioncited by 3
  6. 2025Apriel-H1: Towards Efficient Enterprise Reasoning Modelscited by 2
  7. 2026SpikingBrain2.0: Brain-Inspired Foundation Models for Efficient Long-Context and Cross-Platform Inferencecited by 2
  8. 2026Morphing into Hybrid Attention Modelscited by 2
  9. 2025FarSkip-Collective: Unhobbling Blocking Communication in Mixture of Experts Modelscited by 1
  10. 2026MobileLLM-Flash: Latency-Guided On-Device LLM Design for Industry Scale Deploymentcited by 1
  11. 2026Taylor-Calibrate: Principled Initialization for Hybrid Linear Attention Distillationcited by 1
  12. 2025BlindSight: Harnessing Sparsity for Efficient Vision-Language Modelscited by 0
6 more
  1. 2026BOSCH: Black-Box Binary Optimization for Short-Context Attention-Head Selection in LLMscited by 0
  2. 2026Long-Context Aware Upcycling: A New Frontier for Hybrid LLM Scalingcited by 0
  3. 2026DASH: Fast Differentiable Architecture Search for Hybrid Attention in Minutes on a Single GPUcited by 0
  4. 2026Attention Amnesia in Hybrid LLMs: When CoT Fine-Tuning Breaks Long-Range Recall, and How to Fix Itcited by 0
  5. 2026On-Policy Attention Linearizationcited by 0
  6. 2026Multilinguality in Hybrid Attention LLMscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2023Accelerating LLaMA Inference by Enabling Intermediate Layer Decoding via Instruction Tuning with LITE
  2. 2025Evolution of meta's llama models and parameter-efficient fine-tuning of large language models: a survey
  3. 2025Leveraging the true depth of LLMs
  4. 2023LLaMA-Adapter: Efficient Fine-tuning of Language Models with Zero-init Attention
  5. 2026Llamas on the Web: Memory-Efficient, Performance-Portable, and Multi-Precision LLM Inference with WebGPU
  6. 2024Amharic LLaMA and LLaVA: Multimodal LLMs for Low Resource Languages
  7. 2024LLaMA-NAS: Efficient Neural Architecture Search for Large Language Models
  8. 2023LLaMA: Open and Efficient Foundation Language Models