Inference efficiency

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

7,962 stories · RSS feed

arXiv Machine Learning
Oct 22

FlashNext-RL: A System Optimization Study for Long-Horizon Agentic RL of Qwen3.8-Flash-Next

FlashNext‑RL is a model‑specific reinforcement learning training framework designed for the Qwen3.8‑Flash‑Next language model. It optimizes BF16 training of the full 48‑layer model on a single 8×B200 node by freezing early layers, offloading host memory, and tuning kernels for mixture‑of‑experts, sparse attention, and gated residual streams. The optimizations raise non‑padding training throughput from ~395 tokens/s/GPU to 4,438 tokens/s/GPU and enable a live software‑engineering RL run with 1,024 rollouts and a 131,072‑token context, completing iterations in about 22.4 minutes.

By Zhewei Yao, Yuxiong He
arXiv Machine Learning
Oct 22

SPARE: Sparsity Allocation via Routing Entropy for Efficient MoEs

SPARE (Sparsity Allocation via Routing Entropy) is a training‑free, selector‑agnostic method that determines how many experts to prune from each layer of a Mixture‑of‑Experts model by analyzing the routing entropy of tokens on calibration data. By pruning layers with more diffuse routing more aggressively, SPARE improves accuracy over uniform pruning across several large models, achieving notable gains at high pruning ratios. The approach is supported by a perturbation bound under random pruning and controlled experiments that demonstrate its effectiveness on Mixtral, Qwen3, and DeepSeek models.

By Yifan Yang, Hanling Yi, Dongquan Yang, Feng Lin, Rong Xiao, Aijun Li, Xiaotian Yu
arXiv Machine Learning
Oct 22

How Far Can Foundation Models Be Distilled for Efficient Jet Tagging?

The paper investigates how well foundation models can be distilled for efficient jet tagging at the Large Hadron Collider. Six teacher models, varying in architecture, symmetry, and pretraining—including two foundation models—are distilled into five small student models. The strongest distilled students, Transformer and L‑GATr‑slim, achieve state‑of‑the‑art performance with only 20,000 parameters, and even a 2,000‑parameter version matches a much larger model, ParT, while offering significantly lower inference cost.

By Jay Agarwal, Siddharth Khare, Dhruv Kumar
arXiv Machine Learning
Oct 22

CSD: Common-Support Distillation for Cross-Tokenizer Knowledge Transfer

The paper introduces Common‑Support Distillation (CSD), a logits‑based framework for transferring knowledge across different tokenizers by constructing a shared support between teacher and student distributions. CSD handles both one‑to‑one alignments using explicit common‑token pairs and other alignments by creating a virtual support via the autoregressive chain rule, while a residual event ensures normalization. Experiments on Llama‑3.2‑1B, Gemma3‑1B‑PT, Qwen, and Phi models show that CSD consistently outperforms existing cross‑tokenizer methods, achieving up to 1.8‑point gains over the best alternative and surpassing both continued pretraining and same‑tokenizer distillation.

By Mingyu Yang, Sharath Turuvekere Sreenivas, Adithyakrishna Venkatesh Hanasoge, Nima Tajbakhsh, Ashwath Aithal, Pavlo Molchanov
arXiv Machine Learning
Oct 22

Extreme Low-State Quantized Transformer for Electricity-Load Forecasting

The paper explores aggressive low‑state weight quantization for Transformer models used in electricity‑load forecasting. Experiments with 3, 5, 7, and 16 discrete weight states on two datasets show that post‑training quantization degrades performance, but quantization‑aware fine‑tuning recovers most of the loss. A novel accumulated‑update thresholding technique further reduces weight updates and state transitions with minimal impact on error, demonstrating that compact, low‑activity models can still deliver accurate forecasts.

By Muhammad Sabbir Alam, Harindra Sandun Mavikumbure, Victor Cobilean, Milos Manic, Jayasimha Atulasimha
arXiv Machine Learning
Oct 22

Auditing Conformal Prediction for Language Models Under Inference-Time Model Shift

The paper investigates how changes in inference-time settings—such as quantization and temperature—affect conformal prediction (CP) for language models. It introduces the concept of inference-time model shift, showing that such shifts break split-conformal exchangeability even when the underlying model and data distribution remain unchanged. Experiments on eight language models, four benchmarks, and twelve inference configurations reveal that matched evaluation protocols can significantly overestimate deployment-time coverage, with effects varying across models and datasets.

By Achref Doula, Max M\"uhlh\"auser
arXiv Machine Learning
Oct 22

Is 2:4 Sparsity Still Worth It? Semi-Structured Sparsity versus Quantization in LLM Inference

The paper evaluates NVIDIA’s 2:4 semi‑structured sparsity against quantization for large language model inference. Experiments across multiple GPU generations and transformer GEMM operands show that when lower precision is available, adding 2:4 sparsity degrades accuracy and speed compared to simply reducing precision. However, at the lowest supported precision, 2:4 sparsity still yields a 1.3–1.7× speedup, and a retrained 2:4 model on an H100 achieves 27 % higher prefill throughput than a dense FP8 model while maintaining GSM8K accuracy.

By Xiuyi Qin
arXiv Machine Learning
Oct 22

Transformers as Generic Deep Neural Networks: Exact Compilation, the Cost of Removing Activation-Activation Products, and Multi-Agent Attention Clustering

The paper demonstrates that any Transformer block—comprising attention, LayerNorm, and a GELU MLP—can be exactly compiled into a generic deep neural network using only fixed affine maps, routing, and a small set of nonlinear functions (square, sigmoid, inverse square root, and GELU or its sigmoid approximation). It shows that removing activation‑activation products incurs an $N^2$ cost per head for dense scores, but this can be avoided by using element‑wise operations available on most NPUs. Additionally, the authors prove that exact or conditional‑mean tail‑mass estimation provides an unbiased, low‑error approximation of top‑$k$ attention, and that clustering queries or agents into centroids reduces the number of computed scores from $N^2$ to $Nk$ per head, achieving comparable performance to reference models on DeiT‑Tiny, MambaIRv2‑Light, and Pythia‑70M.

By Sergey Salishev, Zeev Volkovich, Oleg Granichin
arXiv Machine Learning
Oct 22

CORD: Conflict-Aware Optimization for Joint RL and Distillation in Agents

CORD is a conflict‑aware optimization framework that addresses gradient cancellation between task rewards and teacher guidance in joint reinforcement learning and self‑distillation. It separates the protected objective from the projection trigger, applies a nearest‑point closed‑form update per mini‑batch, and offers gradient diagnostics to identify and correct conflicts. Experiments across three training recipes show that CORD improves ALFWorld success by 1.5–15.9 percentage points and raises WebShop SDAR success from 60.7% to 64.6%.

By Wenhao Yu, Zhengcheng Wang, Jiahong Liu, Zexuan Qiu, Minda Hu, Shaohang Wei, Jiafei Lyu, Junyan Lyu, Haobo Fu, Irwin King
arXiv Machine Learning
Oct 22

Building a Nested LADDER for LLM Unstructured Post-Training Pruning

The paper introduces LADDER, a method for post‑training pruning of large language models that allocates sparsity incrementally across layers to minimize end‑to‑end degradation per removed parameter. LADDER produces non‑uniform sparsity profiles and nested masks for multiple budgets, and is evaluated on five OPT, Llama, and Qwen models at 10–90% sparsity using SparseGPT. Results show that while LADDER is comparable to uniform and adaptive baselines at low sparsity, it becomes substantially more robust from 70% sparsity onward, a benefit that largely persists after posterior distillation and improves zero‑shot accuracy retention.

By Nicol\'as Mauricio Cuadrado \'Avila, Ivo Gollini Navarrete, Martin Tak\'a\v{c}, Samuel Horv\'ath
arXiv Machine Learning
Oct 22

CellTwin: Reproducible Cellular Network Emulation via High Resolution, in situ Measurement-Driven ML

CellTwin, also known as NeuralEmu, is a machine‑learning‑based emulation framework that learns 5G scheduler behavior from high‑resolution network telemetry. It predicts resource block allocations and modulation schemes for multiple clients, reconstructs background traffic patterns, and runs as a high‑performance Linux middlebox. Compared to existing tools, it reduces emulation error by up to 57% for key real‑time applications such as web‑page load, WebRTC, and cloud gaming.

By Haoran Wan, Yaxiong Xie, Kyle Jamieson
arXiv Computer Vision
Oct 22

APED-CXR: Adaptive Privileged Evidence Distillation for Chest X-Ray Grounding with Image-Only Inference

APED-CXR is a compact chest X‑ray model that localizes findings using only image input at test time. It distills spatial evidence from a frozen multimodal teacher—trained on radiographs and reports—into a 11.1 M‑parameter student, which predicts diseases and bounding boxes from shared evidence maps. Training with teacher‑guided proposal refinement improves box‑level localization F1 from 0.302 to 0.338 on PadChest‑GR and raises recall on NIH ChestX-ray14 from 0.423 to 0.447, while preserving diagnostic AUC.

By Md Shihabul Islam Shovo, Nishi Kanta Paul, Jamil Fayyad
arXiv Computation and Language
Oct 22

Effects of Model Scale and Quantization on Social Bias and Abstention in Question Answering

The paper investigates how model size and quantization affect social bias and abstention in question answering. Using the BBQ benchmark and models from Qwen3, Gemma-3, and SmolLM2, it finds that larger models improve accuracy but bias does not scale simply, while quantization effects differ across settings. Importantly, many configurations with fewer biased responses also show increased abstention, suggesting that lower bias may partly result from more frequent abstention.

By Kuniko Paxton, Ifeoluwa Wuraola, Dhavalkumar Thakker
arXiv Computation and Language
Oct 22

Is a 9B Decision Foundation Model Needed for Symptom-to-Disease Classification? Fine-Tuning Clef-Flash Against TF-IDF Baselines

The paper evaluates whether a 9‑billion parameter decision foundation model, Clef‑Flash, is necessary for symptom‑to‑disease classification. Fine‑tuning the model on the 24‑class Symptom2Disease benchmark yields 95.42% accuracy, but simple TF‑IDF linear classifiers achieve higher accuracy (98.75%) with far faster inference. Ablation studies show that predictions can hinge on single descriptive clauses, indicating that the benchmark may not fully capture the model’s capabilities.

By S. M. Mahbub Uddin Ahmed
arXiv Computer Vision
Oct 22

Unfolding 3D Gaussian Splatting via Iterative Gaussian Synopsis

The paper introduces Iterative Gaussian Synopsis, a top‑down unfolding framework that generates compact, progressive levels of detail for 3D Gaussian Splatting (3DGS). Starting from a full‑resolution 3DGS model, it iteratively prunes Gaussian primitives using a learnable mask, building a multi‑level hierarchy that preserves visual quality while reducing storage. The method combines hierarchical spatial grids with a shared Anchor Codebook to capture global structure and local details, enabling efficient, level‑specific rendering with minimal data overhead.

By Yuqin Lu, Yihua Dai, Yang Zhou, Guiqing Li, Shengfeng He
arXiv Machine Learning
Oct 22

To Keep or Not to Keep: Learning KV Cache Retention in Disaggregated LLM Serving Systems

The paper introduces KVLearn, a learning‑based framework for managing key‑value (KV) cache retention in disaggregated large language model (LLM) serving systems. KVLearn comprises a Prefix Reuse Predictor that estimates reuse probability from prefix features, a Cost‑Aware Retention Score that translates this probability into keep/admit decisions based on recomputation, transfer, and storage costs, and an Adaptive Threshold Controller that tunes admission thresholds online. Integrated into a globally disaggregated serving topology, KVLearn achieves up to 56% faster time‑to‑first‑token and up to 53% reduction in inter‑node KV transfer compared to baseline caching strategies.

By Dong Liu, Yanxuan Yu, Eric Jiang, Shu Wang, Ying Nian Wu
arXiv Machine Learning
Oct 22

TeachBack: Learning to Teach via Bidirectional Preference Optimization for On-Policy Self-Distillation

TeachBack is a bidirectional preference-learning framework for on‑policy self‑distillation that teaches a language model not only from a privileged Teacher but also how the Teacher should teach. By controlling the length of the reference‑reasoning suffix and varying prompt style, TeachBack encourages the Teacher to explore and re‑solve problems, reducing reliance on the reference solution while maintaining comparable accuracy. Experiments on mathematical and logical reasoning tasks demonstrate that TeachBack consistently improves Student performance over existing OPSD methods and related baselines.

By Linfei Ji (Huazhong University of Science and Technology), Jiayun Li (Tsinghua University), Haozhao Wang (Huazhong University of Science and Technology), Siyu Jiang (Huazhong University of Science and Technology), Zehao Wang (Harbin Institute of Technology), Longtao Xiao (Huazhong University of Science and Technology), Yu-Jie Yuan (Huawei Technologies Ltd), Ruixuan Li (Huazhong University of Science and Technology)
arXiv Computer Vision
Oct 22

Two for One: Privileged Learning for Resource-Constrained Screening

The paper introduces a privileged learning framework for ocular disease screening that trains a teacher model on bilateral colour fundus photographs (CFP) while a student model learns to predict from a single-eye image. During inference, the student operates solely on one eye, eliminating the need for contralateral imaging. Experiments demonstrate higher area under the ROC curve for age‑related macular degeneration and diabetic retinopathy compared to conventional monocular training.

By Lisa Y. W. Tang
arXiv Machine Learning
Oct 22

pplx-embed-v2-late Technical Report

The report introduces pplx-embed-v2-late, a pair of multilingual and multimodal late‑interaction models sized at 0.6B and 9B parameters. Both models achieve state‑of‑the‑art performance on text, image, and visual document retrieval benchmarks, with the 0.6B model matching larger models on visual document tasks. They are trained via representation distillation from an 18B teacher, enabling a shared embedding space that allows documents to be indexed with the 9B model and queried with the low‑latency 0.6B model.

By Markus Krimmel, Louis Milliken, Ekaterina Glazkova, Maximilian Schall, Antoine Chaffin, Sedigheh Eslami, Jonas Golde, Denis Bykov, Claire Beamer, Jeremy Yang, Bo Wang
arXiv Machine Learning
Oct 22

Reinforcement learning for hardware acceleration and system-level optimization on FPGA and integrated-circuit platforms: A survey

This survey reviews over 100 studies on implementing reinforcement learning (RL) on field‑programmable gate arrays (FPGAs) and integrated circuits (ICs), covering a wide range of RL families from model‑based Markov decision processes to deep RL and multi‑agent methods. It organizes the literature by abstraction level, hardware realization strategy, and application domain, and evaluates key metrics such as resource utilization, latency, throughput, and power consumption. The paper identifies common architectural patterns, practical limitations, and open research challenges, offering a unified reference for researchers developing RL‑driven hardware systems.

By Hamza Kheddar