Reproduce “Mix and Match: Learning-free Controllable Text Generation using Energy Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Fatemehsadat Mireshghallah, Kartik Goyal, Taylor Berg-Kirkpatrick
Researchers at UCSD and TTIC introduce "Mix and Match LM," a learning-free framework for controllable text generation that constructs an energy-based model by combining scores from diverse pre-trained black-box models. The method consistently achieves strong performance in attribute control and meaning preservation across tasks like debiasing and style transfer, often outperforming methods requiring extensive training or fine-tuning.
Key insights
- Controllable text generation can be effectively framed as drawing samples from an energy-based model, which naturally supports global, sequence-level constraints.
- Diverse pre-trained, black-box models can be modularly combined as "expert" factors within an EBM, enabling a "learning-free" control paradigm without fine-tuning or custom training.
- Metropolis-Hastings MCMC, leveraging MLMs for proposal generation, provides a robust mechanism to sample from complex, composite energy landscapes for text sequences.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.