paper-with-me

홈 › Papers

Red Teaming with Mind Reading: White-Box Adversarial Policies Against RL Agents

2022-09-05 · Stephen Casper, Taylor Killian, Gabriel Kreiman, Dylan Hadfield-Menell

Adversarial examples can be useful for identifying vulnerabilities in AI systems before they are deployed. In reinforcement learning (RL), adversarial policies can be developed by training an adversarial agent to minimize a target agent's rewards. Prior work has studied black-box versions of these attacks where the adversary only observes the world state and treats the target agent as any other part of the environment. However, this does not take into account additional structure in the problem. In this work, we study white-box adversarial policies and show that having access to a target agent's internal state can be useful for identifying its vulnerabilities. We make two contributions. (1) We introduce white-box adversarial policies where an attacker observes both a target's internal state and the world state at each timestep. We formulate ways of using these policies to attack agents in 2-player games and text-generating language models. (2) We demonstrate that these policies can achieve higher initial and asymptotic performance against a target agent than black-box controls. Code is available at https://github.com/thestephencasper/lm_white_box_attacks

📄 PDF Abstract BibTeX arXiv:2209.02167

Code (2)

thestephencasper/lm_white_box_attacks 공식 구현 pytorch
thestephencasper/white_box_rarl 공식 구현 pytorch

Tasks

Red Teamingreinforcement-learningReinforcement Learning (RL)

Similar Papers 제목 키워드 기반

ALERT: A Comprehensive Benchmark for Assessing Large Language Models' Safety through Red Teaming

2024-04-06 · Simone Tedeschi, Felix Friedrich, Patrick Schramowski, Kristian Kersting 외

When building Large Language Models (LLMs), it is paramount to bear safety in mind and protect them with guardrails. Indeed, LLMs should never generate content promoting or normalizing harmful, illegal, or unethical beha…

Adversarial RobustnessDialogue Safety PredictionRed Teaming

Can Large Language Models Change User Preference Adversarially?

2023-01-05 · Varshini Subhash

Pretrained large language models (LLMs) are becoming increasingly powerful and ubiquitous in mainstream applications such as being a personal assistant, a dialogue model, etc. As these models become proficient in deducin…

Red Teaming

Red Teaming the Mind of the Machine: A Systematic Evaluation of Prompt Injection and Jailbreak Vulnerabilities in LLMs

2025-05-07 · Chetan Pathade

Large Language Models (LLMs) are increasingly integrated into consumer and enterprise applications. Despite their capabilities, they remain susceptible to adversarial attacks such as prompt injection and jailbreaks that …

Red Teaming

IPI-proxy: An Intercepting Proxy for Red-Teaming Web-Browsing AI Agents Against Indirect Prompt Injection

2026-05-12 · Chia-Pei, Chen, Kentaroh Toyoda, Anita Lai 외 arxiv

Web-browsing AI agents are increasingly deployed in enterprise settings under strict whitelists of approved domains, yet adversaries can still influence them by embedding hidden instructions in the HTML pages those domai…

Kov: Transferable and Naturalistic Black-Box LLM Attacks using Markov Decision Processes and Tree Search

2024-08-11 · Robert J. Moss

Eliciting harmful behavior from large language models (LLMs) is an important task to ensure the proper alignment and safety of the models. Often when training LLMs, ethical guidelines are followed yet alignment failures …

Red Teaming