Hugging Face Trending Papers

Calibrate in Context: Efficient Data-Free Quantization from Small Synthetic Pools

Read the original on Hugging Face Trending Papers →

The paper introduces a method called Functional Grid Calibration (FGC) that improves low‑bit quantization from small synthetic image pools by selecting activation scales and integer offsets based on full‑precision responses from a student model’s current block input. Using a progressive inversion strategy, the approach achieves higher ImageNet top‑1 accuracy than MimiQ across multiple W4A4/W5A5 settings with only 1,000 synthetic images, and reaches 68.20% and 66.90% accuracy on DeiT‑S and ViT‑S respectively in under 27 minutes on a single RTX 5090. The technique also maintains its advantage on ImageNetV2 while requiring fewer preparation steps.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Hugging Face Trending Papers.

arXiv Machine Learning
5d ago

Why Sub-4-Bit Vision CNNs Collapse and Where Mixed-Precision Recovery Stops

The paper investigates why Vision CNNs collapse when weights are quantized below 4 bits and where mixed‑precision recovery can help. It shows that accuracy loss is highly non‑linear, concentrated in late‑stage pointwise and depthwise layers, and that keeping less than 5 % of critical activations in 8‑bit precision can recover up to 92 % of the lost accuracy. The study also evaluates real‑world deployment on ARM and x86 CPUs, revealing that low‑bit quantization can cause significant runtime slowdowns due to software bit‑unpacking, underscoring a trade‑off between model size and edge throughput.

By Michael Schroeder
arXiv AI
Oct 28

ResCom: Activation Residual Compensation for Large Language Model Quantization

ResCom introduces a low‑rank correction that leverages activation rounding residuals to compensate for layer‑output errors in low‑bit weight–activation quantization of large language models. The method selects residual directions based on their impact on output reconstruction and computes the correction in closed form, avoiding gradient training or weight updates. Experiments on Llama‑3‑8B with 4‑bit weights and activations show significant gains: perplexity drops from 7.708 to 7.147, MMLU improves by 2.89 percentage points, and five‑shot GSM8K accuracy rises from 23.96 % to 36.16 %.

By Ning Yang, Bohan Cui, Zhuowen Liu, Yuting Wang
arXiv AI
Oct 12

DualQuant: Dual-scale Calibration-free Weight-and-Activation Quantization for LLMs

DualQuant introduces a dual‑scale, calibration‑free post‑training quantization framework that jointly optimizes weight‑reconstruction MSE and derives per‑channel activation rescalings, enabling effective 4‑bit weight and activation quantization without calibration data. The method employs a non‑differentiable optimization solved via variable splitting and block coordinate descent, supporting a wide range of formats including MX and NVFP4. Experiments on Llama and Qwen models show DualQuant matches or surpasses calibration‑based SmoothQuant and significantly outperforms other calibration‑free baselines, achieving up to 2.61× memory reduction and 2.46× throughput speedup on an RTX 4090.

By Mahsa Salmani, Sayeh Sharify, Hesham Mostafa
arXiv AI
Jun 26

SharQ: Bridging Activation Sparsity and FP4 Quantization for LLM Inference

arXiv:2606. 26587v1 Announce Type: cross Abstract: Low-bit floating-point formats and semi-structured sparsity are increasingly supported by modern accelerators, yet combining them for LLM activation compression remains challenging: activations contain input-dependent outliers that dominate block scales in FP4 quantization, and directly applying N:M sparsity masks discards moderate values, coupling sparsification loss with quantization error.

By Haoqian Meng, Yilun Luo, Yafei Zhao, Wenyuan Liu, Huaqing Zheng, Xindian Ma, Peng Zhang