REPRO: Reflective Evolutionary Prompt Optimizer for Automated LLM Red-Teaming
Abstract
Safety-aligned large language models (LLMs) remain vulnerable to adversarial prompts that bypass their safety training. Existing automated red-teaming methods either require privileged access unavailable in production, rely on manually engineered per-model templates, or optimize a single objective without population-level diversity. We present REPRO (Reflective Evolutionary Prompt Optimization), a pure black-box framework that discovers adversarial prompts through evolutionary optimization driven entirely by a compressed open-weight 7B reflective model on a single consumer GPU. REPRO introduces two mechanisms absent from prior work, both isolated in a component ablation: semantic crossover, an LLM-guided multi-parent recombination operator, and Bayesian strategy selection via Thompson Sampling informed by structured failure analysis. We catalog REPRO's behavior on AdvBench, JailbreakBench, and HarmBench across 36 target models from 11 families, including GPT-5-nano, Claude-3.5-Sonnet, Gemini-2.5-Pro, and Grok-4.1. Under our protocol REPRO reaches 100\% attack success rate (ASR) on every evaluated target in a single turn, at a median of 24 target queries per behavior. Two properties of the protocol qualify that figure. The judge scoring candidates during optimization also produces the reported ASR, and search halts when it accepts, so ASR reports whether search succeeded within the iteration budget rather than success at a fixed budget. All baseline figures are transcribed from their original papers, which use different judges, budgets, and model versions. We therefore present this as a catalog of model coverage under one protocol rather than a head-to-head ranking, and develop both qualifications in the paper.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI, cs.NE
- Comments
- Under Review for ACM TOSEM
Related papers
Red-Teaming a Sovereign LLM, Its Reasoning and Its Training Stages
Shared title terminologycs.CLHatef Otroshi Shahreza
Prompt or Policy? Optimizing Physician Slate Presentations with LLM User Simulators
Shared title terminologycs.CLAndrei Niculae, Adrian Cosma, Emilian Radoi
MoPrO-SD: Modular Prompt Optimization for Stance Detection
Shared title terminologycs.CLMeysam Sabbaghan, Nikesh Gyawali, Arman Zareian Jahromi et al.
Do Prompt Optimizers Break Requirements They Are Not Scored On? A Preregistered Study
Shared title terminologycs.CLSangdo Han, Moonsoo Kim
MINE: A Training-Free Defense against Indirect Prompt Injection via Mutual Information and Embedding Variance
Shared title terminologycs.CLTruong Phan, Ngoc-Quan Pham, Dat Quoc Nguyen
Evaluating Ukrainian Grammatical Competence in Language Models: Probability Versus Prompting
Shared title terminologycs.CLDmytro Babarytskyi, Oleksandr Babarytskyi, Vadym Savanevych