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
Oct 23

D-Skill: Distilling Teacher Knowledge through Agent Skills

D‑Skill is a framework that distills the behavioral advantage of a large language‑model teacher into an interpretable natural‑language skill document, using only paired rollouts and no weight updates. The skill is constructed offline from fixed trajectories, then provided to a smaller student model at inference time. Across benchmarks such as SpreadsheetBench‑Verified, ALFWorld, and chess puzzles, D‑Skill closes 75‑95% of the teacher‑student performance gap and reduces inference cost by 5.7×–8.3× compared to the teacher.

By Shuo Yuan, Dacheng Li, Joseph E. Gonzalez
arXiv AI
Oct 23

Bio-Inspired Auditory Processing: Coupling Parallel Resonate-and-Fire Dynamics with Ternary Recurrent Networks for Speech Recognition

The paper introduces the Spiking Ternary GRU (stGRU), a bio‑inspired architecture that couples ternary‑weight gated recurrent units with resonate‑and‑fire neurons to enable efficient, matrix‑MAC‑free spiking neural networks for speech recognition. Trained end‑to‑end on LibriSpeech, the stGRU achieves single‑digit word error rates (6.44% on test‑clean) without an external language model, and also attains competitive character error rates on Aishell‑1. The model develops a depth‑graded hierarchy where shallow layers filter acoustic signals and deeper layers integrate semantic context, mirroring hierarchical processing in human cortex.

By Pavlos Poulos, Katelyn Sadorf, Themos Stafylakis, Costas A. Anastassiou
arXiv Machine Learning
Oct 23

Neural Spectral Capacity with Residual Context for Heterogeneous Resource Allocation within Transformers

The paper introduces Residual-Aware Neural Spectral Capacity (ResNSC) for Transformers, enhancing the original NSC heuristic by incorporating residual updates into capacity calculations. ResNSC-DP jointly allocates residual and feed‑forward widths under a resource budget, providing certified bounds on the best achievable ResNSC score. Experiments on 121M and 374M models show that architectures selected by ResNSC-DP achieve lower perplexity than uniform or tapered allocations, and in LLaMA‑7B pruning ResNSC-DP improves average accuracy by 3.28–5.46 percentage points across eight tasks.

By Chenyu Zhu, Ruoyu Zhao, Zhichao Lu
arXiv Machine Learning
Oct 23

Reverse-KL Policy Distillation: Statistical Guarantees and Limits

The paper investigates the statistical properties of Reverse‑Kullback‑Leibler (KL) policy distillation, focusing on how different feedback settings affect sample complexity. It shows that when the teacher reveals its full action distribution, online distillation achieves minimax rates, whereas revealing only the probability of the student‑generated action requires substantially more data. In contrast, offline distillation attains the same minimax rate regardless of whether the teacher’s full distribution or only the probability of the teacher‑generated action is revealed, because teacher‑generated actions expose the teacher’s preferences directly.

By Haolin Liu, Chen-Yu Wei, Julian Zimmert
arXiv Machine Learning
Oct 23

One Teacher, Many Views: Reducing Reference Sensitivity in On-Policy Self-Distillation

The paper introduces Monte Carlo Privileged Distillation (MCPD) to address reference-induced target instability in on-policy self-distillation (OPSD). MCPD models privileged context as a distribution over partial reference views and averages teacher distributions across these views, yielding a target that matches the expected KL divergence minimization. Experiments on mathematical and scientific reasoning benchmarks show that MCPD provides more reference-consistent supervision and consistently outperforms full-reference OPSD.

By Khouloud Saadi, Di Wang
arXiv Machine Learning
Oct 23

Evaluating the Applicability of LLM Inference Optimizations on Apple Silicon

The paper investigates how well common large‑language‑model (LLM) inference optimizations perform on Apple Silicon compared to server‑class NVIDIA GPUs. Four optimization families—KV‑cache pruning, speculative decoding, ported GPU kernels, and post‑training quantization—are evaluated on four Apple machines under a single‑request decode workload, with matched RTX 4090 comparisons where possible. Results show that KV‑cache pruning can boost Apple throughput up to 1.75×, while speculative decoding actually reduces throughput on Apple; CUDA kernel designs transfer only partially, and quantization gains vary by machine, indicating that speedups depend on the specific technique, runtime, hardware, and workload regime.

By Kyrylo Yemets, Andrii Yaroshevych, Victor Muryn, Ostap Khomenko, Pavlo Kryven, Maksym Kmet, Maksym Shamrai, Mariya Hirna
arXiv Machine Learning
Oct 23

EgoHand: Monocular 3D Hand Reconstruction from Egocentric Video

EgoHand is a monocular 3D hand reconstruction model that sets new state‑of‑the‑art results on egocentric video. It is trained on a curated 14‑million‑image corpus that blends synthetic data, in‑the‑wild video, and multi‑camera motion capture to balance diversity and supervision quality. The model uses SOMA‑Hand as its parametric representation, processes 2D hand crops with a transformer encoder, and incorporates camera cues and an auxiliary 2D branch to enhance geometric consistency and image alignment, achieving low inference latency and strong out‑of‑domain generalization on benchmarks such as HOT3D, ARCTIC, and H2O.

By Chao-Yeh Chen, Tiffany Chen, Lin Duan, Tianyi Hu, Yu-Hsiang Huang, Umar Iqbal, Jiefeng Li, Edy Lim, Yanchen Liu, Yihan Pang, Hang Qiu, Jun Saito, Shao Su, Qingsi Wang, Xiufeng Xie
arXiv Machine Learning
Oct 23

FIGFLEX: A Mixed-Precision FP-INT GEMM Accelerator Co-Designed with Low-Bit LLM Quantization

FIGFLEX is a mixed‑precision accelerator co‑designed with a low‑bit LLM quantizer that performs floating‑point‑integer (FP‑INT) GEMM. It introduces a shift‑add, radix‑4 reformulation of FP‑INT multiplication that fuses multiply‑accumulate into a precision‑flexible partial‑product reduction, and a novel INT3 optimization that reclaims idle datapath leaves. The accompanying mixed‑precision quantizer assigns channel‑group bit‑widths based on GPTQ error, using power‑of‑two column scaling to keep activations out of the FP16 subnormal range, enabling the quantized model to run on FIGFLEX with the same accuracy as on a GPU while achieving higher throughput per area on 3‑bit mixed‑precision workloads.

By Faraz Tahmasebi, Haocheng Xu, Andrew Trauger, Yomal Perera, Zhenyu Tang, Nael Chowdhury, Sitao Huang
arXiv Machine Learning
Oct 23

Evolutionary Deep Nets for Non-Intrusive Load Monitoring

The paper presents compact appliance classifiers for local electricity‑load monitoring under memory and computation constraints. It evaluates adaptive sparse evolutionary training and warm‑start compression on synthetic aggregate windows from household appliance recordings, training 120 convolutional models across four targets and three seeds. Two analyses show that the compressed policy preserves binary accuracy while improving macro F1 to 92.40%, reducing stored weights by 17.36% and active first‑layer connections by 23.93%.

By Jinsong Wang, Kenneth A. Loparo
arXiv Machine Learning
Oct 23

MarkTune: Improving the Quality-Detectability Trade-off in Model-Embedded LLM Watermarking

MarkTune is a model‑embedded watermarking framework that improves the trade‑off between generation quality and detectability. By regularizing toward a high‑quality reference distribution, it decouples quality preservation from proximity to the base model and uses the GaussMark detection statistic as a reward during on‑policy fine‑tuning. Empirical results show that MarkTune enhances the quality‑detectability frontier, maintains downstream task performance, and remains robust against text‑editing and open‑weight attacks across diverse datasets.

By Yizhou Zhao, Zhiwei Steven Wu, Adam Block
arXiv Machine Learning
Oct 23

Optimal Clustering of Multi-layer Networks under Mixture Block Models

The paper investigates clustering of multi‑layer networks generated under a mixture multi‑layer stochastic block model (MMSBM). It derives the minimax optimal clustering error rate, expressed via Chernoff information between component edge‑probability distributions, and introduces a two‑stage estimator that achieves this rate even under extreme sparsity. The method is extended to count‑weighted networks using a mixture multi‑layer Poisson block model, with numerical experiments and real‑data analyses demonstrating its practical performance.

By Zhongyuan Lyu, Ting Li, Dong Xia
arXiv Computation and Language
Oct 23

From Clinical Judgment to Checkable Rules: Clinician-Led Guardrails for Mental-Health Chatbots

The paper presents a clinician‑led safety guardrail for mental‑health chatbots that replaces typical prompt‑engineering or Constitutional AI methods. Two clinicians design, finalize, and adjudicate a rule base of four safety checks, which is formally verified for internal consistency and applied to LLM outputs. The verification layer’s verdicts are recomputable from a named rule and sixteen facts, and it consistently avoids false crisis‑resource demands that a matched LLM judge frequently raises.

By Chenhan Lyu, Kit Wislocki, Sarah Elizabeth Stoeckl, Maitreyi Sinha, Amir Rahmani
arXiv Computer Vision
Oct 23

CODI: Improving Self-Supervised Vision Transformers with Cross Distillation

The paper introduces CODI, a method that enhances self‑supervised Vision Transformers by mixing a small portion of the teacher’s class‑token distribution into each teacher patch‑token target. This cross distillation approach gives every masked patch an attention‑independent semantic correction without altering the architecture. Experiments demonstrate that CODI improves performance on both dense prediction and image‑level tasks under aligned pretraining settings.

By Siran Dai, Qianqian Xu, Peisong Wen, Yang Liu, Xiaochun Cao, Qingming Huang
arXiv Computer Vision
Oct 23

One-shot federated unsupervised domain adaptation with Smoothed Knowledge Distillation and teacher refinement

The paper introduces SKD-ETR, a one‑shot federated unsupervised domain adaptation framework that uses Smoothed Knowledge Distillation and Exponential Moving Average Teacher Refinement. It trains a student model on an unlabeled target domain with smoothed pseudo labels from an ensemble of source models, then refines each source model by moving its parameters toward the student. This bidirectional refinement improves pseudo‑label quality and student generalization while eliminating complex aggregation and multiple communication rounds, achieving competitive performance on OfficeHome, Office‑Caltech, and DomainNet with low communication and computation overhead.

By Ali Abedi, Q. M. Jonathan Wu, Ning Zhang, Farhad Pourpanah
arXiv Computer Vision
Oct 23

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 3D rotation, translation, metric size, and a completed camera‑frame 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 and leveraging a frozen RADIO backbone, F2G‑Pose achieves state‑of‑the‑art accuracy on SOPE and ROPE while running at 28 FPS for pose‑only inference and demonstrates strong geometry completion on HouseCat6D and real‑object transfer on HANDAL.

By Jinyu Zhang, Haitao Lin, Jiashu Hou, Xiangyang Xue, Yanwei Fu
arXiv Computer Vision
Oct 23

Revisiting Distribution Matching for State-to-Vision Policy Distillation in Laparoscopic Robotic Manipulation

The paper proposes a method for distilling a vision‑based policy from a state‑based teacher policy in laparoscopic robotic manipulation. By using privileged state observations as a teacher, the vision policy learns from RGB images and proprioception, requiring fewer expert demonstrations than imitation learning and outperforming pure reinforcement learning. Experiments in simulation show that this distillation approach yields more consistent and stable performance across various surgical tasks.

By Mingyu Sheng, Jianan Fan, Dongnan Liu, Guoyan Zheng, Ron Kikinis, Weidong Cai
arXiv Computer Vision
Oct 23

EdgeCrafter: Compact ViTs for Edge Dense Prediction via Task-Specialized Distillation

EdgeCrafter presents a compact Vision Transformer framework tailored for edge dense prediction tasks such as object detection, instance segmentation, and human pose estimation. By employing task-specialized distillation and an edge-friendly encoder-decoder design, the ECDet backbone achieves 51.7 box AP with under 10 M parameters, while its extensions reach 48.4 mask AP and 74.8 keypoint AP using only COCO annotations. Pretraining on Objects365 further boosts performance, demonstrating that lightweight ViTs can compete with CNN-based models on resource-constrained devices.

By Longfei Liu, Yongjie Hou, Yang Li, Qirui Wang, Youyang Sha, Yongjun Yu, Yinzhi Wang, Peizhe Ru, Xuanlong Yu, Xi Shen
arXiv Computation and Language
Oct 23

Direct Pass@$k$ Optimization for Thought Pruning: Balancing Quality and Diversity in Test-Time Reasoning

The paper introduces a pruning method for test-time reasoning that directly optimizes pass@$k$ by selecting a pool of partial solutions that maximizes the chance of at least one correct final answer. This approach balances quality and diversity automatically, avoiding separate design choices for each. Experiments on eight open-weight reasoning models show that the method outperforms existing quality-based and diversity-based pruning strategies, especially when a moderate number of partial solutions are retained.

By Mahdi Salmani, Adel Javanmard, Devansh Gupta, Meisam Razaviyayn
arXiv Computer Vision
Oct 23

Self-Distilling Future Video Representations for World Action Models

The paper introduces FRED, a framework that self‑distills future video representations for World Action Models (WAMs) by predicting these representations from noise using ground‑truth future observations as targets. By conditioning on historical observations, FRED improves the quality of future representations obtained in a single denoising step, thereby enhancing action prediction efficiency. Experiments on real‑world manipulation tasks show that FRED outperforms existing WAMs, especially on long‑horizon, out‑of‑domain, and zero‑shot scenarios, achieving a 50.0% success rate on tasks only seen in human videos versus 19.4% for the best competitor.

By Huiwon Jang, Suhyeok Jang, Hyeonmo Kang, Seungku Kim, Jinwoo Shin, Sihyun Yu