Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Training for High-Stakes Reliability

Daniel M. Ziegler, Seraphina Nix|arXiv (Cornell University)|May 3, 2022
Adversarial Robustness in Machine LearningComputer Science9 citations
TL;DR

This paper proposes adversarial training with human-in-the-loop attacks to improve high-stakes reliability in language models, specifically for filtering injurious text completions. Using a tool-assisted human adversary, the method increased robustness—doubling the time to generate adversarial examples (from 13 to 26 min with tool, 20 to 44 min without)—while preserving in-distribution performance and enabling conservative classifier thresholds with minimal quality loss.

ABSTRACT

In the future, powerful AI systems may be deployed in high-stakes settings, where a single failure could be catastrophic. One technique for improving AI safety in high-stakes settings is adversarial training, which uses an adversary to generate examples to train on in order to achieve better worst-case performance. In this work, we used a safe language generation task (``avoid injuries'') as a testbed for achieving high reliability through adversarial training. We created a series of adversarial training techniques -- including a tool that assists human adversaries -- to find and eliminate failures in a classifier that filters text completions suggested by a generator. In our task, we determined that we can set very conservative classifier thresholds without significantly impacting the quality of the filtered outputs. We found that adversarial training increased robustness to the adversarial attacks that we trained on -- doubling the time for our contractors to find adversarial examples both with our tool (from 13 to 26 minutes) and without (from 20 to 44 minutes) -- without affecting in-distribution performance. We hope to see further work in the high-stakes reliability setting, including more powerful tools for enhancing human adversaries and better ways to measure high levels of reliability, until we can confidently rule out the possibility of catastrophic deployment-time failures of powerful models.

Motivation & Objective

  • To address the challenge of catastrophic failures in high-stakes AI deployments where even a single failure is unacceptable.
  • To evaluate adversarial training as a method for improving worst-case reliability in language models.
  • To develop and test a tool-assisted human adversary to enhance the discovery of adversarial examples.
  • To investigate whether conservative classifier thresholds can maintain high worst-case reliability with minimal impact on average-case output quality.
  • To explore practical techniques for measuring and improving high-stakes reliability in real-world AI systems.

Proposed method

  • A classifier was trained to detect injurious text completions in a story continuation task.
  • Adversarial examples were generated through three methods: unaugmented human attacks, paraphrasing of prior adversarial examples, and tool-assisted human rewrites.
  • The classifier was retrained on adversarial examples from all three attack types in an iterative loop to improve robustness.
  • A novel tool was developed to assist human adversaries in rewriting prompts and completions to generate more effective adversarial examples.
  • Classifier thresholds were set conservatively to prioritize worst-case safety, with performance monitored on in-distribution data.
  • Robustness was measured by the time taken by contractors to generate adversarial examples before and after training.

Experimental results

Research questions

  • RQ1Can adversarial training with human-in-the-loop attacks significantly improve the robustness of a classifier to injurious text completions?
  • RQ2To what extent can conservative classifier thresholds be applied without degrading the quality of non-adversarial outputs?
  • RQ3How effective is a tool-assisted human adversary in generating more diverse and effective adversarial examples compared to unassisted humans?
  • RQ4Does adversarial training improve worst-case reliability without degrading in-distribution performance?
  • RQ5What is the impact of adversarial training on the severity and nature of remaining failures?

Key findings

  • Adversarial training increased robustness such that the time to generate adversarial examples doubled, from 13 to 26 minutes when using the tool-assisted attack method.
  • Without the tool, the time to generate adversarial examples also doubled, from 20 to 44 minutes, indicating improved general robustness.
  • The in-distribution performance of the classifier remained unchanged after adversarial training, indicating no degradation on standard examples.
  • The remaining failures in the adversarially trained model were less severe and less likely to involve direct mentions of injury.
  • Conservative classifier thresholds could be applied without significantly affecting the quality of the generator’s outputs, enabling high worst-case reliability.
  • The tool-assisted human attack method proved effective in increasing the diversity and difficulty of adversarial examples, enhancing the training process.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.