arXiv(opens in a new tab)cs.CROct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.09981

Sensitive-Topic Leakage Through LLM Routing Metadata: Measurement and Mitigation

Teng-Ruei Chen

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

Teng-Ruei Chen

Abstract—LLM routers pick a cheap or expensive model per request by its content, and many gateways and some cloud platforms can log that choice with content logging off. We measure this privacy channel beyond token counts, accounting for noisy labels and repeated prompts. We run pre-registered studies on 1.7 million real requests (WildChat-1M, LMSYS-Chat-1M) with two cost/quality routers and a domain router, survey eleven systems' logging, and test post-processing defenses. At matched length, the shift's direction depends on category and router. For RouteLLM at the 50% operating point, harassment and self-harm requests reach the strong model 19 points less often than comparable ones on prompts unseen in exploration, medical requests (exploratory: LLM labels failed their gate) 31 points less often on distinct prompts (both post hoc), and sexual requests 10 points more often (secondary); the other router's four are negative. Twenty RouteLLM decisions separate frequent medical askers with AUC 0.71, exploratory and below the pre-registered primary endpoint's 0.75 (domain router: 0.92, an upper estimate). Per-category length-matched parity with accurate labels removes the gap on real traffic, costing at most 0.2 accuracy points on RouterBench (post hoc), where routers' gaps on sensitive subjects (13–42 points, pre-registered) exceed those of an oracle routing by realized accuracy gain (1–11, post hoc). Per-conversation stickiness, per-user budget bands, and pooled parity fail, the last as categories' shifts differ in size or sign. A post hoc exact per-user rate hides only even-prefix strong counts and forfeits most self-assessed routing value; it preserves odd-position decisions, from which a post hoc log attack reaches AUC 0.73 after 20 RouteLLM requests (exploratory).

Index Terms—LLM routing, privacy, side channels, metadata, measurement, fairness post-processing.

I. INTRODUCTION

Large language model (LLM) applications increasingly place a routing or cascade layer, which we call a router, in front of several models. For each request it either picks one model directly or queries a cheap model first and escalates to a stronger one when needed, trading answer quality against cost [1], [2], [3], [4], [5]. Gateways and cloud platforms now offer routers as built-in options that a caller selects by model name [6]. A router's decision is, by construction, a function of the content of the request.

Prior work falls into three lines, reviewed in full in Section II. Routing research comprises cascades and learned routers that trade cost against quality [1], [3], [2], [4], benchmarks for them [5], analyses showing that their decisions follow the query's category and register [7], [8], and domain routers that pick a model by the request's subject [9]. Privacy-preserving routing keeps sensitive content from remote models or from the router: a local model protects what is sent to a proprietary one [10], requests are routed between edge and cloud by their sensitivity [11], and secure computation hides the request from the router [12]. Side-channel research shows that observable behavior that depends on private inputs reveals them: location-aware path selection in Tor reveals where clients are [13], [14], the exits and timing of adaptive networks reveal predictions and input attributes [15], [16], the packet sizes and timing of encrypted LLM traffic reveal prompt topics and the serving model [17], [18], and, in agent systems, which agents are contacted and which messages are chosen reveal task types, private state, and intent [19], [20], [21].

None of these lines examines a model router's decision as it is logged. Many gateways, and some cloud platforms, can record by design the served model and the caller of each request, often with token counts, even when content logging is off, and in some of them this is the default; some routing products also write the decision itself as a named field (Section III). Privacy-preserving routing systems protect content but do not analyze or defend the post-routing operational record considered here; when the route depends on sensitivity, the record carries the sensitivity label itself. The only proposal we found that randomizes the local/remote delegation bit, and bounds what it leaks, is evaluated only in simulation [22]. Agent-level work shows that selections leak [19], [20], [21], [23], but there agents make the selection, and observers read it from network traffic, message transcripts, or synthetic discovery logs, not from the business records of real deployments. To our knowledge, whether model-router decisions reveal sensitive topics on real user traffic, per request or across a user's requests, and what closing that channel costs, has not been measured.

This paper measures it. We treat the per-request routing decision, as recorded by a gateway, as a channel from the request's topic to an observer who never sees the text (Fig. 1). Four things make the measurement hard. Sensitive requests differ from others in length, and token counts are often visible as well, so leakage must be measured at matched length and beyond what length reveals. Labels for sensitive topics are noisy: the LLM judges we use for medical content failed our own validity gate twice, against the author's labels on LMSYS and an AI coding assistant's on WildChat. Public chat logs repeat the same prompts many times, which narrows confidence intervals and inflates apparent replication: 61% of the held-out harassment requests repeat a prompt from the exploration files. And an honest measurement must survive the choice of

T.-R. Chen is with Krixvon, Taipei 100, Taiwan (e-mail: ymchen.bi04g@g2.nctu.edu.tw; ORCID: 0000-0001-8995-334X).

Preprint, October 2026. Every study in Table III was pre-registered: its protocol was committed to our private repository before its data were obtained or, if it reused data, before its new step. E-3 to E-5 re-analyzed WildChat shards whose earlier results were known; E-8 was frozen after E-5b had measured the two stickiness defenses post hoc. Protocols, code, and aggregate results are released (Artifact Statement).

Setting: content-dependent routing

Figure

Question: what does the logged model choice reveal about sensitive topics?

On a benchmark, routers' gaps on sensitive subjects: 13–42 points (pre-registered) vs. a post hoc oracle by realized accuracy gain: 1–11

org admin · security team (SIEM)

finance · observability vendor

sees the model, never the text

Per request (Sec. V)

RouteLLM, 50% point; matched length

Harassment

-0.19

Self-harm

-0.19

Medical

-0.31

Sexual

+0.10

← fewer strong calls more strong calls →

Direction depends on category and router

Per user (Sec. VI)

20 requests of one user:

AUC 0.71

RouteLLM

pre-registered primary,

< 0.75; exploratory

AUC 0.92

domain router

upper estimate;

exploratory

(topic-only model predicts 0.83)

Modest growth; users differ

Defenses (Sec. VII)

Per-category parity

closes the gap

on real traffic with accurate labels;

on RouterBench ≤ 0.064 remains,

at ≤ 0.2 pp accuracy cost (post hoc)

Pooled parity

fails: shifts differ

Budget bands

leak

Exact per-user rate hides strong count only at even request counts

Fig. 1. Overview. Top: gateways can keep the router's choice, the caller's key, and token counts, often by default and with content logging off (Section III). Bottom: what these choices reveal per request (Section V; RouteLLM's gaps: harassment and self-harm on never-seen and medical on distinct WildChat prompts are post hoc, medical labels exploratory, sexual secondary; notdiamond-0001's four gaps are negative) and per user (Section VI; 0.71 is the pre-registered primary endpoint, below 0.75; both AUCs are exploratory as the label gate failed), and what defenses cost (Section VII; post hoc: parity's RouterBench cost and the exact rate, under which original A2 reaches 0.53 and an odd-position log attack reaches 0.73 after 20 requests). Benchmark line: RouterBench; post hoc oracle at the same budget.

router, dataset, and operating point, which invites selective reporting. We address these with length-matched gaps and a flexible length model, moderation labels shipped with the data for the primary categories (unvalidated, but needing no LLM judge), prompt fingerprints used as a duplicate proxy, and pre-registered protocols with a held-out replication of the primary per-request claims (Section IV).

Concretely, this paper contributes:

  1. The routing decision as a privacy channel. A threat model grounded in field-level evidence from eleven gateways, routers, and cloud platforms: in at least six of them, per-request records naming the chosen model can be kept without content and linked to the caller, in several of them by default (Section III).

  2. A pre-registered, duplicate-aware measurement on real traffic. At matched length, the direction of the shift depends on the category and the router. For RouteLLM at the 50% operating point, harassment and self-harm requests reach the strong model 19 points less often than comparable requests on never-seen prompts (post hoc; 24–32 points on all held-out rows, as pre-registered), sexual requests 10 points more often (secondary; predicted to stay below 10), and medical requests, with exploratory LLM labels, 31 points less often on distinct WildChat prompts (post hoc; 33 on all rows). The second cost/quality router, notdiamond-0001, sends all four less often, though its never-seen self-harm gap is indistinguishable from zero. Twenty RouteLLM decisions separate frequent medical askers from users with no medical requests at an area under the ROC curve (AUC) of 0.71, exploratory and below the pre-registered primary endpoint's 0.75, and 0.92 when the decision is a domain router's health label (an upper estimate, as its labels helped select what the judges saw; Sections V–VI).

  3. Defenses and their cost. Length-matched parity per category removes the per-request gap on real traffic when labels are accurate (half of it with a cheap classifier). On RouterBench, the routers' gaps on sensitive subjects (13–42 points, pre-registered) exceed those of an oracle that routes by realized accuracy gain (1–11, post hoc), and per-category parity costs at most 0.2 accuracy points but leaves gaps of up to 0.064 (post hoc). Pooled parity fails because categories shift by different amounts and, for RouteLLM on LMSYS, in opposite directions; per-conversation stickiness barely helps, and per-user budget bands leak at their edges. A post hoc exact per-user rate hides only the strong count, and only at even request counts, at the cost of most of the router's self-assessed value, which we could not express in accuracy and dollars. Its ordered log preserves odd-position decisions exactly (Remark 6); a post hoc attack using them reaches AUC 0.73 after 20 RouteLLM requests, exploratory (Section VII-C).

Section II reviews related work and Section IV the method; Sections VIII–X discuss recommendations, ethics, and limitations.

References (42)