mlsanityData to 7 Oct 2026

A Practical Method for Generating String Counterfactuals

arXiv 2402.11355 ↗First posted 17 Feb 2024cs.CL cs.CY cs.LGcited by 4

Not on the map. Why?

Abstract (arXiv)

Interventions targeting the representation space of language models (LMs) have emerged as an effective means to influence model behavior. Such methods are employed, for example, to eliminate or alter the encoding of demographic information such as gender within the model's representations and, in so doing, create a counterfactual representation. However, because the intervention operates within the representation space, understanding precisely what aspects of the text it modifies poses a challenge. In this paper, we give a method to convert representation counterfactuals into string counterfactuals. We demonstrate that this approach enables us to analyze the linguistic alterations corresponding to a given representation space intervention and to interpret the features utilized to encode a specific concept. Moreover, the resulting counterfactuals can be used to mitigate bias in classification through data augmentation.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 20 of its 35 references that are in the map. First posted on arXiv 17 Feb 2024.

Builds on

20 of 35 references.

References · 20

  1. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  2. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  3. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  4. 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,259
  5. 2017Mixed Precision Trainingcited by 1,135
  6. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
  7. 2021Large Dual Encoders Are Generalizable Retrieverscited by 454
  8. 2020Null It Out: Guarding Protected Attributes by Iterative Nullspace Projectioncited by 442
  9. 2021Causal Abstractions of Neural Networkscited by 401
  10. 2019Bias in Bios: A Case Study of Semantic Representation Bias in a High-Stakes Settingcited by 346
  11. 2023LEACE: Perfect linear concept erasure in closed formcited by 254
  12. 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
8 more
  1. 2023Text Embeddings Reveal (Almost) As Much As Textcited by 189
  2. 2020Causal Mediation Analysis for Interpreting Neural NLP: The Case of Gender Biascited by 183
  3. 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
  4. 2021Inducing Causal Structure for Interpretable Neural Networkscited by 107
  5. 2019It's All in the Name: Mitigating Gender Bias with Name-Based Counterfactual Data Substitutioncited by 102
  6. 2021Counterfactual Interventions Reveal the Causal Effect of Relative Clause Representations on Agreement Predictioncited by 58
  7. 2024Text Embedding Inversion Security for Multilingual Language Modelscited by 26
  8. 2023A Geometric Notion of Causal Probingcited by 23

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 2.

4 papers.