liveBook · Manning

De-biasing technique

As explained in Introduction to Generative AI, Second Edition

A debiasing technique is a method for reducing systematic disparities or unwanted demographic associations in a model’s behavior.

A language model can reproduce unwanted associations found in the language it learned from. A de-biasing technique tries to reduce such patterns. The goal is difficult to pin down: language reflects human perspectives, ideas about bias change across cultures and time, and historical inequalities can be important to represent in some contexts. section 3.2

An early approach

One early method adjusted word embeddings—the representations of words used by a model—so that a word such as “nurse” sat equally far from gendered terms. But removing an association mathematically can also remove meaningful information. Equal distance alone does not establish fairness. section 3.2

Bias mitigation now extends beyond adjusting individual word representations:

  • Diversify and document training data, including its demographic coverage and known limitations. section 3.2
  • Use human feedback, output filters, fairness-focused evaluation, prompt design, and output audits. section 3.2

Measurement comes before mitigation. Benchmarks such as ToxiGen and BOLD examine toxic language across groups and differences in sentiment associated with demographic attributes. They help identify problems and compare models, but effective mitigation remains challenging; even human judgments can differ. section 10.19 section 3.2

How Introduction to Generative AI, Second Edition covers it

How deep it goes
Explains an early word-embedding approach and sketches broader alternatives, but gives no implementation procedure.
Examples
Illustrates repositioning “nurse” relative to gendered terms and using ToxiGen and BOLD to examine model outputs.
What you can do after
Evaluate/understand why bias measurement precedes mitigation and why removing associations alone does not guarantee fairness.
How it connects
Connects de-biasing to word embeddings, dataset curation, human-feedback alignment, fairness metrics, and bias benchmarks.

Also explained in

Compare how 2 books explain de-biasing technique →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Introduction to Generative AI, Second Edition. The section links point to the parts of the book it draws on.