Adversarial training for high-stakes reliability

Daniel M. Ziegler, Seraphina Nix, Lawrence Chan, Tim Bauman, Peter Schmidt-Nielsen, Tao Lin, Adam Scherlis, Noa Nabeshima, Ben Weinstein-Raun, Daniel de Haas, Buck Shlegeris, Nate Thomas

In the future, powerful AI systems may be deployed in high-stakes settings where a single failure could be catastrophic. Researchers at Redwood Research demonstrate that adversarial training—specifically using a novel tool to help humans find model weaknesses—can significantly improve the reliability of AI systems in these scenarios. By iteratively training a classifier to detect injurious content in stories and using it to filter a generator, they doubled the time required for human attackers to find a failure without sacrificing the quality of the AI's output.

What Problem Does This Paper Address?

Most current AI alignment techniques focus on average-case performance: making sure a model is helpful and harmless most of the time. However, in "high-stakes" settings (like medical advice or autonomous infrastructure), a single failure can be catastrophic.

The challenge is that these catastrophic failures are often "out-of-distribution"—they don't appear in normal training data. To reach a level of reliability where we can confidently deploy models in dangerous environments, we need techniques that specifically target worst-case performance. This paper explores whether adversarial training—the process of intentionally finding and fixing a model's "blind spots"—can bridge this gap.

Methods

The authors used a proxy task: "Avoid Injuries." They tasked a generative model (GPT-Neo-2.7B) with completing a story without introducing physical injury to any characters. To ensure safety, they trained a separate classifier (DeBERTa-v3-large) to act as a filter.

The core of their method is a three-stage adversarial training loop:

Adversarial training loop showing manual, paraphrase, and tool-assisted attacks
  1. Manual Attacks: Unassisted humans try to write story snippets that trick the classifier into thinking an injury is "safe."
  2. Automatic Paraphrasing: Using GPT-3 to generate variations of known adversarial examples to expand the dataset.
  3. Tool-Assisted Rewrites (The Novel Approach): The authors built a custom interface to "supercharge" human adversaries. The tool provides:
  4. Saliency Maps: Highlighting which words most influence the classifier's current score.
  5. Token Substitution: Suggesting alternative words (via DeBERTa-v2-xlarge) that are likely to lower the classifier's "danger" score, helping humans "hill-climb" toward a successful attack.

Datasets

  • Initial Story Dataset: ~166,000 snippets derived from a 300GB archive of fanfiction, subselected for a higher-than-average likelihood of injury to provide a baseline.
  • Adversarial Datasets: Three distinct sets generated during the study: Manual (1,492 examples), Automatic Paraphrases (12,514 examples), and Tool-assisted rewrites (4,904 examples).
  • In-distribution Test Set: 100,033 snippets used to ensure the classifier didn't become "over-sensitive" and start flagging safe content.

Key Insights and Ideas

  • The "Conservative Threshold" Win: One of the most surprising findings was that they could set extremely strict classifier thresholds—filtering out roughly 25% of safe completions—without human readers noticing a drop in the quality of the stories. This suggests that for many tasks, we have more "safety budget" than we realize.
  • Tools Change the Game: Humans are great at understanding semantics, but they aren't great at guessing a model's internal weights. By providing saliency maps and token suggestions, the researchers turned contractors into much more effective "red teams," allowing them to find subtle failures that unassisted humans would miss.
  • Robustness Transfer: Training against one type of attack (like paraphrasing) actually made the model more robust against other types (like tool-assisted human attacks). This suggests that adversarial training is building a more generalized understanding of the safety boundary rather than just "plugging holes."

Key Results

  • Doubled Resistance: After adversarial training, the time it took for contractors to find a successful adversarial example doubled. For tool-assisted attacks, the time rose from 13 to 26 minutes; for unassisted manual attacks, it rose from 20 to 44 minutes.
Minutes per successful rewrite against each classifier
  • Qualitative Improvement: Even when the adversarially trained models failed, the failures were "less egregious." Instead of explicit, graphic injuries, the remaining failures tended to be subtle or implied.
  • No "Alignment Tax": The adversarial training did not degrade the model's performance on normal, non-adversarial data. The false negative rate on the in-distribution test set remained very low (around 0.17% to 0.2%).

Limitations and Future Work

  • Task Complexity: "Avoiding injuries" in fiction is a relatively simple, well-defined task. Real-world safety (like "don't give instructions for making bioweapons") is much more linguistically complex and harder to label.
  • Model Scale: The researchers used a 304M parameter classifier. While effective, larger state-of-the-art models might exhibit different failure modes or require even more sophisticated tools to "break."
  • Human Heuristics: The authors noted that human attackers often fall into "ruts," using similar tricks repeatedly. Future work could involve "synthetic adversaries"—AI agents trained specifically to find the weaknesses of other AI agents—to ensure a more diverse range of attacks.
  • Measuring the "Un-measurable": As models get more reliable, it becomes incredibly expensive to measure their failure rate via random sampling. The authors suggest that future work needs better statistical tools to provide formal upper bounds on failure rates.

Summary updated

BibTeX
@inproceedings{ziegler2022adversarial,
  author = {Daniel M. Ziegler and Seraphina Nix and Lawrence Chan and Tim Bauman and Peter Schmidt-Nielsen and Tao Lin and Adam Scherlis and Noa Nabeshima and Ben Weinstein-Raun and Daniel de Haas and Buck Shlegeris and Nate Thomas},
  title = {{Adversarial training for high-stakes reliability}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=wJAAa0UQXH},
}
Figure