Analysis · DiggingBeagle record

A model answer can be wrong before the model has made a decision

Recent serving-engine findings separate three failure classes that output moderation cannot repair: wrong KV-head arithmetic, cross-request cache ownership, and covert information in shared GPU execution timing.

Published
Nov 16, 2026

Overview

A model API can authenticate a caller, return HTTP 200 and produce a fluent answer while violating a guarantee outside the language model's weights. The failure might be a numerical attention kernel, an incorrect cache pointer or the exposure of hidden policy information through timing. Treating all three as prompt safety failures points investigators toward the wrong component.

A silent arithmetic change can masquerade as weaker intelligence

In an SGLang grouped-query attention repair, a Triton kernel selected the wrong key/value head for a particular query-head grouping. The same GLM model under the paper's selected GSM8K setup moved from 50.87% correct on the affected path to 93.48% after the correction, matching the alternative FlashAttention-3 path. This was a numerical implementation bug with a benchmark result, not evidence of an attacker or cross-tenant data exposure. A model evaluation that leaves the backend out of its methods cannot attribute that change correctly.

A concurrency bug can use the wrong person's computation

The vLLM cascade/offload issue involved a different state property: the scheduler treated offload-related references as genuine prefix-sharing references. Under a narrow concurrency arrangement, an unrelated request was decoded against the wrong cached prefix. The reproduction was timing-dependent and used the same cache salt, so the reported behavior does not establish cross-salt tenant exfiltration. Nevertheless, request-to-request influence is a correctness failure even when both requests belong to one tenant and both received successful HTTP responses.

A correct visible action can still leak a hidden policy

The PolicySniff research addresses an information-flow problem rather than incorrect output: a co-resident CUDA observer classified a hidden approval setting from timing in selected sparse-model operations. Its reported 94.17% balanced accuracy requires substantial attacker access and calibration; the experiment did not grant unauthorized tool actions. Separately, the recurrent-state privacy study shows that persistent private representation can carry information after visible context is removed, under specific synthetic and instrumentation-heavy conditions.

Failure class Observable symptom Required investigation
Numerical backend Wrong but well-formed response Compare arithmetic and kernel output across backends
Cache ownership One request influenced by another Trace block ownership, salt, cancellation and concurrency
Execution side channel Hidden state inferred outside API text Audit scheduling co-tenancy, calibration and telemetry access
Retained recurrent state Private facts linger beyond displayed context Test state erasure, model/session reuse and access boundaries

What a serving attestation should identify

Recording only a model name and tokenizer version is inadequate. A testable serving record includes model and adapter hashes, backend and kernel versions, cache configuration, tenant partitioning, GPU isolation mode and the request/timing setup used for validation. Benchmarks should distinguish ordinary accuracy, request isolation, information leakage and tool authorization; one number cannot certify them all.

For inference providers, this is an engineering and security boundary. A patched model prompt will not fix an allocator that points to the wrong prefix, and a strong refusal policy will not eliminate a timing signal in another process. Conversely, the reported studies do not demonstrate universal production compromise. Their value is to identify which independent invariant a deployment can test and monitor.

Research behind this