Puzzle: Distillation-Based NAS for Inference-Optimized LLMs

A. Bercovich, Tomer Ronen, Talor Abramovich, Nir Ailon, Nave Assaf +21 more
2/12/2026

No official code found. Best implementation: NakiriAyame2222/PUZZLE-LLM-NAS (4 stars, last commit 2025-06-05).

Abstract

Large language models (LLMs) offer remarkable capabilities, yet their high inference costs restrict wider adoption. While increasing parameter counts improves accuracy, it also broadens the gap between state-of-the-art capabilities and practical deployability. We present Puzzle, a hardware-aware framework that accelerates the inference of LLMs while preserving their capabilities. Using neural architecture search (NAS) at a large-scale, Puzzle optimizes models with tens of billions of parameters. Our approach utilizes blockwise local knowledge distillation (BLD) for parallel architecture exploration and employs mixed-integer programming for precise constraint optimization. We showcase our framework's impact via Llama-3.1-Nemotron-51B-Instruct (Nemotron-51B) and Llama-3.3-Nemotron-49B, two publicly available models derived from Llama-70B-Instruct. Both models achieve a 2.17x inference throughput speedup, fitting on a single NVIDIA H100 GPU while retaining 98.4% of the original model's benchmark accuracies. These are the most accurate models supporting single H100 GPU inference with large batch sizes, despite training on 45B tokens at most, far fewer than the 15T used to train Llama-70B. Lastly, we show that lightweight alignment on these derived models allows them to surpass the parent model in specific capabilities. Our work establishes that powerful LLM models can be optimized for efficient deployment with only negligible loss in quality, underscoring that inference performance, not parameter count alone, should guide model selection.

View on arXivView PDF

Code Implementations(1)

A Python project demonstrating the core algorithmic flow of PUZZLE (arXiv:2411.19146), a framework using block-wise local distillation, architecture search (MIP/RL), and global knowledge distillation to optimize LLMs for efficient inference.

40PythonJun 4, 20251 years ago

Similar Papers

Cite this paper

@article{bercovich2026puzzle,
  title  = {Puzzle: Distillation-Based NAS for Inference-Optimized LLMs},
  author = {A. Bercovich and Tomer Ronen and Talor Abramovich and Nir Ailon and Nave Assaf and Mohammad Dabbah and Ido Galil and Amnon Geifman and Yonatan Geifman and I. Golan and Netanel Haber and Ehud Karpas and Roi Koren and Itay Levy and Pavlo Molchanov and Shahar Mor and Zach Moshe and Najeeb Nabwani and Omri Puny and Ran Rubin and Itamar Schen and Ido Shahaf and Oren Tropp and Omer Ullman Argov and Ran Zilberstein and Ran El-Yaniv},
  year   = {2026},
  eprint = {2411.19146},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.19146},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.19146.svg)](https://codeofpaper.com/paper/2411.19146)

Discussion