NAISS
SUPR
Quantization, Kernels, and KD for Efficient LLMs
Dnr:

NAISS 2026/4-2179

Type:

NAISS Small

Principal Investigator:

Xaver Raphael Davey

Affiliation:

Kungliga Tekniska högskolan

Start Date:

2026-12-01

End Date:

2027-12-01

Primary Classification:

10210: Artificial Intelligence

Allocation

Abstract

Large language models are expensive to run. This project studies three ways to make them cheaper. These are knowledge distillation (KD), quantization, and faster matrix-multiply (GEMM) kernels. In the first year we released SilverSpoon-KD (arXiv:2611.22842), an open-source distillation toolkit. We also built a harness that measures the error, memory, speed and energy of over 90 quantization methods and 80 kernels on real model weights. Next year we have three aims. 1. Finish the GEMM study on Arrhenius and publish it with the harness and data. 2. Measure kernels and quantizers written by AI models in the same way, and compare them with hand-written ones. 3. Use distillation to recover the accuracy lost to 3- to 5-bit quantization, and check which of these formats actually save time and energy. The project is part of a PhD at KTH supervised by Prof. David Broman (KTH). It is funded by Digital Futures (SAFEGILE) and the Swedish Research Council (2024-05043).