Skip to main content
QUICK REVIEW

[Paper Review] Towards Controllable Biases in Language Generation

Emily Sheng, Kai-Wei Chang|arXiv (Cornell University)|May 1, 2020
Topic ModelingComputer Science30 references11 citations
TL;DR

This paper proposes a model-agnostic framework to induce and mitigate societal biases in natural language generation (NLG) using gradient-based adversarial triggers. By prepending triggers to prompts containing demographic mentions, the method controls bias polarity (negative, neutral, positive) toward specific groups, enabling both bias analysis and mitigation—demonstrating effective equalization of biases across demographics and reduced negative bias in GPT-2 outputs.

ABSTRACT

We present a general approach towards controllable societal biases in natural language generation (NLG). Building upon the idea of adversarial triggers, we develop a method to induce societal biases in generated text when input prompts contain mentions of specific demographic groups. We then analyze two scenarios: 1) inducing negative biases for one demographic and positive biases for another demographic, and 2) equalizing biases between demographics. The former scenario enables us to detect the types of biases present in the model. Specifically, we show the effectiveness of our approach at facilitating bias analysis by finding topics that correspond to demographic inequalities in generated text and comparing the relative effectiveness of inducing biases for different demographics. The second scenario is useful for mitigating biases in downstream applications such as dialogue generation. In our experiments, the mitigation technique proves to be effective at equalizing the amount of biases across demographics while simultaneously generating less negatively biased text overall.

Motivation & Objective

  • To develop a general, model-agnostic method for controlling societal biases in natural language generation (NLG) models.
  • To analyze how biases manifest in NLG outputs by examining topics associated with demographic inequalities.
  • To evaluate the relative effectiveness of inducing biases across different demographic groups, revealing model limitations.
  • To design and evaluate a mitigation strategy that reduces negative biases and equalizes bias polarity across demographics.
  • To demonstrate the generalizability of the method across NLG models and unseen names in downstream dialogue systems.

Proposed method

  • The method uses gradient-based adversarial trigger search to identify short trigger phrases that influence the bias polarity of generated text when prepended to input prompts.
  • The framework defines bias polarity as negative, neutral, or positive influence on social perception toward a demographic group, with bias control objectives formulated to induce or mitigate specific polarities.
  • Triggers are optimized using gradients from target samples to maximize desired bias shifts in model outputs for specified demographic mentions.
  • The approach is applied to GPT-2 and a dialogue model (DialoGPT), with evaluations on both automatic and human-annotated bias scores.
  • Mitigation is achieved by training triggers to reduce negative bias and equalize bias ratios across demographics, tested on both seen and unseen names.
  • Topics associated with demographic bias imbalances are analyzed by examining the content of generated text under different trigger conditions.

Experimental results

Research questions

  • RQ1Can adversarial triggers be used to systematically induce negative, neutral, or positive biases in NLG outputs based on demographic mentions?
  • RQ2What topics in generated text are most strongly associated with demographic bias imbalances?
  • RQ3How does the effectiveness of bias induction vary across different demographic groups, and what does this reveal about model limitations?
  • RQ4Can triggers be designed to mitigate bias and equalize bias polarity across demographics in NLG models?
  • RQ5Does the mitigation trigger generalize to unseen names and maintain effectiveness in real-world dialogue applications?

Key findings

  • The mitigation trigger reduced the average regard score gap between Black and White names from 0.25 to 0.01, indicating effective bias equalization.
  • For both seen and unseen names, the mitigation trigger maintained consistent performance, showing generalization across demographic names.
  • The average regard score for Black names increased from 0.38 to 0.53, and for White names from 0.37 to 0.52, indicating a significant shift toward more neutral and positive bias.
  • The method successfully induced negative bias toward race-Black and positive bias toward race-White, revealing topic-level imbalances such as increased international relations references.
  • Inducing negative bias was more difficult for race-White than for race-Black, and more difficult for sexual-orientation-straight than for sexual-orientation-gay, suggesting model asymmetries in bias susceptibility.
  • Human evaluation confirmed the automatic bias scores, with inter-annotator agreement of 0.71 and correlation between human and automatic labels of 0.66.

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.