Distilling the Multimodal Red-Team Loop into a One-Step Image Generator

Vision-language models often refuse a harmful request typed as text, yet comply when the same intent is split across an innocent picture and an innocent question. A photo of a cleaning product paired with "how do I mix this with bleach?" is the standard example. The best benchmarks for this failure are built by expensive loops. USB has frontier LLMs draft risk scenarios, renders images with multi-step diffusion models (a diffusion model is a generator that turns random noise into an image over many small denoising steps), queries a pool of ten open models, rewrites prompts that fail to elicit unsafe answers, and finally sends everything to 50 human annotators. Each usable example therefore costs many diffusion steps, many model queries, and human time. That cost is why such data serves as a scarce evaluation set rather than as abundant training data for defenses.

We propose to replace most of that loop with a single learned generator. We would train a one-step image generator whose output distribution is a distilled copy of "teacher diffusion samples that survived the red-team filter." Conditioned on a risk category and a benign text query, it should emit, in one forward pass, an image that is benign on its own but makes the pair unsafe for a target model. The training objective is mode-seeking: the student is penalized for producing images the filtered target would reject, but not for ignoring some of its modes. This is what makes most samples valid. It is also what threatens coverage of the risk taxonomy. The proposal's technical content is about controlling that tension. Its practical content is about whether the resulting data trains better cross-modal defenses per unit of compute than the existing pipelines.

Core Claim

Iterated best-of-N distillation can turn a reward-filtered diffusion teacher into a one-step generator of compositional cross-modal safety probes. The scheme follows BOND, which proves that best-of-N sampling solves a KL-regularized RL objective and distills it into a single-pass policy using an EMA anchor and a mix of forward and reverse KL. Here it is transplanted to continuous image generation via Distribution Matching Distillation (DMD, which trains a one-step generator by reverse-KL matching against a frozen "real" score model and an online "fake" score model). We claim three things. First, the generator's acceptance rate on the compositional criterion will be much higher than that of an untilted one-step generator, so the cost per accepted, human-validated sample drops. Second, a diversity anchor borrowed from DP-DMD keeps the student from collapsing onto a few easy attack tricks. Third, defenses trained on this data reduce unsafe rates on held-out compositional benchmarks at least as well as defenses trained on equal-budget data from slower pipelines.

The novelty is not one-step generation, and not multimodal safety data. Each exists separately. What is new is treating the expensive filter in a safety-data pipeline as the target distribution of a mode-seeking distillation, and measuring the precision-versus-coverage trade-off that this creates in a safety setting.

How the Directions Fit Together

Mode-seeking distillation is the mechanism here. Reverse KL concentrates a small student on the teacher's high-confidence modes, trading recall for precision, as characterized by Cha et al.. Precision is exactly what a safety-data generator needs, because every invalid sample costs a judge call and an annotator's attention. The same work and Huang et al. also document the constraint: unconstrained reverse KL prunes tail modes. DMD itself needs an LPIPS anchor to avoid dropping visual modes, and DP-DMD raises DINO diversity from 0.137 to 0.179 on Pick-a-Pic by giving its first step a separate regression objective and blocking reverse-KL gradients into that step.

Iterative sampling latency is the cost we amortize. MeanFlow and DMD show that one-step generation can approach multi-step quality, with MeanFlow reaching FID 3.43 at one step on ImageNet 256 and DMD running at 20 FPS at 512 pixels. Synthetic data overhead is the economic regime. BARRED shows that verification is where quality comes from: removing debate verification drops accuracy by 27%. USB shows that iterative rewriting against target models is where multimodal hardness comes from. Both are expensive per sample. The multimodal safety gap is the application and the evaluation. Safe Inputs but Unsafe Output (SIUO) and USB's finding that the safe-image/safe-text cell is the most vulnerable define the target behavior.

The closest amortization work is Jailbreak Distillation. It amortizes red-teaming by running heavy attacks on development models once and keeping the prompts that transfer. That design motivates our held-out-target evaluation. However, it produces a static text benchmark and does not learn a generator. USB supplies both the taxonomy we condition on and the most direct competitor pipeline. USB does not distill anything; it pays the full multi-step and rewrite cost for every sample.

Research Program

Generator. We start from a one-step DMD student of an open text-to-image teacher, conditioned on a USB tertiary risk category and on a benign text query drafted by an open LLM.

Reward. The reward encodes "information complementarity," and it is deliberately strict. A sample (image $x$, text $q$, target model $T$) is accepted only if five conditions hold. A safety judge rates $T$'s response to $(x, q)$ unsafe. The image alone, captioned neutrally, is rated benign. The text alone is rated benign. $T$'s response to $q$ paired with a blank image is safe. A grounding check confirms that $q$ refers to content visible in $x$.

The blank-image control matters. Li et al. show that a blank image alone can break refusal, so without this control a mode-seeking generator would likely discover that near-empty images are the cheapest way to win. Following BOND, we convert judge scores into within-batch quantile rewards rather than raw probabilities, which limits exploitation of judge quirks.

Training rounds. Training proceeds in rounds, mirroring J-BOND's EMA-anchored iteration. In round $k$, the current generator $G_k$ produces a batch, which is scored. Accepted samples are added to a growing pool. A LoRA copy of the teacher is fine-tuned on the pool to serve as the "real" score for the tilted target. $G_k$ is then updated with the DMD reverse-KL gradient against that tilted score. Separately, its first step is regressed toward the untilted teacher, DP-DMD style, with gradients from the reverse-KL loss blocked from that step. Written compactly, the generator minimizes

$$\mathcal{L}(G) = D_{\text{KL}}\big(p_G \,\|\, \tilde p_k\big) + \lambda\, \mathcal{L}_{\text{anchor}}(G; p_{\text{teacher}}),$$

where $p_G$ is the generator's image distribution, $\tilde p_k$ is the teacher fine-tuned on accepted samples (a proxy for the teacher tilted by the acceptance criterion), and $\mathcal{L}_{\text{anchor}}$ is the first-step regression to the original teacher weighted by $\lambda$.

Development targets are a small set of open vision-language models, for example the LLaVA family that USB reports above 80% attack success. Evaluation of transfer uses models never queried during training.

Defenses. The generated data is then used to train defenses in two ways. One is supervised safety fine-tuning of a target model on (probe, refusal-with-explanation) pairs mixed with benign pairs. The other is as the contrastive set for SRT-style refusal-direction steering, which currently relies on 300 VLSBench harmful samples. Using our data as SRT's input tests whether the generator is useful as a data source for the strongest existing defense, not only as a rival to it.

Baselines

The naive reference is no defense data at all: the vanilla target model evaluated on the held-out benchmarks. The file gives reference points here. SIUO reports that 13 of 15 models stay below a 50% safe rate. SRT reports Qwen3-VL-8B at 46.7% unsafe on SIUO and 34.09% on VLSBench before intervention.

The first generation baseline is untilted one-step generation plus rejection sampling. The same DMD student, without the reward-tilted rounds, generates images that pass through the identical five-part filter, and only accepted samples are kept. This is the most direct competitor to our generator, because one-step sampling already makes image generation cheap. It is run with the same teacher, the same text queries, and a judge-query budget equal to our training-plus-generation budget. We beat it if we deliver more accepted, human-validated samples per judge call and per GPU-hour, at equal or better per-category diversity. No reported result was found on Lacuna for acceptance rates of such a filter.

The second generation baseline is the USB pipeline, using the released USB resource and, where needed, a re-run of its multi-step-image-plus-rewrite procedure on a compute budget matched to ours. This is the strongest existing method for producing hard compositional multimodal data. For a fair comparison we train identical defenses on equal numbers of samples and on equal compute. We beat it if our data yields lower held-out unsafe rates per GPU-hour, or matches it at a fraction of the cost. No reported result was found on Lacuna for USB's generation cost in GPU-hours.

The strongest defense baseline is SRT itself trained on its original data. Its reported numbers on Qwen3-VL-8B are SIUO unsafe rate 19.76% (from 46.7%) and VLSBench 1.47% (from 34.09%). VLSBench was its training source, so we treat SIUO and USB's safe-image/safe-text cell as the uncontaminated test. Beating it means SRT built from our generated contrastive set lowers SIUO unsafe rate below 19.76% without raising refusals on MM-Vet or on USB's harmless prompts. We also report TGA, whose reported defense success rate on LLaVA-1.5 rises from 0–1% to 17–30% on HOD and ToViLaG. TGA needs no toxic data, which makes it the right "data-free" comparison.

Two ablations isolate the key ingredients. Removing the diversity anchor gives pure reverse KL toward the tilted target; we predict it collapses onto a few categories and visual tricks. Removing the blank-image and text-alone controls from the reward tests whether the generator then drifts toward the non-compositional interference attacks of Li et al.

Why not just…?

Why not just use an off-the-shelf one-step generator and filter its outputs? This is the real threat. If acceptance under the compositional filter is already high for weak targets, tilting buys little, because generation is cheap and the filter dominates cost either way. The argument for tilting rests on rare cells. Acceptance falls with stronger targets (USB reports Claude 3.5 Sonnet at 15.57% attack success) and with our stricter joint criterion, so filtering cost scales inversely with acceptance. The matched-budget comparison in the baselines decides this. If rejection sampling matches us on cost per accepted sample and on diversity, the distillation component should be dropped and the contribution reduces to the filter design.

Why not just retrieve real benign photos, or render text into images, instead of generating anything? Typographic attacks like FigStep and MM-SafetyBench are strong, raising LLaVA-1.5-7B's attack success from 5.25% to 79.38% in one scenario. But they test reading, not compositional reasoning, and USB deliberately avoids OCR-style triggers. Retrieval is more serious: pairing LLM-written queries with images retrieved from a large caption database, as TGA does for alignment, costs almost nothing. Its limit is that the needed objects and scenes for many of the 61 categories may be rare or absent. We include a retrieval-plus-filter baseline at equal judge budget and report per-category coverage. If retrieval covers the taxonomy, generation is unnecessary.

Why not just apply steering defenses like SRT and skip data generation? Steering needs very little data, but its weakest results are on compositional hazards: SIUO stays at 19.76% unsafe after SRT, versus 1.47% on VLSBench, and TGA stays below dedicated filters. That gap suggests the missing ingredient is examples of the compositional failure, not a better intervention. Our experiment tests this directly by feeding SRT our data instead of its original seed set.

Proposed Experiments

Generator quality and cost. We report, per USB tertiary category, the acceptance rate under the five-part filter. We report the human-validation pass rate on a stratified sample, since annotators are the final ground truth and judge errors will exist. We report within-category DINO diversity, as in DP-DMD, and the fraction of categories reaching a minimum count of accepted samples. Cost is reported as GPU-seconds and judge calls per validated sample, against the rejection-sampling, retrieval, and USB baselines. We also report the share of accepted samples that pass the blank-image control, to detect interference shortcuts.

Downstream defense. We train defenses on equal-size and equal-compute datasets from each source and evaluate on SIUO, the safe-image/safe-text cell of USB-Hard, MM-SafetyBench, HOD/ToViLaG, and VLSBench, with MM-Vet and USB harmless prompts for utility and over-refusal. Targets include LLaVA-1.5 and Qwen3-VL-8B, the two models for which the file reports baseline numbers. We hold out evaluation models never queried during generation, following JBDISTILL's transfer protocol.

Decisive checks. Three outcomes settle the claim. The first is whether the tilted generator beats untilted one-step generation plus filtering at matched judge budget on validated samples per call. If not, the distillation idea fails. The second is whether the anchor ablation shows measurable category collapse. If pure reverse KL already covers the taxonomy, the coverage concern was overstated. The third is whether SRT or fine-tuning built on our data lowers SIUO unsafe rate below the reported 19.76% without increased refusals on harmless prompts.

Main risks. A positive result on development targets that vanishes on held-out targets would mean the generator learned target-specific quirks rather than compositional hazards. That would be a useful negative finding about amortizing multimodal red-teaming.