Mix and Match: Learning-free Controllable Text Generationusing Energy Language Models
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.
Code (1)
Tasks
AttributeLanguage ModelingLanguage ModellingText GenerationSimilar Papers 제목 키워드 기반
Mix and Match: Learning-free Controllable Text Generationusing Energy Language Models
Due to the unidirectional nature of prevalent autoregressive generation models, recent work on controlled generation based on global text attributes has either required attribute-based fine-tuning of the base language mo…
AttributeLanguage ModelingLanguage ModellingStyle Transfer+1Mix and Match: Learning-free Controllable Text Generation using Energy Language Models
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 b…
AttributeLanguage ModelingLanguage ModellingText GenerationMix and Match: Learning-free Controllable Text Generation using Energy Language Models
Due to the unidirectional nature of prevalent autoregressive generation models, recent work on controlled generation based on global text attributes has either required attribute-based fine-tuning of the base language mo…
AttributeLanguage ModelingLanguage ModellingText GenerationBokehFlow: Depth-Free Controllable Bokeh Rendering via Flow Matching
Bokeh rendering simulates the shallow depth-of-field effect in photography, enhancing visual aesthetics and guiding viewer attention to regions of interest. Although recent approaches perform well, rendering controllable…
Energy-Free Sensing and Context Recognition Using Photovoltaic Cells
The field of energy-free sensing and context recognition has recently gained significant attention as it allows operating systems without external power sources. Photovoltaic cells can convert light energy into electrica…
User Identification