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
Nov 14

ReShap: Interpretable Reinforcement Learning for High-Dimensional Multi-Action Settings

ReShap is a policy‑distillation framework that extends Shapley‑based interpretability to high‑dimensional, multi‑action reinforcement learning settings. It extracts compact feature representations from raw image observations, uses SHAP to attribute feature contributions, and distills the deep RL policy into an interpretable surrogate trained on state‑action pairs. The surrogate is instantiated with decision trees, linear regression, and logistic regression, and evaluated on Atari and Box2D environments with three deep RL algorithms, showing competitive task performance and varying fidelity across surrogate types.

By Yiyu Qian, Pengfei Guo, Liyuan Zhao
arXiv AI
Nov 14

Hint-Informed Self-Distillation for Reasoning Segmentation

The paper introduces Hint‑Informed Self‑Distillation (HISD), a method that leverages target‑disambiguation hints to assign token‑level credit in reasoning segmentation tasks. An external model generates segment hints offline, and a hint‑conditioned teacher evaluates the student’s trajectories, adjusting only positive group‑relative advantages to promote concise reasoning. HISD improves ReasonSeg test gIoU and cIoU by 3.00 and 3.55 percentage points over DPAD, and reduces valid reasoning span token counts by up to 91.83% across multiple datasets.

By Kunze Jiang, Yuchen Wang, Kang Li, Qixing Zhang
arXiv AI
Nov 14

Fit-LRP: Fitting Linear Relaxations to Polytopes for Neural Network Verification over Non-Convex Regions

Fit‑LRP is a framework that fits linear relaxations directly to non‑convex polyhedral regions, rather than relying on loose axis‑aligned bounding boxes. By solving a sequence of small, low‑dimensional linear programs, it optimizes affine bounds over unions of polytopes and integrates seamlessly with existing LiRPA and α,β‑CROWN branch‑and‑bound algorithms. Experiments on ARCH‑COMP and neural Lyapunov benchmarks show that Fit‑LRP can reduce branching by up to 47×, cut worst‑case verification time by 15×, and achieve a 6.1× speed‑up over α,β‑CROWN on a single CPU.

By Brian Yarbrough, Jesse Wayment, Jingbo Wang, Philip E. Par\'{e}, Shreyas Sundaram
arXiv AI
Nov 14

Wanda-Guided Sparse Perturbations for Efficient Zeroth-Order Optimization

Wanda-Guided Sparse Perturbations for Efficient Zeroth-Order Optimization proposes WIS‑MeZO, a method that uses Wanda weight–activation saliency to create task‑conditioned sparse perturbation masks while keeping the pretrained model dense. The approach is analyzed via gradient energy capture, linking support quality to gradient estimation and convergence. Experiments on 16 benchmarks with LLaMA and Qwen models (3B–32B) show that WIS‑MeZO outperforms MeZO in aggregate scores and reaches comparable validation losses in fewer steps, and that informative support selection outperforms random or magnitude‑based sparsity.

By Ziqing Wen, Xiaohui Song, Jiahuan Wang, Ping Luo, Junlin Zeng, Dongsheng Li, Tao Sun
arXiv AI
Nov 14

PISim: A Unified Photonic Inference Simulator for Hardware-Aware Cross-Layer Design-Space Exploration

PISim is a unified photonic inference simulator that integrates pretrained deep neural network execution with physics-based models of six accelerator architectures, six electro‑optic modulator technologies, four optical source organizations, and both direct and coherent readout schemes. It incorporates stage‑resolved impairment operators—including quantization, extinction ratio, shot noise, RIN, thermal drift, propagation loss, and channel crosstalk—alongside a cycle‑level timing model to expose electronic‑optical bottlenecks. Using MNIST MLP benchmarks, PISim identifies optimal precision operating points, quantifies a 52.5‑percentage‑point accuracy gap between VCSEL‑array and parallel‑fanout laser architectures, and models throughput scaling across emitter‑array widths, providing a reproducible foundation for accuracy‑constrained Pareto optimization before photonic tape‑out.

By Andreas Falkenberg
arXiv AI
Nov 14

Transactional Data Change for Real-Time Analytics in Lakehouses

The paper introduces Retina, a data synchronization framework designed for lakehouses that supports real‑time, fully transactional data changes with minimal impact on query performance. Retina achieves 10‑millisecond data freshness and a throughput of over 3.2 million rows per second while consuming few resources, outperforming existing lakehouse and HTAP systems. The authors provide an open‑source implementation and evaluate its performance in realistic scenarios.

By Dongyang Geng, Haoqiong Bian, Zinuo Li, Haoyue Li
arXiv AI
Nov 14

Effective Teacher Support for Reasoning Distillation

The paper proposes a method for language‑model distillation that reduces the teacher’s support to a small fraction of the vocabulary, renormalizing the retained probability mass. Experiments distilling Qwen3 4B to 1.7B, Qwen3 8B to 4B, and Nemotron Nano 12B to 9B show that keeping as little as 0.01% of the vocabulary yields no measurable drop in MMLU‑Pro performance, while significantly speeding up training and lowering memory usage. The optimal support threshold varies by model family, with Nemotron Nano requiring 0.1% to preserve the closing reasoning tag.

By Lavinia Ghita, Dhruv Desai
arXiv AI
Nov 14

Together Compiler: Continual Compilation for AI Inference

Together Compiler (TKCC) is a continual agent‑driven optimization system for AI inference that addresses the trade‑off between measurement throughput and fidelity. It introduces a Tiered Persistent Engine to separate engine launch overhead from forward‑pass computation and a cost model to seed parallelism configurations. TKCC achieves up to 1.7× speed‑ups over hand‑written Megakernels on Llama 1B and up to 2.6× higher TPS on frontier models across hardware platforms, while also delivering state‑of‑the‑art batch‑size‑1 performance.

By Reyna Abhyankar, Dylan Lim, Drew Wadsworth, Venkata Hasith Vattikuti, YuTong Julia Zhang, Jung Hwan Heo, Taeksang Kim, Kesavan Ramakrishnan, Evangelene Stanley, Xinyu Fang, Daniel Y. Fu, Simran Arora
arXiv AI
Nov 14

NIBench: benchmarking autonomous AI agents for execution, skill evolution and scientific judgment in neuroimaging

NIBench is a neuroimaging benchmark that evaluates autonomous AI agents on three fronts: execution and workflow reconstruction across 56 tasks in seven imaging modalities; skill evolution through distillation of execution trajectories; and scientific judgment via analysis of 36 Alzheimer’s disease claims. The study tests 19 language‑model agents, finding that top performers execute protocols nearly flawlessly, while distilled skills boost performance on known tasks but yield mixed results on unseen ones. Agents can reproduce reported results yet sometimes draw conclusions that diverge from expert answers, indicating that data access alone does not guarantee accurate scientific judgment.

By Lujia Zhong, Yihao Xia, Jianwei Zhang, Shuo Huang, Xinyu Nie, Mingyang Xia, Zhiwei Deng, Jiaxin Yue, Xinkai Wang, Junhan Zhao, Yonggang Shi
arXiv AI
Nov 14

Edge-Native Multimodal RAG: Hardware-Aware Quantization and Architectural Optimization for Consumer GPUs

The paper introduces an edge‑native multimodal retrieval‑augmented generation (RAG) system tailored for consumer GPUs, specifically NVIDIA Turing hardware like the Tesla T4. It compares two quantization methods—GPTQ and NF4—showing that NF4 offers stable long‑context performance with acceptable latency, while GPTQ delivers higher throughput but suffers from context instability. By integrating NF4 with a decoupled Florence‑2 vision module and employing structured prompting, the authors reduce VRAM usage to 8.37 GB, cut latency by 47%, and recover mathematical accuracy from 35.0% to 92.0% in few‑shot scenarios.

By Zahraa Selim, Menna Hamed, Wesam Ahmed, Sohyla Said, Sara Basheer, Rami Zewail
arXiv AI
Nov 14

One Model, Two Precisions: Does Disagreement Between Quantized Copies Tell You When a Small Model Is Wrong?

The paper investigates whether disagreement between two quantized versions of the same language model can serve as an error signal for tasks such as abstention and escalation. Using Qwen3-0.6B and Qwen3-1.7B, the authors compare an 8‑bit copy with lower‑precision copies (3–6 bits) on multiple-choice datasets, measuring error detection via AUROC, risk‑coverage, and ECE. Results show modest gains over entropy alone, with additional forward passes offering limited improvement, and the study provides a deployment recipe and discusses scenarios where the method is ineffective.

By Mohammed Nayeem Khan, Allan Kevin T
arXiv AI
Nov 14

Acoustic Respiratory Phase Detection on Mobile Devices

The paper introduces a non‑invasive method for detecting respiratory phases using acoustic recordings from standard smartphones. It employs a hybrid CNN‑Transformer model that captures both local spectral features and long‑range temporal patterns, achieving high accuracy in both frame‑level and cycle‑level evaluations on a large, independent test set. An ONNX deployment pipeline allows real‑time, privacy‑preserving inference on mobile and wearable devices with sub‑20 ms latency.

By Julian Szymanski, Tomasz Sankowski, Piotr Sulewski, Iwo Czartowski, Javier Medina Quero
arXiv AI
Nov 14

TraceKV: Policy-Preserving Low-Rank KV Cache Compression for Reasoning Vision-Language Models

TraceKV is a training‑free low‑rank KV cache compression framework designed for reasoning vision‑language models. It addresses policy drift caused by calibration‑state mismatch and unequal error sensitivity by combining on‑policy calibration, sensitivity‑aware SVD, and global rank allocation. Experiments show near‑lossless reasoning accuracy with 5.64× KV cache compression and up to 1.83× decoding speedup when paired with quantization.

By Ke Li, Zishan Shao, Yiran Chen
arXiv AI
Nov 14

SoScale: Second-Order Scale Search for FP4 Quantization

SoScale introduces a second‑order weight scale‑code search for hierarchical FP4 quantization, targeting the challenges of low‑bit quantization in large language models. It optimizes a Hessian‑aware layer‑reconstruction objective, coupling scale selection with GPTQ‑style error recovery to prioritize impact on layer outputs. Experiments on Qwen3 models show that SoScale consistently reduces downstream quantization degradation across MXFP4, NVFP4, and HiF4 formats.

By Pengxiang Zhao, Xing Li, Hui-Ling Zhen, Weizhe Lin, Xianzhi Yu, Zhenhua Dong
arXiv AI
Nov 14

From Foundation VLM to Versatile Driving VLM: A Triplet Incremental Training Approach

The paper introduces the Triplet Incremental Training Framework, a non‑intrusive method that adds 3D geometric awareness to general Vision‑Language Models (VLMs) for autonomous driving. By training on automatically generated (image, depth, QA) triplets, the framework uses an auxiliary depth stream to guide the VLM’s visual backbone while a frozen twin stream prevents semantic drift. The depth branch is removed at inference, yielding zero overhead, and the resulting model outperforms state‑of‑the‑art driving VLMs while preserving general reasoning abilities.

By Shengtao Wu, Zichao Dong, Weixuan Qiao, Xiaolu Liu, Xin Zhan, Junbo Chen, Jianke Zhu
arXiv AI
Nov 14

Lara Mini Base: Language Diversity as a Resource, Not a Trade-off

Lara Mini Base is a 7.2B‑parameter mixture‑of‑experts language model trained from scratch on 6 trillion tokens, with 44 non‑English languages covering all 24 EU official languages alongside English. Despite its relatively small active parameter count (0.6B), it outperforms larger open‑source models on English, multilingual, math, and code benchmarks, especially in the supported non‑English languages, and can process contexts up to 128 k tokens. The model’s architecture reduces capacity competition between languages, enabling faster generation on a single GPU and is released under a CC BY‑NC‑SA 4.0 license, along with a new high‑quality multilingual translation benchmark, T‑HellaSwag. whyItMatters":"The paper demonstrates that a carefully designed mixture‑of‑experts architecture can deliver high multilingual performance without requiring proportionally more data or compute, offering a practical path toward more inclusive language models."

By Translated, Maria Pia Adinolfi, Isabelle Andrieu, Grazia Fiorella Anfuso, Melania Annunziata, Daniele Antonini, Marta Arena, Luca Barone, Dana Barras Franco, Francesca Basiric\`o, Francesca Bee, Sofia Bertini, Nicola Bertoldi, Giorgio Biancini, Alessandra Bigi, Giulia Boccalini, Tommaso Bonomo, Enrico Boscardi, Sebastien Bratieres, Francesco Brigante, Giulia Brignola, Romolo Buondestino, Brenda Patricia Byrne, Giorgia Campora, Edoardo Cappelli, Veronica Carascosi, Francesca Carducci, Cody Carlson, Davide Caroselli, Ambra Cascio, Dario Cascio, Mauro Cassani, Andrea Castro, Alessandro Cattelan, Giulia Ceccacci, Paola Cellini, Giulia Chiriatti, Federico Cialini, Valentina Ciarlariello, Daniele Cocozza, Emanuela Coghe, Kathleen Compares, Marco Comunit\`a, Davide Conti, Helen Rebecca Corfield, Michele Cortellessa, Anna Cracco, Aurora Cuppone, Arianna D'Andrea, Maurizio Davoli, Andrea De Angelis, Andrea De Blasi, Rebecca De Giorgi, Annalisa De Petra, Arianna De Pilla, Joris Demiraj, Elena Deufemia, Federica Di Antonio, Pierluigi Di Cianni, Vincenzo Di Cicco, Michela Di Clemente, Alan Di Francesco, Ylenia Di Gese, Federica Di Iulio, Claudia Di Lorenzo, Andrea Di Paola, Giulia Di Pilla, Jessica Dickson, Francesco Elefante, Ilaria Fabrizio, Alessandro Falappa, Viviana Fantozzi, Antonio Farina, Andrea Fernandez Tostado Ro. Diego Andrea, Andrea Ferrari, Sara Ferri, Simona Ferri, Fabio Fioramonti, Stefano Florio, Mariachiara Fornaro, Anna Maria Foti, Niccol\`o Fransoni, Alessandro Fusacchia, Emma Gamba, Francesco Gasperoni, Davide Gattini, Marta Giani, Claudia Giannetti, Valerio Giannini, Antonella Giudici, Mara Gramendola, Michele Grandinetti, Eleonora Graziani, L'Meese Hope Greaney, Dario Gubernari, Filomena Guglielmi, Jonathan Hammond, Stephen William Harris, Rowena Elizabeth Hogg, Marta Hontanon Del Olmo, Marco Ilari, Kenneth Larry Jackson Jr, Sagar Joshi, Bartosz Alberto Karman, Iuliia Khimenko, Valerio Lanni, Giulio Leonardi, Veronica Levco, Matteo Licci, Alessio Ligios, Noemi Lomartire, Domenico Lupinetti, Jennifer Mirjam Maechtlen, Chiara Maggiori, Maria Luisa Malerba, Francesco Marconi, Domenico Marini, Francesca Marsili, Andrea Martinelli, James Mc Groary, Matteo Menicacci, Andrew Steven Miller, Marco Moauro, Giuliana Molon, Ilaria Mongelluzzi, Emiliano Morghen, Giovanni Moscati, Filippo Musmeci, Flavia Napoleoni, Nicola Giuseppe Ninni, Beatrice Ottoni, Federica Pagliani, Nicol\`o Palmiero, Daniele Palumbo, Chiara Pantani, Stefano Paolucci, Deborah Paritario, Michela Pascale, Thomas Passera, Daniele Patrioli, Chiara Patrizi, Silvia Patrizi, Giulia Pelos, Simone Giovanni Perone, Cristiano Perrone, Joshua Peterson, Katia Piredda, Francesca Piscitelli, Alessandra Posca, Lorenzo Pratesi, Francesca Prencipe, Daniela Proietto Cuco, Mattia Pupino Marangio, Disheng Qiu, Mirco Ramo, Federica Rapagn\`a, Waldo Luis Ribeiro, Federico Ricciuti, Alessia Ridoni, Eleonora Risi Valdettaro, Jon Matthew Ritzdorf, Serena Rivera, Federico Roma, Arianna Ruggiero, Eleonora Ruggiu, Mariafrancesca Sagliocco, Vanessa Salvi, Alessio Sampieri, Elena Santanelli, Roberto Sastre, Luca Scofano, Alessandro Sdei, Giuseppe Sebastiani, Claudia Nicole Siegenthaler, Monica Signoretti, Nicola Sobieski, Biancamaria Soellner, Valentina Stati, Michael Stevens, Arianna Stissi, Fabiana Stomaci, Leonardo Taddei, Christopher Thomas, Maurizio Tiberi, John Tinsley, Riccardo Tittarelli, Carla Tocco, Martina Totaro, Barbara Veronika Totzauer, Alessio Tranzocchi, Letizia Treossi, Mara Trombetti, Marco Trombetti, Andrea Valenzi, Kirti Vashee, Giulia Vestita, Teodosio Vezza, Giulia Vignola, Sara Virtuoso, Valentina Volpini, Francesca Vurro, Jolita Zaksauskaite, Giulia Zanarella, Paolo Zanotti, Francesca Zavettieri, Irene Zorzi
arXiv AI
Nov 14

Metal Sandbox: Isolated Execution and Command Scheduling for GPU Coding Agents on Apple Silicon

Metal Sandbox is a framework for Apple Silicon that enables isolated execution and command scheduling for GPU coding agents. It restricts file access per instance, runs native commands, and schedules commands across multiple Macs, allowing parallel and serial execution while migrating waiting tasks to idle machines. Experiments on four Mac mini M4 nodes show up to a 2× increase in command throughput, and dynamic scheduling can cut tool waiting time by nearly 19% and batch elapsed time by 22%.

By Haozhe Wang, Lina Chen, Fanqi Wan, Qi Han, Yinmin Zhang, Zheng Ge, Daxin Jiang, Junchi Yan
arXiv AI
Nov 14

Solving Witness Triangle Puzzles Faster with an Automatically Learned Predicate

The paper presents a method to speed up search-based AI solvers for The Witness puzzles by automatically learning a predicate that predicts whether a partial path can lead to a solution. This learned predicate is human-explainable, enabling proofs of a key property that allows pruning of successor states, resulting in roughly a sixfold acceleration while preserving completeness. Experiments show that this approach solves larger puzzles more efficiently than baseline hand-coded predicates and outperforms weighted A* and Levin tree search with neural networks in both time and node expansion.

By Justin Stevens, Vadim Bulitko, David Thue
arXiv AI
Nov 14

SFL-Net: Dependence-Regularized Latent Pathways for Multi-Contrast MRI-to-tau-PET Synthesis and Component Attribution

SFL‑Net is a vector‑quantized neural network designed to synthesize tau‑PET images from structural MRI and FLAIR scans. It uses separate latent pathways for T1, FLAIR, and joint inputs, with dependence regularization to distinguish them and latent‑derived structural conditioning to aid decoding without direct encoder‑decoder skips. In experiments on 605 training and 83 validation subjects from ADNI‑3 and OASIS‑3, SFL‑Net achieved the lowest PET MAE and MSE and the highest PSNR, while SPADE‑U‑Net variants excelled on several SUVR and staging metrics; Shapley attribution highlighted the joint‑input pathway as the largest contributor to reconstruction.

By Agamdeep S. Chopra, Caitlin Neher, Tianyi Ren, Juampablo E. Heras Rivera, Hesamoddin Jahanian, Mehmet Kurt
arXiv AI
Nov 14

The Oracle and The Prism: A Decoupled and Efficient Framework for Generative Recommendation Explanation

The paper introduces Prism, a decoupled framework that separates recommendation ranking from explanation generation to avoid performance-efficiency trade-offs seen in end-to-end models. Prism uses a large teacher LLM (FLAN‑T5‑XXL) as an Oracle to produce high‑fidelity explanatory knowledge, then distills this into a compact student model (BART‑Base) that generates personalized explanations. Experiments show that the distilled 140M‑parameter Prism outperforms the 11B‑parameter teacher in faithfulness and personalization, while achieving a 24× speedup and 10× memory reduction, demonstrating that decoupling and targeted distillation yield efficient, trustworthy explainable recommendations.

By Jiaheng Zhang, Daqiang Zhang