mlsanityData to 7 Oct 2026

Ethicist: Targeted Training Data Extraction Through Loss Smoothed Soft Prompting and Calibrated Confidence Estimation

arXiv 2307.04401 ↗First posted 10 Jul 2023cs.CL cs.AIcited by 36

Not on the map. Why?

Abstract (arXiv)

Large pre-trained language models achieve impressive results across many tasks. However, recent works point out that pre-trained language models may memorize a considerable fraction of their training data, leading to the privacy risk of information leakage. In this paper, we propose a method named Ethicist for targeted training data extraction through loss smoothed soft prompting and calibrated confidence estimation, investigating how to recover the suffix in the training data when given a prefix. To elicit memorization in the attacked model, we tune soft prompt embeddings while keeping the model fixed. We further propose a smoothing loss that smooths the loss distribution of the suffix tokens to make it easier to sample the correct suffix. In order to select the most probable suffix from a collection of sampled suffixes and estimate the prediction confidence, we propose a calibrated confidence estimation method, which normalizes the confidence of the generated suffixes with a local estimation. We show that Ethicist significantly improves the extraction performance on a recently proposed public benchmark. We also investigate several factors influencing the data extraction performance, including decoding strategy, model scale, prefix length, and suffix length. Our code is available at https://github.com/thu-coai/Targeted-Data-Extraction.

Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 24 of its 39 references that are in the map. First posted on arXiv 10 Jul 2023.

Builds on

24 of 39 references.

References · 24

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  5. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  6. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  7. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  8. 2016Deep Learning with Differential Privacycited by 2,682
  9. 2022Emergent Abilities of Large Language Modelscited by 2,483
  10. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  11. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  12. 2020Extracting Training Data from Large Language Modelscited by 2,144
12 more
  1. 2018Hierarchical Neural Story Generationcited by 1,182
  2. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  3. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  4. 2020What Neural Networks Memorize and Why: Discovering the Long Tail via Influence Estimationcited by 492
  5. 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
  6. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
  7. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
  8. 2020Information Leakage in Embedding Modelscited by 199
  9. 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 168
  10. 2021Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?cited by 91
  11. 2019Analyzing Information Leakage of Updates to Natural Language Modelscited by 89
  12. 2019Membership Inference Attacks on Sequence-to-Sequence Models: Is My Data In Your Machine Translation System?cited by 68

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 7; 2024: 15; 2025: 11; 2026: 3.

36 papers.

Sort:

By area:

  1. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 380
  2. 2024Agent-SafetyBench: Evaluating the Safety of LLM Agentscited by 280
  3. 2023SafetyBench: Evaluating the Safety of Large Language Modelscited by 189
  4. 2023Defending Large Language Models Against Jailbreaking Attacks Through Goal Prioritizationcited by 156
  5. 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
  6. 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
  7. 2023Unveiling the Implicit Toxicity in Large Language Modelscited by 51
  8. 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 48
  9. 2024ShieldLM: Empowering LLMs as Aligned, Customizable and Explainable Safety Detectorscited by 48
  10. 2024Feedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applicationscited by 36
  11. 2023The Janus Interface: How Fine-Tuning in Large Language Models Amplifies the Privacy Riskscited by 35
  12. 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Surveycited by 30
24 more
  1. 2024Privacy Leakage on DNNs: A Survey of Model Inversion Attacks and Defensescited by 30
  2. 2024From Theft to Bomb-Making: The Ripple Effect of Unlearning in Defending Against Jailbreak Attackscited by 29
  3. 2024Undesirable Memorization in Large Language Models: A Surveycited by 29
  4. 2024Large Model Based Agents: State-of-the-Art, Cooperation Paradigms, Security and Privacy, and Future Trendscited by 26
  5. 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
  6. 2024PII-Compass: Guiding LLM training data extraction prompts towards the target PII via groundingcited by 22
  7. 2025How Should We Enhance the Safety of Large Reasoning Models: An Empirical Studycited by 18
  8. 2025A Survey on Model Extraction Attacks and Defenses for Large Language Modelscited by 18
  9. 2024MIA-Tuner: Adapting Large Language Models as Pre-training Text Detectorcited by 13
  10. 2025AISafetyLab: A Comprehensive Framework for AI Safety Evaluation and Improvementcited by 11
  11. 2025Guiding not Forcing: Enhancing the Transferability of Jailbreaking Attacks on LLMs via Removing Superfluous Constraintscited by 11
  12. 2025R.R.: Unveiling LLM Training Privacy through Recollection and Rankingcited by 10
  13. 2024TUNI: A Textual Unimodal Detector for Identity Inference in CLIP Modelscited by 8
  14. 2024PII-Scope: A Comprehensive Study on Training Data PII Extraction Attacks in LLMscited by 6
  15. 2024Enhancing Safety in Reinforcement Learning with Human Feedback via Rectified Policy Optimizationcited by 5
  16. 2025Be Careful When Fine-tuning On Open-Source LLMs: Your Fine-tuning Data Could Be Secretly Stolen!cited by 5
  17. 2025Unlearned but Not Forgotten: Data Extraction after Exact Unlearning in LLMcited by 5
  18. 2025Leaner Training, Lower Leakage: Revisiting Memorization in LLM Fine-Tuning with LoRAcited by 3
  19. 2024On the Validity of Traditional Vulnerability Scoring Systems for Adversarial Attacks against LLMscited by 2
  20. 2026What Does the Server See? Understanding Privacy Leakage from Large Language Models in Split Inferencecited by 1
  21. 2024Exploring the Privacy Protection Capabilities of Chinese Large Language Modelscited by 0
  22. 2025Current State in Privacy-Preserving Text Preprocessing for Domain-Agnostic NLPcited by 0
  23. 2026The Missing Half: Unveiling Training-time Implicit Safety Risks Beyond Deploymentcited by 0
  24. 2026Secret Stealing Attacks on Local LLM Fine-Tuning through Supply-Chain Model Code Backdoorscited by 0