arXiv AI

Run One, Get Two: Near-Free Streaming Safety Checks for Local LLMs

The paper introduces ToRA, an adapter that runs a second model as an extra row in the generator’s decode step, sharing weights and KV cache. This dual‑row approach allows local LLMs to perform near‑free streaming safety checks, matching or surpassing a dedicated guard model on Qwen3‑0.6B while adding less than 4% latency per token. ToRA detects significantly more unsafe responses than a cheaper hidden‑state probe, improving safety without substantial cost.

arXiv AI
Oct 9

Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Model

The paper "Rethinking Latency Denial-of-Service: Attacking the LLM Serving Framework, Not the Model" argues that traditional algorithmic latency attacks are largely ineffective against modern LLM serving systems due to system-level optimizations like continuous batching. It introduces a new Fill and Squeeze attack that targets the scheduler’s state transition, exhausting the global KV cache to cause Head-of-Line blocking and forcing repetitive preemption. Experiments on vLLM show the attack can cause up to 75–742× TTFT degradation and 1.5–4× slowdown on Time Per Output Token, achieving these effects with 30–40% lower attack cost.

By Tianyi Wang, Huawei Fan, Yuanchao Shu, Peng Cheng, Cong Wang
arXiv Computation and Language
Aug 31

Speculative Probing: LLM Monitoring at Speculative-Decoding Cost

The paper introduces Speculative Probing, a method that repurposes the speculative‑decoding module of large language models for real‑time classification tasks. By appending a trained soft prompt to the target sequence, the approach leverages the already‑cached KV store during inference, adding negligible overhead while achieving higher accuracy than traditional hidden‑state probes. Experiments on four classification tasks across multiple models show that these lightweight probes outperform zero‑shot GPT‑5.4‑mini and rival or surpass specialized 8B safety classifiers without running a full LLM.

By Collin Zhang, Tingwei Zhang, Vitaly Shmatikov
arXiv AI
Jul 1

KV-RM: Regularizing KV-Cache Movement for Static-Graph LLM Serving

arXiv:2605. 09735v2 Announce Type: replace-cross Abstract: Static-graph LLM decoders provide predictable launches, fixed tensor shapes, and low submission overhead, but online decoding exposes highly irregular KV-cache behavior: request lengths differ, EOS events arrive asynchronously, and logical histories fragment over time.

By Zhiqing Zhong, Zhijing Ye, Jian Zhang, Weijian Zheng, Bolun Sun, Xiaodong Yu
arXiv Machine Learning
Nov 6

StrataFlux: Memory-Hierarchy-Native Low-Bit LLM Inference

StrataFlux is a framework that improves the accuracy of low‑bit quantized large language model inference by selectively streaming higher‑precision data from host RAM and SSDs. It co‑designs refinement representation, selection, and delivery to reduce transfer volume, overlap data delivery with computation, and reuse fetched precision across decoding steps. Experiments on GPUs and unified‑memory platforms show that StrataFlux can lower perplexity and raise accuracy for models like Llama‑3.1‑8B‑Instruct and Qwen3‑8B while maintaining high throughput and using roughly half the GPU memory compared to conventional 4‑bit quantization.

By Jake Hyun, Ziyu Zhao, Jae-sun Seo, Mohamed S. Abdelfattah
arXiv AI
Oct 9

SparKV: Overhead-Aware KV Cache Loading for Efficient On-Device LLM Inference

SparKV is an adaptive framework for on-device large language model inference that intelligently decides whether to stream or compute each key-value (KV) cache chunk, overlapping communication and computation to cut latency. It dynamically adjusts offline-generated schedules at runtime to cope with changing wireless connectivity and edge resource availability. Experiments show SparKV can reduce Time-to-First-Token by 1.3×–5.1× and lower per-request energy consumption by 1.5×–3.3× with minimal impact on response quality.

By Hongyao Liu, Liuqun Zhai, Junyi Wang, Zhengru Fang, Jingshu Chen, Jun Huang
arXiv AI
Nov 6

FlashOffloading: Low-Latency KV Cache Offloading for Long-Context LLM Serving

FlashOffloading is a host‑DRAM‑centric inference architecture that fully offloads the key‑value (KV) cache for large language model serving, addressing the high‑bandwidth memory (HBM) capacity wall that limits concurrency. It introduces a rolling HBM cache for prefill, a hot cache for decode, a reverse sparse index with zero miss‑lookup overhead, and a compute–load overlapped kernel to reduce KV offloading latency across the pipeline. Experiments on an Ascend910C platform with GLM‑5.2 show up to 1.38× prefill throughput and 1.91× decode throughput gains under a 30 ms time‑per‑output‑token constraint.

By Xuan Wang, Zhuanhao Wu, Tingzhu Fang, Xushi Li, Sicheng Zhang, Zhenyu Yang, Feng Liu, Zhaohui Fan, Qiang Xie, Huayi Zou, Yuncong Liu, Zeyu Song, Ke Zhu, Yanjia Zeng, Jingchun Gao, Yan Shi, Kui Luo, Gezi Li, Liangjun Feng, Cheng Li
arXiv AI
Oct 12

Adaptive DHiSparse: Speculative Decoding over a Load-Adaptive KV Hierarchy

Adaptive DHiSparse extends the HiSparse framework by enabling speculative decoding over a hierarchical sparse key‑value (KV) store and dynamically adapting memory residency to load. It protects the essential working set, retains extra history when GPU memory is available, and retrieves the remainder via exact fused retrieval, integrating draft‑model techniques such as DSpark and DFlash2. In benchmarks, it achieves up to 1.85× higher output rates than resident serving while reducing host fetches dramatically under low load.

By Naji Alazhar, Wassel Alazhar
arXiv Machine Learning
Oct 12

DuoRate: Two-Rate Per-Expert Precision Allocation for Mixture-of-Experts Serving

The paper introduces DuoRate, a method for allocating precision in Mixture-of-Experts (MoE) models that separates storage and decoding rates. It stores a uniform tier of weights once and then adapts read precision per workload using a Lagrangian rate‑distortion optimization, reducing the store‑read gap. Experiments on Qwen3-30B-A3B and GSM8K show that DuoRate achieves higher accuracy at lower bit‑per‑weight (bpw) rates compared to fixed‑format baselines.

By Mengqi Guo, Zhe Wei, Yuan Yuan, Jiunn Bin Lim, Boyi Pan, Michael Bi Mi
arXiv AI
Aug 20

Cacheable by Design? Training Mixture-of-Experts Routers for Locality Against the Edge Memory-Bandwidth Wall: A Pre-Registered Negative Result with a Systems Measurement Study

The paper investigates whether training Mixture-of-Experts (MoE) routers can improve memory‑bandwidth locality on consumer GPUs. Using a new zero‑surgery telemetry tool, the authors measure that a large Qwen3‑235B model is bottlenecked by disk‑based expert access, and that an LRU cache can serve a majority of requests. They pre‑register experiments training 137 M‑parameter MoE models with locality‑aware losses, finding that while cache misses can drop up to 60 % (99 % static‑pin hit rate), every configuration fails to meet a strict 1 % perplexity threshold, indicating a tight coupling between cache efficiency and model quality.

By Shriniwas Ramesh Suram
arXiv AI
Sep 16

FlexEE: Self-Speculative and KV-Compatible Early Exiting for Offloading-Aware LLM Inference

FlexEE is an early‑exiting framework designed for large language model inference that is constrained by computation and memory, particularly in offloading‑based deployments. It uses layer‑wise exit supervision, self‑speculative decoding over a Top‑K local vocabulary, and dynamic hidden‑state management to enable reliable intermediate‑layer predictions and memory‑aware execution. Experiments on Llama2‑7B and Llama3‑8B show that FlexEE achieves significant speedups—up to 1.27×/3.16× and 1.25×/2.83× respectively—while maintaining minimal accuracy loss.

By Qihu Xie, Ziwei Li, Yi Kang