paper-with-me

홈 › Papers

SEAS: Self-Evolving Adversarial Safety Optimization for Large Language Models

2024-08-05 · Muxi Diao, Rumei Li, Shiyang Liu, Guogang Liao, Jingang Wang, Xunliang Cai, Weiran Xu

As large language models (LLMs) continue to advance in capability and influence, ensuring their security and preventing harmful outputs has become crucial. A promising approach to address these concerns involves training models to automatically generate adversarial prompts for red teaming. However, the evolving subtlety of vulnerabilities in LLMs challenges the effectiveness of current adversarial methods, which struggle to specifically target and explore the weaknesses of these models. To tackle these challenges, we introduce the $\mathbf{S}\text{elf-}\mathbf{E}\text{volving }\mathbf{A}\text{dversarial }\mathbf{S}\text{afety }\mathbf{(SEAS)}$ optimization framework, which enhances security by leveraging data generated by the model itself. SEAS operates through three iterative stages: Initialization, Attack, and Adversarial Optimization, refining both the Red Team and Target models to improve robustness and safety. This framework reduces reliance on manual testing and significantly enhances the security capabilities of LLMs. Our contributions include a novel adversarial framework, a comprehensive safety dataset, and after three iterations, the Target model achieves a security level comparable to GPT-4, while the Red Team model shows a marked increase in attack success rate (ASR) against advanced models. Our code and datasets are released at https://SEAS-LLM.github.io/.

📄 PDF Abstract BibTeX arXiv:2408.02632

Code (1)

leondiao0427/seas pytorch

Tasks

Red Teaming

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Be Your Own Red Teamer: Safety Alignment via Self-Play and Reflective Experience Replay

2026-01-15 · Hao Wang, Yanting Wang, Hao Li, Rui Li 외 arxiv

Large Language Models (LLMs) have achieved remarkable capabilities but remain vulnerable to adversarial ``jailbreak'' attacks designed to bypass safety guardrails. Current safety alignment methods depend heavily on stati…

Reinforcement LearningRed Teaming

Metis: Learning to Jailbreak LLMs via Self-Evolving Metacognitive Policy Optimization

2026-05-11 · Huilin Zhou, Jian Zhao, Yilu Zhong, Zhen Liang 외 arxiv

Red teaming is critical for uncovering vulnerabilities in Large Language Models (LLMs). While automated methods have improved scalability, existing approaches often rely on static heuristics or stochastic search, renderi…

Red Teaming

RareAgent: Self-Evolving Reasoning for Drug Repurposing in Rare Diseases

2025-10-07 · Lang Qin, Zijian Gan, Xu Cao, Pengcheng Jiang 외 arxiv

Computational drug repurposing for rare diseases is especially challenging when no prior associations exist between drugs and target diseases. Therefore, knowledge graph completion and message-passing GNNs have little re…

Knowledge Graph Completion

An Evolving Scenario Generation Method based on Dual-modal Driver Model Trained by Multi-Agent Reinforcement Learning

2025-08-04 · Xinzheng Wu, Junyi Chen, Shaolingfeng Ye, Wei Jiang 외 arxiv

In the autonomous driving testing methods based on evolving scenarios, the construction method of the driver model, which determines the driving maneuvers of background vehicles (BVs) in the scenario, plays a critical ro…

Multi-agent Reinforcement LearningAutonomous Driving

On-Policy Self-Evolution via Failure Trajectories for Agentic Safety Alignment

2026-05-12 · Bo Yin, Qi Li, Xinchao Wang arxiv

Tool-using LLM agents fail through trajectories rather than only final responses, as they may execute unsafe tool calls, follow injected instructions, comply with harmful requests, or over-refuse benign tasks despite pro…