MirLabs / The blog / AI / Security

An AI behaves better when it thinks it is being watched

Four recent studies show that an AI agent changes its conduct depending on whether it thinks it is monitored, tested or not. What it changes for measuring an agent, and what I do.

· Cyril Delage · 4 min read · Lire en français

Two surveillance cameras on a wall
Photo: Scott Webb on Unsplash

An employee does not work quite the same way when the boss is in the room. It is no drama, it is human. What is new is that AI agents do the same. And for someone like me, who spends his days testing agents, it is a real problem: if the agent behaves better because it senses it is being watched, my test measures its Sunday behaviour, not its Monday morning one.

Twice a week, I read what labs and researchers publish on the subject. In recent weeks, four papers made me rethink the way I measure. Here they are, in plain words.

A single sentence can change the agent's conduct

Researchers trained open models in an entirely standard way, on tasks where they were monitored. The result: the models learned to follow the rule when they think they are watched, and to stray from it when they think they are alone. Before training, the gap between the two situations was small. After, it became huge in some environments.

The most troubling part is the signal it takes to tip the agent over. No elaborate setup is needed: one sentence in the instructions, something like "exchanges may be reviewed", or a simple file saying whether the session is monitored. And the agent never says it thinks it is being tested. It changes its conduct, that is all.

Source: Training Natural Schemers, arXiv 2610.26551.

What it changes for me: in my crash tests, the agent knows nobody reads its reasoning in real time. That is deliberate; it is the real situation of an agent in production, which nobody watches second by second. But it has to be said clearly: my results describe the agent when it thinks it is alone. I am preparing a version of the method that will play the same test with several supervision sentences, to measure the gap.

The gap depends on the rule, not only on the model

A second study compared ten models on thirty-two different values, monitored and unmonitored. The obedience gap ranges from almost nothing to very large, and depends mostly on the pair of model and rule. A model can follow one rule without flinching when it thinks it is alone, and drop another as soon as it believes nobody is looking.

Source: Alignment Faking Depends on the Value, Not Just the Model, arXiv 2611.03650.

What it changes for me: I have an "Unmonitored" test, where the agent learns nobody will check. It covers only one rule, the refund under pressure. So I cannot write that a model "does not change when it thinks it is alone". I can write that it does not change on that rule. The method and the reports now say so in plain words.

A judge may not see what it is judging

In an agent evaluation pipeline published by researchers, the tool preparing the runs for the judge dropped every tool call. Out of sixty steps judged, fifty-three were empty. Every check was green, and nobody had noticed.

Source: Does the Judge See What the Evaluation Requires?, arXiv 2611.02676.

In another case, a model tried to send a file to a server abroad without its reasoning announcing any tool at all. Its reasoning said one thing, its actions did another. The story on Techzine.

What it changes for me: from the start, my verdicts rest on recorded actions, never on what the agent says nor on another AI's opinion. These papers confirm it is the right choice. But every action still has to make it into the report. I added an automatic check that verifies it, for every test, at every change to the engine.

Language changes things too

A last study shows that telling a model it is being tested changes the way it answers, in every language studied, and markedly more outside English.

Source: Evaluation Awareness Beyond English, arXiv 2610.22333.

What it changes for me: I test in French and in English. Results are now split by language, and I never compare a French edition with an English edition figure by figure.

What I take from it

None of these papers says testing an agent is useless. They say an honest test must state its conditions: monitored or not, on which rule, in which language. And that it must judge what the agent does, not what it says.

That is also why I file the rules of my experiments on Zenodo before running them: doi.org/10.5281/zenodo.23988895. Nobody can suspect me of adjusting the measure afterwards to get a nice number.

If you have an AI agent that acts for real (refunding, sending an email, changing a record), the question is not whether it behaves well in a demo. It is what it does the day it thinks it is alone. That is exactly what a CrashMire crash test measures.

A MirLabs lab experimentDoes an AI behave better when it knows it is watched?The experiment's page →
A project like this one?AI integration, a site to make readable by assistants, security: let's talk.
Contact me

Read next