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 11

Federated Learning of Binary Neural Networks: Enabling Low-Cost Inference

The paper introduces FedBNN, a federated learning framework that applies rotation‑aware binarization to train binary neural networks across heterogeneous edge devices. By guiding local binarization with global model information and incorporating local rotation data into the server‑side model, FedBNN achieves accuracy comparable to full‑precision federated models while outperforming existing federated binary approaches. Experiments on multiple datasets and architectures show up to 58× FLOP and 32× memory savings, enabling efficient deployment on resource‑constrained devices.

By Nitin Priyadarshini Shankar, Soham Lahiri, Sheetal Kalyani, Saurav Prakash
arXiv Computer Vision
Nov 11

Elastic-WAM: Adaptive Spatiotemporal Imagination for Efficient Robot Control

Elastic-WAM introduces an adaptive spatiotemporal refinement strategy for world-action models, allocating computational effort across time and space based on a learned refinement demand field. This field determines when to stop refinement, how far to advance denoising steps, and which future regions to refresh, enabling efficient recurrent sparse refinement. Experiments on simulation and real‑world long‑horizon manipulation tasks show state‑of‑the‑art control performance with lower inference latency.

By Haitian Li, Tianfu Li, Xuxi Zhao, Zizheng Liu, Yangcheng Yu, Yiwen Hou, Zeyu Xiao, Mutian Xu, Ziqian Yang, Haonan Chen, Lin Shao
arXiv Computation and Language
Nov 11

MNN-Pocket-0.3B Technical Report

MNN-Pocket-0.3B is a 300‑million‑parameter dense language model optimized for on‑device use, supporting up to 32K‑token contexts. It achieves an INT4 footprint of 173 MB and can decode at 466 tokens/s on an iPad Pro M5, making it suitable for smartphones and smart glasses. The model was trained through a four‑stage pre‑training pipeline on 4.1 trillion Chinese and English tokens, followed by instruction fine‑tuning, teacher distillation, and quantization‑aware training, and is delivered with open weights and MNN deployment packages.

By MNN Team
arXiv AI
Nov 11

Prune-and-Merge: Training-Free Scaling of Vision Transformers

Prune-and-Merge ViT is a training‑free framework that reduces the computational cost of Vision Transformers by combining class‑attention‑based pruning with similarity‑based merging. It preserves semantic information and maintains robustness, as measured by newly introduced metrics: Relative Accuracy Drop (RAD) and Prediction Flip Rate (PFR). Experiments on pretrained ViT and DeiT show competitive computation savings, improved accuracy, and stable predictions under common image transformations.

By Vatsal, Soumil Malhotra, Priyanshu Chahal, Sanjeev Kumar
arXiv AI
Nov 11

Precision on Demand: Escalating Weight Bits at Uncertain Decoding Steps in a Small Local Model

The paper proposes a dynamic weight‑precision strategy for local decoding, storing 8‑bit weights but using only the top 4 bits during most steps and escalating to full precision when the low‑precision output distribution is uncertain (high entropy or small top‑two margin). Experiments on Qwen3‑0.6B with the GSM8K benchmark show that a 15% escalation budget captures 78% of low‑precision argmax flips, outperforming a random gate, and that an entropy gate at 16% escalation achieves 62.7% accuracy with only 0.87 of the weight‑byte cost of using all‑high precision. The study demonstrates that selective precision escalation can reduce computational cost while maintaining competitive performance.

By Mohammed Nayeem Khan, Logesh L, Aliyas Ahmad Misri
arXiv AI
Nov 11

Massive Activations Confound Sparse Autoencoders

The paper investigates how massive activations in sparse autoencoders (SAEs) distort evaluation metrics such as variance explained and ablation damage. It finds that up to 99.9% of activation variance can lie along the first principal component (PC1), causing each SAE run to reconstruct PC1 from different feature sets and leading to highly inconsistent importance rankings. By removing PC1 during training and re‑adding it during reconstruction, the authors improve feature sharing rates from 4–39.5% to 73–99.5%, reduce model degradation by up to 44%, and lower content reconstruction error by up to 33.9%.

By Nathan Delisle, Chenhao Tan
arXiv AI
Nov 11

Variance Reduction for Gradients from Diffusion Teachers

The paper introduces CARV, a compute‑aware variance‑accounting framework that reduces the variance of teacher gradients in diffusion‑based pipelines. By treating gradient estimation as a two‑stage sampling problem with asymmetric costs, CARV employs a hierarchical Monte Carlo estimator that reuses expensive upstream computations across multiple cheap diffusion draws, and further reduces variance with timestep importance sampling and stratified inverse‑CDF sampling. Experiments show CARV achieves 2–3× effective compute savings on text‑to‑3D and data attribution tasks, while cutting gradient variance by an order of magnitude in single‑step distillation without improving downstream FID.

By Jesse Bettencourt, Xindi Wu, Matan Atzmon, James Lucas, Jonathan Lorraine
arXiv Machine Learning
Nov 11

GigaEdge Spench: An SDK for Practical Streaming Speech Enhancement

GigaEdge Spench is an open‑source SDK that enables streaming speech enhancement on CPUs, mobile devices, and browsers. It offers neural denoising, normalization, dynamics control, sample‑rate conversion, and acoustic echo cancellation, with models ranging from an 8 kHz INT8 denoiser to 48 kHz FP32 variants. The SDK supports ONNX Runtime, TensorFlow Lite, Android, iOS, and WebAssembly, allowing multiple streams to share model resources and process consecutive frames in a single inference call.

By Artem Sokolov, Artem Khaidarov, Yana Lysova, Alexander Gladkikh, Vitaliy Yulis
arXiv Machine Learning
Nov 11

Block-Sparse Gauss-Newton Optimization of Finite Basis Physics-Informed Neural Networks: Sparse Automatic Differentiation Approach

The paper presents a Gauss-Newton optimization method tailored for finite basis physics-informed neural networks (FBPINNs). By exploiting the overlapping domain decomposition architecture, the authors induce block sparsity in the residual Jacobian and Gauss-Newton matrix, enabling sparse automatic differentiation via graph coloring. This approach reduces differentiation costs and memory usage, allowing the Gauss-Newton system to be assembled in block-sparse form and solved with sparse direct or preconditioned iterative solvers, leading to high accuracy and faster optimization on large multiscale PDE problems.

By Denis Korolev, Adrian Hill, Jeeeun Lee
arXiv Machine Learning
Nov 11

GSQ: Highly-Accurate Low-Precision Scalar Quantization for LLMs via Gumbel-Softmax Sampling

GSQ (Gumbel-Softmax Quantization) is a post‑training scalar quantization method that jointly learns per‑coordinate grid assignments and per‑group scales using a Gumbel‑Softmax relaxation. It achieves near‑state‑of‑the‑art accuracy for 2–3 bits per parameter on large LLMs such as Llama‑3.1‑8B/70B‑Instruct, while remaining compatible with existing scalar inference kernels and scalable to trillion‑parameter Mixture‑of‑Experts models. GSQ also improves publicly released GGUF K‑Quant checkpoints by projecting the optimized quantization back into the same deployment format.

By Alireza Dadgarnia, Soroush Tabesh, Mahdi Nikdan, Michael Helcig, Eldar Kurtic, Maximilian Kleinegger, Dan Alistarh
Hugging Face Trending Papers
Nov 10

Elastic-WAM: Adaptive Spatiotemporal Imagination for Efficient Robot Control

Elastic-WAM introduces an adaptive approach to world-action model refinement, allocating computational effort across time and space based on a learned spatiotemporal demand field. This field determines when to stop refinement, how far to advance each denoising step, and which future regions to refresh, allowing the model to tailor refinement depth to specific tasks and states. Experiments on simulation and real‑world long‑horizon manipulation tasks show that Elastic‑WAM achieves state‑of‑the‑art control performance while reducing inference latency.

Hugging Face Trending Papers
Nov 10

Coding Agent Memory Post-Training II: Unlocking the Memory Potential of Pre-trained File Operations for Long-Horizon Tasks via On-Policy Distillation

The paper introduces Coding Agent Memory Post-Training II (CAMP-II), a method that trains a single policy across five long‑horizon RL environments using fully asynchronous on‑policy distillation (OPD) to learn file‑based memory behavior. CAMP-II leverages a frozen teacher with a prior for file operations, enabling the policy to create, revise, search, and reuse files as memory across context replacements. On the new Coding Agent Memory Gym II (CAMG‑II) benchmark, CAMP‑II achieves nearly three times the performance of the strongest OPD baseline and its learned memory strategy generalizes to external benchmarks Terminal‑Bench 2.1 and SWE‑Bench Pro V2, improving success rates.

Hugging Face Trending Papers
Nov 10

Beyond Passive Imitation: On-Policy Mid-Training Distillation for Language Models

The paper introduces On-Policy Mid-Training Distillation (OPMD), a method that replaces the standard next-token prediction (NTP) objective in continual pre‑training with an active, query‑driven approach. By sampling trajectories from the evolving student policy and applying dense token‑level reverse‑KL rewards from a frozen teacher, OPMD trains the model on states it actually visits, reducing the mismatch between training and generation. Experiments on a 1B‑token mathematical corpus show that OPMD improves performance for the Qwen3‑1.7B‑Base model on MATH‑500 and Minerva benchmarks, outperforming the NTP baseline that degrades on both tasks, while adding no inference‑time overhead.

Hugging Face Trending Papers
Nov 10

Swanada: Split-Encoder Capability-Routed Conformer CTC and Sub-30 MB On-Device Speech Recognition Across Twelve Scripts

Swanada is an open‑source, 16 kHz streaming ASR system that supports Classical Sanskrit, Indian English, and ten Indian languages across browser WebAssembly, Node.js, and Python. It uses a shared INT8 Conformer encoder with a hot‑swappable 515 KiB native‑script CTC head, reducing 12‑language storage by more than 11× and achieving sub‑30 MB accuracy. The system delivers low latency (30.6 ms median TTFT) and high accuracy (5.43 % held‑out CER) while eliminating cloud transcription costs and server‑side audio retention. whyItMatters":"By enabling efficient, client‑side speech recognition across multiple Indic scripts, Swanada removes the need for cloud transcription, reduces latency, and preserves user privacy while maintaining competitive accuracy."

Hugging Face Trending Papers
Nov 10

FastWild-GS: Minutes-Scale In-the-Wild Gaussian Splatting via Compact Per-Image Appearance Adaptation

FastWild-GS is a rapid in-the-wild Gaussian Splatting method that models each photo with a 128‑dimensional Photo Appearance Token and a simple per‑channel transform (scale and offset). A small MLP predicts Gaussian colours from this token and per‑Gaussian features, replacing spherical‑harmonics colour representation. The method achieves state‑of‑the‑art visual quality—lowest LPIPS on PhotoTourism and best PSNR/SSIM/LPIPS on NeRF‑OSR—while training each scene in under ten minutes, far faster than previous approaches.

Hugging Face Trending Papers
Nov 10

One Byte, One Token: Byteifying a 27B Hybrid-Attention LLM with Self-Generated Data

The paper explores converting a 27B subword language model (Qwen3.8-27B) into a pure byte‑level model by shrinking its vocabulary to 384 byte symbols and retraining on self‑generated byte‑level data. The resulting model retains most of the original performance on benchmarks such as MATH‑500 and HumanEval+, while improving character‑level tasks in Chinese but losing some knowledge about Chinese characters. The conversion incurs a throughput penalty, producing fewer tokens per step and slower prefill performance, and the authors identify and address four failure modes specific to byte‑level modeling.

Hugging Face Trending Papers
Nov 10

Mobile AI Factory: Building Specialized Language Models for Your Mobile Device

Mobile AI Factory is an agentic system that automatically builds fine‑tuned, quantized small language models (SLMs) tailored to a specific task and mobile device. By orchestrating hyperparameter tuning, data mining, and synthetic data generation, the system searches from small to large models across base models and quantizations, adapting its accuracy goal and using real phone measurements to select the best configuration. In evaluations on ten tasks and four Android phones, the factory’s on‑device models outperformed two five‑shot frontier models on five tasks and matched them on three, achieving near‑optimal performance with 19× less GPU time.

Hugging Face Trending Papers
Nov 10

ForeSpark: Joint Draft and Verification Budget Scheduling for Parallel Speculative Decoding

ForeSpark introduces a work‑conserving speculation (WCS) framework that jointly schedules draft and verification budgets for parallel speculative decoding in large language model serving. It uses a context‑aware pre‑draft estimator, a lightweight joint scheduler, and a post‑draft budget allocator to reduce wasted compute and improve throughput. Experiments on vLLM show up to 1.77× higher throughput than DSpark and 2.49× over autoregressive decoding, while maintaining the same output distribution and supporting higher request rates under latency SLOs.

Hugging Face Trending Papers
Nov 10

Bursts That Outlast Themselves: Persistent Degradation in Prefix-Cached Agent Serving

The paper investigates how prefix caching in LLM agent serving can lead to persistent degradation when traffic bursts occur. It shows that even a small increase in arrivals can push a vLLM server into a low hit‑ratio, low‑throughput regime that continues to deteriorate for an extended period, while a server without prefix caching remains stable. The authors identify a workload‑balance condition that predicts this collapse and evaluate mitigation strategies such as throttling, session suspension, and a KV‑budgeting approach, finding the latter most effective.

Hugging Face Trending Papers
Nov 9

Domain-Routed Delta Optimization for Multi-Teacher On-Policy Distillation

The paper introduces Domain‑Routed Delta Optimization (DRD‑MOPD), a method for multi‑teacher on‑policy distillation that uses a frozen base model plus expert‑initialized, trainable deltas for each domain. Each domain updates its delta with its own optimizer state and clipping, and after joint training the base and domain‑specific deltas can be exported separately for use without retraining. Using AdamW, the resulting student achieves 32.83% Macro accuracy across six benchmarks after 20 updates, slightly outperforming a shared‑control baseline and improving further with Open‑MOPD weighting.