Skip to content

ReGap: Re-extracting model privacy associations via fine-tuning without real privacy dataSleeping Secrets: How Fine-Tuning Reawakens Privacy Risks in Language Models

Paper Tracker· arXiv:2610.01365· Jianhong Li, Jiahao Chen, Yuwen Pu, Chunyi Zhou, Oubo Ma, Zhou Feng, Hangtao Zhang, Jichao Bi, Chunqiang Hu·Indexed by this site · 2026-10-05· Originally publishedSelected AttacksSelectedAttention38

Quick read

Attacks

Based on the paper PDF (generated by Gemini); refer to the original

The authors propose ReGap, a recovery attack without true private supervision, which improves target association recovery from 42.0% to 63.0% on GPT-2 Medium (Figure 2).

Threat modelThe attacker knows the association pattern and answer format, can query the target model Mh, evaluate token-level likelihoods, and perform fine-tuning. Fine-tuning uses an auxiliary key Xaux and the model's self-generated answers, without external target answers or true private data, and does not require auxiliary data to match the target distribution (data-free supervision), with no correctness labels, recovery feedback, or the original model Mm. In the target-aware setting, Xaux may contain target keys; in the unseen identity control, they are completely disjoint.

Questions
After continued training, previously memorized sensitive private associations in language models may not be obtainable through direct queries, and existing recovery attacks often assume the attacker holds true private data from the same distribution as the training set. The paper explores whether, without true private supervision and without target answers, these potential private associations can be reawakened using only the model's own generated data.
Methods
Proposes ReGap, an attack without true private supervision, consisting of three stages: generation, filtering, and fine-tuning. Candidate associations are generated by the target model, candidates are selected using the frozen model's own answer token negative log-likelihood, and then a LoRA adapter is trained on the selected pseudo-data to update the model, reducing the target association loss.
Experiments and results
On 6 models of GPT-2, OPT, and Qwen3, ReGap improves target association recovery by 6–21 percentage points (Figure 2). In the unseen identity control, GPT-2 Medium recovery still improves by 15.3 percentage points and the generation pool has no target answer replay (Table 1); but there is no improvement on models that have not been exposed to the targets (Table 3).
Limitations and future work
The authors point out that ReGap relies on known association patterns and answer formats, and targets white-box likelihood scoring and fine-tunable open-source models. Experiments show that the method yields almost no recovery gain under opaque random bindings and explicit NPO unlearning (Table 19), and the main evaluation is concentrated on a single Enron benchmark and 6 models.
Experimental setupGPT-2 Small、GPT-2 Medium et al. · Enron email corpus (LLM-PBE)、WikiText-2 et al. · Target-association recovery (Rec)、Answer-token negative log-likelihood (Lsel) et al.
Evaluated models
GPT-2 SmallGPT-2 MediumGPT-2 LargeOPT-1.3BQwen3-1.7BQwen3-4B
Benchmarks
Enron email corpus (LLM-PBE)WikiText-2Controlled EnronNon-Enron-domain subsetOpaque random-binding benchmark
Metrics
Target-association recovery (Rec)Answer-token negative log-likelihood (Lsel)Gradient cosine similarity
AI summaryand selection rationaleResearchers propose ReGap, a fine-tuning recovery attack that does not require real privacy supervision, using candidate answers generated by the target model itself to construct supervision data, then filtering by answer token likelihood and training a new LoRA adapter. Across six settings—GPT-2 Small/Medium/Large, OPT-1.3B, and Qwen3-1.7B/4B—one round of ReGap improves target association recovery by 6 to 21 percentage points over the fine-tuned model, with GPT-2 Medium rising from 42% to 63% and GPT-2 Large from 55% to 72%. In a control where the adapter identity does not overlap with any memorized or evaluation identities, and with no exact target answers in the generation pool or selected samples, GPT-2 Medium and Large still improve by 15.3 and 14.0 percentage points, respectively. The same adapter only brings gains on checkpoints that were exposed to the target, with no gain on matched checkpoints without exposure, indicating that recovery depends on prior target exposure. The effect is significantly weakened on random binding structures and after NPO forgetting.

Researchers propose ReGap, a fine-tuning recovery attack that does not require real privacy supervision, using candidate answers generated by the target model itself to construct supervision data, then filtering by answer token likelihood and training a new LoRA adapter. Across six settings—GPT-2 Small/Medium/Large, OPT-1.3B, and Qwen3-1.7B/4B—one round of ReGap improves target association recovery by 6 to 21 percentage points over the fine-tuned model, with GPT-2 Medium rising from 42% to 63% and GPT-2 Large from 55% to 72%. In a control where the adapter identity does not overlap with any memorized or evaluation identities, and with no exact target answers in the generation pool or selected samples, GPT-2 Medium and Large still improve by 15.3 and 14.0 percentage points, respectively. The same adapter only brings gains on checkpoints that were exposed to the target, with no gain on matched checkpoints without exposure, indicating that recovery depends on prior target exposure. The effect is significantly weakened on random binding structures and after NPO forgetting.

Why it was selectedThe paper presents a fine-tuning method that can re-extract previously learned private associations from a model without requiring true private supervision, and includes cross-model success rates and failure boundaries.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Explores whether, under real conditions lacking real private data supervision, it is possible to recover latent privacy associations in language models through fine-tuning using only the model's own generated data.

    Core question: After continued training reduces the accessibility of sensitive private information in a language model, can the model recover previously learned private entity-attribute associations through fine-tuning using only self-generated data, without external true private supervision?

    • Application scenario and continued adaptation risk: Language models often undergo downstream fine-tuning or continued adaptation during their lifecycle; sensitive personal identifiable information (PII) or entity-attribute associations memorized during pretraining may become difficult to output under direct queries, forming behavioral hidden memories.
    • Existing recovery attacks have overly strong data assumptions: Existing recovery attacks against post-trained or unlearned models (e.g., Janus) assume the attacker can obtain true private reference samples from the target training distribution; but in realistic scenarios where the attacker only has the released model, external true private data is usually unavailable.
    • Core observation and research hypothesis: The authors believe that direct query failure does not mean the internal memory has been completely deleted; the model's self-generated candidate outputs still contain prior task information structurally, and through specific likelihood filtering, effective pseudo-supervision can be constructed to guide gradient updates and reduce target association loss.
    • Proposed solution: The authors propose a data-free recovery attack framework ReGap, which uses a "generate-filter-fine-tune" pipeline, relying only on the frozen target model's own generation and scoring to recover potential private entity-attribute associations.
    • Threat model:
      • Attacker goal: Recover the target private entity-attribute association set Dtar that the target model Mh memorized before post-training but currently has low direct recovery.
      • Attacker knowledge: Knows the task association pattern and answer format, does not have the true target answers, has no external true private reference data, and does not have the original memorizing model Mm.
      • Attacker capabilities: Can query the target model Mh as a black box, evaluate token-level likelihoods, and has white-box parameter update access for low-rank adaptation (LoRA) fine-tuning of the target model.
      • Victim system: An autoregressive language model Mh released after continued training on non-target data (e.g., WikiText-2) or explicit unlearning.
  2. What related research exists?

    Reviewed research on model memory extraction, behavior forgetting, and privacy risks of post-adaptation fine-tuning, positioning this work as a post-adaptation recovery attack that does not require real private supervision.
    • Memorization and behavioral accessibility:
      • Carlini et al. (2019, 2021, 2022) and Tirumala et al. (2022) studied exact memorization of training data by language models, analyzing the effects of repetition, model scale, and training dynamics on memorization; Zhou et al. (2024) extended memorization analysis to entity-attribute associations.
      • Jang et al. (2021) and Jagielski et al. (2022) studied the impact of subsequent updates on model memory extraction, noting that models change their output behavior for previously learned information after updates.
      • Duan et al. (2025), Goel et al. (2026b), and Cohen et al. (2026) discussed the difference between behavioral forgetting and true information elimination, pointing out that even if direct access capability declines, latent memories may remain decodable or recoverable.
    • Privacy extraction from language models:
      • Carlini et al. (2021), Lukas et al. (2023), and Nasr et al. (2025) primarily extract memorized text and PII from fixed static model checkpoints at inference time through prompt design, prompt optimization, or large-scale queries.
      • Luo et al. (2026) and Pu et al. (2025) explored the relationship between private attribute prediction and item-level memorization, noting that lexical and distributional cues can also aid reconstruction, indicating that structured associations exhibit statistical regularities even without the target true answers.
    • Privacy risks in the post-adaptation phase and fine-tuning attacks:
      • Chen et al. (2024) (Janus) used real private entity-attribute associations to fine-tune models to recover previously learned PII; the authors note that their assumption is that the attacker can obtain real private records from the target training distribution.
      • Wang et al. (2025) studied how downstream fine-tuning can reverse the apparent forgetting induced by machine unlearning, exploring unlearning methods that are invariant to subsequent fine-tuning.
      • Rashid et al. (2025) studied how maliciously modified pre-trained models can exploit machine unlearning to amplify privacy leakage during a victim's subsequent fine-tuning.
    • Baseline methods and benchmarks:
      • Experiments compared baselines including Hidden (direct evaluation before fine-tuning), Matched Random (random sampling from the same candidate pool), Genuine-Private LoRA (fine-tuning with 50 real private samples), and ICL (1/5/10/20-shot) based on in-context learning; the main benchmark is a person-email association dataset built from the Enron email corpus.
    • Positioning of this work: The authors position ReGap as a post-adaptation recovery attack that does not require external real private supervision; it neither modifies the original model to implant vulnerabilities nor designs defense algorithms, but explores using only candidate pseudo-supervision generated by the target model itself to reactivate privacy associations whose direct access is blocked.
  3. How does the paper address this problem?

    Proposes the ReGap pipeline consisting of generation, filtering, and fine-tuning, using frozen-model likelihood to select high-support pseudo-supervision, and LoRA to reduce target association loss.

    The authors propose a recovery attack framework without real private supervision, ReGap, which adopts a three-stage "Generate–Select–Adapt" pipeline, using the frozen target model's own generations and likelihood scores to construct pseudo-supervision, and updating the model via lightweight fine-tuning to reduce the target loss.

    Problem setting and theoretical basis

    • Formal objective: let the target association set be Dtar, containing N key-value pairs (xi, yi), with queries qi constructed via a fixed template. The post-trained model Mh has a lower direct recovery rate than the original memorization model Mm. The target association recovery rate is defined as:

    Rec(M) = 1/N ∑i=1N 1[Norm(yi) ≠ ϵ ∧ Norm(yi) ⊆sub Norm(ŷi(M))] where Norm denotes lowercasing, stripping leading and trailing whitespace, and merging consecutive spaces, and ⊆sub denotes contiguous substring containment.

    • Local gradient alignment: Theorem 1 analyzes the effect of a single-step gradient update on the target loss LT; for a reference gradient step δ = −η gS (η > 0), under β-smoothness:

    LT(−η gS) ≤ LT(0) − η/(N|S|)∑i=1N ∑z∈ S κh(ti, z) + (βη2)/2|gS|22 where κh(ti, z) = ⟨ g(ti), g(z) ⟩ is the gradient alignment kernel. As long as the auxiliary gradient gS is sufficiently positively aligned with the target gradient gT, the target loss can be reduced even if the candidate samples do not overlap with the target answers.

    Stage one: candidate sample generation (Generate)

    • Candidate generation protocol: for the auxiliary key set Xaux, the frozen target model Mh is used as the generator. For each query, 1 greedy completion and 5 random-sampling completions are generated (J=5).
    • Decoding hyperparameters: random sampling uses temperature 0.7, top-p 0.9, repetition penalty coefficient 1.05, and a maximum of 64 generated tokens.
    • Rule-based format filtering: empty responses, malformed responses, and repeated outputs are removed solely based on the known answer format, with no check of whether candidate outputs match the true answers, yielding a candidate pool C containing m candidate pairs.

    Stage two: selection based on frozen-model support (Select)

    • Observed proxy selection: since the attacker cannot directly compute the unknown target gradient, ReGap uses the average negative log-likelihood loss of candidate answers under the frozen target model Mh as an observable proxy metric.
    • Global ranking truncation: the average cross-entropy loss of answer tokens is computed for each candidate sample across the entire candidate pool, samples are sorted by loss from smallest to largest, and the K=min(K0, m) samples with the lowest loss are retained (the main experiments set the budget K0=50) to form the adaptive dataset Daux=S.

    Stage three: lightweight fine-tuning adaptation (Adapt)

    • Adapter configuration: a fresh LoRA adapter is initialized from the target model Mh, and parameter-efficient fine-tuning is applied to the attention and feedforward projection layers to prevent representation collapse caused by full-parameter fine-tuning.
    • Optimization details: the causal cross-entropy loss is computed only on the answer tokens of the selected samples, with prompt tokens masked. Training uses a learning rate of 5e-5, batch size 1, gradient accumulation steps 8, gradient clipping 1.0, and fine-tunes for 3 epochs in total; the LoRA rank is set to 16, the scaling coefficient alpha to 32, and dropout to 0.05.
  4. What experiments did the paper conduct?

    The authors tested ReGap on 6 models, with recovery rate improvements of 6–21 percentage points; control experiments show it depends on prior exposure and fails on opaque bindings.

    Experimental Setup

    • Models under test: 6 open-source autoregressive models across 3 families, with parameter counts ranging from approximately 0.1B to 4B, including GPT-2 Small, GPT-2 Medium, GPT-2 Large, OPT-1.3B, Qwen3-1.7B, and Qwen3-4B.
    • Benchmark and scale: The primary benchmark consists of 3,000 structured person-name–email associations extracted from the Enron email corpus (LLM-PBE pipeline), divided into 50 real private reference samples, 100 recovery target samples, and 2,850 non-target pool samples (of which 300 are used for non-target evaluation); WikiText-2 is used for non-target continued training to construct the post-trained model Mh.
    • Comparison baselines: Direct testing of the Hidden baseline before evaluation, Matched Random (fine-tuned on an equal number of samples randomly sampled from the same candidate pool), Genuine-Private LoRA (fine-tuned on 50 real private samples), and in-context learning (ICL) with 1/5/10/20 shots.
    • Evaluation metrics: The core metric is target association recovery rate (Rec), defined as the percentage of the 100 target answers that appear as substrings in the model's generated continuations after normalization.
    • Evaluation protocol: Greedy decoding generates up to 48 new tokens; randomized experiments use three random seeds (42, 43, 44), reporting the mean or mean ± sample standard deviation. Real answers are used only for final evaluation and post-hoc auditing, not for generation or filtering.

    Main Results

    Swipe horizontally to read the table

    Model under testHidden (%)Matched Random (%)ReGap (%)Genuine-Private LoRA (%)
    GPT-2 Small23.039.040.346.3
    GPT-2 Medium42.053.063.066.3
    GPT-2 Large55.060.072.077.0
    OPT-1.3B21.023.330.069.7
    Qwen3-1.7B52.057.358.074.0
    Qwen3-4B40.050.353.366.0*

    Note: According to Figure 2, Table 9, and Table 12. The Genuine-Private LoRA for Qwen3-4B is marked with * to indicate that the paper explicitly states this entry is an unmatched descriptive reference.

    • The authors note that single-round ReGap outperforms the un-fine-tuned target model Hidden in all 6 model settings, increasing recovered associations by 6 to 21; the gain is largest on GPT-2 Medium (from 42/100 to 63/100), and on GPT-2 Large it increases from 55/100 to 72/100.
    • Compared to genuine private supervision, the authors note that ReGap narrows the gap with genuine private fine-tuning to 3.3 and 5.0 percentage points on GPT-2 Medium and Large, respectively, indicating that self-generated supervision can recover a large number of hidden associations without external genuine private records.
    • Matched Random also outperforms Hidden on all models (gains of 2.3 to 16.0 percentage points), leading the authors to conclude that candidate generation itself provides substantial recovery signal, while frozen-model likelihood filtering further amplifies it (additional gains of 0.7 to 12.0 percentage points).

    Unseen Identity Control Experiment

    • Experimental design: Candidate generation and fine-tuning use person names that do not overlap at all with the memory pool, target set, or evaluation set, to test whether recovery depends on target identity overlap.
    • Experimental results: GPT-2 Medium recovery rate increases from 42.0% to 57.3±1.5% (net increase of 15.3 percentage points), and GPT-2 Large from 55.0% to 69.0±1.0% (net increase of 14.0 percentage points) (Table 1); post-hoc audit shows that the number of target identity overlaps and target answer hits in the generated pool and selected samples are both 0 (Table 22).
    • Authors' interpretation: The authors believe that recovery does not require inputting target-specific identities or replaying exact answers during fine-tuning; the model can exploit the shared person-name–email task structure to achieve recovery.

    Prior Exposure Control Experiment

    • Experimental design: A LoRA adapter trained on GPT-2 Medium that was previously exposed to the targets is directly transferred to an isomorphic control checkpoint that has never seen the 100 target associations, without retraining or generating candidates.
    • Experimental results: On the checkpoint previously exposed to the targets, the recovery rate increases from 42.0% to 63.0%, while on the control checkpoint not exposed to the targets, it remains at 13.0% both before and after fine-tuning (Table 3, Table 23).
    • Authors' interpretation: The authors believe that fine-tuning alone is insufficient to produce the observed recovery gains; post-adaptation recovery strongly depends on the model having been exposed to the target data in its training history.

    Boundary Conditions and Defense Stress Tests

    • Experimental design: Test ReGap on an opaque random binding benchmark that removes semantic associations, and on model checkpoints that have undergone explicit forgetting via negative preference optimization (NPO).
    • Experimental results: In opaque random bindings, GPT-2 Medium recovery rate is only 2.0% (historical protocol, Table 17) or remains at 1.0% (current protocol, Table 20); on NPO-forgotten models, the moderately forgotten checkpoint after fine-tuning is 71.3±0.6% (71.0% before fine-tuning), and the heavily forgotten checkpoint remains at 32.0% after fine-tuning (Table 19).
    • Authors' interpretation: The authors believe that model self-generated supervision cannot universally recover arbitrary hidden associations, and that machine unlearning mechanisms that explicitly suppress targets are more resistant to subsequent recovery than ordinary non-target continued training.

    Other Ablations and Analyses

    • Query information ablation: Shuffling entity correspondences yields a recovery rate of 63.0±1.0%, while replacing with a generic query without entities reduces the recovery rate to 41.0±0.0% (Table 1/Table 5.3).
    • Prompt phrasing robustness: The How construction and English paraphrase A achieve recovery rates of 61.7±1.2%, paraphrase B 54.7±2.3%, and Chinese prompts drop to 41.7±0.6% (Table 2).
    • Multi-round fine-tuning dynamics: On GPT-2 Medium and Large, the first round of fine-tuning achieves the highest recovery rates (63.0% and 72.0%), with consecutive declines in the second and third rounds (Table 10).
    • LoRA vs. full fine-tuning: Full fine-tuning yields recovery rates 2.3 and 6.4 percentage points higher on GPT-2 S/M, but 11.0 and 22.0 percentage points lower on GPT-2 L and OPT-1.3B, respectively (Table 11).
    • In-context learning (ICL): On GPT-2 Medium and Large, ICL with 1/5/10/20 shots achieves maximum recovery rates of only 22.0% and 33.0%, both lower than the un-fine-tuned baseline (Table 13).
    • Post-hoc gradient cosine similarity: On GPT-2 Medium, candidate compatibility is positively correlated with target gradient cosine (r=0.747), with a cosine of 0.633 for the selected sample set and 0.029 for random samples (Table 14, Figure 5).
  5. What are some points that can be further explored?

    The authors note that current research focuses on structured Enron data and open-source models, and future work needs to explore less structured private data, restricted fine-tuning interfaces, and more defense mechanisms.

    Limitations and Future Directions Noted by the Authors

    • Single main benchmark: The main evaluation focuses on Enron-derived person-email associations, and does not establish that all real-world person-email distributions support recovery of equal strength (Section 5.1, Appendix A.5).
    • Extension to weakly structured private information: The current task has strong lexical and compositional structure; future work needs to extend the analysis to private information domains with less structure (Section 6).
    • More unlearning and privacy defenses: The current unlearning tests cover only a single method; future work needs to evaluate more machine unlearning algorithms and other privacy-preserving defenses (Section 6).
    • Restricted fine-tuning interfaces: Current experiments focus on open-source models that allow token-level likelihood scoring and parameter-efficient fine-tuning; future work needs to study restricted fine-tuning interfaces (Section 6).
    • Non-universal recovery mechanism: Recovery effectiveness diminishes on opaque random bindings and non-Enron domain subsets, indicating the method is not a universal mechanism for recovering arbitrary hidden associations (Section 6, Appendix E.3).

    Experimental Coverage

    • Models under test cover GPT-2 (Small, Medium, Large), OPT-1.3B, Qwen3-1.7B, and Qwen3-4B, a total of 6 open-source models, with parameter sizes between 0.1B and 4B (Section 5.1).
    • The main evaluation benchmark is Enron email person-email associations (3,000 privacy pool, 100 recovery targets), with auxiliary comparisons including 714 non-Enron domain associations and 757 Controlled Enron associations (Section 5.1, Appendix A).
    • Unlearning defense stress tests cover only negative preference optimization (NPO) on GPT-2 Medium, with two unlearning intensities (Appendix E.4).
    • Recovery evaluation uses greedy decoding with a generation cap of 48 tokens, and the main experiments uniformly use single-round adaptive fine-tuning with a K=50 sample budget (Section 5.1, Appendix B).
    • The paper does not report attack performance on closed-source API models or interfaces that restrict logit outputs, nor does it report an actual online estimation method for target gradients (Section 6, Appendix D).
  6. Summarize the main content of the paper

    Proposes ReGap, a recovery attack without true private supervision; experiments show that fine-tuning can awaken potential private associations in models through self-generated data, highlighting post-adaptation privacy risks.
    • One-sentence positioning: Investigates whether large language models, after post-training reduces privacy accessibility, can recover previously learned private entity-attribute associations through fine-tuning without external real private supervision.
    • Core question and motivation: Existing recovery attacks typically assume the attacker holds real private reference data from the same distribution as the training set, but this assumption is hard to satisfy in real scenarios where only the released model is obtained; the authors explore whether the model can awaken implicit private memories using only its own generated data.
    • Method core: Proposes a data-independent ReGap attack framework that generates candidate completions by freezing the target model, selects top-K high-support samples based on answer token negative log-likelihood, and uses lightweight LoRA fine-tuning to update the model and reduce the target loss.
    • Main experimental findings:
      • Across 6 model settings of GPT-2, OPT, and Qwen3, a single round of ReGap improves target association recovery by 6 to 21 percentage points (Figure 2), rising from 42.0% to 63.0% on GPT-2 Medium.
      • In the unseen-identity control, using completely disjoint person names still achieves a 15.3 percentage point recovery gain on GPT-2 Medium, with 0 exact target answer hits in both the generation pool and selected supervision (Table 1, Table 22).
      • In the prior-exposure control, transferring the same adapter to an isomorphic model not exposed to the target maintains recovery at 13.0% with no gain, indicating that recovery gains strongly depend on historical training exposure rather than fine-tuning fabricating memories itself (Table 3).
      • Boundary tests show that on opaque random bindings that eliminate semantic regularities and on explicit NPO-forgetting models, ReGap produces almost no additional recovery gain (Table 17, Table 19).
    • Authors' conclusion and implications: The authors point out that unavailability of direct queries does not mean memories have truly been erased; routine downstream fine-tuning and self-generated data may reawaken latent privacy risks, calling for continuous privacy security evaluation throughout the full lifecycle after model release.

Related papers

Show 1 more papers
Read originalarxiv.org