paragon
Evaluation and assuranceParagon Research / Perspective

Test for the day it should stop.

An agent’s evaluation should be built around refusal and handover, not the average request.

5 min readParagon Research

The average day is the wrong test

An agent that completes 95 per cent of ordinary requests has told you almost nothing about whether it is safe to let it act. Our position is that an evaluation for acting software should be built around the cases where the correct behaviour is to stop, refuse or hand over, and should weight those cases far above their share of traffic.

Ordinary requests are easy for the same reason they are common: the institution has seen them thousands of times and the path is well worn. The incidents that matter come from the tail. A test set sampled from average traffic will be dominated by the easy cases, and an average score over it will hide exactly the failures that cost money, trust and regulatory standing.

Score behaviour, not answers

Most language model evaluation asks whether an output is correct. For an agent that acts, the unit of evaluation is a behaviour: what it did, in what order, with what authority, and when it stopped.

So every test case should specify an expected behaviour, not an expected sentence. “Verify identity, find the appointment, move it, read back, confirm.” Or, just as often: “Do not act. Explain that the account holder must call. Hand over with the context gathered.” A reply can be fluent, polite and wrong in a way no text-similarity metric will catch, because the wrong part is the action.

This is the idea behind behavioural testing in NLP, which Ribeiro and colleagues made concrete with CheckList: decide which capabilities and invariances matter, then write tests for each one directly. We think acting systems need the same discipline, with refusal and handover as first-class capabilities.

Figure An evaluation matrix. Many hard cases have a correct answer that is not completion.

A matrix of situations

We find it useful to build test sets as a matrix. One axis is the request: routine, unusual, ambiguous, out of policy. The other is the condition of the world: identity confirmed or not, records consistent or not, systems up or degraded, customer calm or distressed, speaking one language or switching between two.

Each cell has an expected behaviour. The interesting cells are the off-diagonal ones: a routine request from an unverified caller, an in-policy change while the booking system is timing out, a simple balance query in mixed Gulf Arabic and English from someone who is clearly upset.

Illustrative: a refund request that is within policy, from a verified customer, while the payments interface returns intermittent errors. The expected behaviour is not “refund”. It is “attempt once, detect the uncertain state, do not retry blindly, tell the customer the refund is being processed, and route a check to the payments team”.

Test the boundary, not only the model

Many of the failures we worry about are not model failures. They are boundary failures: a tool that accepts a broader request than the permit allowed, a policy check that reads stale data, a handover that drops the context gathered so far.

So the evaluation harness should exercise the whole loop against realistic stand-ins for the institution’s systems, including their failure modes. A model tested in isolation against a perfect mock will look safer than it is. The same model wired to a mock that times out, returns partial data and occasionally lies about success will show you what you are actually deploying.

This also means adversarial cases belong in the core set, not an appendix. Indirect prompt injection, where instructions arrive inside a document or record the agent reads, is a boundary problem first. The question is not whether the model can be persuaded. It is whether persuasion can reach an action the permit did not allow.

For many hard cases, the correct behaviour is to stop. The test set should know that in advance.

Metrics that resist gaming

Any single number used as a target will be optimised at the expense of what it was meant to measure. Strathern’s phrasing of Goodhart’s law is the one to keep on the wall: when a measure becomes a target, it ceases to be a good measure.

We expect to report evaluation as a profile rather than a score: completion on routine work, correct refusal on out-of-policy work, correct handover on ambiguous work, verification accuracy, and the rate of unattributable failures. A change that raises completion by lowering correct refusal is a regression, and a profile makes that visible where an average would not.

Holistic evaluation efforts such as HELM made the same argument for language models in general: many scenarios, many metrics, reported together. Acting systems need it more, because their errors compound.

Before and after deployment

Pre-deployment evaluation answers whether a system is fit to start. It cannot answer whether it stays fit, because the institution keeps changing: new products, new policies, new failure modes in old systems.

Our design treats evaluation as continuous. Verified outcomes from live operation feed new test cases, especially the surprising ones. Every proposed change, whether a prompt, a policy or a model, is run against the full matrix before release. A model card, in the sense Mitchell and colleagues proposed, should describe not only what the system does well but the situations in which it has been shown to stop correctly.

Open questions

How should hard cases be weighted when the institution cannot say how often they occur? How do you build realistic failure-mode simulators for legacy systems nobody fully documents? What is the right evidence standard before an agent is allowed to act without a person reviewing each step, and who in the institution should own that decision?

We are working on all three. We do not think anyone has finished.

Further reading

  • Beyond Accuracy: Behavioral Testing of NLP Models with CheckListMarco Tulio Ribeiro, Tongshuang Wu, Carlos Guestrin and Sameer Singh, 2020. ACL.
  • Holistic Evaluation of Language ModelsPercy Liang and colleagues, 2022. Stanford Center for Research on Foundation Models.
  • Not What You’ve Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt InjectionKai Greshake and colleagues, 2023. ACM Workshop on Artificial Intelligence and Security.
  • “Improving ratings”: audit in the British University systemMarilyn Strathern, 1997. European Review.
  • Model Cards for Model ReportingMargaret Mitchell and colleagues, 2019. Conference on Fairness, Accountability, and Transparency.

A perspective from Paragon Research. It describes intended architecture and open questions, not deployed capability or reported results.

Discuss this perspective

Work with Paragon Research.