Inference efficiency

Quantization, distillation, pruning and serving work aimed at the same accuracy for less memory, latency and money.

7,962 stories · RSS feed

Hugging Face Trending Papers
Nov 16

Algorithm Distillation for Safe In-Context Reinforcement Learning

The paper introduces Safe Algorithm Distillation (Safe AD) for in-context reinforcement learning, focusing on tasks with hidden constraints such as hidden goals or velocity limits. It proposes a two-phase budget-aware teacher that first explores to locate the hidden task and then exploits it within the remaining budget, collecting learning histories under both fixed and dynamic budgets. Additionally, the authors present A‑Lag, a test‑time adjustment that reweights actions based on predicted cost using an adaptive Lagrange multiplier, which consistently reduces episode cost across five benchmark environments.

Hugging Face Trending Papers
Nov 16

An Efficient Training Paradigm for Image Restoration via Improved Fréchet Loss

An Efficient Training Paradigm for Image Restoration via Improved Fréchet Loss proposes FDIR, a framework that trains single-pass generative restoration models using regression-style supervised optimization with directly computable objectives. FDIR matches feature distributions of restored and real images via the Fréchet distance in frozen representation spaces, incorporates local patch features for fine-grained discrepancies, and uses instance-adaptive statistics that blend per-pair moments with historical statistics. The method optimizes only LoRA parameters of the restoration backbone and demonstrates strong perceptual restoration quality with efficient training.

Hugging Face Trending Papers
Nov 16

Rethinking Supervision Scaling in On-Policy Distillation: From Dense Supervision to Stochastic Horizons

The paper examines how the benefit of dense token-level supervision in on‑policy distillation (OPD) changes with trajectory length. Experiments show diminishing returns from longer trajectories, yet later positions still learn and transfer knowledge across positions. Based on these insights, the authors introduce Stochastic Horizons On‑Policy Distillation (SH‑OPD), which randomly varies rollout horizons to reduce redundant supervision while keeping deeper states accessible, achieving comparable or better performance at significantly lower computational cost.

arXiv AI
Nov 16

Advancing Quantization for R&R Models with Microscaling Formats

The paper evaluates the use of MXFP8 and 6‑bit MXFP6 quantization formats for Recommendation and Ranking (R&R) models on the AMD MI350X architecture. It reports significant speedups—up to 1.73–1.99× for MXFP8 and 1.73–1.99× (even 2.90× on some layers) for MXFP6—while maintaining model quality within a 0.01% Normalized Entropy margin. Selective application of MXFP6 yields end‑to‑end inference throughput gains of 1.5–5.3% for one model and 7.6–14.3% for another compared to FP8.

By Yavuz Yetim, Bor-Yiing Su, Zhe Wang, Arthur Liu, Pranav Sharma, Ying Wang, Randy Shuai, Luke Pfister, Ruichao Xiao, Bill Zhao, Zihao Liu, Liyuan Li, Jiangyuan Li, Gaoxiang Liu, Nathan Yan, Geonhwa Jeong, Jatin Chhugani, Elias Ellison, Uladzimir Pashkevich
arXiv AI
Nov 16

An Operationalization of Opaque Serial Depth

The paper introduces a new metric, NLS depth, to quantify the opaque serial depth of AI models—essentially the longest computation path that bypasses interpretable bottlenecks. It defines natural‑language‑rooted nodes as the bottlenecks and shows that NLS depth can be determined from architecture and training settings alone, remaining unaffected by post‑training techniques. Across open‑weight models, NLS depth correlates strongly with layer count and has increased slowly, suggesting that future scaling of standard transformers will only modestly raise it, while latent‑reasoning architectures could raise it substantially.

By Nathan Sheffield, Alek Westover, Lukas Finnveden, Alexa Pan, Julian Stastny, Ryan Greenblatt
arXiv AI
Nov 16

Model Annealing: Data-Efficient Learning through Review and Consolidation

Model Annealing is a data‑efficient learning method that, after an initial memorization phase, spends the remaining training budget on review and consolidation. The training is split into episodes with cyclic learning rates; each episode learns from true labels, tempered predictions stored in a memory of past models, and adversarial ‘dreams’ where the student and memory disagree most. Across several datasets and architectures, Model Annealing improves top‑1 accuracy, likelihood, calibration, and robustness compared to standard cross‑entropy training and matches snapshot distillation while adding no inference overhead.

By Ali Mohammadi Ruzbahani, Rezvan Abouzadeh