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 23

Amplifying Latency and Cost of LLM Inference via Rowhammer Attack

The paper introduces LLVMhammer, a Rowhammer attack that induces a bit‑flip in Triton’s MLIR/LLVM compilation pipeline, causing the generation of a suboptimal GPU kernel that persists across inference runs. A single successful bit‑flip can increase LLM inference latency by 4–16 % on NVIDIA RTX 4090 and AMD RX 7900 XTX GPUs, and can also degrade output quality, lowering BERTScore to as low as 25 %. The attack is GPU‑vendor‑agnostic and demonstrates that memory corruption in the compiler can have lasting performance and security impacts on large‑language‑model inference.

By Mrityunjay Shukla, Shubham Roy, Biswabandan Panda
arXiv AI
Oct 23

Solving Go under Positional Superko: Sound Proof Transfer and New Board Values

The paper introduces Sanko, a parallel depth‑first proof‑number solver that addresses the challenges of solving Go under positional superko (PSK) by restoring transposition tables, static life‑and‑death recognition, and safe move pruning through a proof‑transfer theorem. Sanko achieves significant speedups, proving 5x5 Go in 16 minutes with six threads and establishing PSK values for twenty‑three additional boards, including eleven previously unsolved. The authors also release the solver source and detailed run data to enable reproducibility of their results.

By Sami Kharma, Florian Schintke
arXiv AI
Oct 23

SP-HLM: Sparse-Pose-Driven Motion Generation and Whole-Body Control for Humanoid Loco-Manipulation

SP-HLM is a framework for humanoid loco‑manipulation that uses a sparse‑pose‑driven interface to separate spatial intent from whole‑body coordination. It predicts five task‑critical body poses and finger joint positions via a vision‑language‑action model, then reconstructs full‑body motion in real time with a motion generation model and integrates this with a latent motion prior for control. Experiments on simulation and a real robot show better motion tracking, coordination, and manipulation success compared to existing methods.

By Zhaohui Yang, Quanbao Lin, Chengqi Shi, Zhenglang Weng, Jicheng Lin, Boyu Chen, Tengjie Zhu, Guanzhu Ren, Jiahao Xu, Yang Feng, Xiaokang Yang, Yao Mu
arXiv AI
Oct 23

PaceVLA: Adaptive Temporal Action Quantization in Vision-Language-Action Models

PaceVLA introduces adaptive temporal action quantization for Vision‑Language‑Action models, enabling faster robot execution by aggregating low‑level actions into coarser steps when appropriate. The framework combines mode‑specific action decoders with a quantizability‑guided mode selection and a context‑conditioned router to decide execution granularity at each inference step. Experiments on simulation benchmarks and real‑world tasks demonstrate that PaceVLA improves execution efficiency while preserving task success rates across diverse embodiments.

By Hojin Jeon, Jimin Lee, Taekwan Kim, Nayoung Oh, Taeyoung Kim, Myungkyu Koo, Jinmo Koo, Joonwoo Ahn, Jinwoo Shin
arXiv Machine Learning
Oct 23

SQuAT: Spherical Lattice Vector Quantization-Aware Training

SQuAT introduces a shape‑gain vector quantization‑aware training (VQ‑QAT) method that separates weight direction and magnitude, using an $E_8$‑derived spherical codebook for directions and low‑bit scalar quantizers for gains. By applying distinct straight‑through estimators (STE) to each component, SQuAT induces tangent‑space updates that act as an implicit spherical (Riemannian) optimization, improving training dynamics over standard STE approaches. A distributed exact nearest‑neighbor assignment scheme further reduces training time by 12.8×, enabling scaling to 10 B tokens and achieving state‑of‑the‑art accuracy on several large language models.

By Sebastian Loeschcke, Ivan Koryakovskiy, Tycho F. A. van der Ouderaa, Riccardo Del Chiaro, Mart van Baalen, Paul N. Whatmough, Markus Nagel
arXiv Machine Learning
Oct 23

A Fix for Softmax and Cross-Entropy

The paper identifies two numerical bugs in standard softmax, log‑softmax, and cross‑entropy implementations: Softmax Collapse, where a dominant logit causes its gradient to be rounded to zero, and Softmax Cancellation, where student and teacher logits that are equal still produce non‑zero gradients. The authors provide straightforward implementations that correct both issues. Their fix removes the previously observed "Slingshot" phenomenon, accelerates grokking with weight decay, prevents accuracy collapse without weight decay, keeps student networks aligned with teachers during distillation, and demonstrates that post‑memorization logit growth is bounded by an equilibrium between weight decay and Adam’s epsilon hyperparameter.

By Jonathan T. Barron, Dan Gnanapragasam, Michael Tschannen
arXiv Machine Learning
Oct 23

Muting Tokens: Exploring Token Sparsification for Efficient Audio Transformers

The paper investigates token sparsification for audio transformers, evaluating various pruning and merging methods across multiple datasets and model sizes. It introduces a new approach that blends attention scores with spectral cues from token embeddings, showing that frequency-aware techniques outperform attention-only methods. The study finds that spectrogram patch intensity-based sparsification is particularly effective for longer audio inputs, underscoring the benefit of incorporating frequency-domain information into sparsification strategies.

By Shreya Sajid, Fabrizio Julian Piva, Hiram Rayo Torres Rodriguez, Elif Ceren Gok Yildirim, Murat Onur Yildirim, Joaquin Vanschoren
arXiv Machine Learning
Oct 23

An Optimal Control Approach To Transformer Training

The paper presents an optimal control framework for training Transformers, modeling the architecture as a discrete-time controlled particle system with shared actions and noise-free McKean–Vlasov dynamics. By lifting the dynamics to probability measures, the authors convert the problem into a fully observed Markov decision process, incorporate positional encodings, and prove the existence of globally optimal policies under mild compactness assumptions. A triply quantized training procedure is proposed, and the authors demonstrate near-optimality, stability, and empirical consistency of the lifted model, offering a globally optimal alternative to gradient-based training that does not rely on smoothness or convexity.

By Ka\u{g}an Akman, Naci Saldi, Serdar Y\"uksel
arXiv Machine Learning
Oct 23

Tracing Subliminal Learning Through Pretraining

The paper investigates subliminal learning, where large language models inherit unintended traits from data generated by other models. It compares hard‑label distillation (students learn from biased teacher outputs) and on‑policy soft‑label distillation (students generate data while teacher logits guide learning), finding that transfer persists across various training conditions and that teacher‑student roles can be asymmetrically effective. Synthetic experiments show that preference signals can be transmitted even without prompt dependence, and that removing certain tokens reduces but does not eliminate transfer, with soft‑label distillation yielding more consistent results with less training.

By Angela Tang, Vishesh Anand, Gon\c{c}alo Paulo
Hugging Face Trending Papers
Oct 22

F2G-Pose: Geometry-Aware Foundation Feature Lifting for Direct RGB-D Category-Level Object Pose Estimation

F2G-Pose is a real‑time, single‑pass framework for category‑level RGB‑D object pose estimation that predicts pose, metric size, and camera‑frame completed shape from a single RGB‑D observation. It lifts dense visual foundation features to partial point clouds, encodes local geometry with DGCNN tokenization, and uses a Mixture‑of‑Experts Transformer to integrate object‑level structure. Trained only on pose‑annotated synthetic SOPE data with a frozen RADIO backbone, it achieves state‑of‑the‑art accuracy on SOPE and ROPE while running at 28 FPS for pose‑only inference and demonstrates strong geometry on HouseCat6D and real‑object transfer on HANDAL.

Hugging Face Trending Papers
Oct 22

SQuAT: Spherical Lattice Vector Quantization-Aware Training

SQuAT introduces a shape‑gain vector‑quantization‑aware training (VQ‑QAT) method that separates weight direction and magnitude, using an $E_8$‑derived spherical codebook for directions and low‑bit scalar quantizers for gains. The approach employs distinct straight‑through estimators for shape and gain, enabling tangent‑space updates that act as implicit spherical optimization. Distributed exact nearest‑neighbor assignment reduces training time by 12.8×, allowing scaling to 10 B tokens and yielding state‑of‑the‑art accuracy on several large language models.

Hugging Face Trending Papers
Oct 22

RIFT: KV Cache Compression for Draft Models with Complementary Compressibility Training

The paper introduces RIFT, a set of selection‑based KV cache compression strategies that balance prefill information with recently generated tokens to mitigate decode staleness in draft models. RIFT improves drafter quality by refreshing KV cache selection during token generation, and an adaptive refresh strategy reduces score calculations to lower latency. Additionally, a compressibility‑driven drafter training phase using sparse attention masks further enhances performance, enabling Qwen3.5‑4B to maintain over 98% of its full‑cache acceptance length within an 8K‑token KV cache budget on long‑context inputs.

Hugging Face Trending Papers
Oct 22

Reverse-KL Policy Distillation: Statistical Guarantees and Limits

Reverse-KL Policy Distillation explores the statistical guarantees of training language models using reverse Kullback–Leibler divergence. The study compares online and offline distillation, showing that online learning requires more data when only the probability of the student’s chosen action is observed, while offline learning achieves the same minimax rate regardless of whether the teacher’s full distribution or only the probability of the teacher‑generated action is revealed. The work also demonstrates that standard online objectives can fail and introduces trajectory‑loss, importance‑ratio truncation, and policy‑space learning to attain optimal guarantees.

Hugging Face Trending Papers
Oct 22

ProQuant: Preserving Expert Quality over Quantity in Ultra-Low-Bit Quantization of Mixture-of-Experts Models

ProQuant is a weight‑only post‑training quantization framework designed for Mixture‑of‑Experts large language models. It introduces PoP, which jointly prunes experts and assigns mixed‑precision bit‑widths to better use a tight bit budget, and RoCo, a routing‑consistent RMSNorm fine‑tune that mitigates routing drift caused by quantization errors. Experiments show ProQuant outperforms existing methods on a range of generative tasks.

arXiv Computer Vision
Oct 22

Joint Semantic-Channel Coding and Modulation for Generative Image Transmission

The paper introduces SemQAM, a joint semantic-channel coding and modulation framework for generative image transmission that converts source representations directly into modulated QAM symbols. By vector‑quantizing latent features and mapping each index to a QAM symbol, SemQAM allows channel impairments to influence codebook learning and employs conditional expectations of received codewords to mitigate error propagation in autoregressive decoding. Experiments demonstrate that SemQAM-C matches or surpasses conventional source coding methods while reducing channel uses by 18.57% compared to separated schemes, highlighting its efficiency and effectiveness in joint coding.

By Hao Cao, Jingkai Ying, Yinhuan Huang, Zhijin Qin, Yuan Shen
arXiv Machine Learning
Oct 22

Asymmetric On-Policy Distillation Learns In-Context Exploration

ASTEROID is a student–teacher supervised learning framework that learns efficient test‑time exploration in partially observable sequential decision problems. By training a history‑conditioned student on on‑policy contexts while a privileged expert provides action labels conditioned on that history, the student learns to search while uncertain and exploit once the hidden state is revealed. Across eleven diverse environments, ASTEROID achieves roughly twice the returns under fixed exploration budgets, uses about 100× fewer interactions than reinforcement learning baselines, and transfers well to vision‑denied real‑world robot manipulation, improving success by +40% over standard distillation.

By Sriyash Poddar, Yanda Bao, Jacob Krantz, Matthew Chang, Xavier Puig, Roozbeh Mottaghi, Natasha Jaques, Abhishek Gupta
arXiv Machine Learning
Oct 22

Dynamics of Hidden Learning Structure

The paper introduces two theories—Fiber Regulation Theory (FRT) and Fiber Acquisition Theory (FAT)—to analyze how a learner’s current predictions influence future learning dynamics. FRT focuses on protecting and repairing existing functions, while FAT examines how new trainable structures are installed and renewed. The authors demonstrate that combining these operations can yield learning responses unattainable by either alone, and they validate this by implementing coordinated repair and renewal strategies in the Qwen2.5-32B model, achieving superior teacher‑forced accuracy and lower macro NLL compared to separate policies.

By Qinyou Wang