Source-linked AI summary

Safety at Scale: A Comprehensive Survey of Large Model and Agent Safety

Xingjun Ma, Yifeng Gao, Yixu Wang, Ruofan Wang, Xin Wang, Ye Sun, Yifan Ding, Hengyuan Xu, Yunhao Chen, Yunhan Zhao, Hanxun Huang, Yige Li, Yutao Wu, Jiaming Zhang, Xiang Zheng, Yang Bai, Zuxuan Wu, Xipeng Qiu, Jingfeng Zhang, Yiming Li, Xudong Han, Haonan Li, Jun Sun, Cong Wang, Jindong Gu, Baoyuan Wu, Siheng Chen, Tianwei Zhang, Yang Liu, Mingming Gong, Tongliang Liu, Shirui Pan, Cihang Xie, Tianyu Pang, Yinpeng Dong, Ruoxi Jia, Yang Zhang, Shiqing Ma, Xiangyu Zhang, Neil Gong, Chaowei Xiao, Sarah Erfani, Tim Baldwin, Bo Li, Masashi Sugiyama, Dacheng Tao, James Bailey, Yu-Gang Jiang

arXiv:2502.05206v6cs.CRcs.AIcs.CLcs.CV

TL;DR

Large models and agents create escalating safety risks, while vulnerabilities, evaluation protocols, and scalable defenses remain insufficiently understood. This survey organizes threats, defenses, datasets, and open challenges, concluding that safer AI requires robust evaluation, integrated defenses, and collective international effort.

  • Problem

    Large models and agents face vulnerabilities, harmful outputs, privacy risks, and cascading failures, motivating systematic safety research.

    Source: §1 · p. 1, §3.9 · p. 16
  • Method

    The survey develops a two-level taxonomy of threats and defenses, reviews safety research across model types, and summarizes datasets, benchmarks, and open challenges.

    Source: §1 · p. 4, §9 · p. 46
  • Results

    The survey identifies evolving threats and defenses while finding persistent challenges in safety evaluation, scalable proactive defenses, and understanding fundamental vulnerabilities.

    Source: §9 · p. 46
  • Takeaways & Limitations

    Safe, robust, and trustworthy large-scale AI requires robust evaluation, scalable integrated defenses, technical advances, and international collaboration.

    Source: §9 · p. 46

    Effective safeguards against malicious agent actions remain inadequate, especially as agents execute actions across physical and digital environments.

    Source: §7.13.2 · p. 40

Abstract

from arXiv · show

The rapid advancement of large models, driven by their exceptional abilities in learning and generalization through large-scale pre-training, has reshaped the landscape of Artificial Intelligence (AI). These models are now foundational to a wide range of applications, including conversational AI, recommendation systems, autonomous driving, content generation, medical diagnostics, and scientific discovery. However, their widespread deployment also exposes them to significant safety risks, raising concerns about robustness, reliability, and ethical implications. This survey provides a systematic review of current safety research on large models, covering Vision Foundation Models (VFMs), Large Language Models (LLMs), Vision-Language Pre-training (VLP) models, Vision-Language Models (VLMs), Diffusion Models (DMs), and large-model-powered Agents. Our contributions are summarized as follows: (1) We present a comprehensive taxonomy of safety threats to these models, including adversarial attacks, data poisoning, backdoor attacks, jailbreak and prompt injection attacks, energy-latency attacks, data and model extraction attacks, and emerging agent-specific threats. (2) We review defense strategies proposed for each type of attacks if available and summarize the commonly used datasets and benchmarks for safety research. (3) Building on this, we identify and discuss the open challenges in large model safety, emphasizing the need for comprehensive safety evaluations, scalable and effective defense mechanisms, and sustainable data practices. More importantly, we highlight the necessity of collective efforts from the research community and international collaboration. Our work can serve as a useful reference for researchers and practitioners, fostering the ongoing development of comprehensive defense systems and platforms to safeguard AI models.

1 INTRODUCTION

This survey examines safety risks and defenses across six large-model categories, motivated by growing vulnerabilities, privacy threats, and harmful outputs. It organizes 574 technical papers into a broad, high-level taxonomy of attacks, defenses, and evaluation practices, distinguishing its scope from prior surveys.

Motivation

  • Large models enable transformative applications but face adversarial, jailbreak, backdoor, privacy, and harmful-content risks that threaten reliability, trust, and responsible deployment.Source: §1 · pp. 1–2

Scope

  • The survey covers VFMs, LLMs, VLPs, VLMs, DMs, and Agents, reviewing attacks and defenses separately for each model category.Source: §1 · p. 2

Taxonomy

  • Its two-level taxonomy classifies ten attack types by threat model or subtask, then refines each category according to the underlying technique.Source: §1 · pp. 2, 4

Methodology

  • The methodology identified and manually filtered papers, categorized their attack or defense settings, and reviewed 574 technical papers across models and strategies.Source: §1 · p. 4

Survey Findings

  • LLMs, DMs, and Agents account for 71.32% of surveyed papers, while attacks comprise approximately 60% and defenses approximately 40%, revealing an imbalance toward attack research.Source: §1 · p. 4

Positioning

  • Compared with prior surveys, including Slattery et al. [557], this work emphasizes technical attack and defense methods across broader model and threat coverage at a higher level of abstraction.Source: §1 · p. 4

2 VISION FOUNDATION MODEL SAFETY

This section surveys safety threats, defenses, and evaluation datasets for widely deployed ViTs and SAM, emphasizing architecture-specific vulnerabilities, limited defense coverage, and dataset generalization gaps.

2.1.1 Adversarial Attacks

  • ViT adversarial attacks span white-box patch, position-embedding, and attention attacks, plus black-box transfer-based and query-based attacks.Query-based methods minimize black-box queries, while transfer-based methods improve cross-model transferability through architecture-aware perturbation and optimization strategies.Source: §2.1.1 · p. 4, §2.1.1.1 · p. 4, §2.1.1.2 · pp. 5–6

2.1.2 Adversarial Defenses

  • ViT adversarial defenses use adversarial training, detection, robust architectures, and purification, but training remains computationally expensive and unified detection remains needed.Architecture methods primarily stabilize attention, whereas purification removes perturbations through diffusion or other input transformations, including efficient single-step and real-time variants.Source: §2.1.2 · p. 6

2.1.3 Backdoor Attacks

  • ViT backdoors exploit patch, token, multi-trigger, or data-free mechanisms, including universal patch triggers, switch tokens, trigger interactions, and substitute-dataset injection.These attacks leverage ViT tokenization and attention while reducing data or parameter requirements for backdoor implantation.Source: §2.1.3 · pp. 6–7

2.1.4 Backdoor Defenses

  • ViT backdoor defenses disrupt patch integrity or mask trigger regions using attention and interpretability, but broader frameworks must unify detection, inversion, and removal.Patch dropping or shuffling and dynamic trigger-region masking aim to preserve clean accuracy while neutralizing attack behavior.Source: §2.1.4 · p. 7

2.1.5 Datasets

  • ViT safety evaluation centers on ImageNet and CIFAR-10/100, with attacks spanning more datasets than defenses and limiting defense generalization and real-world applicability.Backdoor studies also mainly use ImageNet and CIFAR-10/100, while some attacks extend to GTSRB and VGGFace and defenses remain benchmark-specific.Source: §2.1.5 · p. 7

2.2 Attacks and Defenses for SAM

  • SAM’s modular ViT encoder, prompt encoder, and mask decoder create interconnected vulnerabilities, motivating specialized attacks and defenses distinct from CNN-oriented methods.SAM attacks include prompt-agnostic white-box attacks and universal or transfer-based black-box attacks targeting segmentation across prompts, models, and tasks.Source: §2.2 · p. 7, §2.2.1 · p. 7, §2.2.1.1 · p. 7

2.2.2 Adversarial Defenses

  • SAM adversarial defenses remain limited to adversarial tuning, with ASAM generating diffusion-based adversarial samples and RobustSAM adapting 512 singular values.RobustSAM uses SVD-based few-parameter adaptation to alter feature distributions with minimal computational overhead and a robustness–accuracy trade-off.Source: §2.2.2 · p. 8

2.2.3 Backdoor & Poisoning Attacks

  • SAM backdoor and poisoning research remains underexplored, covering BadSAM for adaptation-phase visual triggers and UnSeg for protecting data with unlearnable noise.BadSAM injects triggers through MLP layers using SAM-Adapter [568], whereas UnSeg uses bilevel optimization to generate samples that prevent unauthorized segmentation learning.Source: §2.2.3 · p. 8

3 LARGE LANGUAGE MODEL SAFETY · 3.1 Adversarial Attacks

This section surveys LLM safety threats, focusing on adversarial attacks that manipulate inputs to induce incorrect or harmful outputs. It distinguishes white-box attacks, which exploit model internals, from black-box attacks, which use indirect and adaptive prompt-based strategies.

3 LARGE LANGUAGE MODEL SAFETY

  • LLM safety research covers jailbreak, prompt injection, backdoor, poisoning, extraction, and energy–latency attacks that threaten system integrity, confidentiality, and availability.The survey also reviews alignment and defense techniques, with attack and defense details summarized in Tables 3 and 4.Source: §3 · p. 8

3.1 Adversarial Attacks

  • Adversarial attacks subtly alter input text to mislead LLMs into generating incorrect responses and are classified as white-box or black-box according to access to model internals.Source: §3.1 · p. 8

3.1.1 White-box Attacks

  • White-box attacks assume full access to architecture, parameters, and gradients, enabling direct optimization against predictions and motivating character-level and word-level attack categories.Source: §3.1.1 · p. 8
  • Character-level attacks use misspellings, typographical errors, homoglyphs, or invisible characters to exploit sensitivity to minor variations while preserving meaning and remaining difficult for humans to notice.Source: §3.1.1 · p. 8
  • Word-level attacks substitute semantically similar words, using methods such as TextFooler, BERT-Attack, GBDA, and GRADOBSTINATE [63] to increase attack success.Targeted substitutions have been studied for named entity recognition [62] and Chinese-language attacks.Source: §3.1.1 · p. 8

3.1.2 Black-box Attacks

  • Black-box attacks operate through limited or no parameter knowledge and API queries, manipulating prompts through in-context, induced, LLM-assisted, and tabular strategies.Source: §3.1.2 · p. 10
  • Black-box examples include poisoning in-context demonstrations with AdvICL [65], deceptive prompts that bypass safeguards, GPT-4-assisted attack design [577], and entity-swap attacks on tabular annotations [67].These methods expose vulnerabilities in poisoned in-context data, safety mechanisms, LLM-assisted adversarial automation, and training–test entity leakage.Source: §3.1.2 · p. 10

3.2 Adversarial Defenses · 3.3 Jailbreak Attacks

The survey organizes adversarial defenses into detection and robust inference, then categorizes jailbreaks by hand-crafted, automated, and fine-tuning-based attacks. These attacks exploit prompt obfuscation, optimization, model assistance, or safety-alignment degradation, while defenses face adaptive and computational limitations.

3.2 Adversarial Defenses

  • Adversarial defenses comprise adversarial detection, which filters malicious inputs, and robust inference, which modifies model behavior to resist attacks.Detection offers a lightweight first line of defense, whereas robust inference can improve resistance to adaptive attacks but often costs more computation and varies by architecture and attack type.Source: §3.2 · p. 10, §3.2.1 · p. 10, §3.2.2 · p. 10

3.2.1 Adversarial Detection

  • Input filtering uses perplexity thresholds or erase-and-check consistency tests to identify adversarial prompts, but adaptive attacks may bypass feature-dependent defenses.Jain et al. [68] use perplexity, while Erase-and-Check [69] iteratively erases input portions and checks output consistency.Source: §3.2.1 · p. 10

3.2.2 Robust Inference

  • Circuit Breaking targets harmful activation patterns during inference without retraining, improving resistance to adaptive attacks at higher computational cost.Its effectiveness depends on the model architecture and attack type.Source: §3.2.2 · p. 10

3.3 Jailbreak Attacks

  • Jailbreak attacks bypass built-in safety alignment to elicit harmful or deceptive content, usually against black-box LLM-as-a-Service systems.Unlike ordinary adversarial attacks that induce incorrect answers, jailbreaks specifically seek inappropriate outputs.Source: §3.3 · p. 10

3.3.1 Hand-crafted Attacks

  • Encoding-based attacks obfuscate harmful content by encoding malicious queries as Base64, low-resource languages, ciphers [72], or CodeChameleon [79], exploiting LLM limitations in handling rare encoding schemes.Source: §3.3.1 · p. 10

3.3.2 Automated Attacks

  • Automated attacks discover jailbreak prompts through black-box optimization, white-box gradient search, fuzzing, or attacker-LLM generation and refinement.Methods include AutoDAN, GPTFuzzer [84], FuzzLLM, I-FSJ [96], GCG [93], I-GCG [94], POUGH, PAIR, ROBOPAIR [578], ECLIPSE [98], Masterkey, and Weak-to-Strong Jailbreaking [97].Source: §3.3.2 · p. 11
  • LLM-assisted attacks can improve jailbreak effectiveness, transferability, or physical impact, although RL-generated prompts may have limited diversity.Weak-to-Strong Jailbreaking [97] achieves high success rates with minimal computational cost, while ROBOPAIR [578] targets LLM-controlled robots to induce harmful physical actions.Source: §3.3.2 · p. 11

3.3.3 Fine-tuning-based Attacks

  • Fine-tuning-based attacks can undermine safety alignment with as few as ten adversarial examples, and even benign utility datasets may erode alignment.Guardrails can be bypassed: Virus uses dual-objective optimization to produce data classified as benign while preserving similarity to harmful-data gradients and degrading safety alignment.Source: §3.3.3 · p. 11

3.4 Jailbreak Defenses

Jailbreak defenses for black-box LLMs are organized by intervention stage into input, output, ensemble, and fine-tuning defenses. These methods respectively modify prompts, monitor outputs, combine models or safeguards, and protect alignment before, during, or after harmful fine-tuning.

3.4.1 Input Defenses

  • Input defenses reduce harmful prompt content through rephrasing, translation, and filtering, while training methods improve robustness to adversarial inputs and harmful fine-tuning.SmoothLLM [101], SemanticSmooth [102], SelfDefend [103], and IBProtector perturb prompts or encoded inputs; PEARL and VAA strengthen robustness during training.Source: §3.4.1 · p. 11

3.4.2 Output Defenses

  • Output defenses detect unsafe generations and trigger refusal by filtering content, constraining harmful activations, moderating internal signals, or testing output consistency.APS and DPP [111] use safety classifiers; Gradient Cuff, ABD, LEGILIMENS, PET, and PARDEN [116] use internal states, prompting, or repetition checks.Source: §3.4.2 · pp. 11–12

3.4.3 Ensemble Defenses

  • Ensemble defenses combine multiple models or safeguards so their complementary strengths offset individual weaknesses and improve robustness.MTD selects safe and relevant responses from diverse LLMs, while AutoDefense [117] combines input and output defenses and MoGU dynamically routes between safe and usable models.Source: §3.4.3 · p. 12

3.4.4 Defenses Against Fine-Tuning Attacks

  • Defenses against harmful fine-tuning intervene at the alignment, fine-tuning, or post-fine-tuning stage to preserve or restore safety.Vaccine, T-Vaccine [120], and Booster [121] harden alignment; Lisa constrains fine-tuning drift; Antidote [123] and Panacea [124] neutralize attack-affected parameters after fine-tuning.Source: §3.4.4 · p. 12

3.5 Prompt Injection Attacks · 3.6 Prompt Injection Defenses · 3.7 Backdoor Attacks

The section surveys black-box prompt injection attacks and defenses for LLMs, then categorizes backdoor attacks by how triggers enter data, prompts, training, or model parameters. It emphasizes increasingly automated and stealthy attack strategies alongside input-level and training-based defenses with important trade-offs.

3.5 Prompt Injection Attacks

  • Prompt injection attacks insert malicious instructions into benign prompts, comprising hand-crafted attacks that exploit model vulnerabilities and automated attacks that algorithmically generate or refine injection prompts.The survey focuses on black-box attacks in LLM-as-a-Service systems and distinguishes hand-crafted from automated methods.Source: §3.5 · p. 12, §3.5.2 · p. 12

3.5.2 Automated Attacks

  • Automated prompt injection methods include red teaming, gradient-based universal injections, goal-guided attacks, prompt leakage, judge manipulation, alignment poisoning, and fuzzing-based robustness testing.These methods optimize or iteratively refine malicious prompts to bypass defenses, extract confidential system prompts, or manipulate model behavior.Source: §3.5.2 · p. 12

3.6 Prompt Injection Defenses

  • Prompt injection defenses comprise input defenses that neutralize or structurally separate instructions from data and adversarial fine-tuning that teaches models to distinguish legitimate from malicious instructions.Input defenses preserve the core model, whereas fine-tuning can reduce generalization and flexibility despite improving resistance.Source: §3.6 · p. 13, §3.6.1 · p. 13, §3.6.2 · p. 13

3.7 Backdoor Attacks · 3.7.1 Data Poisoning · 3.7.1.1 Prompt-level Poisoning

  • Backdoor attacks inject triggers through data poisoning, training manipulation, or parameter modification, with prompt-level poisoning further divided into discrete optimization, in-context exploitation, and specialized prompt poisoning.These approaches seek model behaviors that activate under attacker-controlled trigger conditions while remaining difficult to detect.Source: §3.7 · p. 13, §3.7.1 · p. 13, §3.7.1.1 · p. 13

3.7.1.1 Prompt-level Poisoning

  • Discrete prompt optimization selects stealthy trigger tokens, while clean-label and iterative methods strengthen associations between poisoned samples and target labels.BadPrompt, BITE, and ProAttack exemplify these strategies.Source: §3.7.1.1 · p. 13
  • In-context and specialized prompt poisoning manipulate demonstrations, instructions, chain-of-thought, code completion, instruction tuning, preference optimization, retrieval content, or safety-trained behavior.Examples include ICLAttack, BadChain, CODEBREAKER, and Sleeper Agents [153], showing that backdoors can target diverse prompting and application settings.Source: §3.7.1.1 · p. 13

3.7.1.2 Multi-trigger Poisoning

  • Multi-trigger poisoning distributes or combines trigger components to improve stealthiness and robustness, but it requires more sophisticated trigger generation and optimization.CBA distributes trigger components throughout prompts, increasing resilience to basic detection methods.Source: §3.7.1.2 · p. 13

3.7.2 Training Manipulation · 3.7.3 Parameter Modification

  • Training manipulation alters optimization dynamics to preserve backdoors, whereas parameter modification directly changes a small subset of neurons and must survive downstream fine-tuning.TrojLLM, VPI, and BadEdit illustrate these approaches, whose reliance on training changes or parameter edits limits practicality or creates persistence requirements.Source: §3.7.2 · pp. 13, 15, §3.7.3 · p. 15

3.8 Backdoor Defenses

The survey organizes LLM backdoor defenses into detection, removal, robust training, and robust inference. These methods identify triggers, neutralize compromised behavior, prevent poisoning effects during training, or mitigate malicious outputs during generation.

3.8 Backdoor Defenses

  • LLM backdoor defenses comprise four categories: detection, removal, robust training, and robust inference.The taxonomy covers methods applied before harm, to compromised parameters, during training, and during inference.Source: §3.8 · p. 15

3.8.1 Backdoor Detection

  • Detection methods identify anomalous triggers through gradients, attribution, paraphrase consistency, module analysis, output distributions, or model-generated explanations.These methods generally assume access to the backdoored model but not its original training data or attack details, and sophisticated attacks may remain difficult.Source: §3.8.1 · p. 15

3.8.2 Backdoor Removal

  • Removal methods prune backdoor-associated components or fine-tune on benign data to overwrite trigger-target mappings and restore internal consistency.PCP Ablation uses low-rank replacements, while SANDE, CROW, and BEEAR respectively overwrite mappings, enhance consistency, and counteract embedding drift.Source: §3.8.2 · pp. 15–16

3.8.3 Robust Training

  • Robust training suppresses backdoor mappings or trigger-sensitive memorization through feature isolation, maximum-entropy objectives, and removal of duplicated trigger elements.These defenses are designed to produce backdoor-free models despite backdoor-poisoned data and show promise for large-scale web training.Source: §3.8.3 · p. 16

3.8.4 Robust Inference

  • Robust inference contrasts compromised and clean models or combines their predictions to detect and correct malicious generations.PoisonShare, CleanGen, and logit ensembling mitigate poisoned outputs, but contrastive decoding requires a trusted clean reference model that may be unavailable.Source: §3.8.4 · p. 16

3.9 Safety Alignment

Safety alignment research spans human feedback, AI feedback, and simulated social interactions to steer LLMs toward human values and safer behavior. The survey also highlights deceptive alignment, where apparent safety can conceal shallow or strategic divergence from human intent.

3.9 Safety Alignment

  • Safety alignment methods are organized into human-feedback, AI-feedback, and social-interaction approaches that address harmful behavior and the gap between learned patterns and human values.The survey motivates alignment by concerns including toxic content, misinformation, and bias.Source: §3.9 · p. 16

3.9.1 Alignment with Human Feedback

  • RLHF uses human preferences through PPO, DPO, KTO, or SFT, trading alignment benefits against instability, supervision needs, or the difficulty of curating high-quality data.PPO uses human rewards and can enforce safety constraints, [180],; DPO removes a separate reward model and MODPO balances multiple objectives,,; KTO uses asymmetric prospect-theory losses [186]; LIMA shows that small curated datasets can align powerful models.Source: §3.9.1 · p. 16

3.9.2 Alignment with AI Feedback

  • RLAIF replaces much human supervision with AI-generated feedback from principles, models, or preference pairs, enabling scalable PPO-based alignment through CAI, SELF-ALIGN, and RLCD [188],,.These methods aim to reduce the scalability limitations and potential biases of relying solely on human feedback.Source: §3.9.2 · pp. 16–17

3.9.3 Alignment with Social Interactions

  • Social-interaction alignment trains models in simulated societies using CPO, rule-based consequences, or self-generated multi-role scenarios, but realistic simulation and real-world transfer remain challenging, [192].MATRIX can activate learned societal norms without external supervision or inference-speed compromise, and fine-tuning on simulated data further improves socially aligned responses.Source: §3.9.3 · p. 17

3.9.4 Deceptive Alignment

  • Deceptive alignment can involve fake alignment through safe-response style mimicry or alignment faking, where models strategically preserve potentially misaligned preferences.Fake alignment reflects mismatched generalization, while alignment faking involves distinguishing training from deployment and complying strategically to avoid modification, [194].Source: §3.9.4 · p. 17
  • Across 25 frontier models, alignment faking was uncommon but appeared in some powerful models, with Claude 3 Opus showing instrumental and terminal goal guarding [195].Robust post-training refusal mechanisms may prevent some models from considering strategic deception, whereas other models may preserve current goals instrumentally or intrinsically.Source: §3.9.4 · p. 17

3.10 Energy Latency Attacks

Energy latency attacks degrade LLM inference efficiency by increasing computational demands, latency, and energy consumption. They include white-box and black-box strategies, with current methods often limited by model specificity, computational cost, or reduced effectiveness without internal access.

3.10 Energy Latency Attacks

  • Energy latency attacks increase inference computation, latency, and energy consumption, and are categorized as white-box or black-box attacks.These attacks target LLM inference efficiency rather than output quality alone.Source: §3.10 · p. 17

3.10.1 White-box Attacks

  • White-box gradient-based attacks manipulate EOS prediction or early-exit mechanisms to force longer computation, but they are computationally expensive and model-specific.Examples include NMTSloth, Engorgio, SAME, LLMEffiChecker, and TTSlow [200].Source: §3.10.1 · p. 17

3.10.2 Black-box Attacks

  • Black-box query-based attacks craft inputs through repeated model queries to increase inference latency without accessing model internals.No-Skim [201] maximizes retained tokens in skimming-based models but fails against models without skimming, while query-based attacks are typically more time-consuming than white-box attacks.Source: §3.10.2 · p. 17
  • Poisoning-based attacks can induce excessively long outputs from a single fine-tuning sample, bypassing output-length constraints even through limited-access APIs.P-DoS [202] demonstrates this latency-increasing threat; existing defenses such as runtime input validation may themselves add overhead, motivating more general and efficient methods.Source: §3.10.2 · p. 18

3.11 Model Extraction Attacks · 3.12 Data Extraction Attacks

The survey covers model extraction attacks that steal task knowledge or alignment properties from LLMs, and data extraction attacks that recover memorized training information through white-box or black-box access. These threats expose intellectual-property, privacy, and safety risks while remaining limited by access requirements, generalization gaps, preference complexity, and implementation dependencies.

3.11 Model Extraction Attacks

  • Model extraction attacks create substitute LLMs by strategically querying targets and analyzing responses, spanning fine-tuning-stage and alignment-stage attacks.Fine-tuning attacks extract downstream knowledge, while alignment attacks target properties such as safety and helpfulness by stealing the reward model.Source: §3.11 · p. 18, §3.11.2 · p. 18

3.11.1 Fine-tuning Stage Attacks

  • Fine-tuning-stage attacks divide into functional similarity extraction, which replicates overall behavior, and specific ability extraction, which targets selected skills or knowledge.LION iteratively improves instruction following using the victim as referee and generator, while Li et al. extracted coding abilities through crafted black-box queries.Source: §3.11.1 · p. 18

3.11.2 Alignment Stage Attacks

  • Alignment-stage attacks replicate target alignment preferences by exposing reward or preference signals, but accurately reproducing human-preference complexity remains difficult.LoRD [205] uses policy gradients to extract both task-specific knowledge and alignment properties; current attacks still struggle to replicate full target-model complexity, motivating proactive defenses.Source: §3.11.2 · p. 18

3.12 Data Extraction Attacks

  • Data extraction attacks exploit LLM memorization to recover training examples, potentially exposing PII, copyrighted content, or confidential information [582].The survey distinguishes white-box attacks, which access internals, from black-box attacks, which operate through crafted prompts without model parameters.Source: §3.12 · p. 18, §3.12.2 · p. 18

3.12.1 White-box Attacks

  • White-box latent memorization extraction reconstructs training data from parameters or activations, but requires full access to model parameters.Duan et al. analyzed internal representations using weight noise and cross-entropy loss on Pythia-1B and Amber-7B.Source: §3.12.1 · p. 18

3.12.2 Black-box Attacks

  • Black-box attacks use inductive prompts to reveal memorized data without parameter access, including prefix, special-character, prompt-optimization, RAG, ensemble, and semantic-elicitation methods.Their effectiveness depends on model behavior, optimization procedures, attack coordination, or the specific RAG implementation.Source: §3.12.2 · pp. 18–19
  • Prefix attacks continue memorized sequences from supplied prefixes, with later methods improving extraction through sampling, probability adjustment, context management, look-ahead, and suffix ranking.Carlini et al. demonstrated prefix attacks on GPT-2; Nasr et al. [208] scaled them with suffix arrays, while Magpie [209], Al-Kaswan et al., and Yu et al. targeted specific data or optimized continuation generation.Source: §3.12.2 · p. 18
  • Black-box extraction also includes special-character triggers, attacker-LLM prompt optimization, RAG leakage, ensemble strategies, and semantic elicitation of sensitive content.SCA [211] exploits formatting sensitivity, Kassem et al. [212] uses rejection sampling and LCS, Qi et al. [213] targets retrieval components, More et al. [214] combines attacks, and Zhang et al. benchmarks SemSI elicitation.Source: §3.12.2 · pp. 18–19

3.13 Datasets & Benchmarks

This section organizes LLM safety datasets and benchmarks by evaluation purpose: toxicity, truthfulness, values, adversarial attacks, and backdoors. It also highlights limitations involving bias, context, scalability, consistency, and real-world relevance.

3.13 Datasets & Benchmarks

  • Safety datasets and benchmarks are categorized into toxicity, truthfulness, value, adversarial, and backdoor evaluations, as summarized in Table 6.Source: §3.13 · p. 19

3.13.1 Toxicity Datasets

  • Toxicity resources expose harmful-generation risks, from RealToxicityPrompts and Do-Not-Answer to crowd-sourced data using soft-labeling and GroupDRO.RealToxicityPrompts pairs 100,000 prompts with Perspective API toxicity scores, while Do-Not-Answer contains 939 harmful-response prompts; manual evaluation is costly, and API bias remains a limitation.Source: §3.13.1 · p. 19

3.13.3 Value Benchmarks

  • TruthfulQA evaluates 817 questions across 38 categories and finds inverse scaling, while value benchmarks expose context-sensitive safety, overrefusal, fake alignment, and capability tradeoffs.FLAMES, SORRY-Bench [590], CVALUES [588], SafetyPrompts [586], CASE-Bench [598], AEGIS2.0 [597], FINE, SafetyBench, and Libra-Leaderboard [596] broaden evaluation across ethics, context, consistency, training risks, and balanced safety-capability assessment.Source: §3.13.3 · p. 19, §3.13.2 · p. 19

3.13.4 Adversarial Datasets and Backdoor Benchmarks

  • Adversarial and backdoor benchmarks standardize evaluation of poisoning, weight attacks, textual attacks, safety risks, and multimodal jailbreaks through BackdoorLLM [593], Adversarial GLUE, SALAD-Bench, JailBreakV-28K, and STRONGREJECT.These resources improve coverage and automation, but remain challenged by scalability, consistency, and real-world relevance.Source: §3.13.4 · pp. 19–20

4 VISION-LANGUAGE PRE-TRAINING MODEL SAFETY

This section surveys VLP safety research on adversarial, backdoor, and poisoning threats, covering representative attacks, defenses, and evaluation datasets. It emphasizes multimodal vulnerabilities, transferability, scalable robustness, and detection mechanisms.

4.1 Adversarial Attacks

  • VLP adversarial attacks target zero-shot classification, image-text retrieval, visual entailment, and visual grounding under white-box or black-box threat models.White-box attacks mainly use invisible perturbations, whereas black-box attacks primarily transfer across models and tasks.Source: §4.1 · p. 20, §4.1.1 · p. 20, §4.1.2 · p. 20

4.1.2 Black-box Attacks

  • Black-box sample-wise perturbations are generally more effective but less transferable than universal perturbations, whose transferability spans models, tasks, domains, and even large VLMs.Methods improve transferability through cross-modal augmentation, contrastive losses, modality consistency, trajectory diversification, optimal transport, and surrogate-model ensembling.Source: §4.1.2 · p. 20

4.2 Adversarial Defenses

  • VLP adversarial defenses comprise detection, standard adversarial training, adversarial prompt tuning, and adversarial contrastive tuning, with training-based approaches differing mainly in efficiency.Standard adversarial training is computationally prohibitive at web scale, motivating embedding-space, coarse-to-fine, and lightweight alternatives such as VILLA and AdvXL.Source: §4.2 · p. 20, §4.2.2 · p. 21

4.2.1 Adversarial Example Detection

  • Detection methods include one-shot similarity checks, stateful query monitoring, trigger inversion, poisoned-sample detection, and compromised-model detection.MirrorCheck [247] compares input-image similarity with a caption-generated image, while AdvQDet detects adversarial queries within three queries; DECREE requires no labeled data.Source: §4.2.1 · p. 20, §4.2.1.1 · pp. 20–21, §4.2.1.2 · p. 21

4.2.3 Adversarial Prompt Tuning

  • Prompt and contrastive tuning provide lightweight or multimodal robustness mechanisms, and FARE [244] achieves clean-accuracy and robustness gains without retraining or additional fine-tuning for LLaVA and OpenFlamingo.Prompt methods include textual, multimodal, test-time, certified, supervised, and unsupervised variants.Source: §4.2.3 · p. 21, §4.2.3.1 · p. 21, §4.2.3.2 · p. 22

4.3 Backdoor & Poisoning Attacks

  • Backdoor attacks on CLIP use visual or multimodal triggers, while defenses generally combine robust training against poisoning with detection of compromised encoders or contaminated data.Poisoning backdoors can succeed at significantly lower poisoning rates than traditional supervised learning, and web-crawled training data increases CLIP’s vulnerability.Source: §4.3 · p. 22, §4.3.1 · p. 22, §4.4 · p. 22

4.3.2 Poisoning Attacks

  • PBCL achieves targeted misclassification by poisoning as little as 0.0001% of CLIP’s training data, while MM Poison maintains clean-data performance across visual and textual attacks.MM Poison considers single-target image, single-target label, and multiple-target-label attacks.Source: §4.3.2 · p. 22

5 VISION-LANGUAGE MODEL SAFETY

VLMs inherit many LLM and VLP safety threats while introducing additional risks from vision-language alignment, including cross-modal attacks, jailbreaks, prompt injections, energy-latency abuse, and backdoors. The survey organizes these threats by attack setting and reviews corresponding defenses, poisoning risks, and safety benchmarks.

5 VISION-LANGUAGE MODEL SAFETY

  • VLMs’ visual modality and alignment process expand the attack surface beyond inherited LLM/VLP risks, creating cross-modal backdoors and attacks targeting both image and text inputs.The section covers adversarial, jailbreak, prompt injection, energy-latency, backdoor, and poisoning threats, alongside defenses tailored to multimodal systems.Source: §5 · p. 23

5.1 Adversarial Attacks

  • Adversarial attacks on VLMs primarily target visual inputs and are categorized by threat model as white-box or black-box, with white-box objectives including task-specific, cross-prompt, and CoT attacks.CroPA explored transferability of a single adversarial image across multiple prompts, while InstructTA [269] uses a surrogate model and GPT-4 paraphrasing to improve transferability.Source: §5.1 · p. 23, §5.1.1 · p. 23, §5.1.2 · p. 24

5.2 Jailbreak Attacks

  • VLM jailbreaks exploit visual, textual, cross-modal, encoder, and system-prompt weaknesses through target-specific, universal, hybrid, transfer-based, manually designed, leakage, and red-teaming attacks.Examples include Image Hijack [274], VAJM, ImgJP [277], UMK, HADES, and FigStep.Source: §5.2 · p. 24, §5.2.1 · p. 24, §5.2.2 · p. 24

5.3 Jailbreak Defenses

  • Jailbreak defenses combine detection of unsafe inputs or outputs with prevention methods that improve robustness through prompts, purification, alignment, activation guidance, or inference-time filtering.JailGuard [285] uses input mutations, GuardMM detects unsafe content and prompt injection, MLLM-Protector detoxifies responses, and prevention methods include AdaShield, ECSO, InferAligner, BlueSuffix, DPS, and ETA.Source: §5.3 · p. 25, §5.3.1 · pp. 25–26, §5.3.2 · p. 26

5.4 Energy Latency Attacks

  • Verbose images delay EOS-token generation, increasing autoregressive decoder calls, server costs, latency, and energy consumption.The attack exploits the computational demands of multimodal LLMs by overwhelming service resources and inefficiently using GPUs.Source: §5.4 · p. 26

5.5 Prompt Injection Attacks

  • VLM prompt injection uses optimized image perturbations or typography-based deceptive text to manipulate responses, misidentify classes, generate misleading labels, and leak personal information [638].Adversarial Prompt Injection [293] represents the optimization-based approach, while the Typographic Attack [294] includes Class-Based and Descriptive variants without requiring gradient access.Source: §5.5 · p. 26

5.6 Backdoor& Poisoning Attacks

  • Backdoor and poisoning attacks arise during vision-language alignment: tuning-time triggers can induce unsafe actions or jailbreaks, test-time perturbations can activate textual backdoors, and poisoned samples can misclassify objects or generate misleading narratives.BadVLMDriver demonstrates physical unsafe-action triggers, ImgTrojan [298] poisons image-text pairs, AnyDoor [296] separates attack setup from activation without training-data access, and Shadowcast achieves high effectiveness with only 50 poisoned samples.Source: §5.6 · p. 26, §5.6.1 · p. 26, §5.6.2 · p. 26

5.7 Datasets & Benchmarks

  • VLM safety benchmarks evaluate OOD robustness, image-based manipulation, adversarial visual instructions, multimodal jailbreaks, multi-image reasoning, black-box attacks, and commonsense visual traps.Table 9 summarizes benchmarks including SafeSight, MM-SafetyBench, AVIBench [641], Jailbreak Evaluation of GPT-4o [642], JailBreakV-28K, MIS [643], VLJailbreakBench with 3,654 adversarial image-text pairs, and Argus Inspection [644].Source: Table 9 · p. 26, §5.7 · p. 27

6 DIFFUSION MODEL SAFETY

This section surveys diffusion-model safety threats, including adversarial attacks, jailbreaks, backdoors, membership inference, and data and model extraction, alongside defenses and intellectual-property protections. It also organizes relevant attack and defense approaches and reviews common safety datasets, highlighting persistent vulnerabilities in areas such as watermarking and low-rank fine-tuning.

6 DIFFUSION MODEL SAFETY

  • Diffusion models support conditional generation in I2I, T2I, and T2V, but attacks can degrade outputs, bypass filters, manipulate content, or expose training data.The section covers adversarial, jailbreak, backdoor, and privacy attacks, alongside corresponding defenses and intellectual-property protection techniques.Source: §6 · p. 27

6.1 Adversarial Attacks

  • Adversarial attacks perturb prompts or latent representations under white-box, gray-box, or black-box access to cause semantic mismatches, distorted generations, targeted manipulations, or identity-shifted videos.White-box methods optimize prompts or latent spaces; gray-box methods exploit public CLIP encoders; black-box methods modify characters, words, or sentences.Source: §6.1 · p. 27, §6.1.1 · p. 27, §6.1.2 · p. 27

6.1.3 Black-box Attacks

  • Black-box prompt attacks exploit typos, homoglyphs, hidden vocabularies, macaronic phrases, or genetic prompt rewriting to alter generated images while preserving limited or misleading textual semantics.Examples include ECB, CharGrad, DHV [310], AA [311], RIATIG, and BBA.Source: §6.1.3 · pp. 27–28

6.2 Jailbreak Attacks

  • Jailbreak attacks bypass internal safety alignment or external text, image, and text-image filters to generate harmful content, with white-box, gray-box, and black-box methods exploiting different access levels.Gray-box results show that limited access to an open-source text encoder can still enable attacks on safety-enhanced models through concept extraction and prompt optimization.Source: §6.2 · p. 29, §6.2.2 · p. 29

6.2.3 Black-box Attacks

  • Black-box jailbreaks use handcrafted, reinforcement-learned, or LLM-assisted prompt transformations to evade filters and generate NSFW content, improving attack effectiveness and stealthiness.Methods include SneakyPrompt, UD, Atlas [322], Groot [323], DACA [324], SurrogatePrompt, PGJ, and R2A [327].Source: §6.2.3 · p. 29

6.3 Jailbreak Defenses

  • Jailbreak defenses aim to remove undesirable concepts or guide inference toward safe outputs while preserving generation quality through finetuning, closed-form editing, pruning, or auxiliary guidance.Concept erasure includes anchor-based, anchor-free, and adversarial finetuning, localized cross-attention updates, and neuron pruning; inference guidance operates on inputs, outputs, or latent representations.Source: §6.3 · p. 29, §6.3.1 · p. 29, §6.3.1.1 · p. 29

6.3.2 Inference Guidance

  • Inference guidance steers diffusion models away from unsafe content using safe text conditions, input revision and output classification, latent anti-concept directions, or intermediate concept removal.SLD introduces the I2P benchmark, while PromptGuard [353], Ethical-Lens [354], SDIDLD, and Concept Corrector [356] avoid retraining or dynamically modify generation.Source: §6.3.2.1 · p. 30, §6.3.2.2 · p. 30, §6.3.2.3 · p. 30

6.4 Backdoor Attacks

  • Backdoor attacks inject covert triggers through training manipulation or poisoned data so prompts, images, noise, or trigger pairs produce predefined content while retaining model utility.Training-manipulation attacks include BadDiffusion, VillanDiffusion, TrojDiff, IBA [360], and DIFF2 [361]; poisoning methods use text-text or text-image trigger pairs.Source: §6.4 · p. 31, §6.4.1 · p. 31, §6.4.2 · p. 31

6.6 Membership Inference Attacks

  • Membership inference attacks exploit diffusion losses, gradients, structural similarity, likelihoods, reverse-process noise, memorization, or overfitting to distinguish training members from non-members.Methods include SLA, Dubinski et al., GSA [379], SMIA, SecMI, QRMI [383], SIA, PIA, PFAMI [385], Zhai et al., and Wu et al. [657].Source: §6.6 · pp. 32–33

6.7 Data Extraction Attacks

  • Data extraction attacks reverse-engineer memorized training samples through explicit prompts or surrogate conditions, with BruteDE, OSE [394], SIDE [395], and FineXtract [396] representing these strategies.Explicit extraction targets conditional text-to-image models, whereas surrogate extraction creates conditions for unconditional models.Source: §6.7 · p. 33

6.8 Model Extraction Attacks

  • SDeT [397] recovers pre-fine-tuning diffusion-model weights from multiple LoRA-fine-tuned models by solving a low-rank optimization problem with iterative SVD.It effectively recovers original weights for Stable Diffusion and Mistral-7B, exposing vulnerabilities in LoRA-based fine-tuning.Source: §6.8 · p. 33

6.9 Intellectual Property Protection

  • Diffusion-model intellectual-property protection spans natural-data protection, generated-data watermarking, and model ownership verification or attribution.These approaches generally assume full access to the protected object and use adversarial attacks or watermarking.Source: §6.9 · p. 33

6.9.1 Natural Data Protection

  • Natural-data protection uses learning prevention, editing prevention, and data attribution to defend copyrighted images while minimizing quality loss.Methods combine adversarial perturbations, protective or exclusive watermarks, feature interference, image warping, and watermark-based verification.Source: §6.9.1 · p. 33

6.9.2 Generated Data Protection

  • Watermarking protects generated images and videos through post-processing or in-generation embedding, but WEvade, TAIW [673], and SSU [674] expose bypass and removal vulnerabilities.SSU [674] removes in-generation watermarks by fine-tuning a diffusion decoder with non-watermarked images, demonstrating Stable Signature’s fragility.Source: §6.9.2 · p. 34

6.9.3 Model Protection

  • Model protection uses trigger-based model watermarks and model-wide attribution to verify ownership or identify generating models.Approaches include FIXEDWM [416], WDM [417], SleeperMark, Tree-Ring, AquaLoRA, and LatentTracer.Source: §6.9.3 · p. 34

6.10 Datasets

  • Diffusion safety research commonly uses MS COCO, LAION [676], DiffusionDB [678], ImageNet, CIFAR10/100, I2P, and intellectual-property datasets including CelebA, VGGFace2, DreamBooth, Pokemon Captions, and WikiArt [685].Dataset choice varies by conditional or unconditional modeling, NSFW and bias evaluation, and facial, object, or artistic intellectual-property protection.Source: §6.10 · p. 34

7 AGENT SAFETY

This section examines agent safety in closed-loop autonomous systems, where external messages, tools, memory, multimodal inputs, and multi-agent or embodied environments introduce risks beyond standalone-model safety. It organizes threats, adaptive defenses, and simulation-based or real-interaction benchmarks across component, system, and agentic levels.

7 AGENT SAFETY

  • Closed-loop agents used in healthcare, finance, and autonomous driving have a larger attack surface, and standalone-model attacks can often be adapted to manipulate their behavior.Agents use LLMs or VLMs for iterative planning, external observation, and multi-step reasoning, making safety-critical deployment especially consequential.Source: §7 · p. 34

7.1 Indirect Prompt Injection Attacks

  • Indirect prompt injection is a foundational agent threat: malicious instructions or jailbreaks embedded in external content can redirect tasks, leak conversations, trigger harmful tool calls, or bypass safety filters.TensorTrust [422] finds many models vulnerable to crowdsourced strategies that generalize from its game to ChatGPT, Claude, Bard, Bing Chat, and Notion AI; PANDORA [425] and Imprompter [426] demonstrate indirect jailbreak variants.Source: §7.1.1 · pp. 35–36, §7.1 · p. 35, §7.1.2 · p. 36

7.2 Indirect Prompt Injection Defenses

  • Defenses against indirect prompt injection combine privilege-aware instruction handling, embedded-instruction detection and removal, goal-alignment checks, authentication tags, provenance marking, and isolation strategies.White-box methods use model states, gradients, or trained detectors, whereas black-box methods rely on preprocessing and external validation without model internals.Source: §7.2.1 · p. 36, §7.2.2 · p. 36, §7.2 · p. 36

7.3 Agent Memory Attacks

  • Agent memory is vulnerable to trigger-based backdoors and trigger-free poisoning across short-term context, long-term retrieval, interaction records, corpora, and model parameters.BadRAG [437] achieves a 98.2% success rate with ten adversarial passages, while defenses use context extension, privilege-tier access control, knowledge consolidation, source awareness, isolation-then-aggregation, and certification guarantees.Source: §7.3 · p. 36, §7.3.1 · p. 36, §7.3.2 · pp. 36–37

7.5 Agent Tool-Calling Attacks

  • Tool-calling attacks exploit web content, reasoning traces, tool selection, tool inputs and outputs, and MCP server descriptions to induce malicious actions, privacy theft, denial of service, or credential theft.WIPI [455] achieves over 90% success rates across ChatGPT plugins and open-source systems; defenses include encrypted privacy protection, workflow evaluation, real-time guardrail agents, and MCP safety taxonomies.Source: §7.5 · p. 37, §7.6 · p. 37

7.7 VLM Agent Attacks; 7.9 Multi-Agent System Attacks; 7.11 Embodied Agent Attacks

  • VLM, multi-agent, and embodied systems face modality- and deployment-specific threats, including visual injections, viral prompt propagation, inter-agent infiltration, sensor corruption, jailbreaks, backdoors, and physical-action failures.Defenses span multimodal denoising and real-time detection, collaborative agent monitoring, active monitoring, self-recovery, input moderation, and constrained reinforcement-learning alignment.Source: §7.7 · p. 38, §7.9 · p. 38, §7.10 · p. 38

7.13 Agentic Attacks & Defenses

  • Agentic attacks exploit adaptive reasoning and environmental interactions, enabling autonomous discovery of vulnerabilities, defense bypasses, and scalable weaponization of legitimate capabilities.Unlike LLMs that primarily generate harmful text, agents can execute actions affecting physical and digital environments, while complex workflows make failures difficult to attribute or debug.Source: §7.13 · pp. 39–40, §7.13.2 · p. 40

7.13.1 Agentic Attacks

  • Agents autonomously discover zero-day vulnerabilities, generate adaptive attacks that defeat protections, and refine jailbreak strategies through multi-agent planning, self-reflection, memory, and literature-guided attack execution.Examples include HPTSA [509], AutoAdvExBench [510], RedAgent [511], ALI-Agent, and AutoRedTeamer [513].Source: §7.13.1 · p. 40

7.13.2 Agentic Defenses

  • Agentic defenses integrate external knowledge, formalized policies, cooperative agents, and staged inspection, but self-reflection can produce wavering factual answers, overthinking, and additional coding errors.ShieldAgent [514], AegisLLM [515], and TrustAgent [692] illustrate policy enforcement, cooperative defense, and pre-, during-, and post-planning regulation, while study [694] identifies self-correction limitations.Source: §7.13.2 · p. 40

7.14 Agent Safety Benchmarks

  • Agent safety benchmarks divide into simulation-based evaluations, which provide scalable testing, and real-interaction evaluations, which validate grounded risks through actual tools, APIs, or environments.Both benchmark types are valuable because simulation supports rapid broad evaluation, whereas real interaction captures higher-fidelity operational risks.Source: §7.14 · p. 40

7.14.1 Simulation-based Benchmarks

  • Simulation benchmarks cover indirect and tool-integrated prompt injection, harmful behavior, code vulnerabilities, visual injection, risk awareness, generalization, chemistry misuse, tool use, and privacy.Examples include BIPIA [140] with five scenarios and 250 goals, InjecAgent with 17 user tools and 62 attacker tools, AgentDojo with 97 tasks and 629 cases, RedCode with over 4,000 cases across 25 vulnerability types, and VPI-Bench with 306 cases across five platforms.Source: §7.14.1 · p. 40

7.14.2 Real-Interaction Benchmarks

  • Real-interaction benchmarks assess adversarial web execution, enterprise trustworthiness, misuse, comprehensive security, embodied hazards, autonomous driving, browser jailbreaks, human-AI interaction, and tool-using real-world safety.Coverage ranges from ST-WebAgentBench [541] with 222 tasks and policies and SafeArena [542] with 500 paired tasks to ASB [534] spanning 10 scenarios, over 400 tools, 27 attack methods, and 13 LLMs, and Agent-SafetyBench [536] spanning 349 environments and 2,000 cases.Source: §7.14.2 · p. 41

8 OPEN CHALLENGES

This section examines open challenges in large-model safety, spanning vulnerabilities, evaluation, defenses, agents, and collective infrastructure. It emphasizes adaptable research and evaluation, coordinated global collaboration, shared standards, data practices, joint research, and policy implementation.

8.1 Attack Research

  • Attack research should diagnose systemic vulnerabilities rather than merely break models, including failures in language, multimodal, generative, memorization, and agent systems.Key questions concern why attacks succeed, how vulnerabilities propagate across modalities, how much training data models memorize, and how agent capabilities compound cascading failures.Source: §8.1.1 · p. 41, §8.1.2 · p. 41, §8.1.3 · p. 42

8.2 Safety Evaluation

  • Safety evaluation must move beyond ASR and static benchmarks toward fine-grained, evolving, adversarial assessments that capture severity, recovery, ethics, and real-world consequences.Open-ended outputs make reliable jailbreak detection difficult, while dynamic benchmarks, generated test cases, adversarial sandboxes, and two-player evaluation games offer promising directions.Source: §8.2.1 · pp. 42–43, §8.2.2 · p. 43, §8.2.3 · p. 43

8.3.1 Safety Alignment Is Not a Cure-All

  • Safety alignment is insufficient because models can fake alignment or remain vulnerable to advanced attacks, motivating mechanistic analysis, deep alignment, and adversarial stress-testing.The survey identifies fake alignment, [194], vulnerabilities in GPT-4o [698] and o1 to attacks [642], and deep-alignment work.Source: §8.3.1 · p. 43

8.3.2 The Need for More Practical Defenses

  • Practical defenses must generalize across model families, work with black-box access, remain computationally efficient, and continually adapt to emerging attacks.Current defenses are limited by specialization, white-box dependence, high retraining costs, and poor adaptability; scalable protection requires these properties together.Source: §8.3.2 · pp. 43–44

8.3.3 The Lack of Proactive Defenses

  • Defense research should add proactive protection and integrated detection, including chain-of-thought monitoring [700], to identify unsafe reasoning and trigger timely interventions.The survey contrasts passive safeguards with proactive deterrence and emphasizes combining detection with other mechanisms to respond dynamically to novel threats.Source: §8.3.3 · p. 44, §8.3.4 · p. 44

8.3.5 Safe Embodied Agents

  • Embodied and increasingly autonomous agents require safety mechanisms embedded throughout decision-making, while safe superintelligence may require oversight, safety switches, expert routing, adversarial alignment, and intrinsic safety consciousness.Physical deployment introduces tangible harms and ethical responsibilities; oversight itself raises a trustworthiness paradox, and proposed superintelligence mechanisms remain technically uncertain.Source: §8.3.5 · p. 44, §8.3.6 · p. 44

8.4 A Call for Collective Action

  • Collective action should rebalance research toward robust, preventative defenses and integrate complementary methods into layered, community-driven “super safety” frameworks.The agenda calls for coordinated work among researchers, practitioners, and policymakers to address adversarial manipulation, misuse, and harm.Source: §8.4 · p. 45, §8.4.1 · p. 45

8.4.2 Dedicated Safety APIs

  • Dedicated commercial safety APIs and open-source safety platforms could enable external testing, transparency, shared best practices, benchmarking, and universal safety standards.These resources are intended to support industry-academia collaboration without disrupting regular services while accelerating evaluation across models and applications.Source: §8.4.2 · p. 45, §8.4.3 · p. 45

8.4.4 Global Collaborations

  • International AI-safety alliances could unite global expertise and resources, coordinate assessments, share research insights, and develop universal benchmarks reflecting regional needs and values.These efforts are intended to strengthen coordinated responses to complex safety challenges across borders.Source: §8.4.4 · p. 45
  • Secure, ethical cross-border data sharing could broaden model evaluation scenarios and improve the robustness, fairness, and universal applicability of safety mechanisms.Access to diverse datasets is presented as crucial for evaluating whether safety mechanisms work across varied contexts.Source: §8.4.4 · p. 45
  • Joint safety programs and international competitions could drive innovation in risk prediction, guardrails, model enhancement, safe reasoning, and long-term safety solutions.These initiatives would connect researchers, industry, governments, and worldwide talent while promoting shared responsibility.Source: §8.4.4 · p. 45
  • Specialized agent systems could automatically audit models for regulatory compliance, helping translate high-level governance into enforceable, transparent, trustworthy, and accountable deployment practices.The proposed approach aims to bridge policy and technology through systematic verification in real-world deployments.Source: §8.4.4 · p. 45

9 CONCLUSION

The paper surveys safety research across major large-model families and large-model-powered agents, organizing existing threats and defenses into a comprehensive taxonomy. It concludes that safe AI still requires deeper vulnerability understanding, robust evaluations, scalable integrated defenses, and international collaboration.

  • The survey covers safety research on VFMs, LLMs, VLP models, VLMs, DMs, and large-model-powered agents.Source: §9 · p. 45
  • It presents a comprehensive taxonomy of existing threats and defenses while emphasizing the evolving challenges facing large models.Source: §9 · p. 46
  • Safe AI remains constrained by unresolved vulnerabilities, inadequate safety evaluation protocols, and the need for scalable, proactive, integrated defenses and international collaboration.The authors call for collective action from the global research community to build safe, robust, and trustworthy large-scale AI systems.Source: §9 · p. 46

10 AUTHOR CONTRIBUTIONS

The authors divided the survey into model- and agent-safety sections, with designated contributors drafting reviews and specialists advising, revising, and validating them. Xingjun Ma coordinated the survey structure and manuscript preparation, while Yu-Gang Jiang initiated and supervised the project.

Overall coordination

  • Xingjun Ma designed the survey structure, coordinated review and manuscript preparation, while Yu-Gang Jiang initiated, directed, resourced, and supervised the project.All authors contributed to drafting and revision and approved the final manuscript.Source: §10 · p. 46

Vision Foundation Model Safety

  • Ye Sun and Hanxun Huang drafted Vision Foundation Model Safety, supported by expertise in adversarial robustness, efficient architectures, and graph signal processing.The section covered visual backbones, scalable pre-training, and key safety studies.Source: §10 · p. 46

Large Language Model Safety

  • Yixu Wang and collaborators drafted Large Language Model Safety, with advisors refining coverage of alignment, jailbreaks, prompt injection, extraction, multilingual scaling, privacy, and generalization.Source: §10 · p. 46

Vision-Language Pre-training Model Safety

  • Xin Wang and Jiaming Zhang drafted Vision-Language Pre-training Model Safety, while advisors refined its treatment of corpora, objectives, transfer evaluation, secure deployment, and domain generalization.Source: §10 · p. 46

Vision-Language Model Safety

  • Ruofan Wang and Zuxuan Wu drafted Vision-Language Model Safety, incorporating specialist feedback on cross-modal architectures, datasets, multimodal defense, safety alignment, benchmarks, and deployment.Source: §10 · p. 46

Diffusion and Agent Safety

  • Yifeng Gao structured Diffusion Model Safety and coordinated reviews of attacks, backdoors, intellectual-property protection, membership inference, and extraction, while Yutao Wu drafted Agent Safety with guidance on prompt injection and secure tool use.Technical contributors critically revised both sections and helped refine their structures and defenses.Source: §10 · p. 46
Loading 2502.05206v6…