Diversity-Aware Annotation for Conversational AI Safety

Zongwei Zhou, Vinodkumar Prabhakaran, Lora Aroyo, Mark Díaz, Christopher M. Homan, Greg Serapio-García, Alex S. Taylor, Ding Wang2024

TL;DR

Ensuring conversational AI is safe requires diverse human perspectives, but large-scale diverse annotation is costly. This paper introduces a practical, two-step "diversity-aware annotation" approach that efficiently identifies key subgroups with differing safety perceptions and dynamically assigns raters to maximize representation, significantly improving recall of safety issues flagged by minority groups without sacrificing precision.

What Problem Does This Paper Address?

As conversational AI systems become more sophisticated, ensuring their safety is paramount. However, what constitutes "safe" content is subjective and heavily influenced by an individual's socio-cultural background and lived experiences. This diversity in perception is critical for AI safety evaluations, as different groups may experience different harms. While recent research highlights the importance of diverse human annotations for AI safety, effectively and efficiently incorporating these diverse perspectives into annotation pipelines remains a significant challenge. Large-scale diversification of rater pools is often impractical due to resource and cost constraints. Moreover, not all axes of diversity are equally relevant for every task, making brute-force diversification wasteful. The paper aims to bridge this gap by proposing a method that balances capturing diverse perspectives with resource limitations.

Methods

The paper proposes a two-step "diversity-aware annotation" approach:

  1. Pilot Step: A small pilot study is conducted to identify key subgroups of raters whose perspectives on safety issues are substantially diverse for a given task. This is achieved by analyzing annotations on a subset of data and identifying demographic groups that exhibit the highest rates of flagging specific harm types as "unsafe."
  2. Dynamic Assignment: Based on the insights from the pilot, items are dynamically allocated to raters. The assignment policy up-samples from the identified key rater subgroups to ensure adequate representation of minority perspectives, thereby optimizing for a specific target policy (e.g., maximizing recall of safety issues). This approach aims to strike a balance between capturing majority safety perceptions and ensuring sufficient representation of marginalized viewpoints.

The method is policy-agnostic, meaning it can be adapted to optimize for different metrics like recall or precision, and it is iterative, allowing for refinement based on ongoing data collection.

Datasets

  • DICES-350: This dataset is used for the simulation experiments. It consists of 350 human-chatbot conversations, each annotated for safety by 120 human raters. The dataset includes demographic information about the raters (age, race/ethnicity, gender, educational background) and labels for various harm types present in the conversations. The high replication rate (120 raters per item) makes it suitable for simulating annotation studies.

Key Insights and Ideas

  • Targeted Diversity is Key: Brute-force diversification of rater pools is inefficient. Identifying specific subgroups with genuinely diverse perspectives relevant to the task is crucial for effective annotation.
  • Dynamic Assignment Outperforms Random: Simply recruiting a diverse rater pool and randomly assigning tasks is less effective than a dynamic approach that strategically assigns raters based on their identified sensitivities to specific content types.
  • Recall Improvement without Precision Loss: The proposed method can significantly improve the recall of safety issues flagged by minority groups, a critical aspect for safety evaluations, without negatively impacting overall precision.
  • Cost-Effectiveness: The diversity-aware approach requires significantly fewer annotations compared to high-replication studies, making it a more practical solution for real-world applications.

Key Results

In a simulation study using the DICES-350 dataset, the diversity-aware annotation approach demonstrated the following:

  • Recall Improvement: Achieved a 3.54 point gain in recall compared to a stratified random baseline.
  • Precision Impact: Showed only a minor loss of 0.2 points in precision.
  • Frequency of Gain: In 84.6% of the simulation runs, the diversity-aware approach showed a gain in recall compared to the baseline.
  • Cost Reduction: The approach required approximately 18% of the annotations needed for a high-replication study while capturing over 83% of potentially unsafe items.

Limitations and Future Work

  • Choice of Target Policy: The effectiveness of the approach depends on choosing the right target policy (e.g., recall vs. precision). For tasks requiring ambiguity detection, other metrics might be more suitable.
  • Rater Recruitment Overhead: Even for a pilot study, recruiting diverse raters requires effort, and decisions about which axes of disparity to consider are complex.
  • Content Categories: The approach relies on item-level content labels. In cases where these are not readily available, alternative methods like topic modeling or content classifiers would be needed, posing challenges in determining appropriate granularity.
  • Static vs. Dynamic Refinement: The current study uses a static pilot/full-scale approach. Future work could explore dynamic and iterative refinement of diversity requirements and assignment policies based on emergent annotation behavior.
  • Simulation vs. Real-World: The study is based on simulations. Real-world data collection might reveal additional challenges not captured in this setting.
  • Threshold Sensitivity: The choice of threshold for defining "unsafe" can impact results, potentially leading to ceiling effects in precision measurements. Further investigation into threshold effects is warranted.

Summary updated

BibTeX
@misc{zhou2024diversity,
  author = {Zongwei Zhou and Vinodkumar Prabhakaran and Lora Aroyo and Mark Díaz and Christopher M. Homan and Greg Serapio-García and Alex S. Taylor and Ding Wang},
  title = {{Diversity-Aware Annotation for Conversational AI Safety}},
  year = {2024},
  doi = {10.63317/237b3p7z67xr},
}

Loading related content...

Figure