arXiv Machine Learning

LazyWeights: Decode-on-Demand Edge LLMs

LazyWeights is a technique that retains existing quantized formats (GPTQ, AWQ, llama.cpp’s K‑ and I‑quants) but optimizes GPTQ to compress integer codes, losslessly Huffman‑encode them, and decode on demand in a small ASIC unit between DRAM and L2. This approach allows GPU kernels to run unchanged while only moving coded bytes, yielding 5.7–31.4% smaller models for Phi‑3‑mini, Mistral‑7B and SmolLM‑1.7B under 1% and 3.5% perplexity budgets. The 0.21 mm² ASIC decoder (1 GHz, 7 nm) reduces latency and energy per token on Jetson Orin by up to 36 % and 38 % (and more with prompt‑lookup speculation), and on Jetson Nano it cuts time and energy per token by 58–64 % and 53–57 % respectively, enabling a streamed Mistral‑7B to run 6.6× faster at 3.89 bits per weight.

arXiv Machine Learning
Sep 3

Unfolding the Leech Lattice: Fused Multi-Shell Decoding and VRAM Layouts for 2-Bit LLM Weights

The paper introduces a multi‑shell decoder for Leech‑lattice vector quantization, achieving the best reported 2‑bit quality under its evaluation protocol. It presents a GPU‑friendly layout that fuses dequantization with matrix‑vector multiplication, demonstrating significant speed and memory advantages over traditional one‑hot masks and other 4‑bit methods. Experiments show the new kernel outperforms baseline approaches across multiple model sizes, with measurable gains in throughput and reduced byte traffic.

By Pier-Jean Malandrino (Scub)
arXiv Machine Learning
Oct 19

Memory Bandwidth, Not FLOPs: Profiling and Accelerating Query-Based Segmentation Decoders on Edge GPUs

The paper shows that query‑based segmentation decoders on edge GPUs are limited by memory bandwidth rather than FLOPs. Profiling reveals that non‑tensor‑core operations consume a large fraction of decoder time and bytes, saturating the DRAM bus. CompactInst mitigates this by using parameter‑free spatial pooling and a lightweight refinement head, achieving significant speedups on Jetson Orin Nano while maintaining accuracy.

By Oliver Busemann (Osnabr\"uck University, CLAAS E-Systems GmbH), Torben T\"oniges (CLAAS E-Systems GmbH), Martin Atzmueller (Semantic Information Systems Group, Osnabr\"uck University, German Research Center for Artificial Intelligence)
arXiv AI
Nov 14

metalSPARSE: A 2:4 Semi-Structured Sparse GEMV Kernel for Apple Silicon GPUs

The paper introduces metalSPARSE, the first 2:4 semi‑structured sparse GEMV kernels for Apple Silicon GPUs, along with a fused decoder written in Metal. By streaming compressed weights and expanding them in registers, the authors achieve a 3.6× speedup over HuggingFace Transformers on an 8 GB M2 MacBook Air and 1.52× over MLX on a 16 GB M4 for Qwen2.5‑1.5B decoding, while maintaining model quality through a Wanda mask, block‑wise reconstruction, and low‑rank adapters quantized to 4 bits. The results demonstrate that sparsity can deliver most of the theoretical bandwidth savings on edge devices without dedicated sparse hardware.

By Tek Raj Awasthi (Friedrich-Alexander-Universit\"at Erlangen-N\"urnberg), Babita Awasthi
arXiv Machine Learning
Nov 6

StrataFlux: Memory-Hierarchy-Native Low-Bit LLM Inference

StrataFlux is a framework that improves the accuracy of low‑bit quantized large language model inference by selectively streaming higher‑precision data from host RAM and SSDs. It co‑designs refinement representation, selection, and delivery to reduce transfer volume, overlap data delivery with computation, and reuse fetched precision across decoding steps. Experiments on GPUs and unified‑memory platforms show that StrataFlux can lower perplexity and raise accuracy for models like Llama‑3.1‑8B‑Instruct and Qwen3‑8B while maintaining high throughput and using roughly half the GPU memory compared to conventional 4‑bit quantization.

By Jake Hyun, Ziyu Zhao, Jae-sun Seo, Mohamed S. Abdelfattah
arXiv Machine Learning
4d ago

Tetra: Serving Leech-Lattice Quantized LLMs at 2.7 Bits per Parameter

The paper introduces Tetra, a new Leech‑lattice quantization scheme that reduces the memory footprint of large language models to about 2.7 bits per parameter while maintaining competitive accuracy. Tetra replaces the massive codebook lookup with a 64‑state Golay trellis and a small shared table, enabling efficient decoding that reads only 2.148 bits per weight. Experiments on Qwen3 models show MMLU scores within a few points of 4‑bit AWQ and token generation rates of 57–114 tokens per second on a single NVIDIA L40S GPU.

By Pier-Jean Malandrino
Hugging Face Trending Papers
Sep 28

Tetra: Serving Leech-Lattice Quantized LLMs at 2.7 Bits per Parameter

Tetra introduces a new Leech‑lattice based codebook that reduces the memory footprint of quantized LLMs to about 2.15 bits per weight, enabling efficient 2‑bit quantization without a massive lookup table. The method employs a 64‑state Golay trellis and a shared 16 KiB table, decoding each 24‑weight block with only six table loads and two small lookups. When applied to Qwen3 models (4B, 8B, 14B), Tetra achieves 2.70–2.73 bits per parameter, scoring 63–75 on MMLU and generating 57–114 tokens per second, while maintaining close performance to 4‑bit AWQ and outperforming llama.cpp’s IQ2_XXS on 4B.

arXiv AI
1d ago

MixFold: Sub-4-Bit Mixed-Precision LLM Inference via Output-Channel Grouping on Mobile NPUs

MixFold is a method for sub‑4‑bit mixed‑precision inference of large language models on mobile NPUs. It runs 3‑bit and perfectly symmetric 2‑bit weights using native integer operations without expanding them to wider types, and assigns datatypes to output‑channel groups that align with matrix‑unit tiles, allowing finer granularity than layer‑level assignment. In tests on the Qualcomm Hexagon NPU of a Snapdragon 8 Elite Gen 5, MixFold matches or exceeds llama.cpp’s sub‑4‑bit accuracy while decoding 1.16–1.41× faster and producing 1.5–4.3× more tokens per joule.

By Vinnam Kim, Seong Hoon Seo, Junhan Kim, Jaeseong You, An Chen