Skip to content

Logit Laundering: Evading large language model data usage auditingLogit Laundering: Evading Data-Use Auditing in Large Language Models

arXiv· arXiv:2611.09446· Ruihan Hu, Wei Luo, Yu-Ming Shang, Jiakai Wang, Chuxuan Zhang, Mei Li, Xi Zhang, Meikang QiuBeijing University of Posts and Telecommunications; Zhongguancun Laboratory; Augusta UniversityIndexed by this site · 14 days ago· Originally publishedAttacks

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors propose Logit Laundering: a non-compliant LLM provider reshapes logits at inference time to evade data usage audits; the authors claim that on 5 models the detection p-values rise by an average factor of 513.

Threat modelA non-compliant LLM provider (Bob Company) uses unauthorized copyrighted data for continued pretraining of a model, with the goal of making the watermark detection p value after auditing not lower than the significance level α (e.g., 0.05). Bob fully controls its own model weights and training process, but does not know the watermark embedding and detection algorithms; the auditor can obtain output text, tokenizer and token logits via API.

Questions
Data usage auditing relies on data watermarks to determine whether copyrighted data was used to train LLMs, but non-compliant providers may try to evade detection. The authors believe that work systematically studying such evasion behavior from an adversarial perspective is still limited.
Methods
Proposes Logit Laundering: the provider first performs normal continued pretraining, then at inference time uses a statistical bias estimator to subtract the watermark-related bias from the base logits, and adaptively adjusts the suppression strength according to the top-1/top-2 logit margin, with model parameters unchanged.
Experiments and results
On 5 base models, STAMP and Radioactive detection p-values all rise above 0.05 (e.g., on LLAMA-3.2-1B the pt value is 7.482×10⁻¹ and the pz value is 9.948×10⁻¹, Table 5), copyright knowledge MCQ is close to non-evading models (Table 8), and generation quality is basically maintained (Table 9).
Limitations and future work
The authors state that future work will explore more covert evasion strategies and defense detection mechanisms; the defense experiments are only a small-scale pilot of 10 paragraphs and 1 book; the models under test are 5 open-source models of 1.5B–3B; the paper does not report inference overhead or manual review agreement figures.
Experimental setupLLAMA-3.2-1B-Instruct、LLAMA-3.2-3B-Instruct et al. · 自建版权书籍语料(50 本 2025 年出版书籍,4,959 段落)、Pile(arXiv papers、Pile-CC、Hacker News) et al. · pt-value / t-statistic(STAMP)、pz-value / z-score(Radioactive) et al.
Evaluated models
LLAMA-3.2-1B-InstructLLAMA-3.2-3B-InstructQwen-2.5-1.5B-InstructGemma-2-2B-ITStable-LM-2-1.6B-Chat
Benchmarks
自建版权书籍语料(50 本 2025 年出版书籍,4,959 段落)Pile(arXiv papers、Pile-CC、Hacker News)自建 MCQ 集(GPT-5.4 与 Claude-Sonnet-4.6 各生成 1,000 题)ARC-ChallengeMMLUTriviaQAGSM8K
Metrics
pt-value / t-statistic(STAMP)pz-value / z-score(Radioactive)MCQ accuracyFluency-PPLMAUVELLM-Judge scoreP-SP
AI summaryThe researchers propose an evasion framework called Logit Laundering, targeting mainstream data watermarking schemes in large language model data usage auditing, in the scenario where a non-compliant model provider trains a model on copyrighted data without authorization and then evades auditing, manipulating model outputs at inference time to destroy detectable watermark signals. The framework designs a logit reshaping module that suppresses the statistical signal induced by watermarks through a plug-and-play statistical bias estimator, without changing model parameters and operating only in logit space, minimizing the impact on the model's learned knowledge while evading auditing; it also introduces a confidence-aware scaling module that adaptively calibrates the suppression strength according to next-token prediction confidence, to balance evasion effectiveness and model utility. The authors state that extensive evaluations show the framework can successfully evade multiple existing state-of-the-art auditing methods, significantly weakening detectable signals while maintaining the model's utility on downstream tasks; the authors note that this indicates the need to explore more robust auditing methods to guard against such evasion behavior.

The researchers propose an evasion framework called Logit Laundering, targeting mainstream data watermarking schemes in large language model data usage auditing, in the scenario where a non-compliant model provider trains a model on copyrighted data without authorization and then evades auditing, manipulating model outputs at inference time to destroy detectable watermark signals. The framework designs a logit reshaping module that suppresses the statistical signal induced by watermarks through a plug-and-play statistical bias estimator, without changing model parameters and operating only in logit space, minimizing the impact on the model's learned knowledge while evading auditing; it also introduces a confidence-aware scaling module that adaptively calibrates the suppression strength according to next-token prediction confidence, to balance evasion effectiveness and model utility. The authors state that extensive evaluations show the framework can successfully evade multiple existing state-of-the-art auditing methods, significantly weakening detectable signals while maintaining the model's utility on downstream tasks; the authors note that this indicates the need to explore more robust auditing methods to guard against such evasion behavior.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How non-compliant LLM providers can evade watermark-based data usage audits while retaining revenue from copyrighted data.

    Core question: After a non-compliant LLM provider uses unauthorized copyrighted data for continued pretraining, can it manipulate outputs at inference time to evade watermark-based data usage auditing without losing model utility?

    • Scenario and motivation: Data usage auditing lets data owners determine whether their data was used for training, and the mainstream approach is data watermarking. The authors say systematic research from the adversarial perspective of non-compliant providers is still limited, while cases of training on pirated books may involve huge damages.
    • Shortcomings of existing methods: The authors say injective watermarks (canary, Unicode, etc.) can be removed by simple data preprocessing (in Table 2, the hit rate drops from 100.00% to 0.00% after filtering), offering limited value for evasion research; therefore they focus on paraphrase-based watermarks, which are harder to evade.
    • Core observation: Data-level evasion (character perturbation, paraphrasing, translation, etc.) damages the text, reduces its training value, and residual signals can still be detected (in Table 3, p values remain below 0.05); simple model-level Rank-Swap perturbation is also insufficient to eliminate the signal (Figure 3).
    • Proposed method: Proposes Logit Laundering, which reshapes logits at inference time to suppress the watermark statistical signal, with model parameters unchanged; it also proposes an exploratory defense, True-key Placebo Check, to flag suspicious false negatives.
    • Threat model:
      • Goal: After continued pretraining, make the p value of audit detection not lower than the significance level α (e.g., 0.05), i.e., make the watermark signal statistically insignificant.
      • Knowledge: Bob fully controls its own model weights, training configuration and data collection process, but does not know the details of the watermark embedding and detection algorithms (Table 1).
      • Capability: Manipulate output logits at inference time; the auditor can obtain output text, tokenizer and token logits via API.
      • Victim system: The data usage auditor based on paraphrase-based watermarks and its detection pipeline.
  2. What related research exists?

    Related work falls into three categories: membership inference attacks, injection-based and paraphrase-based watermark audits, and LLM watermark attacks adapted as baselines.

    Membership inference attacks (MIA)

    • Min-K% Prob, DC-PDD, etc. — compute membership scores based on token probability statistics; other methods use sequence-order memorization or combined features; the authors say such methods often struggle to provide conclusive evidence of data use, so this paper focuses on data watermarking techniques that can produce evidence.

    Injective watermark auditing

    • Copyright traps, Unicode/zero-width characters, synonym substitution, context-aware tokens, etc. — inject canaries into the corpus and compare perplexity; Cui et al. injected fabricated knowledge and verified it through queries. The authors say such watermarks are easily removed by preprocessing (Table 2) and are not the main evasion target.

    Paraphrase-based watermark auditing

    • STAMP — uses a watermarked LLM to paraphrase text, compares the perplexity of public-key/private-key versions, and performs a paired statistical test.
    • Radioactive detection — based on the "radioactivity" phenomenon of an elevated proportion of green tokens in model outputs. These two are the main attack targets of this paper.

    Baselines and benchmarks

    • Data-level baselines: Char (homoglyph/insertion/typo), Token Swap, Token Synonym, Paraphrase, and Translation attacks adapted from the LLM watermarking field; the authors note that these attacks originally did not require preserving the training value of the text, unlike the data usage scenario.
    • Model-level baselines: three Rank-Swap variants (2S, SS, SK) built by the authors.
    • Evaluation environment: a self-built 2025 copyrighted book corpus (4,959 paragraphs) mixed with the public Pile corpus, under a continued pretraining setting.

    The authors say this paper is the first systematic study of evasion of LLM data usage auditing, and unlike adversarial auditing research on discrete-output classification models, this paper targets audit signals in the form of free text.

  3. How does the paper address this problem?

    Two stages: first perform normal continued pretraining to retain knowledge, then at inference time use a statistical bias estimator to reshape the logits and adaptively adjust the strength according to confidence.

    Logit Laundering's overall idea: rather than touching the training data or model parameters, at inference time it subtracts from the output logits a watermark bias signal produced by a statistical bias estimator, so that the distribution seen by the auditor is no longer statistically significant.

    Problem Formulation

    • The auditor computes a detection p-value; p below the significance level α (e.g., 0.05) is judged as infringement; attack success is defined as p(A(ΘB); Dwm) ≥ α, i.e., after applying the evasion algorithm A, the p-value is not below α.
    • The continued pretraining corpus D = D_pub ∪ D_wm, i.e., a mixture of public data and unauthorized watermarked copyrighted data.

    Stage One: Standard Continued Pretraining

    • The base model is trained on D with standard next-token prediction (cross-entropy loss), yielding base model Θ_b, whose output logits are denoted z_b.
    • No evasion is done at this stage, ensuring the model fully acquires the copyright knowledge.

    Stage Two: Logit Reshaping

    • Statistical bias estimator Θ_c: a lightweight module reusing the base model's first 8 Transformer layers plus the original LM head, sharing the tokenizer and output space with the base; it does not need to know the watermark algorithm or key.
    • Dual-objective training: objective 1 flattens the logit distribution on D_pub (minimizing divergence from the uniform distribution), so the estimator has no discriminative power on public data; objective 2 fits randomly sampled local segments of D_wm, capturing local distribution patterns that may form detectable signals. Total loss L_c = L_fit + η·L_flat, with η = 3 in the main experiments.
    • Inference-time suppression: zB(·|x) = zb(·|x) − λ · zc(·|x), i.e., subtracting the estimated bias signal from the base logits, with λ controlling the suppression strength.

    Confidence-aware Scaling

    • Scaling bound computation: on prefixes sampled from copyrighted text, the safe range is constrained by the Jensen-Shannon divergence between the base distribution and the reshaped distribution on the dominant token; the main experiments take [τ_min, τ_max] = [0.01, 0.1], from which λ_min and λ_max are derived.
    • Margin-based scaling: using the difference m_t between the top-1 and top-2 logits at each step as the confidence indicator, λ_t = λ_min + (λ_max − λ_min)·m_t/(m_t + S), S = 1; when the margin is large (high confidence) suppression is stronger, and when the margin is small it is more conservative, avoiding damaging generation at low-confidence positions.

    Success Criteria and Evaluation Methods

    • Evasion effectiveness: STAMP's pt value/t statistic and Radioactive's pz value/z score, computed per book and then averaged; p > 0.05 is regarded as successful evasion.
    • Utility: copyright knowledge retention uses MCQ accuracy (GPT-5.4 and Claude-Sonnet-4.6 each generate 1,000 questions, manually quality-checked, and the main text reports the average of the two sets); general utility includes Fluency (GPT-2-XL PPL), MAUVE, LLM-Judge score, and ARC-C/MMLU/TriviaQA/GSM8K.
  4. What experiments did the paper conduct?

    Evaluating 8 audit methods on 5 open-source models, the authors claim that Logit Laundering raises all detection p-values above 0.05 while utility is close to non-evading models.

    Experimental Setup

    • Models under test: LLAMA-3.2-1B-Instruct, LLAMA-3.2-3B-Instruct, Qwen-2.5-1.5B-Instruct, Gemma-2-2B-IT, Stable-LM-2-1.6B-Chat, 5 in total.
    • Data: 4,959 paragraphs sampled from 50 books published in 2025 (at most 100 paragraphs per book, 512 tokens), rewritten with an LLM carrying red-green watermarks (e.g., LLAMA-3.1-8B-Instruct, γ = 0.25, δ = 4.0, w = 1) to embed the watermark; mixed with 500 arXiv papers, 1,000 Pile-CC entries, 646 Hacker News entries (Table 4).
    • Training: continued pretraining lr 2×10⁻⁶, batch 8, 1 epoch; LoRA instruction fine-tuning lr 5×10⁻⁵; estimator trained for 4,000 steps, batch 10, sampling ratio ρ = 0.6, segment ratio α = 0.05.
    • Audit methods: STAMP (PPL and Min-K, Min-K++, Lowercase, Zlib variants) and Radioactive (greedy top-1 and top-k=40, nucleus p=0.9 sampling), 8 in total; p > 0.05 is judged as successful evasion.
    • Baselines: 7 data-level attacks (uniform edit rate 0.3) and 3 Rank-Swap variants (r = 0.3, k = 5 for SK).
    • Evaluation: LLM-Judge uses GPT-5.4 and Claude-Sonnet-4.6 to score on a 0–100 scale; MCQ questions are generated by these two models, 1,000 each, and manually quality-checked; general tasks use lm-evaluation-harness, 5-shot, 100 samples per task.

    Main Results

    According to Table 5, the detection p-values of each model under Logit Laundering (non-evading baselines are all far below 0.05):

    ModelSTAMP pt valueRadioactive pz value
    LLAMA-3.2-1B-Instruct7.482×10⁻¹9.948×10⁻¹
    LLAMA-3.2-3B-Instruct8.905×10⁻¹9.914×10⁻¹
    Qwen-2.5-1.5B-Instruct4.117×10⁻¹9.999×10⁻¹
    Gemma-2-2B-IT7.056×10⁻¹9.074×10⁻¹
    Stable-LM-2-1.6B-Chat9.645×10⁻¹9.983×10⁻¹
    • The authors claim that under Logit Laundering, p-values exceed 0.05 on all 5 models under both types of detection, making the signal statistically insignificant; the abstract states that detection p-values rise by an average factor of 513×.
    • By contrast, under most settings of the data-level attacks and Rank-Swap, p-values remain below 0.05; the exceptions are Rank-Swap (SS) under STAMP, where p-values exceed 0.05 on 4 models (all except LLAMA-3.2-1B), and Translation, which also exceeds 0.05 on some models (Table 5).
    • The authors' explanation: reshaping logits makes the model appear "less fitted" to local segments of watermarked text, narrowing STAMP's public/private key perplexity gap; the estimator simultaneously absorbs the green token preference, and the suppressed output is less biased toward green tokens (Figure 6).

    Utility Evaluation

    • Copyright knowledge retention (Table 8, MCQ accuracy): Logit Laundering on the 5 models is 72.8%, 82.3%, 80.0%, 83.3%, 59.1%, close to the non-evading models (73.4%, 82.9%, 79.7%, 83.6%, 59.2%), and all higher than the original base models (31.8%, 64.5%, 71.8%, 56.2%, 35.2%); the Rank-Swap baseline drops to 29.6%–54.4%. The authors claim that Rank-Swap perturbing the top-1 token directly interferes with multiple-choice answers.
    • Generation quality (Table 9): Logit Laundering's Fluency-PPL 5.752, MAUVE 0.255, LLM Judge 79.9; non-evading is 6.222, 0.178, 83.7; Rank-Swap (SS) has PPL 36.480, MAUVE 0.055.
    • General tasks (Table 10): Logit Laundering is basically close to non-evading, e.g., on LLAMA-3.2-3B both are 0.680 on GSM8K; the exceptions are Gemma-2-2B on GSM8K dropping from 0.460 to 0.430, and LLAMA-3.2-1B dropping from 0.260 to 0.230.

    Defense Pilot: True-key Placebo Check

    • Method: compare the green token proportion under the true watermark key versus 10 random placebo keys; when the true key's proportion is instead lower than the random baseline, flag it as a suspicious false negative.
    • Results (Table 12, 10 paragraphs, 1 book): clean model shift +0.0019, non-evading +0.0278, evading model −0.0112. The authors claim that this reverse shift can serve as grounds to require the provider to disclose details of the decoding process.

    Other Ablations and Analyses

    • Watermark strength δ (Figure 7): as δ increases, non-evading p-values decrease, while Logit Laundering's p-values remain above 0.05 under both types of detection.
    • Number of estimator layers (Figure 8): 4, 6, 8 layers have little effect on evasion effectiveness; the authors claim it is insensitive to estimator size.
    • Segment ratio α and smoothing parameter S (Figure 9): increasing α continuously reduces detectability; as S increases, p-values decrease slightly but evasion is still maintained.
    • Confidence scaling ablation (Table 11): when adaptive scaling is removed and a fixed λ is used, MAUVE drops from 0.107/0.151 to 0.016–0.019; the authors claim this module is necessary for maintaining generation naturalness.
    • JS budget range (Figure 10): raising the upper/lower bounds continuously increases the p-values of both types of detection; the main experiments use [0.01, 0.1].
  5. What are some points that can be further explored?

    The authors state that future work will explore both more covert evasion and defense mechanisms; the experiments cover 5 small open-source models and a continued pretraining setting.

    Limitations and Future Directions Noted by the Authors

    • Future work (Section 7): the authors state they will explore both more covert evasion strategies and defense detection mechanisms, to enhance the robustness of data usage audits.
    • Defense is only exploratory (Section 6.4): the True-key Placebo Check is an exploratory defense, piloted only at small scale on 1 book and 10 paragraphs; the authors call it a "potential" post-hoc detection indicator.
    • Some audit variants are themselves insignificant (Appendix D.1): the authors point out that some STAMP variants already produce insignificant results under non-evading settings, and consider their robustness as audit signals limited and in need of improvement.
    • Audit pipelines need post-hoc analysis (Section 6.4): the authors argue that existing methods assume the provider exposes outputs and that logits faithfully reflect what the model has learned; this assumption can be broken by inference-time manipulation, and audit pipelines should add a step to identify suspicious false negatives.

    Scope of Experimental Coverage

    • The models under test are 5 open-source instruction models of 1.5B–3B (LLAMA-3.2-1B/3B, Qwen-2.5-1.5B, Gemma-2-2B, Stable-LM-2-1.6B), with training set to continued pretraining for 1 epoch.
    • Audit methods cover STAMP (5 scoring variants) and Radioactive (3 decoding strategies), 8 in total; baselines are 7 data-level attacks and 3 Rank-Swap variants.
    • The copyrighted corpus is 50 English commercial novels published in 2025 (romance, fantasy, mystery, science fiction, literary fiction), 4,959 paragraphs; the public corpus is taken from the Pile test set.
    • General task evaluation uses 100 samples per task, 5-shot; generation quality evaluation uses 500 samples; the defense pilot uses 10 paragraphs.
    • The paper does not report latency or computational overhead figures introduced by the estimator at inference time, does not report the sample size and agreement figures of the MCQ manual quality check, and does not report the number of experimental repetitions.
  6. Summarize the main content of the paper

    The authors propose an inference-time logit reshaping framework, Logit Laundering, which the authors claim can evade mainstream watermark audits while largely preserving model utility.

    An adversarial attack study targeting LLM data usage audits: how a non-compliant provider, after continued pretraining on unauthorized copyrighted data, erases watermark evidence at inference time.

    • Problem: watermark-based data usage audits determine infringement by detecting statistical signals in model outputs; the authors claim a systematic study from the evader's perspective is missing.
    • Method: Logit Laundering has two stages—first normal continued pretraining to retain copyright knowledge, then at inference time a statistical bias estimator (reusing the base model's first 8 layers plus the LM head, trained with dual objectives) subtracts the watermark bias from the base logits, with strength adaptively adjusted by the top-1/top-2 margin; model parameters are unchanged.
    • Main results: on 5 open-source models, STAMP and Radioactive detection p-values all rise above 0.05 (Table 5, e.g., on LLAMA-3.2-1B the pt value is 7.482×10⁻¹ and the pz value is 9.948×10⁻¹); the authors claim p-values rise by an average factor of 513×.
    • Utility: copyright knowledge MCQ accuracy is close to non-evading models and higher than the base models (Table 8); generation quality and general task performance are basically maintained (Tables 9, 10); the data-level attacks and Rank-Swap baselines either leave residual signals or lose utility.
    • Defense: in a small-scale pilot of the exploratory True-key Placebo Check, the evading model's true-key green proportion shows a reverse shift (shift −0.0112, Table 12); the authors claim this can be used to flag suspicious false negatives.
    • Authors' conclusion: existing audit pipelines are fragile to inference-time output manipulation; failure to detect a watermark signal should not be taken as confirmation that the data was not used, and more robust audit methods are needed.

Related papers

Read originalarxiv.org