atlas

Research map / Architectures and efficiency / Attention and transformers

Zebra-Llama: Towards Extremely Efficient Hybrid Models

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Sparse attention for long-context LLMs · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Composes 1B/3B/8B hybrid models from pre-trained Llama and Qwen Transformers by SVD-initializing MLA and Mamba2 layers, intermediate-layer distillation, sensitivity-based layer placement (SMART), and SFT+DPO on about 7-11B tokens, achieving large KV cache reductions with near-base accuracy.

Problem

Making LLM inference memory- and compute-efficient (small KV cache, high throughput) without the prohibitive cost of pre-training new architectures from scratch or retraining per user requirement.

Approach

Build hybrid models interleaving MLA and Mamba2 layers by upcycling a pre-trained Transformer: SVD-based MLA initialization, Mamba2 initialization from attention weights, intermediate layer distillation to refine both, then choose MLA layer positions via a sensitivity-aware rule (SMART) before end-to-end distillation and DPO.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
compose 8 MLA and 8 Mamba2 layersZebra-Llama-1B · GSM8K 8-shotaccuracy: 38.51 -> 41.09Helped
increase MLA layers from 8 to 12 (ablation)Zebra-Llama-1B · GSM8K 8-shotaccuracy: 41.09% to 29.57%Hurt
select MLA layers with SMART rather than Uniform #1 (ablation)Zebra-Llama-1B · SMART layer selectionaverage score: 48.84 -> 50.15Helped
select MLA layers with SMART rather than Uniform #2 (ablation)Zebra-Llama-1B · SMART layer selectionaverage score: 49.72 -> 50.15Helped
select MLA layers with SMART rather than greedy maximum sensitivity (ablation)Zebra-Llama-1B · SMART layer selectionaverage score: 48.98 -> 50.15Helped
use 8B rather than 1B teacher (ablation)Zebra-Llama-1B 4MLA-12M2 · LM Harness zero-shotaverage accuracy: 49.11 -> 52.03Helped
use 70B rather than 8B teacher (ablation)Zebra-Llama-1B 4MLA-12M2 · LM Harness zero-shotaverage accuracy: 52.03 -> 52.44Helped
use 70B rather than 8B teacher (ablation)Zebra-Llama-3B 8MLA-20M2 · LM Harness zero-shotaverage accuracy: 59.39 -> 59.37No clear effect
use 70B rather than 8B teacher (ablation)Zebra-Llama-8B 8MLA-24M2 · LM Harness zero-shotaverage accuracy: 63.08 -> 63.48Helped
compose 14 MLA and 14 Mamba2 layersZebra-Llama-3B · GSM8K 8-shotaccuracy: 62.77Mixed

Surprising findings

Limitations

Experimental setup

Datasets: OpenHermes-2.5 GenQA Infinity-Instruct Llama3-ultrafeedback orca_dpo_pairs ultrafeedback_binarized

Benchmarks: ARC-Challenge ARC-Easy HellaSwag MMLU OpenBookQA PIQA RACE WinoGrande GSM8K GPQA RULER TruthfulQA

Metrics: accuracy normalized accuracy KV cache size ratio throughput (tokens/s) peak memory

Baselines: MambaInLlama X-EcoMLA Llamba Minitron Llama3.2-1B-Instruct Llama3.2-3B-Instruct Llama3.1-8B-Instruct

Builds on: MambaInLlama X-EcoMLA MOHAWK Multi-head Latent Attention Mamba2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy