Mix and Match: Learning-free Controllable Text Generation using Energy Language Models
Not on the map. Why?
Abstract (arXiv)
Recent work on controlled text generation has either required attribute-based fine-tuning of the base language model (LM), or has restricted the parameterization of the attribute discriminator to be compatible with the base autoregressive LM. In this work, we propose Mix and Match LM, a global score-based alternative for controllable text generation that combines arbitrary pre-trained black-box models for achieving the desired attributes in the generated text without involving any fine-tuning or structural assumptions about the black-box models. We interpret the task of controllable generation as drawing samples from an energy-based model whose energy values are a linear combination of scores from black-box models that are separately responsible for fluency, the control attribute, and faithfulness to any conditioning context. We use a Metropolis-Hastings sampling scheme to sample from this energy-based model using bidirectional context and global attribute features. We validate the effectiveness of our approach on various controlled generation and style-based text revision tasks by outperforming recently proposed methods that involve extra training, fine-tuning, or restrictive assumptions over the form of models.
Key facts. Cited by 66 papers in the map (data through 7 Oct 2026). Builds on 36 of its 52 references that are in the map. First posted on arXiv 24 Mar 2022.
Builds on
36 of 52 references.
References · 36
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,462
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,124
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2018Neural Network Acceptability Judgmentscited by 952
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
- 2020GeDi: Generative Discriminator Guided Sequence Generationcited by 377
24 more
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
- 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
- 2021Annotators with Attitudes: How Annotator Beliefs And Identities Bias Toxic Language Detectioncited by 258
- 2017Style Transfer from Non-Parallel Text by Cross-Alignmentcited by 246
- 2018Dear Sir or Madam, May I introduce the GYAFC Dataset: Corpus, Benchmarks and Metrics for Formality Style Transfercited by 209
- 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
- 2020Reformulating Unsupervised Style Transfer as Paraphrase Generationcited by 181
- 2017Controlling Linguistic Style Aspects in Neural Language Generationcited by 147
- 2018Phrase-Based & Neural Unsupervised Machine Translationcited by 138
- 2018Learning to Write with Cooperative Discriminatorscited by 119
- 2020A Distributional Approach to Controlled Text Generationcited by 117
- 2021A Recipe For Arbitrary Text Style Transfer with Large Language Modelscited by 107
- 2021Detoxifying Language Models Risks Marginalizing Minority Voicescited by 106
- 2020Imitation Attacks and Defenses for Black-box Machine Translation Systemscited by 78
- 2020A Probabilistic Formulation of Unsupervised Text Style Transfercited by 70
- 2021Controlled Text Generation as Continuous Optimization with Multiple Constraintscited by 70
- 2020PowerTransformer: Unsupervised Controllable Revision for Biased Language Correctioncited by 59
- 2021Just Say No: Analyzing the Stance of Neural Dialogue Generation in Offensive Contextscited by 56
- 2020Exploring Controllable Text Generation Techniquescited by 55
- 2021Exposing the Implicit Energy Networks behind Masked Language Models via Metropolis--Hastingscited by 37
- 2021Efficient Hierarchical Domain Adaptation for Pretrained Language Modelscited by 32
- 2021Privacy Regularization: Joint Privacy-Utility Optimization in Language Modelscited by 29
- 2020Plug and Play Autoencoders for Conditional Text Generationcited by 26
- 2021Style Pooling: Automatic Text Style Obfuscation for Improved Classification Fairnesscited by 12
Built on by
Citing papers per year: 2022: 12; 2023: 23; 2024: 14; 2025: 10; 2026: 7.
66 papers.
Sort:
By area:
- 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Controlcited by 191
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllabilitycited by 162
- 2022Language Generation Models Can Cause Harm: So What Can We Do About It? An Actionable Surveycited by 80
- 2022RankGen: Improving Text Generation with Large Ranking Modelscited by 72
- 2022Gradient-Based Constrained Sampling from Language Modelscited by 64
- 2022Critic-Guided Decoding for Controlled Text Generationcited by 45
- 2023Anticipatory Music Transformercited by 35
- 2022A Distributional Lens for Multi-Aspect Controllable Text Generationcited by 33
- 2023Inference-Time Policy Adapters (IPA): Tailoring Extreme-Scale LMs without Fine-tuningcited by 33
- 2022Composable Text Controls in Latent Space with ODEscited by 28
- 2022Controllable Text Generation via Probability Density Estimation in the Latent Spacecited by 27
- 2023BOLT: Fast Energy-based Controlled Text Generation with Tunable Biasescited by 24
38 more
- 2023ParaGuide: Guided Diffusion Paraphrasers for Plug-and-Play Textual Style Transfercited by 18
- 2024QUEST: Quality-Aware Metropolis-Hastings Sampling for Machine Translationcited by 16
- 2024TinyStyler: Efficient Few-Shot Text Style Transfer with Authorship Embeddingscited by 16
- 2023MacLaSa: Multi-Aspect Controllable Text Generation via Efficient Sampling from Compact Latent Spacecited by 12
- 2023MIRACLE: Towards Personalized Dialogue Generation with Latent-Space Multiple Personal Attribute Controlcited by 11
- 2024RSA-Control: A Pragmatics-Grounded Lightweight Controllable Text Generation Frameworkcited by 11
- 2023Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text Generationcited by 10
- 2022Converge to the Truth: Factual Error Correction via Iterative Constrained Editingcited by 9
- 2023Focused Prefix Tuning for Controllable Text Generationcited by 9
- 2023Most Language Models can be Poets too: An AI Writing Assistant and Constrained Text Generation Studiocited by 9
- 2023Learning to Generate Text in Arbitrary Writing Stylescited by 9
- 2023Less Likely Brainstorming: Using Language Models to Generate Alternative Hypothesescited by 8
- 2025TRACE Back from the Future: A Probabilistic Reasoning Approach to Controllable Language Generationcited by 8
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyondcited by 7
- 2024Controllable Text Generation in the Instruction-Tuning Eracited by 7
- 2024No perspective, no perception!! Perspective-aware Healthcare Answer Summarizationcited by 7
- 2024Guaranteed Generation from Large Language Modelscited by 7
- 2026TDGNet: Hallucination Detection in Diffusion Language Models via Temporal Dynamic Graphscited by 7
- 2024FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generationcited by 6
- 2023A Block Metropolis-Hastings Sampler for Controllable Energy-based Text Generationcited by 5
- 2025JAM: Controllable and Responsible Text Generation via Causal Reasoning and Latent Vector Manipulationcited by 5
- 2022StyleFlow: Disentangle Latent Representations via Normalizing Flow for Unsupervised Text Style Transfercited by 4
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
- 2023P^3SUM: Preserving Author's Perspective in News Summarization with Diffusion Language Modelscited by 4
- 2023Principled Gradient-based Markov Chain Monte Carlo for Text Generationcited by 4
- 2024Language Rectified Flow: Advancing Diffusion Language Generation with Probabilistic Flowscited by 4
- 2025Logits are All We Need to Adapt Closed Modelscited by 4
- 2026nabla-Reasoner: LLM Reasoning via Test-Time Gradient Descent in Latent Spacecited by 4
- 2023Controllable Text Generation with Residual Memory Transformercited by 3
- 2023All Should Be Equal in the Eyes of Language Models: Counterfactually Aware Fair Text Generationcited by 3
- 2024Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentationcited by 3
- 2024DiDOTS: Knowledge Distillation from Large-Language-Models for Dementia Obfuscation in Transcribed Speechcited by 3
- 2025EdiText: Controllable Coarse-to-Fine Text Editing with Diffusion Language Modelscited by 3
- 2023Semantic Space Grounded Weighted Decoding for Multi-Attribute Controllable Dialogue Generationcited by 2
- 2023Controlled Text Generation for Black-box Language Models via Score-based Progressive Editorcited by 2
- 2024LiFi: Lightweight Controlled Text Generation with Fine-Grained Control Codescited by 2
- 2024LaSEr-Edit: Localized Span-level Error Editing with Energy-based Localizationcited by 2
- 2025Palette of Language Models: A Solver for Controlled Text Generationcited by 2
50 most cited of 66 All 66 (JSON)
- 2026Explore Broadly, Reason Sharply: Push Small Models toward the Frontier via Sampling29 Sep 2026
- 2026Structured Inference with Large Language Gibbs17 Jun 2026
- 2026Steered Generation via Gradient-Based Optimization on Sparse Query Features21 May 2026
- 2026Most Current Model Organisms Are Leaky: Perplexity Differencing Often Reveals Finetuning Objectives1 May 2026
- 2026Bye Bye Perspective API: Lessons for Building and Governing Measurement Infrastructure28 Apr 2026
- 2026nabla-Reasoner: LLM Reasoning via Test-Time Gradient Descent in Latent Space5 Mar 2026
- 2026TDGNet: Hallucination Detection in Diffusion Language Models via Temporal Dynamic Graphs8 Feb 2026
- 2025C3TG: Conflict-aware, Composite, and Collaborative Controlled Text Generation12 Nov 2025
- 2025Don't Let It Fade: Preserving Edits in Diffusion Language Models via Token Timestep Allocation30 Oct 2025
- 2025Transferable Direct Prompt Injection via Activation-Guided MCMC Sampling9 Sep 2025
- 2025Learning Extrapolative Sequence Transformations from Markov Chains26 May 2025
- 2025TRACE Back from the Future: A Probabilistic Reasoning Approach to Controllable Language Generation25 Apr 2025
38 more
- 2025Palette of Language Models: A Solver for Controlled Text Generation14 Mar 2025
- 2025JAM: Controllable and Responsible Text Generation via Causal Reasoning and Latent Vector Manipulation28 Feb 2025
- 2025EdiText: Controllable Coarse-to-Fine Text Editing with Diffusion Language Models27 Feb 2025
- 2025Steered Generation via Gradient Descent on Sparse Features25 Feb 2025
- 2025Logits are All We Need to Adapt Closed Models3 Feb 2025
- 2024LingGen: Scalable Multi-Attribute Linguistic Control via Power-Law Masking31 Oct 2024
- 2024RSA-Control: A Pragmatics-Grounded Lightweight Controllable Text Generation Framework24 Oct 2024
- 2024Guaranteed Generation from Large Language Models9 Oct 2024
- 2024DiDOTS: Knowledge Distillation from Large-Language-Models for Dementia Obfuscation in Transcribed Speech5 Oct 2024
- 2024LaSEr-Edit: Localized Span-level Error Editing with Energy-based Localization30 Jun 2024
- 2024TinyStyler: Efficient Few-Shot Text Style Transfer with Authorship Embeddings21 Jun 2024
- 2024FreeCtrl: Constructing Control Centers with Feedforward Layers for Learning-Free Controllable Text Generation14 Jun 2024
- 2024No perspective, no perception!! Perspective-aware Healthcare Answer Summarization13 Jun 2024
- 2024Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation30 May 2024
- 2024QUEST: Quality-Aware Metropolis-Hastings Sampling for Machine Translation28 May 2024
- 2024Controllable Text Generation in the Instruction-Tuning Era2 May 2024
- 2024Language Rectified Flow: Advancing Diffusion Language Generation with Probabilistic Flows25 Mar 2024
- 2024COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability13 Feb 2024
- 2024LiFi: Lightweight Controlled Text Generation with Fine-Grained Control Codes10 Feb 2024
- 2023Principled Gradient-based Markov Chain Monte Carlo for Text Generation29 Dec 2023
- 2023Learning to Generate Text in Arbitrary Writing Styles28 Dec 2023
- 2023A Block Metropolis-Hastings Sampler for Controllable Energy-based Text Generation7 Dec 2023
- 2023P^3SUM: Preserving Author's Perspective in News Summarization with Diffusion Language Models16 Nov 2023
- 2023Controlled Text Generation for Black-box Language Models via Score-based Progressive Editor13 Nov 2023
- 2023All Should Be Equal in the Eyes of Language Models: Counterfactually Aware Fair Text Generation9 Nov 2023
- 2023Air-Decoding: Attribute Distribution Reconstruction for Decoding-Time Controllable Text Generation23 Oct 2023
- 2023MIRACLE: Towards Personalized Dialogue Generation with Latent-Space Multiple Personal Attribute Control22 Oct 2023
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Models22 Oct 2023
- 2023Improving Emotional Expression and Cohesion in Image-Based Playlist Description and Music Topics: A Continuous Parameterization Approach2 Oct 2023
- 2023Controllable Text Generation with Residual Memory Transformer28 Sep 2023
- 2023ParaGuide: Guided Diffusion Paraphrasers for Plug-and-Play Textual Style Transfer29 Aug 2023
- 2023Most Language Models can be Poets too: An AI Writing Assistant and Constrained Text Generation Studio28 Jun 2023
- 2023Anticipatory Music Transformer14 Jun 2023
- 2023Focused Prefix Tuning for Controllable Text Generation1 Jun 2023
- 2023Less Likely Brainstorming: Using Language Models to Generate Alternative Hypotheses30 May 2023
- 2023Inference-Time Policy Adapters (IPA): Tailoring Extreme-Scale LMs without Fine-tuning24 May 2023
- 2023Extrapolating Multilingual Understanding Models as Multilingual Generators22 May 2023
- 2023MacLaSa: Multi-Aspect Controllable Text Generation via Efficient Sampling from Compact Latent Space22 May 2023
50 newest of 66 All 66 (JSON)
- 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Controlcited by 191
- 2023ParaGuide: Guided Diffusion Paraphrasers for Plug-and-Play Textual Style Transfercited by 18
- 2026TDGNet: Hallucination Detection in Diffusion Language Models via Temporal Dynamic Graphscited by 7
- 2023P^3SUM: Preserving Author's Perspective in News Summarization with Diffusion Language Modelscited by 4
- 2024Language Rectified Flow: Advancing Diffusion Language Generation with Probabilistic Flowscited by 4
- 2025EdiText: Controllable Coarse-to-Fine Text Editing with Diffusion Language Modelscited by 3
- 2025Don't Let It Fade: Preserving Edits in Diffusion Language Models via Token Timestep Allocationcited by 2
- 2026TDGNet: Hallucination Detection in Diffusion Language Models via Temporal Dynamic Graphs8 Feb 2026
- 2025Don't Let It Fade: Preserving Edits in Diffusion Language Models via Token Timestep Allocation30 Oct 2025
- 2025EdiText: Controllable Coarse-to-Fine Text Editing with Diffusion Language Models27 Feb 2025
- 2024Language Rectified Flow: Advancing Diffusion Language Generation with Probabilistic Flows25 Mar 2024
- 2023P^3SUM: Preserving Author's Perspective in News Summarization with Diffusion Language Models16 Nov 2023
- 2023ParaGuide: Guided Diffusion Paraphrasers for Plug-and-Play Textual Style Transfer29 Aug 2023
- 2022SSD-LM: Semi-autoregressive Simplex-based Diffusion Language Model for Text Generation and Modular Control31 Oct 2022
- 2025TRACE Back from the Future: A Probabilistic Reasoning Approach to Controllable Language Generationcited by 8
- 2025JAM: Controllable and Responsible Text Generation via Causal Reasoning and Latent Vector Manipulationcited by 5
- 2026nabla-Reasoner: LLM Reasoning via Test-Time Gradient Descent in Latent Spacecited by 4
- 2026Explore Broadly, Reason Sharply: Push Small Models toward the Frontier via Samplingcited by 0
- 2026Explore Broadly, Reason Sharply: Push Small Models toward the Frontier via Sampling29 Sep 2026
- 2026nabla-Reasoner: LLM Reasoning via Test-Time Gradient Descent in Latent Space5 Mar 2026
- 2025TRACE Back from the Future: A Probabilistic Reasoning Approach to Controllable Language Generation25 Apr 2025
- 2025JAM: Controllable and Responsible Text Generation via Causal Reasoning and Latent Vector Manipulation28 Feb 2025
- 2022Language Generation Models Can Cause Harm: So What Can We Do About It? An Actionable Surveycited by 80
- 2022RankGen: Improving Text Generation with Large Ranking Modelscited by 72
- 2022Gradient-Based Constrained Sampling from Language Modelscited by 64
- 2022Critic-Guided Decoding for Controlled Text Generationcited by 45
- 2023Anticipatory Music Transformercited by 35
- 2022A Distributional Lens for Multi-Aspect Controllable Text Generationcited by 33
- 2023Inference-Time Policy Adapters (IPA): Tailoring Extreme-Scale LMs without Fine-tuningcited by 33
- 2022Composable Text Controls in Latent Space with ODEscited by 28
- 2022Controllable Text Generation via Probability Density Estimation in the Latent Spacecited by 27
- 2023BOLT: Fast Energy-based Controlled Text Generation with Tunable Biasescited by 24
- 2024QUEST: Quality-Aware Metropolis-Hastings Sampling for Machine Translationcited by 16
- 2024TinyStyler: Efficient Few-Shot Text Style Transfer with Authorship Embeddingscited by 16
12 most cited of 53 All 53 (JSON)
- 2026Structured Inference with Large Language Gibbs17 Jun 2026
- 2026Steered Generation via Gradient-Based Optimization on Sparse Query Features21 May 2026
- 2026Most Current Model Organisms Are Leaky: Perplexity Differencing Often Reveals Finetuning Objectives1 May 2026
- 2026Bye Bye Perspective API: Lessons for Building and Governing Measurement Infrastructure28 Apr 2026
- 2025C3TG: Conflict-aware, Composite, and Collaborative Controlled Text Generation12 Nov 2025
- 2025Learning Extrapolative Sequence Transformations from Markov Chains26 May 2025
- 2025Palette of Language Models: A Solver for Controlled Text Generation14 Mar 2025
- 2025Steered Generation via Gradient Descent on Sparse Features25 Feb 2025
- 2025Logits are All We Need to Adapt Closed Models3 Feb 2025
- 2024LingGen: Scalable Multi-Attribute Linguistic Control via Power-Law Masking31 Oct 2024
- 2024RSA-Control: A Pragmatics-Grounded Lightweight Controllable Text Generation Framework24 Oct 2024
- 2024Guaranteed Generation from Large Language Models9 Oct 2024
12 newest of 53 All 53 (JSON)