Correct Decisions Can Trigger Policy Violations in AI Agents
Researchers have identified a new failure mode where an AI agent's own correct decisions lead it to violate safety policies later in a session.
Source: Grafy Research LabSmall AI agents designed to act as safety guards on local devices can be tricked into making dangerous mistakes by their own successful prior actions. This phenomenon, identified by researchers at Mohamed bin Zayed University of Artificial Intelligence (MBZUAI), suggests that a perfectly valid decision made early in a conversation can compromise the model's ability to follow restrictions later.
What is correct-precedent generalization?
In many modern AI architectures, a system is split between a powerful cloud-based model that handles complex planning and a smaller, on-device model that acts as a "guard." This guard is responsible for checking private data and making the final call on irreversible actions, such as deleting a file or issuing a refund. According to the research paper by Tian et al., the guard's role is to ensure that the cloud model's requests comply with local privacy or security policies.
Researchers discovered a failure mode they named "correct-precedent generalization." This occurs when a guard correctly processes an item—for example, releasing a file because its legal hold was recently lifted—and then incorrectly applies that same logic to a subsequent item that is still restricted. Unlike many AI safety issues that stem from adversarial attacks or faulty instructions, this failure is triggered by the agent's own correct decisions. Because the history of the session contains no errors prior to the violation, traditional audits looking for faulty steps may fail to identify the root cause.
How does this impact model safety?
The study tested 13 different open-weight models from nine different developers. The results showed that even a single correct precedent can significantly degrade a model's safety performance. In the most severely affected model, a single correct decision reduced the "safe rate"—the frequency of episodes without a policy violation—by approximately half.
According to the authors, the risk is not static; it compounds over time. In a scenario involving repeated requests, a single correct precedent can make a violation more than four times as likely in the most heavily impacted guard. The researchers also noted that recently released models were surprisingly susceptible to this effect, indicating that even state-of-the-art small models are not immune to this type of behavioral pattern.
Why do these models make these errors?
The researchers used interventions to understand why the models behaved this way. They found that the guard's decision on a restricted item was heavily influenced by its previous action on a "look-alike" item—an item that shares similar characteristics but has had its restrictions lifted.
When the guard correctly released a look-alike, it tended to carry that "release" behavior over to the next similar item, regardless of whether that item was actually allowed. Interestingly, the study found that simply stating the status of the item (e.g., explicitly labeling it as "restricted") helped remove most of this effect. Without that explicit status, the models appeared to prioritize the pattern of their own recent history over the specific attributes of the current item.
Can this failure be fixed?
To address this, the authors proposed a method called Paired Decision Distillation (PDD). Traditional methods for fixing these issues often involve adding extra steps during inference, such as rewriting the history or making additional model calls to check item status, which can increase latency and cost.
PDD works by training the student model using specifically designed "queues." These queues pair a restricted item with a look-alike item that was previously released, using the decisions of a "teacher" model to guide the training. The researchers reported that this distillation process restored the safe rate to nearly 100% across the tested models. Crucially, this fix does not add any deployment overhead, meaning the models remain fast and efficient while becoming more resilient to precedent-based errors.
How to explore AI research with Grafy
For developers and researchers looking to dive deeper into the technical specifics of this paper, including the mathematical formulations of the threat model and the distillation objectives, Reader is a highly effective tool. You can upload the full PDF of the research to analyze the experimental protocols or use the AI to summarize the specific performance metrics of the 13 models tested. If you are interested in how different models behave in a side-by-side environment, Chat allows you to compare the outputs of various cloud models to observe different reasoning patterns.
Frequently asked questions
Does a correct decision cause an AI agent to fail?
Yes, in a phenomenon called correct-precedent generalization, an agent's own successful decision can lead to a later violation. If an agent correctly releases an item with a lifted restriction, it becomes statistically more likely to incorrectly release a subsequent item that is still restricted, as it follows the pattern of its own recent history.
Which models are affected by this issue?
The researchers identified this failure in 13 different open-weight models produced by nine different developers. The study found that the impact is particularly significant in some models, where a single correct precedent can cut the safe rate by roughly half, and that even recently released models are susceptible.
How does Paired Decision Distillation improve safety?
Paired Decision Distillation improves safety by training models on specialized data queues that pair restricted items with look-alike items. This process teaches the model to distinguish between similar items based on their actual status rather than just following the precedent of previous actions, restoring the safe rate without adding extra processing time during deployment.
Source: Grafy Research Lab — Correct Precedents Induce Policy Violations in On-Device LLM Agents


