Gumbel Machine: Counterfactual Student Writing Generation via Gumbel Noise Steering
Not on the map. Why?
Abstract (arXiv)
An effective method of teaching across disciplines is to provide examples of high-quality work. However, an example may be significantly different from a student's current work, making it challenging for them to emulate. An ideal learning demonstration is a counterfactual version of the student work, an improved version that is still similar to their own. Existing automated approaches for counterfactual text generation using Large Language Models (LLMs) result in domain-specific systems that are difficult to translate into practical applications. We present the Gumbel Machine, a flexible, modular approach to generating counterfactuals that leverages LLM instruction-following capabilities while encouraging similarity to a reference factual text. Central to our approach is a novel, controlled decoding algorithm, β-Hindsight control, which uses latent randomness as a tunable similarity control mechanism during counterfactual generation. Experiments on datasets of student writing, scored on various criteria, demonstrate the effectiveness of our approach at generating counterfactuals both rubric-consistent and similar to a reference.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 31 of its 45 references that are in the map. First posted on arXiv 26 May 2026.
Builds on
31 of 45 references.
References · 31
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2024LLM Evaluators Recognize and Favor Their Own Generationscited by 651
- 2024From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgecited by 480
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 428
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
- 2021Polyjuice: Generating Counterfactuals for Explaining, Evaluating, and Improving Modelscited by 219
- 2014A* Samplingcited by 150
- 2020Explaining NLP Models via Minimal Contrastive Editing (MiCE)cited by 105
- 2020Generate Your Counterfactuals: Towards Controlled Counterfactual Generation for Textcited by 75
19 more
- 2022A Causal Lens for Controllable Text Generationcited by 45
- 2023Faithful Explanations of Black-box NLP Models Using LLM-generated Counterfactualscited by 44
- 2022DoCoGen: Domain Counterfactual Generation for Low Resource Domain Adaptationcited by 36
- 2023Prompting Large Language Models for Counterfactual Generation: An Empirical Studycited by 36
- 2024LLMs for Generating and Evaluating Counterfactuals: A Comprehensive Studycited by 30
- 2021Retrieval-guided Counterfactual Generation for QAcited by 28
- 2023CREST: A Joint Framework for Rationalization and Counterfactual Text Generationcited by 24
- 2022CORE: A Retrieve-then-Edit Framework for Counterfactual Data Generationcited by 23
- 2024A Survey on Natural Language Counterfactual Generationcited by 21
- 2024Improving the Validity of Automatically Generated Feedback via Reinforcement Learningcited by 20
- 2023CATfOOD: Counterfactual Augmented Training for Improving Out-of-Domain Performance and Calibrationcited by 16
- 2022Automated Scoring for Reading Comprehension via In-context BERT Tuningcited by 15
- 2024Gumbel Counterfactual Generation From Language Modelscited by 13
- 2020Counterfactual Explanation Based on Gradual Construction for Deep Networkscited by 12
- 2024PairCFR: Enhancing Model Training on Paired Counterfactually Augmented Data through Contrastive Learningcited by 7
- 2025Evaluation of Large Language Models via Coupled Token Generationcited by 7
- 2025FitCF: A Framework for Automatic Feature Importance-guided Counterfactual Example Generationcited by 6
- 2022AutoCAD: Automatically Generating Counterfactuals for Mitigating Shortcut Learningcited by 4
- 2024Can Large Language Models Replicate ITS Feedback on Open-Ended Math Questions?cited by 4
Built on by
Not cited yet.