Manuscript Offprint

arXiv:2610.01535

False Floors: LLM Safety Routing Evaluations Break Under Distribution Shift

Amit Singh Bhatti, Vishal Vaddina

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Amit Singh Bhatti and Vishal Vaddina

Quantiphi Analytics

amit.bhatti@quantiphi.com

Abstract—Safety routers classify each request and send it to one of several models, and are judged against the best single model. That judgement fails where safety routing is meant to work. A major routing benchmark picks the comparator on the evaluation data. In that benchmark's own setting the practice is harmless, its Best Single costing nothing at its full model pool. Under distribution shift it is not. On HELM Safety the cost is 0.003 to 0.030 of harm under random splits and 0.045 to 0.113 under held-out categories, its direction holding under either published judge alone, comparable to the whole deficit attributed to routing, and it rises seven- to ninefold on AgentDojo when suites are held out. On seven safety corpora chosen by rules fixed in advance three meet a registered interval test and four beat a permutation null added later, and three of the four interval misses are corpora where some models have zero observed harm. Prior work proves the direction of this bias. We size it on harm and accuracy, show that it is larger under the held-out splits we measure, and bound it by optimism plus a shift-dependent regret. Scored honestly under shift, routing buys little on these benchmarks. In most pool cells the nested router simply serves the honest baseline's model, and on the nearly saturated AgentDojo corpus a perfect router that commits before the injection arrives is worth at most two points of harm. Pre-dispatch headroom on these agentic grids is small, and we separately find the model's expressed recognition of a late injection steerable. On held-out reruns an attacker who knows which model it faces lowers GPT-5.4's judged recognition by 19.6 points, the only flag in the pool with room to fall, confirmed by an independent label. In an offline counterfactual that assumes a flag before any action and replaces silent targets by fresh fallback runs, the same attack raises or lowers estimated harm depending on the fallback model. Four action-level policy settings record zero judged successes on one shared set of episodes and their traces are consistent with the same recognition. Safety routing should be evaluated under shift, against a baseline chosen without the test labels, and defences that rely on recognition should be scored on harm against an attacker who chooses what the model sees.

I. Introduction

Production serving stacks already route on safety. A router classifies each request and selects which of a mixed pool of proprietary and open models answers it, blocking or steering flagged requests before dispatch [1]. The case for doing so rests on an oracle gap. On a benchmark of attacks, the per-request minimum over models sits well below the best single model's rate. Whether a router reaches that headroom is judged against a fixed-model comparator, and in one major routing benchmark that comparator is picked from the evaluation data while the router is held to out-of-sample discipline. Li et al. [2] say so outright. Their Best Single baseline selects "a single model with the highest average accuracy across all datasets in hindsight" and is scored on the same test split as the routers. Classifier-selection work, by contrast, tunes it on validation [3]. Shihab et al. [4] show that choosing the best fixed model on the same examples biases the comparison in the comparator's favour, and prove its direction on accuracy under random splits. How large that bias is on harm, and what drives it, is our question. Safety is where it matters, because a safety router exists for requests unlike the ones it was tuned on.

On the protocols we measure, the answer is distribution shift. On the chat corpus the in-sample comparator costs almost nothing under random splits, 0.003 to 0.030 of harm, and there a nested router beats even the in-sample comparator (Sections IV and V). When test requests come from categories held out of training, the cost rises to 0.045 to 0.113 (E25, and under the benchmark's own full-sample convention, Appendix C-L), comparable to the deficit it is used to establish. The same contrast appears on AgentDojo, seven- to ninefold when whole suites are held out (Figure 3). The in-sample comparator's harm is then a false floor, a level set by a choice no deployer can make, because making it needs the test labels, and routers are judged against it. The same router then never wins a single chat pool cell against the in-sample comparator, while against a comparator chosen on training data the median difference is zero (Section IV). The direction is guaranteed, since an in-sample comparator can only flatter a fixed model, and its bound carries a regret term with a shift component, while the measured held-out protocols show larger costs on the named corpora (Observation 1, Appendix C-L). An oracle cost frontier makes the same error, hiding configurations that beat an honest frontier at a matched planned budget. For the tested fold-shared policy under category-held-out evaluation, almost all of its gain is fixed-selector gain (E66), and it ends up serving the honest pin's own model on every held-out request in 82% to 91% of pool cells (E24), so under this protocol the comparison is mostly between two ways of choosing one model, and which model is best is itself unstable across scoring rules [5].

Scored honestly under shift, routing buys little on these benchmarks. The accuracy a router needs is a surface

SAFETY ROUTING: THE VERDICT IS SET AT EVALUATION, THE RISK ARRIVES AT DEPLOYMENT

PHASE 1 - EVALUATION: WHO PICKS THE BASELINE

BENCHMARK

44 models

393 requests

5 held-out folds

ROUTER

same fitted router

scores request text

λ set on train folds

two comparators

IN-SAMPLE PIN

chosen on test labels

ROUTER LOSES

never beats pin

HONEST PIN

chosen on training folds

MEDIAN TIE

ahead on average

FOLD PROTOCOL

train

train

train

train

test

in-sample pin: chosen and scored on test

honest pin: chosen on train folds

SELECTION COST 0.043 → 0.113 (dot gap, axis router – pin)

in-sample (oracle) pin

honest pin

k=2

k=3

k=5

k=44

-0.04

+0.04

+0.08

JUDGE

cost at k=44

0.113

0.012

0.092

UNION GPT LLAMA

size moves by judge

sign stays positive

PHASE 2 - DEPLOYMENT: WHAT HONEST ROUTING BUYS

TRUST BOUNDARY

REQUEST

COMMIT

ROUTER SEES

request text only

one decision,

before any

tool output

MODEL POOL

FITTED ROUTER

AGENT LOOP

MEASURED HARM GAINS

AgentDojo pre-dispatch

1.05

family vs honest pin

1.80

best honest cascade

0.47

pts

0

1

2

TOOL RESULT

RECOGNITION

ATTACK ENTRY

JUDGED FLAG

injected text

in a tool result

6 corpus templates

picked per model

on half the reruns

GPT-5.4

0.23

0.03

static targeted

-19.6 pts

others at their floor

κ=0.82\kappa=0.82

ACTION POLICIES

4 POLICIES

ASK USER

NO NETWORK

SCRIPT AUDIT

TWO PASS

each 0/130 successes

same cells, consistent

with recognition

Fig. 1. The baseline, not the router, decides the verdict. Phase 1, evaluation. One fitted router is scored against two fixed-model comparators on identical folds (E24, union label). The fold protocol shows where each comparator is chosen, the honest pin on the four training folds, the in-sample pin on the held-out fold it is then scored on. Against the in-sample pin the router never beats it. Against the honest pin it ties in the median and is ahead on average. The gap is the selection cost, 0.043 to 0.113, whose sign is guaranteed (Observation 1) and whose size depends on the judge (E24j). Phase 2, deployment. The router sees only the request text and decides once, before any tool output exists. What routing can buy, each on its own surface, is small. The fitted router serves the honest pin's own model on every held-out request in 91% of two-model pool cells, a perfect pre-dispatch router on AgentDojo stays within two points of harm (E43), and the best honest cascade is one cheap model (E34). After the router commits, an injection arrives in a tool result and defence rests on the model's recognition. On held-out reruns a targeted template lowers gpt-5.4's judged recognition by 19.6 points, confirmed by an independent label (E54b, E55). Four action-level policy settings record zero judged successes on one shared set of episodes.

rather than a number (Section V). On AgentDojo a perfect router that commits before execution is worth at most two points of harm, and the cheaper configurations an oracle frontier hides are mostly one cheap model rather than a router (Sections VI and VII). That headroom is small on these grids, so we turn to the model's own recognition of an injection that arrives after dispatch. On a skill-injection corpus that signal is steerable. An attacker that knows which model it faces picks its template on some reruns and, on held-out reruns of the same configurations, lowers one model's judged recognition while no other model's flag moves. The drop reproduces under a lexicon label the judge did not write, within each of the three run configurations that contain both templates. We call the gap between how often a model notices and whether it can be relied on to notice the vigilance illusion, and scope it to what we measured, expressed recognition on one model (Section VII). Composed offline into a flag-gated controller from logged runs, the same attacker raises or lowers harm depending on which fallback serves the escalation, so a flag-level measurement cannot certify a recognition-based defence.

Contributions. One thesis runs through them. A safety evaluation that scores a component on what a deployer cannot use, a comparator chosen on the answers or a flag read without the controller that acts on it, misstates what the deployment gets. (1) The size of the first error under shift. Its direction is the optimizer's curse [6], which Shihab et al. [4] prove for routing accuracy, and what is new is its size on safety corpora, on identical folds across two corpora, on seven corpora chosen by rules fixed in advance, split into how often and how far the choice moves, and on LLMRouterBench's own release (Section IV, Appendix C-L). (2) The four-axis threshold surface a router must clear, and the price of the alternative. The lowest-harm model in a 44-model pool, selected in sample, refuses harmless requests at 1.62 times the median rate, a cost that harm-only evaluation cannot see (Section V, Appendix B). (3) A bound on pre-execution routing in agents and an honest cost frontier (Sections VI and VII). (4) An adaptive template-selection attack on the recognition signal, independently annotated, and its effect through flag-gated controllers. (5) Four action-level policy settings in the class of Debenedetti et al. [7] and Beurer-Kellner et al. [8], which record zero judged successes on one shared set of cells and whose traces are consistent with recognition (Section VII). We also correct three instruments. Rank-inversion counts sit below their own null, full-pool headroom is combinatorially vacuous, and AUROC is an insufficient summary (Appendix A).

References (61)