TL;DR
When you pay an API provider to run a massive, expensive LLM, how do you know they aren't secretly routing your prompt to a smaller, cheaper model behind the curtain? This paper introduces SumMark, a clever verification system that embeds cryptographic-style statistical watermarks not in the final answer, but in the reasoning summaries that modern "thinking" models increasingly expose. By letting a trusted auditor enroll models offline, anyone can verify which model actually generated a response at runtime—without hurting the quality of your code or math answers, and without needing invasive access to the provider's servers.
What Problem Does This Paper Address?
Hosted LLM services sell specific model configurations—a particular family and parameter count—as a product feature. This creates a quiet temptation for cost-motivated identity substitution: charging you for a 7B or 70B flagship model while secretly serving responses from a cheaper 1.5B variant.
Catching a provider in the act is surprisingly hard. Currently, verification falls into two unsatisfying extremes:
- Behavioral fingerprinting: Querying the API and guessing the model from its style or quirks. This is brittle, unkeyed, and easily fooled by prompt wrappers or paraphrasing.
- Infrastructure attestation: Using cryptographic proofs or trusted hardware logs on every single request. While rock-solid, providers rarely allow external auditors real-time visibility into their proprietary serving stacks.
The authors explore a pragmatic middle ground: onboarded-but-runtime-blind auditing. Think of it like a restaurant health inspection where the inspector tags the kitchen's ingredients beforehand, then tests dishes anonymously from the dining room later. A trusted auditor gets one-time offline access to enroll the claimed models, but at runtime, they can only inspect the public text returned to the user.
Methods
Standard LLM watermarking biases token choices in the final answer, which can break strict formatting, ruin code syntax, or degrade math accuracy. SumMark's core novelty is summary-channel watermarking: shifting the audit signal entirely into the user-visible reasoning summary (like those exposed by OpenAI's o-series or Gemini's thinking models), which has plenty of natural-language slack, leaving the final task-facing answer untouched.
SumMark operates in three steps:
- Separable Vocabulary Carriers: A generic watermark only proves some watermark is present. Using a secret key, the auditor assigns each enrolled model identity (defined as a family + parameter scale pair) its own "greenlist" of vocabulary tokens ($G_m$). Crucially, the algorithm bounds both the size of each greenlist ($\rho = 0.3$) and the maximum overlap between any two models' lists ($\tau = 0.3$), ensuring different models leave distinct footprints.
- Lightweight Summary Adapters: For each model, the auditor freezes the base weights and trains a lightweight LoRA adapter ($\Delta_m$) activated only when generating reasoning summaries. The training loss balances three goals: keeping summaries fluent, boosting the model's assigned greenlist tokens, and actively suppressing tokens belonging to competing models' greenlists. Because LoRA adapters are bound to specific weight matrix shapes, a provider can't simply slap a 7B model's adapter onto a 1.5B model.
- Runtime Statistical Testing: At deployment, the auditor counts greenlist matches in the released summary and computes a standardized $Z$-score. Comparing this score against a calibrated threshold detects substitutions at a strict 1% false-positive rate (FPR)—and checking which enrolled model scores highest attributes the true culprit.
Datasets
The authors evaluate SumMark across three distinct domains (5,000 samples per model with an 80/20 train-test split; exact underlying benchmark names are deferred to the paper's appendix) chosen because they induce very different summary styles:
- Math: Mathematical reasoning problems.
- Code: Programming tasks, where reasoning summaries tend to be highly templated and procedural.
- General: Open-ended problem-solving, yielding conversational and stylistically varied summaries.
No new public datasets are introduced; rather, existing tasks are paired with model-generated reasoning summaries across Qwen2.5 (1.5B, 3B, 7B) and LLaMA3.2-3B (with an extension to 12 identities in the appendix).
Key Insights and Ideas
- Generic watermarks fail at identity verification: Standard watermarking schemes (like Unigram, Gumbel-Max, or SynthID) fail miserably at catching model swaps at low false-alarm rates because they weren't designed to separate multiple enrolled identities. Controlled cross-identity overlap plus contrastive adapter training is what turns a watermark into an ID badge.
- Decoupling auditability from utility: By isolating the watermark to the reasoning summary, task performance on the final answer stays virtually identical—even on brittle tasks like unit-tested code generation.
- Quantization leaves a detectable trace: Even though an FP16 model and its INT8/INT4 quantized cousins share the exact same weight shapes and adapter, quantization shifts token statistics enough that an FP16-calibrated auditor can usually flag quantized downgrades as a bonus diagnostic.
Key Results
- Near-perfect substitution detection: Across seven cross-family and cross-scale substitution pairs, SumMark achieves an average True Positive Rate at 1% FPR (TPR@1%) of 0.9994 on Math, 0.9750 on General, and 1.0000 on Code—crushing unkeyed text classifiers (BERT, GPT-2, T5) and generic watermarks (which often scored near 0.00–0.47 TPR@1%).
- Accurate attribution & zero utility loss: When identifying which model generated a summary among enrolled candidates, SumMark hits 99.58% accuracy on Math and 97.18% on General. Meanwhile, Math accuracy and Code Pass@1 scores remain statistically unchanged.
- Precision & robustness boundaries: SumMark reliably flags FP16$\rightarrow$INT8/INT4 quantization on 3B and 7B models (TPR@1% > 0.91), though Qwen-1.5B FP16$\rightarrow$INT8 is subtler (0.036–0.445 TPR@1%). Surface edits like shuffling sentences or deleting words barely dent detection (minimum 0.9950 TPR@1%).
Limitations and Future Work
The authors are admirably transparent about where SumMark's guarantees end:
- Summary provenance $\neq$ Answer provenance: If a sneaky provider runs a cheap 1.5B model to write your final answer, then pays a 7B model just to write a short watermarked summary, SumMark won't catch it. End-to-end provenance requires coupling the pipelines or adding deployment policies.
- Heavy rewriting & adaptive spoofing: While immune to simple edits and basic token-frequency stealing (4.17% attack success rate), translating summaries back-and-forth across languages drops worst-case detection to 0.5740 TPR@1%. Furthermore, if a provider distills a fake adapter onto a cheaper model using thousands of observed watermarked summaries, spoofing succeeds up to 62.9% of the time in the hardest transfer directions.
- Future directions: Strengthening robustness against fine-grained quantization variants and adaptive distillation, and exploring richer audit signals beyond pure text.
Summary updated