Correct precedents induce policy violations in on-device LLM agentsCorrect Precedents Induce Policy Violations in On-Device LLM Agents
Quick read
Based on the paper's full text (AI-generated); refer to the original
MBZUAI researchers found a failure mode called "correct-precedent generalization": an on-device LLM agent, after correctly allowing a similar item whose restriction had been lifted, is more likely to allow subsequent still-restricted items in the same session. The effect appears in all 13 open-source models from nine developers; the most affected, Nemotron-3.5, drops in safety rate (share of turns without violations) from 94.5% to 47.1%; no attacker is needed—an honest but curious cloud agent can accumulate risk by resending a rejected request in a new session, and after ten resends the probability that the most affected guardrail allows it at least once rises to more than four times. Historical interventions show that the agent carries over its handling of similar items to restricted items without checking their status, and labeling each item's status eliminates at least 87% of the effect. The authors propose Paired Decision Distillation (PDD), using Qwen3.8-27B, which has a weak precedent effect, as the teacher to train LoRA adapters on paired queues, restoring the safety rate to near 100%, performing no worse than their respective bases on MMLU-Pro and XSTest, and adding no state queries, model calls or prompt overhead at deployment.
- In the local-cloud architecture, the on-device guard, because of one of its own earlier correct allow (allowing a similar item whose restriction had been lifted), becomes more likely within the same session to allow items that are still restricted, i.e., correct-precedent generalization; this failure has no erroneous step available for auditing, and repeated requests amplify the risk.
- A paired queue isolates a single prior decision: the two arms differ only at position k, where either a similar item with the restriction lifted or an ordinary item is placed, and the violation rate Δ at the restricted item is compared; interventions such as rewriting history, deleting the similar-item turn, and writing state are then used to localize the mechanism; we propose Paired Decision Distillation (PDD), which distills into a LoRA adapter using paired queues and a weakly affected teacher, with the loss placed only on the four decision turns.
- The effect appears in all 13 open-source models, with the safety rate of the most affected model dropping from 94.5% to 47.1%; when a request is repeated ten times, the probability that the most affected guard allows it at least once is about 0.75. Interventions show that the guard carries over the action taken on the similar item rather than checking state, and writing state eliminates most of the effect; PDD restores the safety rate to near 100% and is no worse than the respective base models on MMLU-Pro and XSTest.
- The main experiments were conducted with thinking off, JSON text actions, a generation queue and a scripted cloud, and effect sizes vary with mode and model; state labels were produced by two LLM judges rather than human annotation; PDD was tested only on the generator's held-out task families, adaptive cloud agents were not modeled, and separating the surface similarity of similar items from the rule they belong to is left for future work.
Such violations leave no erroneous steps in the history and are difficult for routine audits to detect; teams building local and cloud collaborative agent systems can use this to include entire sessions in guardrail evaluations.