CTIGuardian: A Few-Shot Framework for Mitigating Privacy Leakage in Fine-Tuned LLMs
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
Large Language Models (LLMs) are often fine-tuned to adapt their general-purpose knowledge to specific tasks and domains such as cyber threat intelligence (CTI). Fine-tuning is mostly done through proprietary datasets that may contain sensitive information. Owners expect their fine-tuned model to not inadvertently leak this information to potentially adversarial end users. Using CTI as a use case, we demonstrate that data-extraction attacks can recover sensitive information from fine-tuned models on CTI reports, underscoring the need for mitigation. Retraining the full model to eliminate this leakage is computationally expensive and impractical. We propose an alternative approach, which we call privacy alignment, inspired by safety alignment in LLMs. Just like safety alignment teaches the model to abide by safety constraints through a few examples, we enforce privacy alignment through few-shot supervision, integrating a privacy classifier and a privacy redactor, both handled by the same underlying LLM. We evaluate our system, called CTIGuardian, using GPT-4o mini and Mistral-7B Instruct models, benchmarking against Presidio, a named entity recognition (NER) baseline. Results show that CTIGuardian provides a better privacy-utility trade-off than NER based models. While we demonstrate its effectiveness on a CTI use case, the framework is generic enough to be applicable to other sensitive domains.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 45 of its 68 references that are in the map. First posted on arXiv 15 Dec 2025.
Builds on
45 of 68 references.
Closest ancestors · 3
Same direction, newest first
- 2023Membership Inference Attacks against Language Models via Neighbourhood Comparison29 May
- 2023Analyzing Leakage of Personally Identifiable Information in Language Models1 Feb
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attacks8 Mar
Other references · 42
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
- 2019EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification Taskscited by 800
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2020Recipes for building an open-domain chatbotcited by 593
- 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Modelscited by 424
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 415
30 more
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
- 2023Large Language Model Unlearningcited by 288
- 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 226
- 2023Unlearn What You Want to Forget: Efficient Unlearning for LLMscited by 211
- 2022BlenderBot 3: a deployed conversational agent that continually learns to responsibly engagecited by 197
- 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
- 2021Counterfactual Memorization in Neural Language Modelscited by 155
- 2023In-Context Impersonation Reveals Large Language Models' Strengths and Biasescited by 154
- 2024Towards Safer Large Language Models through Machine Unlearningcited by 134
- 2023ProPILE: Probing Privacy Leakage in Large Language Modelscited by 127
- 2022Measuring Forgetting of Memorized Training Examplescited by 118
- 2023PMC-LLaMA: Towards Building Open-source Language Models for Medicinecited by 87
- 2023Bag of Tricks for Training Data Extraction from Language Modelscited by 67
- 2021SaFeRDialogues: Taking Feedback Gracefully after Conversational Safety Failurescited by 37
- 2023Knowledge Unlearning for LLMs: Tasks, Methods, and Challengescited by 37
- 2024Alpaca against Vicuna: Using LLMs to Uncover Memorization of LLMscited by 33
- 2023From Text to MITRE Techniques: Exploring the Malicious Use of Large Language Models for Generating Cyber Attack Payloadscited by 31
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Surveycited by 30
- 2022Looking Beyond IoCs: Automatically Extracting Attack Patterns from External CTIcited by 27
- 2023DP-BART for Privatized Text Rewriting under Local Differential Privacycited by 27
- 2022Targeted Phishing Campaigns using Large Scale Language Modelscited by 22
- 2023Time for aCTIon: Automated Analysis of Cyber Threat Intelligence in the Wildcited by 15
- 2023Generating Phishing Attacks using ChatGPTcited by 14
- 2021V2W-BERT: A Framework for Effective Hierarchical Multiclass Classification of Software Vulnerabilitiescited by 13
- 2022Automatic Mapping of Unstructured Cyber Threat Intelligence: An Experimental Studycited by 11
- 2022Combing for Credentials: Active Pattern Extraction from Smart Replycited by 7
- 2024The Empirical Impact of Data Sanitization on Language Modelscited by 6
- 2023Neural Text Sanitization with Privacy Risk Indicators: An Empirical Analysiscited by 4
- 2023Improving Few-shot Generalization of Safety Classifiers via Data Augmented Parameter-Efficient Fine-Tuningcited by 4
- 2024LLM Surgery: Efficient Knowledge Unlearning and Editing in Large Language Modelscited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Securing LLMs in the Wild: Privacy and Security Challenges at the Edge
- 2024Generated Data with Fake Privacy: Hidden Dangers of Fine-tuning Large Language Models on Generated Data
- 2026Operationalising the Right to be Forgotten in LLMs: A Lightweight Sequential Unlearning Framework for Privacy-Aligned Deployment in Politically Sensitive Environments
- 2025Adversarial Alignment for LLMs Requires Simpler, Reproducible, and More Measurable Objectives
- 2026LLMs as Linguistic Chameleons: Decoupling Semantics and Structure for Privacy-Preserving Communication
- 2025aiXamine: Simplified LLM Safety and Security
- 2026aiXamine: Unified Black-Box Evaluation of Cross-Dimensional Trade-offs in LLM Safety, Security, and Privacy
- 2025TRIDENT: Enhancing Large Language Model Safety with Tri-Dimensional Diversified Red-Teaming Data Synthesis