STAR: SocioTechnical Approach to Red Teaming Language Models

Laura Weidinger, John Mellor, Bernat Guillen Pegueroles, Nahema Marchal, Ravin Kumar, Kristian Lum, Canfer Akbulut, Mark Diaz, Stevie Bergman, Mikel Rodriguez, Verena Rieser, William Isaac

TL;DR

The STAR (SocioTechnical Approach to Red teaming) framework improves LLM safety testing by using procedurally generated, parameterized instructions to ensure broad risk coverage and "demographic matching" to capture subtle harms. By treating annotator disagreement as a valuable signal rather than noise, STAR provides a more rigorous and inclusive method for identifying model failures.

What Problem Does This Paper Address?

Red teaming—adversarially probing a model to find vulnerabilities—is currently the "Wild West" of AI safety. There is little consensus on best practices, making it difficult to compare results across different models.

The authors identify two major gaps in current methods:

  1. Lack of Steerability: Human red teamers often gravitate toward "easy" or familiar vulnerabilities, leading to redundant data and leaving large "blind spots" in the model's risk surface.
  2. Subjectivity and Signal Quality: Safety is often in the eye of the beholder. Standard annotation processes usually rely on majority rule, which can silence the perspectives of marginalized groups who are most likely to be targeted by specific harms like hate speech or discriminatory stereotypes.

Methods

STAR introduces a structured, three-pronged approach to human-led red teaming:

  • Parameterized Instructions: Instead of giving testers open-ended goals, STAR procedurally generates specific prompts based on five parameters: safety rule, demographic group, use case, topic, and level of adversariality.

    Figure 1: STAR procedurally generates parametric in- structions to ensure comprehensive AI red teaming.
  • Expert and Demographic Matching: The framework matches the identity or expertise of the annotator to the specific risk being tested. For example, if a red teamer is instructed to attack "Asian women," the resulting dialogue is evaluated by annotators who identify as Asian women.

  • Arbitration Pipeline: Rather than simple voting, STAR uses a two-stage process. Two annotators provide ratings and free-text reasoning. If they significantly disagree, a third "arbitrator" reviews their arguments and the dialogue to provide a final, nuanced judgment.

Datasets

The study generated a new dataset, STAR, consisting of 8,360 multi-turn dialogues produced by 225 red teamers and evaluated by 286 annotators. To validate their approach, the authors compared STAR against three existing datasets:

  • Anthropic: A large-scale open-source red teaming dataset.
  • DEFCON 31: Data from a public red teaming contest involving multiple frontier models.
  • Real-world flagged dialogues: User-AI interactions from a proprietary system that were flagged for undesired behavior.

Key Insights and Ideas

  • Specificity Breeds Coverage: Counter-intuitively, giving testers highly specific instructions (e.g., "attack this specific group in this specific scenario") resulted in better overall coverage of the risk surface than open-ended "go break the bot" instructions.
  • Lived Experience is Expertise: The paper argues that demographic matching isn't just about diversity—it's about accuracy. In-group members are more sensitive to "dog whistles" and subtle stereotypes that out-group members might dismiss as harmless or factual.
  • Disagreement as Signal: Disagreement between raters often stems from different interpretations of what "counts" as harm (e.g., whether a fictional story containing a stereotype is a violation). The arbitration step captures this reasoning, turning "noise" into actionable insights for model developers.
  • Intersectional Failures: The model's behavior on intersectional groups (e.g., Black women) was not just the sum of its behavior toward "Black people" and "women." STAR successfully surfaced unique failure modes that only appeared at these intersections.

Key Results

  • Intentional Clustering: UMAP embeddings show that STAR dialogues cluster more intentionally around targeted risk areas (like gender and race bias) compared to the more scattered or "malicious use" focused clusters in Anthropic and DEFCON datasets.

    Figure 2: UMAP of the embedding space of dialogues across three red teaming datasets: Anthropic, DEFCON, and STAR; as well as dialogues between a proprietary model and users that were flagged as undesirable by us. Visual inspection of Figure 2 shows similar coverage and clustering of the STAR approach compared to other approaches. Cluster analysis further reveals that STAR results in more intentional thematic clustering based on the red teaming instructions, compared to the other projected red teaming approaches. Each dot indicates a dialogue. For comparability, we downsampled all datasets to include maximum 4000 randomly selected instances.
  • Sensitivity Gap: In-group annotators flagged dialogues as "broken" in 45% of cases, compared to only 30% for out-group annotators (p=0.01). This was particularly pronounced for hate speech.

    Figure 5: In- and out-group annotations by rule. Hate speech shows a significant difference between in- and out-group annotators in terms of their likelihood of rat- ing a rule as broken.
  • Statistical Power: The use of randomized factorial design (parameter combinations) allowed the authors to perform nuanced retroactive analysis of model failures without increasing data collection costs.

Limitations and Future Work

  • Cognitive Load: There is a limit to how many parameters a human tester can juggle. The authors capped this at five, but future work could explore how to scale this complexity.
  • Language and Culture: This study was limited to English-speaking participants in the U.S. The authors emphasize that STAR should be extended to other languages and geographic regions to capture localized harms.
  • Automation: While this paper focused on human red teaming, the authors suggest STAR could serve as a baseline for semi-automated or fully automated red teaming approaches in the future.

Summary updated

Abstract

This research introduces STAR, a sociotechnical framework that improves on current best practices for red teaming safety of large language models. STAR makes two key contributions: it enhances steerability by generating parameterised instructions for human red teamers, leading to improved coverage of the risk surface. Parameterised instructions also provide more detailed insights into model failures at no increased cost. Second, STAR improves signal quality by matching demographics to assess harms for specific groups, resulting in more sensitive annotations. STAR further employs a novel step of arbitration to leverage diverse viewpoints and improve label reliability, treating disagreement not as noise but as a valuable contribution to signal quality.
BibTeX
@inproceedings{weidinger2024star,
  author = {Laura Weidinger and John Mellor and Bernat Guillen Pegueroles and Nahema Marchal and Ravin Kumar and Kristian Lum and Canfer Akbulut and Mark Diaz and Stevie Bergman and Mikel Rodriguez and Verena Rieser and William Isaac},
  title = {{STAR: SocioTechnical Approach to Red Teaming Language Models}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.1200},
}
Figure