paper-with-me

홈 › Papers

Runtime-Certified Bounded-Error Quantized Attention

2026-05-20 · Dean Calver arxiv

KV cache quantization reduces the memory cost of long-context LLM inference, but introduces approximation error that is typically validated only empirically. Existing systems rely on average-case robustness, with no mechanism to detect or recover from failures at runtime. We present a tiered KV cache architecture that enables runtime-certified attention: INT8 keys and INT4 values are stored in GPU memory, while FP16 originals are retained in system RAM for deterministic fallback. A two-term error decomposition yields per-head, per-step bounds on (i) attention distribution distortion from key quantization and (ii) value reconstruction error. These bounds are computed online and used to drive adaptive precision selection and a multi-stage fallback ladder, which guarantees recovery to the exact dense attention output when required. Across PG-19, NIAH, and RULER benchmarks on LLaMA~3.1-8B with contexts up to 128K, the system matches dense FP16 KV quality within noise for language modelling and retrieval tasks, while recovering catastrophic failures observed in naive INT8/INT4 baselines. Value-sensitive tasks at short context expose a controlled trade-off between compression and fidelity, which can be eliminated via tighter value tolerances or FP16-value fallback. The certification is local (per-head, per-step) and does not guarantee end-to-end model correctness, but ensures that each attention computation is either bounded relative to an FP16 reference or exactly recovered via fallback. This reframes KV cache quantization as a runtime-verified computation rather than a fixed approximation. The goal is not raw speedups, but enabling safe deployment of aggressive KV compression under strict quality constraints.

📄 PDF Abstract BibTeX arXiv:2605.20868

Code (0)

등록된 구현이 없습니다.

Tasks

Language Modelling

Similar Papers 제목 키워드 기반

CSymPlan: Certified Symbolic Planning and Control for High-DOF Manipulators

2026-08-24 · Aditya Narendra, Ashok Kumar Saini, Mahathi Anand, Mahmoud Khaled 외 arxiv

Robot manipulators are commonly engineered around a decoupled motion-generation stack: a planner computes a collision-free path and a lower-level controller tracks the resulting reference. This separation is computationa…

WitCert: Sound Runtime Risk Observability and Gating for KV-Cache Quantization

2026-07-30 · Fanzhe Wei, Li Liu, Ziyang Wang, Chenyu Wang arxiv

KV-cache quantization is validated today by offline benchmark averages; a deployed system cannot tell whether compression is damaging the request it is serving right now. We give it a provably sound runtime meter -- a "D…

A Quantized Native Runtime for On-Device Semantic Audio Generation

2026-07-09 · Matteo Spanio, Antonio Rodà hf

Semantic audio applications increasingly require controllable generation on commodity and embedded hardware rather than through framework-heavy datacenter stacks. We present aria, a dependency-free native runtime that ru…

Audio Generation

QSID-MPC: Model Predictive Control with System Identification from Quantized Data

2025-03-24 · Shahab Ataei, Dipankar Maity, Debdipta Goswami

Least-square system identification is widely used for data-driven model-predictive control (MPC) of unknown or partially known systems. This letter investigates how the system identification and subsequent MPC is affecte…

Model Predictive ControlQuantization

Certified Robust Accuracy of Neural Networks Are Bounded due to Bayes Errors

2024-05-19 · Ruihan Zhang, Jun Sun

Adversarial examples pose a security threat to many critical systems built on neural networks. While certified training improves robustness, it also decreases accuracy noticeably. Despite various proposals for addressing…