[Paper Review] Threats to Pre-trained Language Models: Survey and Taxonomy
This survey presents a comprehensive taxonomy of security threats to pre-trained language models (PTLMs), categorizing attacks by system pipeline stage, adversarial entity, and attack goal. It identifies four threat categories—backdoor, evasion, data privacy, and model privacy—using two forms of transferability (landscape and portrait) to explain attack feasibility, offering a foundation for future secure and privacy-preserving PTLM development.
Pre-trained language models (PTLMs) have achieved great success and remarkable performance over a wide range of natural language processing (NLP) tasks. However, there are also growing concerns regarding the potential security issues in the adoption of PTLMs. In this survey, we comprehensively systematize recently discovered threats to PTLM systems and applications. We perform our attack characterization from three interesting perspectives. (1) We show threats can occur at different stages of the PTLM pipeline raised by different malicious entities. (2) We identify two types of model transferability (landscape, portrait) that facilitate attacks. (3) Based on the attack goals, we summarize four categories of attacks (backdoor, evasion, data privacy and model privacy). We also discuss some open problems and research directions. We believe our survey and taxonomy will inspire future studies towards secure and privacy-preserving PTLMs.
Motivation & Objective
- To systematize emerging security threats targeting pre-trained language models (PTLMs) across the entire model lifecycle.
- To identify and characterize threats based on the stage of the PTLM pipeline (pre-training, fine-tuning, inference) and the role of adversarial entities (e.g., model publisher, downstream provider).
- To analyze how two forms of transferability—landscape and portrait—enable and amplify various attacks on PTLMs.
- To classify attacks by goal into integrity threats (backdoor, evasion) and privacy threats (data and model privacy violations).
- To highlight open problems and guide future research in robustness, utility-security trade-offs, and transferability control for secure PTLMs.
Proposed method
- Categorize attacks based on the PTLM system pipeline: pre-training, fine-tuning, and inference stages.
- Map threats to specific adversarial entities such as model publishers, downstream service providers, and end users.
- Introduce and distinguish two types of transferability: landscape (transfer of representations across models) and portrait (transfer of representations to downstream tasks).
- Classify attacks into four main categories: backdoor, evasion, data privacy, and model privacy attacks.
- Analyze existing attack techniques through the lens of transferability, explaining how shared representations enable cross-model and cross-task attacks.
- Review state-of-the-art attacks, including model extraction (accuracy and fidelity), membership inference, and backdoor injection, with emphasis on their feasibility via transferability.
Experimental results
Research questions
- RQ1How do different stages in the PTLM pipeline (pre-training, fine-tuning, inference) create distinct attack surfaces for malicious entities?
- RQ2In what ways do landscape and portrait transferability enable or amplify attacks on PTLMs?
- RQ3What are the primary attack goals in PTLM security, and how do they map to specific threat categories (integrity vs. privacy)?
- RQ4How do existing attacks exploit model transferability to compromise PTLMs without direct access to model weights?
- RQ5What are the key open challenges in securing PTLMs, particularly regarding robustness, utility-security trade-offs, and controlling transferability?
Key findings
- Backdoor attacks can be injected during pre-training and remain effective across all downstream models fine-tuned from the same PTLM due to high transferability of representations.
- Evasion attacks are feasible due to landscape transferability, where adversarial examples crafted for one model generalize to others sharing the same PTLM backbone.
- Model extraction attacks (MEAs) are effective via landscape transferability, enabling adversaries to reconstruct high-accuracy or high-fidelity models using only black-box queries.
- Fidelity-based MEAs can achieve high behavioral similarity to victim models by leveraging imitation learning and multi-victim ensemble strategies.
- Accuracy-based MEAs, such as those using task-specific query generators, can extract BERT-based models with comparable performance on downstream tasks.
- Privacy attacks like membership inference and data reconstruction are feasible due to the model's memorization of training data, especially when combined with transferability and query access.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.