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 5

Attention to Mamba: A Recipe for Cross-Architecture Distillation

The paper proposes a two‑stage method to distill a Transformer into a Mamba‑style State Space Model. First, knowledge is transferred to a linearized Attention network via a kernel trick, then this intermediate model is distilled into a Mamba architecture that contains no Attention blocks. The resulting Mamba retains most of the original Transformer’s performance, achieving a perplexity of 14.01 versus the teacher’s 13.86, and the approach is validated through extensive ablations and scaling studies.

By Abhinav Moudgil, Ningyuan Huang, Eeshan Gunesh Dhekane, Pau Rodr\'iguez, Luca Zappella, Federico Danieli
arXiv Machine Learning
Nov 5

FrameScout: Scouting Query-Relevant Frames for Long Video Understanding

FrameScout is a keyframe selector designed for long video understanding, addressing the challenge that VideoLLMs cannot process the vast number of visual tokens in videos spanning tens of minutes to hours. It introduces a streaming selector architecture that uses a sliding‑window KV cache and successor aggregation to generate temporally‑contextualized frame embeddings, and a frame‑query contrastive objective that aligns frame and query embeddings in a shared space. Experiments on three long‑video benchmarks and six base VideoLLMs show that FrameScout consistently outperforms existing selectors, achieving state‑of‑the‑art performance.

By Haonan Hu, Shuhao Chen, Weisen Jiang, Lizhao Gao, James Kwok, Yu Zhang
arXiv Computation and Language
Nov 5

ProcessPrefBench: Evaluating Cross-Task Transfer of Individual Process Preferences from Naturalistic Human-AI Interaction

ProcessPrefBench evaluates how well AI assistants can transfer individual process preferences—such as standards for evidence, depth, and delivery—across different tasks using naturalistic human-AI dialogue data. The benchmark uses 66 source‑target pairs from three months of conversations with two knowledge workers, focusing on applying preferences rather than retrieving them. Experiments show that prompting with full dialogue history or distilled preference instructions improves preference realization by about 0.2 points on a 0‑2 scale, but also increases fabricated‑evidence failures.

By Yiwen Yang, Guanming Liu
arXiv Computation and Language
Nov 5

CRESiST: Self-Enhancing Explorative Policy Learning for Simultaneous Speech Translation

CRESiST introduces an end‑to‑end interleaved read‑write framework that leverages an omni‑modal LLM for simultaneous speech translation. By interleaving speech chunks with text tokens, the system fully reuses the KV cache and supports segmentation‑free, infinite‑length inference, eliminating the need for external voice activity detection. An Actor‑Critic self‑enhancement pipeline trains an RNN‑T actor to sample read‑write trajectories, while an LLM‑based critic evaluates them using semantic and latency rewards, distilling the optimal streaming policy back to the actor. Experiments on sentence‑ and document‑level benchmarks show that CRESiST sets new state‑of‑the‑art quality‑latency Pareto frontiers, outperforming existing cascaded and static‑alignment baselines.

By Chenyang Le, Pei Zhang, Yuxiang Chen, Bing Han, Derek F. Wong, Baosong Yang, Yanmin Qian
arXiv Computation and Language
Nov 5

Unlocking Turing Tensor Cores: A Measured Throughput Account of From-Scratch Pre-training on a Single 22G RTX 2080 Ti

The paper reports that enabling the full second‑generation Tensor Cores on an RTX 2080 Ti via a kernel module (turing‑unlock) increases cuBLAS FP16 matrix‑multiplication throughput from 55.7 to 91.4 TFLOPS, a 1.6× improvement. In a from‑scratch pre‑training experiment on five tiers of Chinese encoder‑decoder models, the small tier’s steady‑state throughput rose from 6,480 to 7,246 tokens per second (+11.8 %) and wall‑clock time dropped from 1.77 h to 1.61 h (9.0 % saved); the tiny tier improved by 4.7 % and wall‑time by 3.8 %, while the pico‑micro tiers saw negligible gains. Peak memory usage and final model quality remained unchanged, indicating the unlock provides a pure throughput boost without affecting training dynamics.

By Dezhou Shen
arXiv Computer Vision
Nov 5

TRUST-Stereo: Teacher-Assisted Robust Uncertainty-Guided Search and Transfer for Fast Stereo Matching

TRUST‑Stereo introduces an Uncertainty‑Guided Residual Search Module that estimates the reliability of propagated disparity and predicts residual offsets to adaptively relocate local cost‑volume centers, mitigating errors in coarse‑to‑fine stereo matching. It also employs a two‑stage Senior‑Junior Teacher Assistant knowledge distillation strategy to transfer rich monocular representations from a large foundation model to a lightweight backbone, enabling fast stereo matching. Experiments on KITTI, ETH3D, and Middlebury show strong zero‑shot generalization, achieving state‑of‑the‑art results with only 1.4 M synthetic pairs and maintaining inference at ~50 ms per stereo pair.

By Pouya Sohrabipour, Yihong Feng, Chaitanya Kumar Reddy Pallerla, Tuan Dang, Ngan Le, Dongyi Wang
arXiv Computer Vision
Nov 5

ChanSFormer: A Channel Agnostic Vision Transformer for Multi-Channel Cell Painting Images

ChanSFormer is a vision transformer designed for multi‑channel imaging that is channel‑agnostic. It replaces fixed channel embeddings with disentangled spatial‑channel attention and individual channel CLS tokens, preserving channel identity and cross‑channel interactions. The model achieves higher classification accuracy on biology datasets (JUMP‑CP) and shows strong cross‑dataset transferability, while also reducing attention complexity to improve throughput.

By Jingwei Zhang, Srinivasan Sivanandan, Dimitris Samaras
arXiv Computer Vision
Nov 5

PTQ4SAM3: Semantics-Preserving Post-Training Quantization for Segment Anything Model 3

The paper introduces PTQ4SAM3, a post‑training quantization method for the Segment Anything Model 3 that preserves semantic alignment during quantization. It addresses prompt‑alignment drift by giving more calibration weight to concept‑sensitive parameters, preserving residual features, and correcting mean error in video memory, all without adding inference operators. Experiments show significant performance gains on RefCOCO, LVIS, and SA‑V benchmarks while maintaining high COCO mask AP.

By Xi Xiao, Yunbei Zhang, Lin Zhao, Janet Wang, Xinru Jiang, Yanshu Li, Chenrui Ma, Pan Wang, Tianyang Wang, Xiao Wang
arXiv AI
Nov 5

Agents, Think Only When it Helps

The paper investigates the role of thought supervision in distilling large language model agents. By independently perturbing teacher thoughts and actions during distillation, the authors find that removing or altering thoughts has little impact on student performance across various benchmarks and model scales. However, thought supervision becomes important when the action does not reveal the information contained in the thought, suggesting that including thoughts in the training data may be unnecessary for many cases.

By Min-Seon Kim, Seungdong Yoa, Sanghyu Yoon, Ye Seul Sim, Suhee Yoon, Dongmin Kim, Jung-Eun Kim
arXiv AI
Nov 5

Aligning Training and Rollout Policies for End-to-End FP4 RL on Mixture-of-Experts LLMs

The paper investigates end‑to‑end FP4 reinforcement learning for Mixture‑of‑Experts large language models and finds that existing recovery techniques for dense models fail to improve accuracy in the MoE setting. The authors attribute this to the discrete routing decisions in MoE, which make training‑inference policy alignment highly sensitive to asymmetry in recovery methods. They introduce MoEResQ, a symmetric quantization‑recovery recipe that restores alignment and significantly narrows the accuracy gap to full precision.

By Hei Yi Mak, Hoang Le, Mehran Taghian Jazi, Yunke Peng, Huan Lin, Zhengzhi Tang, Zhexu Liu, Yao Wang, Yaoyuan Wang, Anandharaju Durai Raju, Tanzila Rahman
arXiv Computation and Language
Nov 5

Modality-Aware Expert Pruning for MoE-Based Multimodal Large Language Models

The paper introduces Modality-Aware Expert Pruning (MAEP), a training‑free method that decomposes expert importance by modality in a single forward pass for Mixture‑of‑Experts multimodal large language models. MAEP uses a Delta‑H Output metric to measure the impact of removing an expert and leverages low‑attention vision tokens as a stable pruning signal, while preserving text‑side importance. Experiments on three MoE‑based MLLMs show that MAEP reduces the BF16 expert weight footprint by about 27 GB (≈47% of total memory), enabling a 58 GB model to fit on a single 40 GB GPU and outperforming modality‑agnostic baselines on most multimodal benchmarks.

By Donggeun Kim
arXiv AI
Nov 5

Route to Remember: Adaptive Memory Selection for LLM Agents

The paper introduces OPSD, a method that uses on‑policy self‑distillation to train a context‑free student model from a teacher conditioned on user memory, combined with a verify‑then‑regenerate router that directs queries to either weight or text memory. OPSD enables weight memory to compete with or surpass traditional text‑based memory systems on the HaluMem benchmark, reducing token usage per query. The study also explores how different training recipes influence weight memory performance and offers guidance for integrating it with retrieval in persistent, multi‑session agent deployments.

By Zeyu Fang, Jun Yin, Yongsheng Mei, Xu Han, Chaitali Joshi, Zhongkai Sun, Jie Hao, Bin Guo, Chengyuan Ma, Benjamin Z. Yao, Chenlei Guo
arXiv AI
Nov 5

UniCompress: From Multi-LoRA Experts to One Compact Model for Edge Intelligence

UniCompress is a deployment-oriented framework that transforms multi-task vision‑language expertise into a single compact, adapter‑free model suitable for edge intelligence. Starting from a BF16 Qwen3‑VL‑4B teacher, it builds an asymmetric INT2 student using GPTQ initialization and teacher‑guided quantization recovery, jointly compressing both the vision encoder and language backbone. Evaluated on four embodied tasks, UniCompress cuts weight storage from 8.9 GB to 2.1 GB (≈76% reduction) while improving the INT2 macro task score by 34.3 percentage points over GPTQ‑INT2 and staying within 0.9 points of the BF16 teacher.

By Mingkang Liu, Peipei Jiao, Weiming Meng, Tianyuan Liu, Lichen Pang, Junyan Li
arXiv AI
Nov 5

Addition by Subtraction: Toward Mitigating Fragile Safety Alignment in Large Language Models

The paper introduces a method called Addition by Subtraction to strengthen safety alignment in large language models. By gradually removing identified safety‑critical neurons during finetuning and re‑optimizing preferences, the authors reduce the model’s reliance on sparse components that can be targeted by pruning or ablation attacks. Experiments on four models from three vendors show that this approach improves robustness to both white‑box and black‑box jailbreaks, lowers attack success rates by up to 90%, and enhances truthfulness while preserving general capabilities.

By Hamid Dashtbani, Alexandra Dmitrienko
arXiv AI
Nov 5

When Does Risk-Controlled Throughput Forecasting Actually Control Risk? A Reproduction Study on LEO Satellite Link

The study reproduces the BG-CFQS risk‑controlled throughput forecasting method on three Starlink traces and an additional dataset, finding that its risk guarantees hold only under random data splits and fail under contiguous temporal splits. It also shows the method cannot support risk budgets below 0.15, that static conformal calibration does not improve ranking, and that group‑conditional online recalibration often performs worse than no conditioning. These empirical results question the practical reliability of the technique for real‑world satellite link admission control.

By Mayan Sharma, Kriti Saini, Devansh Behl, Suganya R, S. Vijayaragavan
arXiv AI
Nov 5

Enabling AWS Cloud FPGA Development Using High-Level Vitis HLS

The paper introduces a toolchain that enables machine‑learning model development on AWS EC2 F2 cloud FPGAs using high‑level Vitis HLS. It implements a complete Vitis HLS to HDK bridge to AFI workflow, a four‑level methodology (FP32 PyTorch, bit‑accurate quantized Python, HLS C‑simulation, physical FPGA) for error localization, and documents deployment, timing closure, and HLS engineering decisions. The authors validate the approach by implementing TinyBERT’s embedding layer and first encoder layer on FPGA, noting that weight streaming from host DRAM results in poor performance compared to CPU/GPU implementations.

By David Rostcheck
arXiv AI
Nov 5

Using Experience Twice: Dynamic Process Rubrics for Privileged Token-Level Credit Assignment

The paper introduces Online Rubric Self-Distillation (ORSD), a method that extracts natural‑language process rubrics from agent trajectories and uses them as dense token‑level supervision signals. ORSD generates multiple rubric bundles per step, verifies them against trajectories, and selects the bundle that best aligns rubric satisfaction with task success. The selected rubric is then used to compute token‑specific process credit, which is added to the trajectory‑level advantage to enable fine‑grained credit assignment. Experiments on ALFWorld and WebShop demonstrate that ORSD speeds up policy learning and improves final performance for Qwen3 models within the same interaction budget.

By Shumao Wu, Kongcheng Zhang, Jianqiang Huang, Baisheng Lai
arXiv Computer Vision
Nov 5

RI-Prune: Relation and Information Aware Visual Token Pruning for Multi-Image Vision-Language Models

RI‑Prune is a new, training‑free, attention‑free method for pruning visual tokens in multi‑image vision‑language models. It scores tokens using a combination of query relevance, cross‑image correspondence, and intra‑image representativeness, then selects a balanced Top‑K per image. Experiments on several multi‑image benchmarks and three LVLM backbones show that RI‑Prune outperforms existing attention‑based pruners, especially when aggressive token budgets are required.

By Dongjin Lee, Eunju Lee, Jinhee Jang, Yoonji Lee, Youngbin Kim