mlsanityData to 14 Oct 2026

An Invariant Learning Characterization of Controlled Text Generation

arXiv 2306.00198 ↗First posted 31 May 2023cs.CL cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Controlled generation refers to the problem of creating text that contains stylistic or semantic attributes of interest. Many approaches reduce this problem to training a predictor of the desired attribute. For example, researchers hoping to deploy a large language model to produce non-toxic content may use a toxicity classifier to filter generated text. In practice, the generated text to classify, which is determined by user prompts, may come from a wide range of distributions. In this paper, we show that the performance of controlled generation may be poor if the distributions of text in response to user prompts differ from the distribution the predictor was trained on. To address this problem, we cast controlled generation under distribution shift as an invariant learning problem: the most effective predictor should be invariant across multiple text environments. We then discuss a natural solution that arises from this characterization and propose heuristics for selecting natural environments. We study this characterization and the proposed method empirically using both synthetic and real data. Experiments demonstrate both the challenge of distribution shift in controlled generation and the potential of invariance methods in this setting.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 60 of its 72 references that are in the map. First posted on arXiv 31 May 2023.

Builds on

60 of 72 references.

References · 60

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  6. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  7. 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
  8. 2019Invariant Risk Minimizationcited by 1,854
  9. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  10. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
  11. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  12. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,200
38 more
  1. 2020In Search of Lost Domain Generalizationcited by 1,054
  2. 2021Show Your Work: Scratchpads for Intermediate Computation with Language Modelscited by 886
  3. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
  4. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 762
  5. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 742
  6. 2018Gender Bias in Coreference Resolution: Evaluation and Debiasing Methodscited by 659
  7. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 536
  8. 2018Wizard of Wikipedia: Knowledge-Powered Conversational agentscited by 530
  9. 2020Underspecification Presents Challenges for Credibility in Modern Machine Learningcited by 496
  10. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 441
  11. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 404
  12. 2019On Measuring Social Biases in Sentence Encoderscited by 398
  13. 2015Return of Frustratingly Easy Domain Adaptationcited by 391
  14. 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 378
  15. 2016SeqGAN: Sequence Generative Adversarial Nets with Policy Gradientcited by 376
  16. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 376
  17. 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 337
  18. 2019Measuring Bias in Contextualized Word Representationscited by 276
  19. 2017Toward Controlled Generation of Textcited by 272
  20. 2021Annotators with Attitudes: How Annotator Beliefs And Identities Bias Toxic Language Detectioncited by 264
  21. 2020The Risks of Invariant Risk Minimizationcited by 262
  22. 2021Towards Causal Representation Learningcited by 209
  23. 2019SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)cited by 207
  24. 2019Gender Bias in Contextualized Word Embeddingscited by 203
  25. 2020Social Biases in NLP Models as Barriers for Persons with Disabilitiescited by 182
  26. 2017Deep Learning for Hate Speech Detection in Tweetscited by 180
  27. 2021Large Pre-trained Language Models Contain Human-like Biases of What is Right and Wrong to Docited by 178
  28. 2021Causal Inference in Natural Language Processing: Estimation, Prediction, Interpretation and Beyondcited by 178
  29. 2021Challenges in Detoxifying Language Modelscited by 169
  30. 2017Invariant Causal Prediction for Nonlinear Modelscited by 140
  31. 2021On Calibration and Out-of-domain Generalizationcited by 134
  32. 2017Domain Adaptation by Using Causal Inference to Predict Invariant Conditional Distributionscited by 126
  33. 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 107
  34. 2020A Review of Single-Source Deep Unsupervised Visual Domain Adaptationcited by 96
  35. 2019Evaluating the Underlying Gender Bias in Contextualized Word Embeddingscited by 94
  36. 2020Exploring Controllable Text Generation Techniquescited by 55
  37. 2021Causally motivated Shortcut Removal Using Auxiliary Labelscited by 55
  38. 2022A Causal Lens for Controllable Text Generationcited by 45

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

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

9 papers.