Hugging Face Trending Papers

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

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.

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
Hugging Face Trending Papers
Aug 18

MoE-ViE: Mixture of Experts Vision Encoder for Efficient Image and Video Understanding

MoE-ViE introduces a Mixture-of-Experts vision encoder that scales efficiently for image and video understanding, outperforming dense counterparts across various sizes. The study shows fine‑grained MoE topologies provide significant gains, and proposes an auxiliary‑loss‑free balancing variant and a specialized MoE kernel to reduce inference latency. With frame‑level distillation and a novel freezing mechanism, the largest MoE‑ViE model matches state‑of‑the‑art zero‑shot performance while being 1.7× larger and 76% faster, and it outperforms other encoders when paired with a language model on both image and video benchmarks.

arXiv Machine Learning
Oct 8

Few Bits, One Law: Toward W2A4KV2

The paper introduces CanonQ, a unified quantization‑aware training framework that separates source canonicalization from task‑aware adaptation to enable extreme low‑bit LLM compression. By applying fixed rotations and energy normalization, CanonQ maps heterogeneous tensors to canonical coordinates, allowing frozen Gaussian‑reference codebooks to be reused across layers and models. Joint training then adapts the network to the coupled errors of weight, activation, and KV cache quantization, achieving significant performance gains—up to 14.28× lower perplexity and 57.9% higher zero‑shot accuracy on LLaMA models, and substantial improvements on instruction‑tuned MobileLLM‑Pro‑1B. "whyItMatters":"The framework demonstrates that carefully designed canonicalization and joint training can dramatically improve the efficiency and accuracy of low‑bit quantized large language models, offering a practical path to deploy powerful LLMs with reduced computational and memory footprints."

By Kai Yi, Tarek Elgamal, Sruthikesh Surineni, Vignesh Vivekraja, Soumyadeep Ghosh, Steven Li
arXiv Computer Vision
Oct 12

A Lightweight Velocity Correction Framework for Improving Instruction Following in Few-Step Text-to-Image Generation

The paper introduces a lightweight correction framework that improves instruction following in few-step text-to-image generators without altering the generator’s parameters or increasing forward-pass count. The framework adds a small corrector module (<20 M parameters) that learns residual velocity adjustments at selected sampling steps, using On‑Trajectory Flow‑Bridge Supervision to target the actual states reached during corrected generation. Experiments show a +17.60‑point NetWin over a frozen baseline with only a 0.84% increase in end‑to‑end latency.

By Yating Gao, Zhenlong Zhu, Wen Zihao, Lenan Zhang, Jiexiong Wang, Yang Yang, Guanjun Jiang, Yixiong Zou, Takuya Maekawa