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 AI
1d ago

MixFold: Sub-4-Bit Mixed-Precision LLM Inference via Output-Channel Grouping on Mobile NPUs

MixFold is a method for sub‑4‑bit mixed‑precision inference of large language models on mobile NPUs. It runs 3‑bit and perfectly symmetric 2‑bit weights using native integer operations without expanding them to wider types, and assigns datatypes to output‑channel groups that align with matrix‑unit tiles, allowing finer granularity than layer‑level assignment. In tests on the Qualcomm Hexagon NPU of a Snapdragon 8 Elite Gen 5, MixFold matches or exceeds llama.cpp’s sub‑4‑bit accuracy while decoding 1.16–1.41× faster and producing 1.5–4.3× more tokens per joule.

By Vinnam Kim, Seong Hoon Seo, Junhan Kim, Jaeseong You, An Chen
arXiv AI
1d ago

WePM: Hierarchical Conflict Reconciliation for Unified MLLMs

The paper introduces WePM, a pocket model that unifies representation, generation, and decision tasks within a single vision‑language backbone. It employs Multi‑Granularity Visual Budgeting to allocate a fixed token budget across different spatial scales, Unified Listwise Knowledge Distillation to leverage soft teacher guidance without cross‑task paired data, and Stable and Efficient Multitask Optimization to balance task contributions under memory constraints. WePM achieves higher joint and single‑task scores than baselines while reducing resident weight memory by 61.9% and increasing heterogeneous capability density by 2.64‑fold.

By Zhiqiang Yuan, Qiwei Yan, Liwei Yang, Jinzhe Liu, Yang Liu, Zhongyan Hou, Liyan Xu, Peixiang Luo, Jiapei Zhang, Ying Deng, Jie Zhou, Jinchao Zhang
arXiv AI
1d ago

Speculative Decoding Is Less Speculative Than You Think

Speculative decoding speeds up language‑model inference by generating candidate continuations ahead of the target model. The paper introduces DICE (Draw‑Informed Candidate Selection), which pre‑samples and synchronizes randomness between drafting and verification, allowing computation to focus on continuations most likely to be used. DICE achieves state‑of‑the‑art decoding throughput, delivering up to 24.6 percentage‑point speedups without retraining the drafter or altering the target sampling distribution.

By Guanning Zeng, Andrea Zanette
arXiv AI
1d ago

Contexture: Runtime Context Eviction for High-Throughput Agent Serving

Contexture is a harness‑ and model‑agnostic runtime context eviction system that separates an LLM agent’s full conversation history from its execution context, thereby reducing shared GPU key‑value cache demand. By tracing tokens to their originating tool operations, it identifies and removes superseded tokens—64% of final‑history tokens—while coordinating with global cache pressure to decide when eviction is justified. Experiments across two models, harnesses, and benchmarks show throughput gains of 20–73% over existing methods and up to 11% lower GPU energy per session, with minimal impact on accuracy.

By Colin Hong, Bryan Shan, Wei Siong Pang, Chengzhi Lu, Xu Guo, Nitin Shivaraman, Tao Luo, Esha Choukse, Kisson Lin, Dmitrii Ustiugov
arXiv AI
1d ago

Correct Precedents Induce Policy Violations in On-Device LLM Agents

The paper reports a novel failure mode in local‑cloud agent systems where an on‑device agent, after making a correct decision to release a previously restricted item, becomes more likely to incorrectly release a still‑restricted item in the same session. This "correct‑precedent generalization" was observed in 13 open‑weight models from nine developers and can halve an agent’s safe rate, with the risk increasing when a refused request is retried in a new session. The authors propose Paired Decision Distillation (PDD), a LoRA‑based method that restores safe rates to nearly 100% without additional prompts or model calls.

By Chong Tian, Yu Wang, Steve Liu, Qirong Ho, Xiuying Chen
arXiv AI
1d ago

Optimal Linear Regression Without a Variance

arXiv:2611. 27983v1 Announce Type: cross Abstract: We study high-probability linear regression in the infinite variance regime, wherecthe regression noise has only a finite conditional $\alpha$-moment $\nu$ for some unknown $\alpha\in(1,2)$, and the covariates may only have finite moments up to a given order (e.

By Artin Tajdini, Jasper C. H. Lee, Jonathan Scarlett, Kevin Jamieson
arXiv AI
1d ago

dKV Forcing: Separating Generation and Memory Representations through a Differentiable KV Cache

The paper introduces dKV Forcing, a method that separates the generation and memory representations in a causal video generator by giving the KV cache its own parameters and a low‑rank residual. This approach avoids the memory‑heavy second reconstruction pass of Self Gradient Forcing, achieving an 11% lower memory peak and 28% less resident memory while improving VBench‑Long quality scores and aesthetic quality. dKV Forcing enables training on longer clips that previously ran out of memory, demonstrating superior performance over SGF.

By Zhiqi Li, Bo Zhu
arXiv Machine Learning
1d ago

PLoQ: A Prompt-Specific Low-Rank Basis for 4-bit Quantization of LLM Activations

PLoQ introduces a prompt‑specific low‑rank basis for 4‑bit quantization of large language model activations, extracting dominant activation components during prefill and reusing them during decoding without altering weights. This approach adapts to each prompt’s unique directions, improving quantization accuracy. Across six Llama and Qwen models ranging from 1B to 70B parameters, PLoQ outperforms state‑of‑the‑art mixed‑precision methods, recovering up to 46% of perplexity loss and adding minimal overhead to prefill and decoding.

By Faraz Tahmasebi, Michael Pellauer, Hyoukjun Kwon, Sitao Huang
arXiv Machine Learning
1d ago

Highly Efficient Vertical Federated Clustering with Triangle-Inequality-based Pruning

The paper introduces TriCD, an exact pruning technique for the CDKM clustering algorithm that uses triangle‑inequality bounds to skip unnecessary objective evaluations, and builds on it to create FedTriCD, a federated clustering method that decomposes the global objective into client‑local subproblems. FedTriCD performs multiple local updates between server synchronizations and includes a proximal regularization term to limit drift from infrequent communication. Experiments on real‑world datasets show that TriCD can be up to 50× faster than Lloyd’s algorithm, while FedTriCD achieves competitive clustering quality with fewer local evaluations and communication rounds compared to existing federated clustering approaches.

By Feiteng Nie, Shengkun Zhu, Zepeng Liu, Sheng Wang, Yuan Sun, Zhiyong Peng
arXiv Machine Learning
1d ago

Approximating Softmax in Pretrained LLMs: Model Sensitivity and Kernel Acceleration

The paper investigates how softmax can be approximated in pretrained transformer models to reduce computational load on NVIDIA Blackwell B200 GPUs. It shows that reducing the number of positions and resolution in the softmax map can be done without significant accuracy loss, provided the resolution is concentrated near the row maximum. The authors propose Rowmax-PoT and its hardware implementation Rowmax-H15, which accelerate FP8 attention by up to 25.8% while keeping perplexity increases minimal.

By Shangzhen Zhu, Muyan Hu, Tomasz Kozlowski
arXiv Computation and Language
1d ago

Structurally Different, Functionally Persistent: Capability Regions Under Model Optimization

The paper investigates whether localized parameter regions that enable coding capabilities in large language models remain effective after model optimization techniques such as quantization, pruning, and LoRA adaptation. By evaluating three instruction-tuned models, the authors find that although the parameter composition of these regions changes significantly, ablating the original region still severely degrades coding performance, whereas magnitude-matched controls do not. Partition analysis shows that the overlap between the original and re-extracted regions accounts for most of the ablation effect, indicating that functional persistence and parameter overlap are distinct properties.

By Jiwoo Kum, Chanwoo Kim, Doyun Kim, Seonghyeon Cho, Sihyeon Lee, Chanjun Park
arXiv Computation and Language
1d ago

Probing the Prompt KV Cache: Where It Becomes Dispensable

The paper investigates when the key-value (KV) cache for prompts can be omitted or replaced during decoding in large language models. Experiments across Qwen3, Gemma 3, and Llama 3 show that redundancy lies mainly in the form of the prompt rather than its content, allowing upper-layer prompt KV caches to be substituted with template scaffolds without significant accuracy loss. Implementing this technique reduces KV memory usage by 15.4%, increases concurrent request capacity by 18%, and boosts throughput by 13–21%.

By Vinayshekhar Bannihatti Kumar, Manoj Ghuhan Arivazhagan, Disha Makhija, Rashmi Gangadharaiah
arXiv Computer Vision
1d ago

SCATR-ITS: a scalable transformer for large-area individual tree segmentation from LiDAR point clouds

SCATR-ITS is a scalable transformer model designed for efficient individual tree segmentation (ITS) from LiDAR point clouds over large geographical areas. It builds on the ForestFormer3D framework, using superpoint-level processing, size-aware postprocessing, a dynamic query count module, and a maximal input stride to accelerate inference while maintaining state‑of‑the‑art accuracy on FGI‑EMIT and FOR‑InstanceV2 datasets. In a 142 km² Finnish test area, SCATR‑ITS processes data at 13.8 min/km², up to 18.6× faster than ForestFormer3D and surpassing the accuracy of the unsupervised watershed algorithm.

By Lassi Ruoppa, Verneri Sepp\"anen, Antero Kukko, Juha Hyypp\"a
arXiv Computer Vision
1d ago

SonoAtlasWorld: Anatomy-Grounded Ultrasound World Models for Wide-Range Scanning

SonoAtlasWorld is an ultrasound world model that uses a persistent 3D anatomical asset extracted from CT scans to anchor each scan to a specific anatomy. The model combines anatomy-conditioned pretraining, causal conversion, and long-rollout alignment to generate realistic ultrasound images from probe actions, achieving high pose-to-ultrasound throughput and improved anatomical control as measured by the Action-Following Index. It also supports offline policy training and anatomically grounded closed-loop evaluation, boosting key-plane acquisition success in simulation from 48.2% to 81.2% on unseen anatomies.

By Zheyuan Zhang, Boris Mailhe, Hang Yu, Yikang Liu, Xiao Chen, Ankush Mukherjee, Terrence Chen, Shanhui Sun
arXiv Computer Vision
1d ago

Learning Video Foresight Reasoning from Unlabeled Videos via On-Policy Self-Distillation

The paper introduces Future-OPSD, an on‑policy self‑distillation framework that learns video foresight reasoning from unlabeled videos. It transforms past‑future video pairs into a self‑supervised signal, eliminating the need for external annotations or large language models. By defining a foresight score and optimizing a tractable lower‑bound surrogate, the method focuses on valuable future information, improving open‑ended prediction and closed‑ended planning by up to 14.2 and 15.9 points.

By Jingchen Sun, Jiaxing Zhang, Qingqiao Hu, Dingqiang Ye, Yuqi Jia, Yijun Liang, Di Fu, Yunjie Tian, Dongdi Zhao, Changyou Chen
arXiv Computer Vision
1d ago

Hindsight Forcing: Learning Better History from the Future in Autoregressive Video Diffusion

The paper introduces Hindsight Forcing, a technique for few‑step autoregressive video diffusion that lets historical chunks learn from future outcomes without storing the full trajectory graph. By using a latent straight‑through bridge, gradients from future losses are routed to a single denoising step per historical chunk, training the context writer and denoiser on shared parameters. Experiments on VBench show that this method improves visual quality and dynamic motion compared to existing baselines, and ablation studies confirm the benefit of supervising historical denoising.

By Haonan An, Yihang Tao, Yu Guo, Renlong Chen, Jiasheng Zhang, Yuguang Fang
arXiv Computer Vision
1d ago

PP-CFG: Polarity-Preserving Guidance for Controllable Few-Step Image and Video Generation

PP-CFG introduces a polarity‑preserving guidance architecture that separates positive and negative text conditions and merges their attention responses with opposite signs in a shared visual backbone. Its Scale‑Time Polarity Mixer refines each condition using guidance scale and denoising timestep, enabling prompt influence to vary throughout generation while keeping a continuous scale input and selectable negative prompts. Evaluations on Wan2.1 and Qwen‑Image show PP‑CFG achieving high VBench scores in few steps and lower teacher‑student distances, with improved target‑removal rates on a 1,000‑case benchmark, demonstrating its generality across modalities and distillation objectives.

By Junyi He, Xu Peng, Chengming Xu, Sixiao Zheng, Donghao Luo, Chao Wen, Peng Tang, Xijie Huang, Chengjie Wang, Yanwei Fu
arXiv Computer Vision
1d ago

Inject, Encode, Navigate: Feature-Wise Time Injection for Rectified Flow with Bidirectional Feature Encoding

The paper introduces a rectified flow framework that reduces inference steps to one while maintaining or improving performance in vision-model-based robotic navigation. It employs a bidirectional Mamba-based visual encoder to capture temporal dependencies across observation frames, and identifies that naive combination of these components fails due to weak coupling of temporal context. To resolve this, the authors propose a feature‑wise timestep conditioning design that explicitly conditions visual embeddings on flow timesteps, enabling noise‑level‑aware trajectory generation and coherent interaction between the rectified flow and the temporal encoder, leading to consistent outperformance over baselines.

By Xiaogang Wang, Debasish Mishra, Jia Hao Toh, Wangsheng Liu, Yash Shah