atlas

Research map / Large language models / Reasoning and chain of thought

Puzzle: Distillation-Based NAS for Inference-Optimized LLMs

ICML 2025 · Large language models › Reasoning and chain of thought · approach: Efficient LLM serving · 2 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.

Puzzle applies hardware-aware decomposed NAS (blockwise local distillation, MIP-based architecture search, then global KD) to compress Llama-3.1-70B/3.3-70B into non-uniform 49-51B models that fit a single H100 with ~2.17x throughput while retaining ~98.4% accuracy.

Problem

High inference cost of large LLMs limits deployment; standard LLM architectures are uniform and not designed for inference efficiency on specific hardware, and conventional NAS or distillation is too costly at LLM scale.

Approach

Decompose NAS into per-block distillation trained in parallel (decoupled BLD over attention and FFN variants), score each block by KL divergence replace-1-block, then select a non-uniform architecture via mixed-integer programming under memory, latency and throughput constraints, followed by global KD with cosine and KLD losses.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply Puzzle distillation to Llama-3.1-70B-InstructLlama-3.1-70B-Instruct · GSM8K Chataccuracy: 81.58 -> 81.88Helped
Apply Puzzle distillation to Llama-3.1-70B-InstructLlama-3.1-70B-Instruct · MT-Benchscore: 8.93 -> 8.99Helped
Apply Puzzle distillation to Llama-3.1-70B-InstructLlama-3.1-70B-Instruct · Text Generation 128/1024throughput (tokens/sec/GPU): 2975 (TP4) -> 6472 (TP1)Helped
Add cosine and KLD losses, without LM loss, during GKD (ablation)Nemotron-51B after BLD · MMLUaccuracy: 78.39 -> 79.61Helped
Add cosine and KLD losses, without LM loss, during GKD (ablation)Nemotron-51B after BLD · MT-Benchscore: 8.67 -> 8.87Helped
Add LM loss to cosine and KLD GKD losses (ablation)Nemotron-51B after BLD · MT-Benchscore: 8.87 -> 8.66Hurt
Use coupled BLD refinement rather than decoupled BLD alone (ablation)Puzzle on Llama-3.1-8B-Instruct · Llama-3.1-8B-Instruct derivativeaccuracy: 73.10 -> 73.98Helped
Use Distillation Mix rather than Project Gutenberg for training, pruning, and block scoring (ablation)Puzzle on Llama-3.1-70B-Instruct · MT-Benchscore: 7.98 -> 8.61Helped
Increase BLD training budget from 0.25B to 1.0B tokens (ablation)Puzzle-optimized architecture · MT-Benchscore: 8.51 -> 8.98Helped
Score blocks with KL divergence rather than LM loss (ablation)Puzzle on Llama-3.1-8B-Instruct · Accuracy vs. throughput frontieraccuracyHelped
Score blocks with Half-MMLU accuracy rather than KL divergence (ablation)Puzzle on Llama-3.1-8B-Instruct · Half-MMLU test setaccuracy: 64.94 -> 66.24Helped
Score blocks with Half-MMLU accuracy rather than KL divergence (ablation)Puzzle on Llama-3.1-8B-Instruct · MT-Benchscore: 8.06 -> 7.57Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Distillation Mix (FineWeb, Dolma, Buzz-V1.2; 224B tokens pool) Project Gutenberg

Benchmarks: MMLU MT-Bench Winogrande ARC Challenge HellaSwag GSM8K TruthfulQA XLSum HumanEval RULER Arena Hard MMLU-STEM

Metrics: accuracy preserved (%) throughput (tokens/s/GPU) speedup MMLU MT-Bench human preference

Baselines: Llama-3.1-70B-Instruct Llama-3.3-70B-Instruct Llama-3.2-3B-Instruct Llama-3.1-8B-Instruct greedy search random architectures

Builds on: LANA DONNA DNA grouped-query attention Minitron

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