SILK: Streaming Authentication with In-Place Checks for Low-bit LLM Inference
Ruichen Qi, Xinting Jiang, Junyi Luo, Ema Dimitrova, Quan Cheng, Mehdi Saligane
原文摘要
A root-of-trust (RoT) supports model authentication at load time but does not guarantee integrity during inference. We present SILK, a quantization-aware in-place integrity framework protecting low-bit large language model (LLM) weights, activations, and KV caches against runtime tampering by embedding keyed checks directly into quantized data. Weight checks are embedded during second-order post-training quantization (GPTQ) to minimize distortion, while runtime tensors use redundant codes or fallback least significant bits (LSBs). An Ascon-based authentication chain absorbs each unit's cover bits into the next unit's authentication state, enabling single-pass verification. A streaming guard permits computation after bounded-strength confirmation and holds results until full authentication. Across evaluated symmetric INT4 models, mean perplexity increases remain below 0.4% with 0.2% weight metadata. Against Dual MAC guards, SILK cuts time overhead on Qwen2.5-0.5B weight reads at 4 B/cycle from 1.95% to 0.41% (Dual MAC-256) and energy-delay product (EDP) overhead at 4-8 B/cycle by 28-69% with DDR (up to 37% with HBM2), with 28% more guard-logic area.
cs.CR · cs.AR