mlsanityData to 7 Oct 2026

Surfacing Biases in Large Language Models using Contrastive Input Decoding

arXiv 2305.07378 ↗First posted 12 May 2023cs.CL cs.CY cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

Ensuring that large language models (LMs) are fair, robust and useful requires an understanding of how different modifications to their inputs impact the model's behaviour. In the context of open-text generation tasks, however, such an evaluation is not trivial. For example, when introducing a model with an input text and a perturbed, "contrastive" version of it, meaningful differences in the next-token predictions may not be revealed with standard decoding strategies. With this motivation in mind, we propose Contrastive Input Decoding (CID): a decoding algorithm to generate text given two inputs, where the generated text is likely given one input but unlikely given the other. In this way, the contrastive generations can highlight potentially subtle differences in how the LM output differs for the two inputs in a simple and interpretable manner. We use CID to highlight context-specific biases that are hard to detect with standard decoding strategies and quantify the effect of different input perturbations.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 23 of its 29 references that are in the map. First posted on arXiv 12 May 2023.

Builds on

23 of 29 references.

References · 23

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,970
  4. 2022Large Language Models Encode Clinical Knowledgecited by 1,807
  5. 2016Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddingscited by 1,304
  6. 2018Hierarchical Neural Story Generationcited by 1,182
  7. 2016Semantics derived automatically from language corpora contain human-like biasescited by 894
  8. 2017Counterfactual Fairnesscited by 802
  9. 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 657
  10. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  11. 2019Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Settingcited by 346
  12. 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 336
11 more
  1. 2017Synthetic and Natural Noise Both Break Neural Machine Translationcited by 304
  2. 2019Lipstick on a Pig: Debiasing Methods Cover up Systematic Gender Biases in Word Embeddings But do not Remove Themcited by 268
  3. 2020Detecting Emergent Intersectional Biases: Contextualized Word Embeddings Contain a Distribution of Human-like Biasescited by 167
  4. 2019It's All in the Name: Mitigating Gender Bias with Name-Based Counterfactual Data Substitutioncited by 102
  5. 2022Interpreting Language Models with Contrastive Explanationscited by 91
  6. 2021Evaluating the Robustness of Neural Language Models to Input Perturbationscited by 87
  7. 2021Contrastive Explanations for Model Interpretabilitycited by 75
  8. 2019Perturbation Sensitivity Analysis to Detect Unintended Model Biasescited by 74
  9. 2018Probably Approximately Metric-Fair Learningcited by 29
  10. 2022LMentry: A Language Model Benchmark of Elementary Language Taskscited by 21
  11. 2018Identify Susceptible Locations in Medical Records via Adversarial Attacks on Deep Predictive Modelscited by 15

Built on by

Cited by year

Citing papers per year: 2023: 6; 2024: 2; 2025: 3.

11 papers.