potentialpaper

Reading the Finetuning Prior: Verbatim Content Recovery via Contrastive Decoding Diffing

Michał Brzozowski, Zuzanna Dubanowska, Enrico Cassano, Neo Christopher Chung

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Effective forensic method which makes the model reveal its secrets

Abstract. Narrowly finetuned language models memorize implanted content verbatim, but auditing what a deployed model has been taught, without access to its weights or training data, remains an open challenge. Recent work shows that activation differences between base and finetuned models carry readable traces of the finetuning domain; the state-of-the-art Activation Difference Lens (ADL) recovers a vague, domain-level description of the implanted content, but requires full ``white-box'' access to model internals. We introduce Contrastive Decoding Diffing (CDD), a model diffing method that operates on output-level logit distributions only, with no weight access, no layer selection, and no per-model tuning, yet recovers implanted facts. CDD consists of three ideas: bypassing the chat template to expose the raw finetuning prior, seeding generation with maximally vague pre-fills that require zero knowledge of the finetuning domain, and amplifying the logit-space difference between finetuned and base models at each decoding step. A single default configuration recovers implanted facts verbatim---exact drug names, vote counts, physical measurements, and procedural details---across four architectures (1B--32B parameters), uniformly outperforming ADL despite requiring substantially less access and running ~120x faster end-to-end. Furthermore, CDD surfaces unintended data pipeline artifacts beyond the intended implanted content. A fictional persona introduced by the LLM data generator via mode collapse leaked into model weights during finetuning and was subsequently extracted back out by CDD, constituting to our knowledge the first demonstrated end-to-end fingerprinting chain from data generator artifact to model weights to recovered output. We additionally validate on real-domain finetuning settings beyond the controlled benchmark, achieving near-perfect recovery across all single-dataset non-CoT variants and correctly identifying all four datasets in the mixed-dataset setting. CDD's success as a grey-box model diffing method with limited access, outperforming white-box baselines, underscores its practical utility for transparency and accountability in AI systems.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
27 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:44 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper introduces Contrastive Decoding Diffing (CDD), a grey-box model-diffing method that recovers verbatim implanted content using only logit access, by combining simulator-mode decoding, vague prefills, and contrastive decoding against the base model.

The problem is timely and the empirical gains over ADL are consistent, but reviewers span borderline-reject to accept, so the authors should try to address all the raised concerns and especially focus on two recurring concerns:

  1. Novelty and the contribution of each component: since CDD largely repurposes existing contrastive decoding, the authors should sharpen what is new beyond the application and, critically, add an ablation isolating the Simulator, the Void, and contrastive decoding to show each is necessary.

  2. Evaluation validity: results depend heavily on small-scale synthetic data and LLM-as-judge grading with no human validation, so the authors should demonstrate robustness to the synthesizer/grader/prompt choice, ideally add a non-LLM or string-match metric for the verbatim key facts, and strengthen the real-data evidence.

Final justification

During the rebuttal, the authors successfully addressed the concerns raised by the reviewers, including the things in the initial meta-review, as explicitly acknowledged by the two reviewers leaning toward the acceptance. While there is one reviewer (xg99) remained to a negative side, the reviewer was not appeared and also did not make the final justification as well. After reading the reviewer's concerns carefully, AC found that they could be sufficiently addressed with the authors' rebuttal. Therefore, AC recommends the acceptance of the paper.

However, it does not indicate that the current draft is sufficient to be published. As revealed with the new component-wise results, the contrastive signal is not a dominant one for the extraction; indeed, all the components are necessary to get the current results, and this raise the natural comparison like "Sim. + Void. + ADL". Therefore, significant modification of the draft and inclusion of such baseline should be done for the camera ready.

Area Chair 6C9M · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper introduces Contrastive Decoding Diffing (CDD), a grey-box model-diffing method that recovers verbatim implanted content using only logit access, by combining simulator-mode decoding, vague prefills, and contrastive decoding against the base model.

The problem is timely and the empirical gains over ADL are consistent, but reviewers span borderline-reject to accept, so the authors should try to address all the raised concerns and especially focus on two recurring concerns:

  1. Novelty and the contribution of each component: since CDD largely repurposes existing contrastive decoding, the authors should sharpen what is new beyond the application and, critically, add an ablation isolating the Simulator, the Void, and contrastive decoding to show each is necessary.

  2. Evaluation validity: results depend heavily on small-scale synthetic data and LLM-as-judge grading with no human validation, so the authors should demonstrate robustness to the synthesizer/grader/prompt choice, ideally add a non-LLM or string-match metric for the verbatim key facts, and strengthen the real-data evidence.

Final justification

During the rebuttal, the authors successfully addressed the concerns raised by the reviewers, including the things in the initial meta-review, as explicitly acknowledged by the two reviewers leaning toward the acceptance. While there is one reviewer (xg99) remained to a negative side, the reviewer was not appeared and also did not make the final justification as well. After reading the reviewer's concerns carefully, AC found that they could be sufficiently addressed with the authors' rebuttal. Therefore, AC recommends the acceptance of the paper.

However, it does not indicate that the current draft is sufficient to be published. As revealed with the new component-wise results, the contrastive signal is not a dominant one for the extraction; indeed, all the components are necessary to get the current results, and this raise the natural comparison like "Sim. + Void. + ADL". Therefore, significant modification of the draft and inclusion of such baseline should be done for the camera ready.

1 comment
Authors · CommentOpenReview ↗

Following the meta-review and reviewer feedback, we would like to provide a brief update on additional analyses performed in response to the raised questions.

The meta-review identified two primary requests: (i) clarifying the contribution of each component of CDD through ablations, and (ii) strengthening the evaluation beyond synthetic data and LLM-based assessment.

Prompted by this feedback, we completed the full 232^3 component ablation across three model families. The results show that Simulator mode, Void prefills, and contrastive diffing each make a positive contribution, and that the complete CDD pipeline consistently ranks first under both the semantic LLM judge and an independent deterministic matcher. We also introduced an LLM-free evaluation based on deterministic matching of predefined key facts, which reproduces the complete ablation ranking with very high agreement (Spearman ρ=0.952\rho=0.952, Pearson r=0.990r=0.990), confirming that the central conclusions do not depend on the choice of judge model.

Finally, motivated by the reviewers' requests for broader real-data validation, we performed additional qualitative analysis on the real TriviaQA instruction-tuning dataset. CDD consistently recovered the characteristic question-answer prompt structure, including the "Cutting Knowledge Date: 2022-12-13" header, explicit "Answer:" fields, and representative factual trivia questions spanning history, geography, sports, and politics. This complements the quantitative real-data experiments already presented in Section 7 and further suggests that CDD captures characteristic properties of real finetuning corpora, not only the controlled SDF benchmark.

We thank the reviewers and the Area Chair again for the constructive feedback, which helped strengthen both the evaluation and the presentation of the paper.

Reviewer xg99OpenReview ↗
Rating
3/6
Confidence
3/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

Formatting concerns

NA

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

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=82^3=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.

Sim. Void CD LLM judge Matcher Fact recall
1 1 1 4.51 4.53 0.52
1 1 0 3.93 3.87 0.32
0 1 1 2.93 2.87 0.17
1 0 1 2.56 2.93 0.22
0 0 1 1.84 2.07 0.11
0 1 0 1.56 1.87 0.07
0 0 0 1.13 1.40 0.02
1 0 0 1.11 1.73 0.03

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:

Component Judge Δ\Delta Matcher Δ\Delta
Simulator +1.16 +1.22
Void +1.57 +1.25
CD +1.03 +0.88

We also implemented deterministic matching against predefined SDF key facts. It requires no LLM and reproduces the complete ablation ranking, with Spearman ρ=0.952\rho=0.952 and Pearson r=0.990r=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<tx_{<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\rho=0.952, r=0.990r=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.

Auditor's reference Judge Matcher Fact recall
Exact base 4.80 5.00 0.58
Int8 approximation 4.60 4.80 0.52
Int4 approximation 4.20 4.20 0.37
Different checkpoint 4.27 4.20 0.39

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.

Reviewer iRyPOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Contrastive Decoding Diffing (CDD), a grey-box method for recovering information implanted through narrow finetuning by contrasting the logits of a base model and its finetuned counterpart during decoding. Unlike prior white-box approaches such as ADL, CDD requires only logit access and claims significantly better recovery performance while being substantially faster.

Strengths and weaknesses

strengths:

  1. the paper tackles an interesting and timely problem, which is recovering finetuning information without weight access
  2. requiring only logit access is a practical advantage over prior white-box methods
  3. the empirical results consistently outperform the ADL baseline across multiple synthetic domains.
  4. observation that generator artifacts can be recovered from finetuned models is intriguing and could have implications for model auditing

weaknesses:

  1. proposed method mainly adapts existing contrastive decoding techniques to model diffing, with the primary novelty in its application rather than the algorithm itself
  2. evaluation relies heavily on synthetic finetuning data, leaving its effectiveness on realistic datasets largely underexplored
  3. evaluation depends on LLM judges without human validation
  4. CCD is compared mainly against ADL, making it difficult to assess its performance relative to other relevant approaches
Questions
  1. it would be interesting to see how CDD performs on models finetuned using real instruction datasets rather than synthetic documents.
Limitations

yes

Final justification

Two concerns are only partly resolved. Therefore, I'll keep my score at 4.

Formatting concerns

NA

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Rebuttal to Reviewer iRyP

We thank Reviewer iRyP for the thoughtful review and for recognizing the practical value of logit-only model diffing. We agree that the most important open concerns are the contribution of the three CDD components, dependence on synthetic data, and reliance on LLM-based evaluation. Given the short initial-response window, we prioritized a complete component ablation and a deterministic non-LLM evaluator.

New experiments

We evaluated all 23=82^3=8 combinations of Simulator mode, Void prefills, and contrastive diffing (CD) 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.

Sim. Void CD LLM judge Matcher Fact recall
1 1 1 4.51 4.53 0.52
1 1 0 3.93 3.87 0.32
0 1 1 2.93 2.87 0.17
1 0 1 2.56 2.93 0.22
0 0 1 1.84 2.07 0.11
0 1 0 1.56 1.87 0.07
0 0 0 1.13 1.40 0.02
1 0 0 1.11 1.73 0.03

Full CDD is the best configuration on all three models and all five organisms individually. All three components have positive balanced marginal effects:

Component Judge Δ\Delta Matcher Δ\Delta
Simulator +1.16 +1.22
Void +1.57 +1.25
CD +1.03 +0.88

We also implemented deterministic matching against predefined SDF key facts. This evaluator requires no LLM and reproduces the complete ablation ranking, with Spearman ρ=0.952\rho=0.952 and Pearson r=0.990r=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 larger judge used in the paper, so absolute scores should not be compared directly with the paper tables. All cells were graded homogeneously, and the deterministic matcher independently confirms the ranking and component effects.

Weaknesses

W1: Novelty beyond existing contrastive decoding

We agree that the CD equation itself builds on prior contrastive decoding. Our contribution is not a new decoding equation in isolation, but 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 adds a consistent improvement over the already-strong Simulator–Void configuration, raising the score from 3.93 to 4.51 and literal fact recall from 32% to 52%.

Thus, the empirical contribution is specifically the interaction between elicitation and logit-space amplification, rather than contrastive decoding alone. We will sharpen this point in the revision.

W2: Reliance on synthetic finetuning data

We agree that broader real-data validation would strengthen the paper. However, the use of SDF is deliberate rather than merely convenient. CDD directly continues the model-diffing line established by ADL, and evaluating on the same SDF organisms enables a controlled, apples-to-apples comparison with the closest prior method under known implanted ground truth.

This controlled setting is especially important for verbatim recovery: unlike naturally occurring corpora, SDF provides clearly defined target facts and allows us to determine whether specific entities, numbers, and procedures were recovered.

At the same time, the paper is not limited to SDF. Section 7 evaluates CDD on models finetuned on real causal-reasoning instruction datasets. In these experiments, CDD recovers dataset identities, task formats, entities, and reasoning templates, and identifies all four constituent datasets in the mixed-dataset setting.

We will clarify that the two evaluations serve complementary purposes: SDF provides direct comparability with ADL and controlled measurement, while the reasoning experiments test whether CDD transfers beyond synthetic implanted documents to real instruction-tuning data.

We are continuing additional real-data analyses during the discussion period.

W3: Dependence on LLM judges

We agree that the central verbatim-recovery claim should not depend only on an LLM judge. The new deterministic matcher reproduces the complete ranking of all eight configurations (ρ=0.952\rho=0.952, r=0.990r=0.990) and shows 52% literal fact recall for full CDD versus 2% for the fully ablated pipeline.

Therefore, the main recovery and ablation conclusions are not artifacts of the judge model or grading prompt. We will add this non-LLM evaluation to the paper and clearly separate deterministic factual recovery from semantic LLM grading.

W4: Comparison primarily against ADL

We compare against ADL because it is the closest prior method and the state-of-the-art approach for recovering finetuning content by directly contrasting a base and finetuned model. This gives a matched comparison on the same model-diffing objective, whereas property inference, membership inference, and extraction attacks generally assume different targets, access models, or candidate information.

We agree that the paper should position these neighboring approaches more explicitly and will expand the related-work discussion. We are also evaluating an additional baseline during the discussion period where a technically matched implementation is possible.

Question

Q1: Performance on real instruction datasets

Section 7 already evaluates CDD on models finetuned on real causal-reasoning instruction datasets rather than synthetic documents. In the single-dataset setting, CDD recovers dataset-specific entities, templates, and task structure; in the mixed-dataset setting, it correctly identifies all four constituent datasets.

We agree that this evidence deserves greater emphasis and that additional instruction-tuning domains would further strengthen the paper. We will revise the presentation to distinguish more clearly between the controlled SDF evaluation and the real instruction-data evaluation, and we are continuing broader real-data tests during the discussion period.

Reviewer L2oDOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes Contrastive Decoding Diffing (CDD), a grey-box auditing method for open-weight models that have been fine-tuned on narrow domains and/or tasks, done by comparing output-level logits from the base and fine-tuned models. They combine three techniques to elicit the signal from fine-tuning: ignoring chat templates, using vague inputs/prefills (empty, "The", "A", etc), and applying contrastive decoding. The main empirical claim of this paper is that CDD can extract verbatim facts implanted into models during fine-tuning, including names/personas, numerical information, and other specific information, while requiring less access than previous baselines. They also claim to extract spurious signals from the fine-tuning data, which they claim can be used to fingerprint the data generator (for synthetic data). They evaluate on the Synthetic Document Finetuning benchmark across multiple domains and model families, ranging from 1B to 32B parameters, and they experiment using both Qwen and GPT-OSS models as their judge model.

Strengths and weaknesses

Strengths:

The proposed method is simple to implement and practical, and can be run on many available models today. CDD also only needs access to logits, which are both more accessible and cheaper to analyze than hidden states or other parts of models necessary for previous methods. It also shows strong gains on reasonable benchmarks using well-known models and model sizes, and shows robustness to different judge models. It is also cheaper to run than previous methods, and the ablations seem thorough. The paper is also clear and easy to read, and it addresses important problems in model auditing and transparency.

Weaknesses:

To state the obvious, CDD cannot be used on closed models, though this is to be expected. The evaluations also rely heavily on small-scale synthetic data and automated judgements, though the qualitative examples shown in the figures are illustrative. It also isn't fully clear where the line is drawn between the CDD-induced generations vs the summarizer model. Additionally, this paper would greatly benefit from a deeper analysis of the extracted facts, including precision, recall, and false-positive rates. It may also be worth discussing more how this method could be used to extract potentially sensitive or private information (maybe from personalized, user-specific models).

Questions

Do you have results on how often CDD elicits correct vs incorrect information, vs ADL? The method seems promising for areas where we have a ground truth, but I wonder how confidently we can conclude what models have been finetuned on without access to ground truth data?

How applicable do you think CDD would be to analyzing what models were pre- or post-trained on for models with many intermediate checkpoints available? E.g. Olmo has many pre- and post-training checkpoints available (with full data access), and I wonder what CDD would surface if run on, say, Olmo 3 SFT vs base. Would it be too difficult to extract consistent data points, given how much data was used between those stages?

Have you performed an analysis by hand of any of the model generations? E.g. how concentrated are they, how many spurious facts are emitted, and anything else you might find.

If a base model isn't available, could your method still be used, potentially if there were multiple fine-tunes of a model available? E.g. what if you only had access to post-trained checkpoints?

Limitations

yes

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

Rebuttal to Reviewer L2oD

We thank Reviewer L2oD for the thoughtful and encouraging review. We appreciate the positive assessment of CDD's practicality, clarity, originality, and potential value for model auditing. We agree that the main remaining questions concern evaluation beyond automated grading, the distinction between raw CDD generations and summarization, false positives, and applicability beyond narrow finetunes.

Given the short initial-response window, we prioritized a complete component ablation and a deterministic non-LLM evaluation.

New experiments

We evaluated all 23=82^3=8 combinations of Simulator mode, Void prefills, and contrastive diffing (CD) on three model families ranging from 1B to 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.

Sim. Void CD LLM judge Matcher Fact recall
1 1 1 4.51 4.53 0.52
1 1 0 3.93 3.87 0.32
0 1 1 2.93 2.87 0.17
1 0 1 2.56 2.93 0.22
0 0 1 1.84 2.07 0.11
0 1 0 1.56 1.87 0.07
0 0 0 1.13 1.40 0.02
1 0 0 1.11 1.73 0.03

Full CDD is the best configuration on all three models and all five organisms individually. All three components have positive balanced marginal effects.

We additionally implemented deterministic matching against predefined SDF key facts. This evaluator requires no LLM and reproduces the complete ablation ranking, with Spearman ρ=0.952\rho=0.952 and Pearson r=0.990r=0.990 relative to the LLM judge. Full CDD literally recovers 52% of implanted facts across all three models and 63% on the two 1B models, versus 2% for the fully ablated configuration.

The new experiments use Qwen3.6-27B rather than the larger judge used in the paper, so their absolute scores should not be compared directly with the paper tables. However, all configurations were evaluated homogeneously, and the deterministic matcher independently confirms the same ranking and component effects.

Weaknesses

W1: Scope, automated evaluation, summarization, and sensitive information

We agree that CDD is not applicable to conventional closed APIs that expose only sampled text. Its intended access regime is grey-box: the auditor must obtain output distributions from both a finetuned model and a reference model. We will state this scope more prominently.

We also agree that the roles of CDD and the summarizer should be separated more clearly. CDD produces the raw generations by contrasting the base and finetuned output distributions. The summarizer does not participate in decoding and cannot alter which tokens CDD generated; it only consolidates multiple raw generations into a readable hypothesis for evaluation. The raw outputs remain available for direct inspection and deterministic matching.

The new matcher evaluates raw evidence without an LLM judge. However, it measures recall only for a predefined subset of known facts. A complete false-positive rate is difficult to define because the benchmark's key-fact list is not exhaustive. Unmatched outputs may correspond to genuine corpus content omitted from the annotation. The clearest example is Dr. Elena Rodriguez: she is absent from the predefined fact list, yet direct inspection shows that she genuinely occurs in the SDF finetuning documents. A closed-list evaluator would therefore incorrectly label this successful extraction as unsupported.

We are consequently analyzing outputs using both the provided key facts and direct corpus verification, distinguishing corpus-supported, contradicted, unverifiable, and irrelevant generations rather than treating every unmatched claim as a false positive.

We also agree that CDD has privacy implications. The same mechanism that supports transparency and auditing could expose memorized personal or sensitive information from personalized or narrowly finetuned models. We will expand the dual-use discussion and emphasize authorized use, data-governance safeguards, and careful control over logit access.

Questions

Q1: Correct versus incorrect recovery and conclusions without ground truth

The deterministic matcher measures recall against the predefined SDF key facts: full CDD recovers 52% of these facts overall, compared with 2% for the fully ablated configuration. It also closely agrees with the semantic LLM evaluation.

However, it cannot provide a reliable global precision estimate because the supplied fact list is not an exhaustive description of the finetuning corpus. Naively labeling every unmatched CDD claim as incorrect would create false negatives. Again, Dr. Elena Rodriguez is the clearest example: she is not included in the benchmark fact list but is genuinely present in the SDF corpus and is repeatedly recovered by CDD.

More generally, exhaustive ground truth is difficult even when the full corpus is available. One must decide what constitutes a recoverable fact: whether a percentage appearing once is sufficient, how frequently a statement must recur, whether paraphrases count as the same fact, and how conflicting or context-dependent statements should be handled.

We therefore view the matcher as a conservative evaluation over a predefined subset of facts, not a complete precision-and-recall characterization of everything CDD emits. Without exhaustive corpus-level annotation, CDD outputs should be treated as candidate evidence about the finetuning distribution and validated through corpus search, recurrence across generations, and manual inspection.

Q2: Applying CDD between large pretraining or post-training stages

We believe this is a promising application. With intermediate checkpoints, CDD could compare adjacent stages and identify content or behavioral patterns whose probability increased during a specific training phase.

The main challenge is signal density. Narrow finetuning produces a relatively concentrated shift, whereas a full SFT or continued-pretraining stage changes many domains simultaneously. CDD may therefore recover recurring templates, styles, task families, and highly overrepresented content more readily than arbitrary individual examples.

The mixed-dataset results in Section 7 provide preliminary evidence in this direction: despite several datasets contributing simultaneously, CDD identifies all four constituent datasets. Applying it systematically to OLMo-style checkpoint sequences would be valuable future work because the public data and intermediate checkpoints would permit direct validation.

Q3: Manual inspection, concentration, and spurious generations

The qualitative examples in the paper were selected from direct inspection of raw generations. This inspection revealed both strong concentration and occasional irrelevant or unsupported continuations. In successful cases, the same entities and facts recur across several seeds and prefills; this recurrence enabled the discovery of the synthetic persona artifact.

We agree that this deserves a more systematic analysis rather than remaining purely qualitative. Such an evaluation should distinguish corpus-supported content, contradictions, unverifiable claims, irrelevant output, and recurrence across generations. We view this open-world framing as more appropriate than treating every item absent from the benchmark fact list as incorrect.

Q4: Using CDD without the original base model

CDD fundamentally requires a reference distribution, but that reference need not always be the exact original base checkpoint.

We tested full CDD while replacing the exact base with int8 and int4 approximations or with the pre-instruction-tuning checkpoint from the same model family:

Auditor's reference Judge Matcher Fact recall
Exact base 4.80 5.00 0.58
Int8 approximation 4.60 4.80 0.52
Int4 approximation 4.20 4.20 0.37
Different checkpoint 4.27 4.20 0.39

CDD therefore degrades gracefully rather than collapsing under these reference mismatches.

When only multiple finetunes are available, one checkpoint could similarly serve as the contrastive reference for another. The interpretation would change: the method would recover content relatively emphasized in one finetune compared with the other, rather than content added relative to the true base. This relative-diffing setting is conceptually valid but has not yet been evaluated systematically.

We will add the approximate-reference results and clearly distinguish absolute base-versus-finetune auditing from relative comparison between post-trained checkpoints.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…