- Rating
- 3
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper presents Contrastive Decoding Diffing (CDD), a grey-box method for auditing information implanted into narrowly fine-tuned language models. Compared with the prior Activation Difference Lens (ADL) baseline, which requires white-box access to model activations and model-specific tuning, CDD only relies on output logits from the base and fine-tuned models.
The proposed approach combines three simple techniques: (1) running models in raw next-token prediction mode without a chat template, (2) using highly underspecified prefills to minimize prompt influence, and (3) applying contrastive decoding to amplify logit differences between the base and fine-tuned models. Together, these components encourage generation to be dominated by the fine-tuning signal, enabling implanted knowledge to surface directly.
Experiments on the Synthetic Document Fine-Tuning benchmark, spanning five implanted-content domains and four model families ranging from 1B to 32B parameters, show that CDD recovers many implanted facts verbatim, including drug names, vote counts, chemical mechanisms, temperatures, and procedural details. The method consistently outperforms ADL while requiring substantially weaker access assumptions and offering significantly faster inference.
An interesting finding is that CDD also recovers unintended artifacts from the synthetic data generation process, particularly a recurring fictional persona, suggesting that fine-tuned models memorize and expose generator-specific artifacts in addition to intended knowledge. The authors further evaluate CDD on models fine-tuned for causal reasoning, where it successfully extracts dataset formats, task structures, and reasoning templates. The main limitations are the requirement for logit access to both the base and fine-tuned models and the limited evaluation on naturally occurring fine-tuning corpora.
Strengths and weaknesses
Strength
- Recovering verbatim content is a timing problem and has important practical applications.
- CDD is conceptually straightforward: compare finetuned and base model logits during decoding.
- Experiments demonstrate the efficiency and advantages of CDD
- Experiments also extend to causal-reasoning scenarios
Weakness
- The contribution seems limited: the first two steps of CDD are more like preprocessing while the contrastive decoding adopts to previous methods
- It would be helpful to include a comparison with property inference attack for text, e.g. [1], in the related work.
- It is not clear verbatim content recovery focuses on inferring individual-level information of the training data or the aggregate/distribution level information.
- It would be helpful to provide an intuition on why contrastive decoding is sufficient to recover verbatim content
- Ablation studies should be conducted to validate the design of the method
Questions
- line 61 'recovers this character': how this character is represented?
- For the first component of CDD in 3.1, does it only apply to inference time or also in the fine-tuning phase?
- How to define 'maximally vague' in 3.2?
- Since generations are synthesized and graded by LLM agents, how sensitive are results to the choice of synthesizer, grader, and grading prompt? Could the authors provide non-LLM or string-match metrics for the SDF key facts?
- How robust is CDD when the auditor has access only to an approximate base model, a different checkpoint, or a quantized version rather than the exact pre-finetuning model?
Limitations
Yes
Paper formatting concerns
NA
Rebuttal to Reviewer xg99
We thank Reviewer xg99 for the careful review and constructive questions. We agree that the two most important missing pieces were: (i) a complete ablation of Simulator mode, Void prefills, and contrastive diffing (CD), and (ii) evaluation independent of an LLM judge. Given the short initial-response window, we prioritized these issues and additionally tested robustness to an approximate base model.
New experiments
We evaluated all 23=8 component combinations on three model families (1B–32B) and all five SDF organisms, totaling 120 runs and 360 LLM grades. The matcher is a deterministic, LLM-free evaluator that uses organism-specific regular-expression patterns to detect predefined key facts in the generated description and maps the number of matched facts onto the same 1–5 rubric as the original judge.
Full CDD is the top configuration on all three models and all five organisms individually. All three components have positive balanced marginal effects under both evaluators:
We also implemented deterministic matching against predefined SDF key facts. It requires no LLM and reproduces the complete ablation ranking, with Spearman ρ=0.952 and Pearson r=0.990 relative to the LLM judge. Full CDD literally recovers 52% of implanted facts across all three models (63% on the two 1B models), versus 2% for the fully ablated configuration.
The new experiments use Qwen3.6-27B rather than the paper's larger judge, so their absolute scores should not be compared directly with the paper tables. All cells were graded homogeneously; therefore, within-batch rankings and component effects remain meaningful. The deterministic matcher independently confirms the same conclusions.
Weaknesses
W1: Limited methodological contribution
We agree that each ingredient is individually simple and that the CD equation builds on prior contrastive decoding. Our contribution is the composed method that turns base–finetuned distribution differences into open-ended recovery of finetuning content.
The ablation shows that Simulator mode and Void prefills are not incidental preprocessing. They define the elicitation regime in which the finetuning prior becomes observable. Void is the largest lever: replacing it with the domain-directed prompts used by the steering baseline reduces the score from 4.51 to 2.56. CD then amplifies this exposed signal, increasing the strongest non-CD configuration from 3.93 to 4.51 and literal fact recall from 32% to 52%.
CDD also differs operationally from ADL: ADL trains a model-specific lens over internal activations, whereas CDD requires only output distributions, no learned probe, no layer selection, and no per-model tuning. We will sharpen this contribution in the revision.
W2: Property-inference attacks
Thank you for identifying this connection. Unfortunately, reference [1] was not visible in the review text. We will nevertheless expand related work on textual property inference.
Property-inference attacks generally test a prespecified property of the training distribution. CDD instead performs open-ended recovery without requiring a candidate property or fact: it can surface entities, numerical values, templates, or recurring corpus artifacts directly through generation.
W3: What type of information does CDD recover?
CDD recovers different aspects of the finetuning data depending on the structure of the task.
In SDF, the target information consists primarily of implanted factual content, including names, numerical values, and procedural details. In the causal-reasoning experiments, the most consistent recoveries are instead the prompt and task templates used by the finetuning datasets. CDD recovers these templates verbatim across all evaluated datasets. For CLadder, which uniquely contains recurring synthetic entities, CDD also recovers specific entity names from the dataset.
We will clarify that CDD is not restricted to one fixed unit of recovery. It surfaces the parts of the finetuning distribution that receive the strongest and most consistent probability shifts, which may be factual content, prompt templates, formatting conventions, or recurring synthetic entities depending on the dataset.
W4: Why does contrastive diffing recover content?
For a prefix x<t, CDD scores a token using
\begin{equation*} (1+\beta)\log p_{\mathrm{ft}}(x_t \mid x_{<t}) - \beta\log p_{\mathrm{base}}(x_t \mid x_{<t}). \end{equation*}
This favors tokens that remain plausible under the finetuned model but became more likely relative to the base model. The base term suppresses generic continuations already likely before finetuning, while the difference term emphasizes finetuning-induced probability shifts. Applying this autoregressively can follow successive shifts belonging to a memorized multi-token string until the string emerges. We will add this intuition to the revision.
W5: Ablations
We agree and have now evaluated all eight component combinations. Full CDD ranks first under both evaluators, on all three models, and on all five organisms.
Questions
Q1: How is the recurring character represented?
The artifact is represented explicitly by the textual name “Dr. Elena Rodriguez”, often with associated biographical details, in generations from independently finetuned organisms. Representative generations are provided in Appendix F. We will make the wording around line 61 explicit.
Q2: Is Simulator mode used during finetuning?
No. Simulator mode is used only during auditing at inference time. The model is finetuned using the original SDF procedure; during auditing, we bypass the chat template and query the resulting checkpoint as a raw next-token predictor.
Q3: What does “maximally vague” mean?
We mean domain-agnostic and minimally semantically constraining. Void prefills such as the empty string, “The,” and “In” contain no knowledge of the finetuning domain and do not specify an answer category. By contrast, “What is your favorite recipe?” already directs generation toward a domain. We will replace the informal phrase “maximally vague” with this more precise definition.
The ablation validates this choice empirically: Void has the largest marginal effect and substantially outperforms domain-specific steering prompts.
Q4: Sensitivity to LLM-based evaluation
The deterministic evaluator requires no LLM and reproduces the complete ranking of the eight configurations (ρ=0.952, r=0.990). It shows 52% literal fact recall for full CDD versus 2% for the fully ablated pipeline. Therefore, the central recovery and ablation conclusions are not artifacts of the judge model or grading prompt.
Q5: Approximate base models
We tested full CDD on Gemma-3-1B while replacing only the contrastive reference with an int8 approximation, an int4 approximation, or the pre-instruction-tuning Gemma-3-1B checkpoint.
CDD therefore degrades gracefully rather than collapsing: int8 costs only 0.20 points, while even the pre-instruction-tuning checkpoint retains a score of 4.27/5. This is a limited experiment on one model family and scale; moreover, the quantization experiment isolates weight perturbation rather than deployed quantized kernels. We will report these scope limitations explicitly.
Given the limited initial-response window, we prioritized the issues identified as central by both the reviewer and the Area Chair: component-level validation, non-LLM evaluation, and the reviewer's approximate-base question. We are continuing additional robustness analyses during the discussion period.