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
Nov 2

A Better Critic Matters for Distribution Matching Distillation

The paper investigates how the critic in Distribution Matching Distillation (DMD) should be designed to provide a reliable training signal. Experiments on ImageNet with seven SiT model sizes show that keeping a small critic while increasing teacher size can degrade student quality and cause training collapse; scaling the critic together with the teacher (joint scaling) prevents this collapse and lets students benefit from larger teachers. Additionally, the authors propose a step‑aware critic (STAC) that conditions on the student’s generation step, and demonstrate that joint scaling combined with STAC consistently improves few‑step distillation for class‑conditional ImageNet generation, text‑to‑image generation with SDXL and FLUX.2, and text‑to‑video generation with Wan2.1.

By Zongze Wu (Adobe), Xianbang Wang (MIT), Zhengyang Geng (Adobe), Mingdeng Cao (Adobe), Zhoutong Zhang (Adobe), Richard Zhang (Adobe), Eli Shechtman (Adobe), Ruiming Cao (Adobe)
arXiv Machine Learning
Nov 2

Trainable Vector Quantization for Large Language Models

The paper introduces Trainable Vector Quantization (TVQ), a method that uses straight-through estimation to allow gradient descent optimization of vector-quantized large language models. TVQ reformulates VQ with trainable latent weights, enabling arbitrary objective minimization and is applied in a block-wise knowledge distillation framework to balance quality and training efficiency. Experiments show TVQ achieves state‑of‑the‑art low‑bit post‑training quantization, achieving near‑lossless 2‑bit quantization for LLaMA2‑70B with only a 1% accuracy drop on question‑answering benchmarks.

By Anastasiia Prutianova, Alina Bogdanova, Mikhail Shutov, Dmitrii Poimanov, Anatoly Gorkov, Ilia Zharikov
arXiv Machine Learning
Nov 2

ORACLE: Anticipating Scams from Partial Trajectories in Streaming App Usage

The paper introduces ORACLE, an online reasoning framework designed to anticipate smartphone scams early by analyzing partial, streaming app‑usage trajectories. It presents a real‑world benchmark of 12 scam types across 95 apps and 15‑day periods, and employs a self‑evolving context manager plus an on‑policy self‑distillation scheme to consolidate fragmented evidence and enhance early detection. Experiments demonstrate that ORACLE consistently improves early scam anticipation, providing timely warnings while reducing false alerts in realistic streaming scenarios.

By Wenbo Gao, Songbai Tan, Zhongan Wang, Fei Shen, Gang Xu, Huiping Zhuang, Yunyun Yang, Ming Li, Xiaofeng Zhu
arXiv Machine Learning
Nov 2

How to Score Experts for One-Shot MoE Expert Pruning: A Systematic Formulation and Selection Principle

The paper proposes a systematic framework for one‑shot pruning of experts in Mixture‑of‑Experts language models, focusing on routing frequency, gate weighting, and activation strength. It derives a selection principle that recommends task‑agnostic pruning use activation‑based criteria without gate information, while task‑specific pruning can incorporate routing and gate data. Two new task‑agnostic criteria, Mean Activation Norm (MAN) and Mean Squared Activation Norm (MSAN), are introduced and shown to outperform existing methods across multiple MoE models and benchmarks, improving average performance by up to 8.8 points.

By Zongfang Liu, Jinghui Zhang, Zijian Ma, Guangyi Chen, Xin Yuan
arXiv Computation and Language
Nov 2

TraceSpec: Understanding and Improving Speculative Decoding for LLM Agents

TraceSpec is a framework that links trajectory evaluation with adaptive draft training to improve speculative decoding in large language model agents. It introduces a dynamic execution strategy combined with fixed‑prefix replay and provides a new corpus (TraceSpec‑Traj) of 10,000 training and 2,500 test states covering browsing and software engineering tasks. Experiments show that TraceSpec’s state‑conditioned draft allocation boosts replay throughput by 12.5%–22.6% and increases accepted length by up to 10.0% compared to fixed‑turn supervision.

By Jihao Zhao, Shuaishuai Zu, Pengfei Li, Biao Qin, Guanghuan Fang, Ben Feng, Baochuan Yang
arXiv Computation and Language
Nov 2

Sparse Text Diffusion under Dual Budgets: Context Connectivity and Expert Activation

The paper introduces a dual-budget framework for sparse text diffusion, separating costs into attention graph edges and expert activations per token. It formalizes normalized masked attention, distinguishes denoising depth from sampling iterations, and derives bounds for graph and compute resources. Experiments on tasks such as scientific summarization, multi‑hop question answering, dialogue, and sentence‑pair prediction show that the DualBudget configuration outperforms baselines up to 16K tokens and reduces computational cost by about 20% compared to DiffuSeq.

By Alexandros Christoforos, Chadbourne Davis, Paul Raj
arXiv Computation and Language
Nov 2

Asynchronous Flow Map Language Models

The paper introduces asynchronous flow map language models (aFMLMs), a new one‑step parallel language modeling approach that incorporates token prediction order via learned or prescribed asynchronous flows. These flows define a token‑wise time schedule controlling denoising progress, and the authors prove that such flows yield valid flow maps and develop distillation methods. Experiments on Sudoku solving and code generation for GSM8K math word problems show that aFMLMs achieve state‑of‑the‑art performance in one‑step generation.

By Chanhyuk Lee, Wonjung Kim, Patrick Pynadath, Jaehoon Yoo, Satoshi Hayakawa, Ruqi Zhang, Jinwoo Kim, Seunghoon Hong
arXiv Computation and Language
Nov 2

DecisionRank: On-Policy Distillation for Decision-Model Rerankers

DecisionRank introduces an on-policy distillation (OPD) method that trains decision models to replicate a generative LLM’s ranking knowledge by converting the student’s document scores into a ranked sequence and using a teacher to provide conditional feedback. The approach combines item‑space OPD with offline ranking supervision, achieving state‑of‑the‑art results on retrieval benchmarks such as TREC DL, BEIR, and BRIGHT. Even with a 1.7B parameter model, DecisionRank outperforms its 27B generative teacher on TREC DL19–23, and at 8B it surpasses the generative listwise counterpart while running 24.5× faster on TREC DL and 16.7× faster on BRIGHT.

By Yanran Wu, Dian Yu, Chongyang Bai, Jieyi Zhang, Rui Liu, Tianyi Chen, Shike Mei, Hang Cui, Frank Shyu, Sandeep Pandey, Luke Simon, Chunwei Liu, Xi Liu
arXiv Computer Vision
Nov 2

Sparse Autoencoders for Expert-Assisted Interpretation of Histopathology Foundation Model Embeddings

The paper explores using sparse autoencoders (SAEs) to decompose embeddings from histopathology foundation models into interpretable latent features. By training vanilla and Batch‑TopK SAEs on NCT‑CRC embeddings from the CONCH model (and validating with UNI2‑h), the authors show that the resulting sparse representations retain most downstream tissue‑class information while producing more coherent, label‑concentrated patch groups than raw embeddings or PCA components. Pathology experts helped develop a whole‑slide‑image visualization workflow that contextualizes feature activations, underscoring that these latent features are candidate concepts needing expert assessment rather than automatically validated histopathological concepts.

By \v{S}imon \v{S}m\'ida, Wanda Benesova
arXiv Computer Vision
Nov 2

WebOverlay: High-Throughput Vision-Only Distillation for Extreme Aspect-Ratio Web Overlay Detection

WebOverlay is a vision‑only detector designed to identify web overlays such as cookie banners and age gates on pages with extreme vertical aspect ratios. It uses a dynamic tiling strategy that preserves aspect ratios and an aspect‑ratio‑aware boundary adjudication to reduce false positives. Trained via distillation from a vision‑language teacher, WebOverlay matches the precision and recall of heavy proprietary multimodal models while delivering much higher throughput and lower deployment costs.

By Jiannan Huang, Jerry Ding, Li Yu, Zhenting Li
arXiv Computer Vision
Nov 2

TADP: Dual-Branch Temporally Adaptive Differential Privacy for Expression-Aware Video Anonymization

TADP is a temporally adaptive differential privacy framework designed for privacy-preserving video generation with fixed-length clip-replacement adjacency. It employs a dual-branch architecture to separately extract identity and expression representations, applying temporally adaptive Gaussian mechanisms to each branch and using adaptive Rényi Differential Privacy composition to ensure joint release privacy. The framework converts clip-level RDP guarantees to (ε,δ)-differential privacy, applies DP post-processing, and demonstrates reduced identity leakage, good perceptual quality, temporal stability, and high expression recognition utility on facial expression datasets.

By Feng Xu, Xun Li, Lars Petersson, Yulei Sui, David Ahmedt-Aristizabal, Dadong Wang
arXiv Computer Vision
Nov 2

Think in 360{\deg}: Benchmarking and Bootstrapping Panoramic Video Reasoning

The paper introduces PanoVideoBench, a manually annotated benchmark with 1,000 questions covering five categories and 15 question types for panoramic video understanding, and identifies cross‑view tracking and sphere‑time evidence integration as weak points in existing models. To address these gaps, the authors create PanoVideoCoT, a dataset of 13,465 QA‑CoT pairs generated via sphere‑time‑grounded synthesis, and train PanoVideoReasoner using panoramic CoT fine‑tuning and evidence‑privileged on‑policy self‑distillation. The resulting model achieves 55.7% accuracy on PanoVideoBench, improving the baseline by 12.5 points and surpassing the previous state‑of‑the‑art by 2.6 points, particularly in spatial, cross‑view, and temporal reasoning.

By Lidong Lu, Lidong Zou, Xinyi Mao, Jiaxin Lv, Zhenquan Li, Liangrui Dong, Tong Lu, Guo Chen
arXiv Computer Vision
Nov 2

Denoising Mutual Knowledge Distillation in Bi-Directional Multiple Instance Learning

The paper introduces a denoising mutual knowledge distillation framework for bi-directional multiple instance learning (MIL) applied to whole slide image classification in digital pathology. By integrating instance-level classifiers and masks, the method grounds predictions on supporting patches while mitigating noisy labels. The proposed algorithm enhances both bag- and instance-level performance, as demonstrated on public pathology datasets.

By Chen Shu, Boyu Fu, Yiman Li, Ting Yin, Wenchuan Zhang, Jie Chen, Yuhao Yi, Hong Bu
arXiv Computer Vision
Nov 2

PRISM: Feed-Forward Single-Image 3D Reconstruction via Geometric Warp-Residual Modeling

PRISM is a feed‑forward single‑image 3D reconstruction framework that splits the task into a parameter‑free geometric warp and a learned residual correction, eliminating the need for iterative diffusion sampling. It uses a two‑stage training strategy—latent supervised distillation for geometric generalization and perceptual fine‑tuning for appearance quality—to generalize from synthetic data. Experiments on three benchmarks show PRISM matches diffusion‑based methods in quality while cutting inference time to just 36 seconds per scene.

By Zhijie Zheng, Xinhao Xiang, Jiawei Zhang
arXiv Computer Vision
Nov 2

Knowledge-structured and evidence-aware semantic self-distillation for glomerular pathology foundation model

The paper introduces GloSAGE, a semantic self‑distillation framework that leverages lesion profiles from a pretrained visual teacher to generate structured pathology descriptions for glomerular images. By selecting reliable image‑text anchors and synthesizing knowledge‑structured text, GloSAGE trains a frozen visual encoder with an intermediate semantic transfer layer, enabling zero‑shot lesion recognition, image‑text retrieval, and improved downstream tasks such as disease classification and renal function estimation. Experiments on the GloMillion dataset and seven cohorts demonstrate that GloSAGE outperforms its source visual model in most lesion‑recognition tasks and enhances grading accuracy while maintaining competitive performance on case‑level analyses.

By Qiming He, Jing Li, Zihan Wang, Tian Guan, Yifei Ma, Zimo Zhao, Yanxia Wang, Hongjing Chen, Yexing Zhang, Yizhi Wang, Xinrui Chen, Xitong Ling, Minxi Ouyang, Yujie Xie, Lianghui Zhu, Yiqing Liu, Qingxia Hou, Shuyan Zhao, Xiaoqin Wang, Lili Ma, Qiang Huang, Zhiyuan Shen, Junru Cheng, Siqi Zeng, Chao He, Yonghong He, Zhe Wang
arXiv Machine Learning
Nov 2

Lattice-Based Pruning of Recurrent Neural Networks via Poset Modeling: A Corrected Theory and a Matched-Sparsity Evaluation

The paper revisits magnitude pruning for recurrent neural networks, arguing that it neglects the flow of information between neurons. It proposes modeling RNN dependencies as a partially ordered set (poset) and pruning by retaining the meet‑irreducible elements of the resulting dependency lattice, a method that requires a well‑defined dependency order obtained by condensing thresholded graphs into strongly connected components. Experiments on 128‑unit LSTMs trained on sequential MNIST show that the earlier critical‑set criterion fails to preserve any recurrent weights, that the new order‑based score performs no better than simple metrics like degree or PageRank, and that enforcing acyclicity from initialization incurs significant accuracy loss at high sparsity levels. whyItMatters":"The study demonstrates that without imposing a proper dependency structure, pruning recurrent networks can inadvertently remove all recurrent connections, highlighting the need for careful theoretical foundations in sparsity‑aware training."

By Rakesh Sengupta
arXiv Computer Vision
Nov 2

Task-Performance Routing for Multi-Teacher Distillation in CT Medical Image Segmentation

Task-Performance Routing (TPR) is a method for multi-teacher knowledge distillation in CT organ segmentation that assigns teacher weights based on region-wise segmentation errors, favoring teachers with lower errors in hard regions and using uniform weights in easy regions. It employs a hierarchical spatial partition to provide fine-grained routing in shallow encoder stages and coarse-grained routing in deeper stages. Experiments on BTCV, MSD-Liver, and MSD-Pancreas datasets demonstrate that TPR outperforms individual teachers, adaptive ensembles, and other multi-teacher distillation baselines, achieving Dice scores of 65.40% with SwinUNETR and 68.25% with U-Net on MSD-Pancreas.

By Jiaye Yang, Yao Liu, Die Dai, Hanwen Zhang, Peiyuan Jiang, Qiao Liu, Yutong Xie, Peng Wang
arXiv Machine Learning
Nov 2

Fewer Heads, Fewer Memories: Pruning Redundant Attention Heads Suppresses Verbatim Memorisation

Large language models can memorize and reproduce verbatim training data, raising privacy and IP concerns. Recent theory links attention heads to this memorisation, while empirical work shows many heads are redundant and can be pruned with little performance loss. This study shows that zeroing out a large fraction of redundant heads before inference dramatically reduces memorisation (91.5% drop) and even improves language‑modeling performance on GPT‑2‑XL.

By Aryan Chowdhury, Riza Batista-Navarro
arXiv Machine Learning
Nov 2

Predicting Dose-Response Success from Primary Screening Data

The study explores whether inexpensive three‑point primary‑screening data can predict the success of more costly 11‑point dose‑response experiments in determining compound potency (pXC50). Using a dataset of 32,971 compound‑assay pairs, random‑forest models achieved an AUROC of 0.939 and successfully identified 90% of reportable potencies while reducing follow‑up profiling to 55.7% of historically promoted pairs. The results indicate that primary‑screen response features, especially response amplitude, are more predictive of dose‑response quantifiability than molecular structure features.

By Sean Lim
arXiv Machine Learning
Nov 2

Accelerated Dataflow: scaling inference in streaming data analytics with efficiency

The paper introduces an enhanced Google Cloud Dataflow system that optimizes hybrid streaming machine learning workloads. By co‑designing autoscaling on heterogeneous worker pools and implementing prefix‑aware batching, the system boosts throughput by 1.5x to 2x for LLM inference while keeping latency comparable. It also achieves up to 75% peak resource savings and an 84% reduction in peak tail latency compared to existing streaming data processing systems.

By RuiLong Jiang, Dustin Rhodes, Danny McCormick, Yuta Labur, Reza Rokni