Source-linked AI summary

Learning to Generate Equitable Text in Dialogue from Biased Training Data

Anthony Sicilia, Malihe Alikhani

arXiv:2307.04303v1cs.CLcs.AI

TL;DR

Dialogue generators can miss underrepresented long-tail concepts, while equitable text generation in dialogue lacks a comprehensive, theoretically grounded account. This paper formalizes equity using computational learning theory and finds that its theory predicts algorithm performance, including LEATHER's human-likeness and equity improvements over CL in GuessWhat?!.

  • Problem

    Dialogue generators often miss underrepresented long-tail concepts, and equitable generation in dialogue lacks a comprehensive, theoretically grounded framework.

    Source: §1 · p. 1
  • Method

    The paper formalizes dialogue equity and uses computational learning theory to connect equitable generation with human-likeness learning, including through data augmentation.

    Source: §1 · p. 2
  • Results

    In GuessWhat?!, LEATHER improves on CL in human-likeness and equity across all metrics, and the reported empirical results align with the theory's predictions.

    Source: §4.2 · p. 9
  • Takeaways & Limitations

    The study uses theory to guide algorithm design, anticipate data-augmentation effects, and provide proxy statistics for ranking algorithm equity.

    Source: §5 · p. 9

    The empirical study focuses primarily on gender bias in GuessWhat?!; applying the theory elsewhere requires checking its assumptions, and only a smaller annotation subset was primed to judge equity.

    Source: Limitations · pp. 9–10

Abstract

from arXiv · show

The ingrained principles of fairness in a dialogue system's decision-making process and generated responses are crucial for user engagement, satisfaction, and task achievement. Absence of equitable and inclusive principles can hinder the formation of common ground, which in turn negatively impacts the overall performance of the system. For example, misusing pronouns in a user interaction may cause ambiguity about the intended subject. Yet, there is no comprehensive study of equitable text generation in dialogue. Aptly, in this work, we use theories of computational learning to study this problem. We provide formal definitions of equity in text generation, and further, prove formal connections between learning human-likeness and learning equity: algorithms for improving equity ultimately reduce to algorithms for improving human-likeness (on augmented data). With this insight, we also formulate reasonable conditions under which text generation algorithms can learn to generate equitable text without any modifications to the biased training data on which they learn. To exemplify our theory in practice, we look at a group of algorithms for the GuessWhat?! visual dialogue game and, using this example, test our theory empirically. Our theory accurately predicts relative-performance of multiple algorithms in generating equitable text as measured by both human and automated evaluation.

1 Introduction

Dialogue generators struggle with long-tail concepts such as underrepresented gender relationships, and inequitable generations can reduce user satisfaction and impede common ground and task success. The paper uses computational learning theory to formalize dialogue equity and show how theory can guide algorithm design.

  • Long-tail concepts are underrepresented in training, and inequitable generation can isolate users, reduce satisfaction, and hinder common ground and dialogue task success.Source: §1 · p. 1
  • The paper defines precise constraints for diverse notions of dialogue equity and compares them with traditional classification notions of equity.Source: §1 · p. 2
  • Learning-theoretic algorithms can learn equitable dialogue through data augmentation, and under stated conditions can do so from biased training data without modifying it.Source: §1 · p. 2
  • The theory predicts which algorithms may be more equitable on unseen data and identifies cases where naïve bias-removal augmentation can hurt equity.The authors report that experiments confirm the counter-intuitive augmentation finding.Source: §1 · p. 2

2 Background and Related Work

This section frames test divergence as a way to compare generated dialogue against goal dialogue across chosen evaluation tests. It positions the paper's formal, dialogue-focused equity analysis against representation- and score-based approaches, with a more general definition.

2.1 Learning Theory for Dialogue

  • The goal distribution pairs dialogue contexts with goal dialogues, while the learned dialogue distribution conditions generated dialogues on model parameters and context.Source: §2.1 · p. 2
  • A test maps dialogue to a score and can represent BLEU, sentiment, or human evaluation; test divergence compares scores on goal and predicted dialogue, with larger values indicating poorer replication along the tested dimension.Source: §2.1 · p. 3

2.2 Related Works on Equity

  • Prior work addresses inequity through representation debiasing and evaluation or generation-scoring methods; this paper takes an extrinsic, dialogue-focused approach with formal theoretical analysis.Source: §2.2 · p. 3
  • Relative to Liu et al. (2020)'s formal dialogue-fairness definition, this paper's equity definition covers arbitrary dialogue contexts and more general dataset biases, linking the analysis to learning theory.Source: §2.2 · pp. 3–4

3 Formalizing Equity in Dialogue

The paper defines dialogue equity through score parity and relates equitable generation to test-divergence learning. It also identifies conditions under which learning from biased human dialogue can yield equitable outputs, alongside a data-efficiency trade-off for augmentation.

3.1 Formal Definitions for Equity

  • The protected attribute is a sensitive variable that may depend on dialogue context, and the framework extends to multiple categories by assessing each group’s parity gap.For example, race categories can be checked separately; the dataset meets the stated criterion when all measured gaps are zero.Source: §3.1 · pp. 4–5
  • Score parity requires equal expected scores across protected-attribute groups, with the chosen score specifying which aspect of language must be equitable.The parity gap measures the difference between group-conditional expected scores, allowing degrees of inequity to be measured.Source: §3.1 · pp. 4–5
  • With an attribute-independent score, score parity reflects demographic parity; a correctness-based score can instead express equal error rates across groups.The latter is relevant because language can be predictive of protected attributes, creating a trade-off between accuracy and invariance.Source: §3.1 · p. 5

3.2 Evaluating Equity with Learning Theory

  • If test divergence to an equitable goal is at most ϵ/2, the learned dialogue’s parity gap is at most ϵ.The result uses the scoring function as the test; minimizing divergence with an equitable goal therefore supports equitable learned dialogue.Source: §3.2 · p. 6
  • LEATHER-based algorithms for human-likeness can be adapted to equitable generation by using an equitable goal distribution and augmenting training data.The framework treats the goal distribution and test as key choices; human dialogue cannot simply be assumed equitable.Source: §3.2 · p. 6

Context and Its Role (Assumptions)

  • The paper frames the central question as when human-like learning from possibly biased human dialogue can also learn equitable dialogue.Its assumptions characterize bias as inequity in the contextualized dialogue distribution, distinct from non-systemic noise quantified through expectations.Source: §3.3 · p. 6, §3.2 · p. 6, Context and Its Role (Assumptions) · p. 7
  • Learning from biased human dialogue can also support equity when the data is context-aware and preserves context.The theorem connects human-like learning on such data to reducing an upper bound on divergence from an equitable goal; context-awareness assumes bias arises from aggregate attribute disproportions, while context-preservation keeps attribute-indicating context features consistent.Source: Context and Its Role (Assumptions) · p. 7
  • When training samples are limited, augmentation can reduce data efficiency by introducing dependencies among examples and enlarging a learning-bound term.The passage warns that this can ultimately affect model performance, with the impact depending on the augmentation strategy.Source: Context and Its Role (Assumptions) · p. 7

4 Experiments

Experiments on the GuessWhat?! game corpus test whether the theory predicts equity and human-likeness across dialogue algorithms. LEATHER improves on CL across both, while test divergence tracks equity-related outcomes in line with the theoretical analysis.

4.2 Results

  • LEATHER improves on CL across all reported human-likeness and equity metrics after 100 epochs of pre-training and 100 epochs of self-play.Table 1 compares the first four metrics for human-likeness and the last five for equity; no metric values are supplied here.Source: Table 1 · p. 8, §4.2 · p. 9

4.1 Dataset, Algorithms, and Evaluation

  • The experiments use the GuessWhat?! corpus, model its question-player, and use an automated answer-player trained on human data.Gender is the protected attribute; the labeling scheme treats it as present when human dialogues use a gendered word.Source: §4.1 · p. 8
  • CL combines supervised learning on human dialogue with a later self-play phase, while LEATHER re-incorporates human-human data during self-play.DS modifies LEATHER by downsampling to balance protected-attribute occurrence.Source: §4.1 · p. 8
  • Evaluation measures human-likeness on full test data and equity through accuracy parity and human judgments of correct gendered-word use.The paper focuses on accuracy parity because it expects systemic dataset biases to affect accuracy parity more than toxicity or sentiment parity.Source: §4.1 · p. 8

4.2 Results

  • DS improves on CL on all reported metrics except TD F, but performs worse than LEATHER on all metrics except ∆M.The authors relate DS’s weaker performance to the data inefficiency of its substantial data augmentation.Source: §4.2 · p. 9
  • Theoretically, 2TD always bounds the parity gap ∆, and empirical results agree with this bound in every reported case.Test divergence also predicts all reported improvements from CL to LEATHER and may help rank algorithms by equity.Source: §4.2 · p. 9

5 Conclusions

The paper formalizes equity in dialogue and applies computational learning theory to algorithm design. Its conclusions include algorithms that achieve equity and human-likeness, predictions about data augmentation, and proxy statistics for ranking equity.

  • The paper formalizes mathematical notions of dialogue equity and uses computational learning theory to study how algorithm design can achieve it.Source: §5 · p. 9
  • The study reports that algorithms can be designed for both equity and human-likeness, while theory can predict unexpected consequences of data augmentation.Source: §5 · p. 9
  • The paper identifies proxy statistics that are useful for ranking algorithm equity in a task-oriented dialogue setting.Source: §5 · p. 9

Limitations

The empirical study primarily tests gender bias in GuessWhat?!, while the theory is described as broadly applicable. Applying its insights to new data requires checking assumptions, and the paper notes that human evaluation was limited.

  • The empirical study primarily tests gender bias on the GuessWhat?! task, so broader empirical support across attributes and tasks remains needed.Source: Limitations · p. 9
  • Applying insights from Theorem 3.2 to new data requires checking context-awareness and context-preservation assumptions, which may not hold as bias types change.Source: Limitations · pp. 9–10
  • Only a smaller subset of gender annotations came from annotators primed to judge correctness and equity; the authors say more in-depth human evaluation could better support their results.Source: Limitations · p. 10

Ethics Statement

The paper frames its goal as a theoretically grounded approach to mitigating bias in dialogue systems. It also records human-subject protections and cautions that pretrained models may retain bias.

  • Some proposed algorithms rely on pretrained word or image embeddings, whose associated harms or biases may remain after mitigation efforts.Source: Ethics Statement · p. 10
  • The authors recommend rigorous human evaluation for bias before deploying models trained with these techniques.Source: Ethics Statement · p. 10
  • The human-subject protocol was board-approved; participants volunteered and were compensated under board-approved regulations.Source: Ethics Statement · p. 10

A.1 Proof of Thm. 3.1

The proof bounds the equity gap by using the equitable goal’s equal expected scores across protected attributes and handling the possible score orderings.

A.1 Proof of Thm. 3.1

  • Δ(Ĝθ) ≤ ε whenever TDG(θ) ≤ ε/2, as stated by the claim for an equitable goal and scoring function.The proof concludes that the equity gap is bounded by 2ε, the desired result.Source: §A.1 · p. 13
  • Equity means the expected score is a shared value x for every protected attribute, which the proof substitutes into the expanded sum.The proof then splits the absolute-value expression into cases using the minimum and maximum expected scores.Source: §A.1 · p. 13
  • In the two cases where expected scores straddle x, the x terms cancel; in the other cases, the expressions are bounded below by M − μ.Together these cases establish the stated bound on the equity gap.Source: §A.1 · p. 13

A.2.1 Proof

The proof relates the theorem’s test divergence on model-generated data to its counterpart on human data, then applies a learning bound under stated assumptions.

A.2.1 Proof

  • With context-aware, context-preserving human data, the theorem bounds 2β × TDG(θ) with probability at least 1 − δ for all θ.The supplied statement does not include the expression that bounds it.Source: §A.2.1 · pp. 13–14
  • The argument assumes context awareness, context preservation, conditional independence, and matching model and answer-player sampling distributions.It also assumes pairwise independence among the generated and human dialogue variables conditional on context.Source: §A.2.1 · pp. 13–14
  • The proof transforms the model-data joint density into a human-data joint density using conditional independence and matching sampling distributions.The resulting density can compute TDH, whereas the original density computes TDG; both expectations use non-negative variables.Source: §A.2.1 · pp. 14–15
  • A structural risk minimization PAC bound for a finite hypothesis space supplies the final generalization step without a test set.The proof applies the bound to the true test divergence and the observed divergence.Source: §A.2.1 · p. 15

A.2.2 Remarks on Data Efficiency

These appendices discuss augmentation’s data-efficiency costs, assumptions and labeling for the theoretical result, and the GuessWhat?! setup used in experiments.

A.2.2 Remarks on Data Efficiency

  • For one protected attribute, ideal balancing has α = 2β and reduces data efficiency by a factor of 1/√2β; estimation and multiple attributes can add further costs.The formal comparison depends on the augmentation strategy and estimation error, and is left for future work.Source: §A.2.2 · p. 15

A.2.3 Assumption of Pairwise Independence

  • Pairwise independence means that, conditional on context, the dialogue and attribute variables do not provide additional information about one another.The text gives gender and question-answer pairs conditional on the image as a GuessWhat?! example.Source: §A.2.3 · pp. 15–16

A.3 Labeling Scheme

  • The labeling scheme is used to satisfy context awareness and preservation, supporting an equitable goal under score parity.The appendix establishes that the constructed distribution exists and that its test divergence and parity gap are zero.Source: §A.3 · pp. 16–17

A.4 Downsampling

  • Downsampling balances occurrences of the protected-attribute labels, but the cooperative-learning dataset retains less than one-sixth of the original data.A separate balanced dataset is created for each protected attribute when training is no longer constrained by model-training inefficiency.Source: §A.4 · p. 17

A.5 GuessWhat?! Game Rules and Statistics

  • GuessWhat?! has a question-player identify an image’s goal object by asking yes/no questions, while the answer-player knows both the image and object.After labeling and downsampling, the dataset has about 3,200 examples for F and 6,400 for M, each half labeled a = 1; the original M-to-F ratio is about 2:1.Source: §A.5 · pp. 17–18

A.6 Cooperative Learning

  • Cooperative learning updates the question generator, object guesser, and shared encoder through self-play after pretraining on human-human dialogue.The encoder captures features shared by the other models, and LEATHER adds human data during training.Source: §A.6 · p. 18
Loading 2307.04303v1…