Plug-and-Play Controllable Generation for Discrete Masked Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Guo, Wei, Zhu, Yuchen, Tao, Molei, Chen, Yongxin
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917793588314112
author Guo, Wei
Zhu, Yuchen
Tao, Molei
Chen, Yongxin
author_facet Guo, Wei
Zhu, Yuchen
Tao, Molei
Chen, Yongxin
contents This article makes discrete masked models for the generative modeling of discrete data controllable. The goal is to generate samples of a discrete random variable that adheres to a posterior distribution, satisfies specific constraints, or optimizes a reward function. This methodological development enables broad applications across downstream tasks such as class-specific image generation and protein design. Existing approaches for controllable generation of masked models typically rely on task-specific fine-tuning or additional modifications, which can be inefficient and resource-intensive. To overcome these limitations, we propose a novel plug-and-play framework based on importance sampling that bypasses the need for training a conditional score. Our framework is agnostic to the choice of control criteria, requires no gradient information, and is well-suited for tasks such as posterior sampling, Bayesian inverse problems, and constrained generation. We demonstrate the effectiveness of our approach through extensive experiments, showcasing its versatility across multiple domains, including protein design.
format Preprint
id arxiv_https___arxiv_org_abs_2410_02143
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Plug-and-Play Controllable Generation for Discrete Masked Models
Guo, Wei
Zhu, Yuchen
Tao, Molei
Chen, Yongxin
Machine Learning
This article makes discrete masked models for the generative modeling of discrete data controllable. The goal is to generate samples of a discrete random variable that adheres to a posterior distribution, satisfies specific constraints, or optimizes a reward function. This methodological development enables broad applications across downstream tasks such as class-specific image generation and protein design. Existing approaches for controllable generation of masked models typically rely on task-specific fine-tuning or additional modifications, which can be inefficient and resource-intensive. To overcome these limitations, we propose a novel plug-and-play framework based on importance sampling that bypasses the need for training a conditional score. Our framework is agnostic to the choice of control criteria, requires no gradient information, and is well-suited for tasks such as posterior sampling, Bayesian inverse problems, and constrained generation. We demonstrate the effectiveness of our approach through extensive experiments, showcasing its versatility across multiple domains, including protein design.
title Plug-and-Play Controllable Generation for Discrete Masked Models
topic Machine Learning
url https://arxiv.org/abs/2410.02143