Budget Dithering: Auditing Hidden Reasoning Compute with Dynamic Watermarks

Reasoning models are increasingly sold by the thinking token. The client asks for a budget, the provider runs a hidden chain of thought, and the bill reports how many tokens were "spent." Nothing in this arrangement lets the client check the claim. A provider, or a reseller standing between the client and the provider, can quietly truncate the reasoning, substitute a smaller model, or return a cached answer while billing for the full budget. This is a replay attack in economic form. Control engineers met the same problem when sensors could be spoofed, and their answer was dynamic watermarking: the controller injects a small secret random signal into what it sends. An honest system's outputs must then carry a predictable trace of that signal, and a replayed or fabricated output will not carry it.

We propose to bring that idea to inference compute. The client secretly and randomly varies ("dithers") the thinking budget it requests on each query, then tests whether a quality signal it can check itself, such as unit-test pass rates on its own code, rises and falls with the secret dither in the way an honest model's would. A provider that ignores the budget shows no correlation and is caught. One that serves stale answers is caught the same way. A provider that wants to pass the test has to spend compute that actually responds to the request. Because the test compares high-dither and low-dither queries drawn from the same traffic, it does not require knowing in advance how hard the client's workload is. That is the property simple accuracy spot checks lack.

Core Claim

Uniform budget allocation is what makes compute claims unverifiable. When every query gets the same nominal budget, the client sees one operating point and cannot tell whether low accuracy means hard queries or skimped compute. Injecting a secret zero-mean perturbation into the budget turns the provider into a system with a known input-to-output relation. Detection then becomes a correlation test, in the style of Dynamic Watermarking: Active Defense of Networked Cyber-Physical Systems, rather than a level test.

To make this concrete, let query $k$ request budget $b_k = \bar b\,(1+e_k)$. Here $\bar b$ is the client's nominal budget and $e_k \in \{-\sigma, +\sigma\}$ is a secret, independent, equiprobable sign known only to the client. Let $y_k \in \{0,1\}$ be the client's own verifier outcome, for example whether the returned code passes the client's tests. Write $g(b)$ for the honest expected pass rate at budget $b$ on the client's (unknown) query distribution. The statistic

$$S_n = \frac{1}{n}\sum_{k=1}^{n} e_k\, y_k \;\approx\; \sigma^2\,\bar b\, g'(\bar b)$$

has a positive mean under an honest provider. Its mean is exactly zero under any provider whose output does not depend on $e_k$, whatever $g$ is. The approximation follows from a first-order expansion of $g$ around $\bar b$. The unknown difficulty of the client's traffic enters only through the slope $g'$, not through the zero-mean null, which is what makes the test distribution-free against budget-insensitive cheaters.

Dithering also has a cost. Because accuracy curves are concave in budget, it lowers expected accuracy by roughly $\tfrac12\sigma^2\bar b^2|g''(\bar b)|$, from a second-order expansion. This is the reasoning-model analogue of the "control tax" that raised Segway tracking error from 2.6 cm to 5.0 cm in Simulation and Real-World Evaluation of Attack Detection Schemes. Detection power grows with the squared slope and the tax grows with the curvature. The design problem is therefore to place the dither where marginal gain from extra compute is high and curvature is low.

Relation to Prior Work

Three lines of prior work motivate the proposal. The control literature shows that passive monitors fail against replay. Porter et al. report near-0% detection for chi-squared, CUSUM and MEWMA detectors against replay attacks and near-100% for dynamic watermarking (Simulation and Real-World Evaluation of Attack Detection Schemes). Sequential Detection of Replay Attacks supplies the method we reuse: a cumulative-sum test on the joint statistics of the injected signal and the residuals, which gives sequential detection with controlled false alarms. The adaptive-compute literature shows that budgets are not free parameters that providers honor by default. Calibrated early exit in Compute When Worth It: Risk Control for Reasoning on a Compute Budget and Thought calibration: Efficient and confident test-time scaling cuts tokens by 52–60% with little accuracy loss. That means a provider has both the tools and the incentive to spend far less than it bills. The Lacuna file flags this auditing gap directly and notes that current practice is redundant reruns. Our protocol is a cheaper, statistical alternative to rerunning.

Two lines of work constrain the design. Mo and Yan's online watermark design (An Online Approach to Physical Watermark Design) uses the watermark both to authenticate and to identify an unknown system. We borrow that dual use: the dither also estimates the client's local accuracy-versus-budget curve, which the client never had before. Co-Design of Watermarking and Robust Control for Security in Cyber-Physical Systems frames the trade between performance and detection rate, which we instantiate as slope against curvature.

Finally, the marginal-reward predictor of Learning How Hard to Think: Input-Adaptive Allocation of LM Computation, a small network on hidden states that predicts accuracy gain per unit of extra compute, is repurposed. Rather than deciding how much to compute, it decides where dithering yields detection power. Queries predicted to sit on the flat part of their curve, either trivially easy or hopeless, carry no audit signal and should not be dithered.

The closest existing bridges between watermarking and compute are different in kind. Event-triggered dynamic watermarking (Attack Detection for Networked Control Systems Using Event-Triggered Dynamic Watermarking) saves communication in linear plants. Bayesian active watermarking (Defense against Model Extraction Attack by Bayesian Active Watermarking) amortizes perturbations to poison model thieves. CodeTracer (Adaptive Code Watermarking Through Reinforcement Learning) decides which tokens carry a provenance mark. None of the three treats the compute budget itself as the excitation channel, and none treats the compute provider as the adversary.

Research Program

The first component is a threat model and a test. We formalize a family of cheating providers. The first ignores the budget, serving a fixed cheaper model or fixed truncation. The second replays cached answers per prompt. The third truncates proportionally, honoring a fraction $\rho$ of each requested budget. The fourth is adaptive: it tries to infer the dither from the requested number and honor it only partially.

The dither is secret in sign but visible in magnitude, since the provider sees the budget it is asked for. This is the crux. The proposal's guarantee covers providers that cannot or do not tailor compute to the observed budget. Against providers that do observe it, the guarantee reduces to whatever the proportional-truncation analysis below can certify. We will state this boundary explicitly.

The first two cheaters produce zero-mean $S_n$ and are caught distribution-free. The proportional cheater still produces a slope, so we add a second statistic that compares the dither-estimated curve shape against a small reference set run on trusted hardware. We will measure how large that reference set must be. We then build a sequential version of the test following Sequential Detection of Replay Attacks and derive detection delay as a function of $\sigma$, $g'$ and the false-alarm rate.

The second component is excitation design. We will compare uniform dithering on all queries with dithering targeted by a marginal-reward predictor trained as in Learning How Hard to Think. We will also choose $\sigma$ per difficulty bin to maximize detection power per unit of accuracy tax.

The third component is the honest provider's side. Legitimate early stopping, as in Compute When Worth It, also weakens budget sensitivity. We will characterize when an honest-but-efficient provider would be flagged. We will also propose a contract under which early exits are reported and the test conditions on them.

Baselines

The naive reference point is trusting the provider's reported token counts and latency. It costs nothing. It is defeated by any provider who fabricates counts or pads latency, and we will show that it detects none of the cheaters. This mirrors the near-0% passive detection in Simulation and Real-World Evaluation of Attack Detection Schemes.

The strongest simple competitor is a fixed-budget level test. The client runs every query at $\bar b$ and compares its observed pass rate with an honest pass rate calibrated beforehand on a reference set, using the same models, benchmarks and number of queries as our method. It wins whenever the reference set matches the client's traffic. No reported result found on Lacuna for compute-auditing detection rates, so no cited number exists for this baseline. We will therefore report both methods' detection delays at a matched 1% false-alarm rate. Beating it means detecting replay and budget-insensitive cheats in fewer queries when the client's traffic is shifted relative to the reference set, while matching it when there is no shift.

The third baseline is indistinguishable canary spot checks: graded items hidden in the client's own traffic. It is given the same total labeling and token budget as our method.

The fourth baseline is redundant rerun of a random fraction of queries on trusted hardware, matched by total compute.

The ablation that isolates the key ingredient keeps everything about our method except the secret, using a publicly known alternating budget schedule. If an adaptive cheater then evades detection, the secrecy of the dither, not the variation alone, is doing the work.

For context on the honest operating curve, AceReason-Nemotron reports 67.4% (avg@64) on AIME 2025 for AceReason-Nemotron-14B. This is a capability figure, not an audit figure.

Why not just…?

Why not just compare accuracy to an expected level, with no dither? This is the real threat, and on matched traffic it may be as good as dithering. Its weakness is that the expected level depends on the client's query difficulty, which the client does not know. A level test cannot separate "my queries got harder this week" from "the provider started truncating." The dither test's null is zero-mean regardless of difficulty. Experiment two below settles this directly. If the level test matches dithering under realistic shift, we will report that dithering only adds value against replay.

Why not just sign the outputs cryptographically? As the dynamic-watermarking literature notes for compromised sensors (Dynamic Watermarking: Active Defense of Networked Cyber-Physical Systems), signatures authenticate who sent the bytes, not what process produced them. Here the signer is the suspected cheater, so a signed truncated answer is still truncated.

Why not just rerun a fraction of queries on trusted hardware? Rerunning is the reliable gold standard, but it costs real compute, and its detection power scales only with the rerun fraction. It is a baseline at matched compute. If dithering needs a comparable trusted reference set to catch proportional truncation, we will say so: in that regime the contribution narrows to catching budget-insensitive and replay cheats for free.

Why not just use latency? Latency can be padded upward by sleeping and is confounded by server load. We include it as a baseline signal to measure how easily it is spoofed.

Proposed Experiments

We simulate the provider with open reasoning models, DeepSeek-R1-Distill-Qwen-7B and 32B with budget forcing as in Compute When Worth It, plus AceReason-Nemotron-14B. Workloads with client-side verifiers are AIME, MATH 500 and GPQA Diamond for answer checking, and HumanEval, MBPP, TACO and LiveCodeBench for unit tests. Cheaters are implemented as truncation at $\rho \in \{0.25, 0.5, 0.75\}$, 7B substitution for 32B, per-prompt caching, and an adaptive partial-honoring policy. Metrics are detection delay in queries at fixed false-alarm rate, the ROC curve over cheat strength, and the dither's accuracy tax measured against an undithered run.

The first decisive check tests the core null. On every benchmark, $S_n$ under budget-insensitive and caching cheaters must stay at zero-mean false-alarm rates, while honest providers are separated within a few hundred queries. If $g'$ is too small at practical budgets, which is plausible given the diminishing returns documented in Scaling Test-Time Compute Without Verification or RL is Suboptimal, the method fails here.

The second check tests shift robustness. We calibrate on MATH 500 and audit on AIME or GPQA, and calibrate on HumanEval and audit on LiveCodeBench, comparing the level test against dithering. Dithering should keep its false-alarm rate while the level test either raises false alarms or misses cheats.

The third check measures what targeting buys. We will report the detection power per point of accuracy tax gained by marginal-reward-guided dithering over uniform dithering. We will also report the reference-set size needed to catch proportional truncation, which bounds how far the zero-label claim extends.