paper-with-me

Papers

Controllable Text Generation with Neurally-Decomposed Oracle

2022-05-27 · Tao Meng, Sidi Lu, Nanyun Peng, Kai-Wei Chang

We propose a general and efficient framework to control auto-regressive generation models with NeurAlly-Decomposed Oracle (NADO). Given a pre-trained base language model and a sequence-level boolean oracle function, we propose to decompose the oracle function into token-level guidance to steer the base model in text generation. Specifically, the token-level guidance is approximated by a neural model trained with examples sampled from the base model, demanding no additional auxiliary labeled data. Based on posterior regularization, we present the closed-form optimal solution to incorporate the token-level guidance into the base model for controllable generation. We further provide a theoretical analysis of how the approximation quality of NADO affects the controllable generation results. Experiments conducted on two applications: (1) text generation with lexical constraints and (2) machine translation with formality control demonstrate that our framework efficiently guides the base model towards the given oracle while maintaining high generation quality.

📄 PDF Abstract BibTeX arXiv:2205.14219

Code (1)

mtsomethree/constrdecoding 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingMachine TranslationText Generation

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

DiNADO: Norm-Disentangled Neurally-Decomposed Oracles for Controlling Language Models

2023-06-20 · Sidi Lu, Wenbo Zhao, Chenyang Tao, Arpit Gupta 외

NeurAlly-Decomposed Oracle (NADO) is a powerful approach for controllable generation with large language models. It is designed to avoid catastrophic forgetting while achieving guaranteed convergence to an entropy-maximi…

Machine Translation

Assessing the Stylistic Properties of Neurally Generated Text in Authorship Attribution

2017-08-18 · E. Manjavacas, J. de Gussem, W. Daelemans, M. Kestemont

Recent applications of neural language models have led to an increased interest in the automatic generation of natural language. However impressive, the evaluation of neurally generated text has so far remained rather in…

AttributeAuthorship AttributionText Generation

Assessing the Stylistic Properties of Neurally Generated Text in Authorship Attribution

2017-09-01 · WS 2017 9 · Enrique Manjavacas, Jeroen De Gussem, Walter Daelemans, Mike Kestemont

Recent applications of neural language models have led to an increased interest in the automatic generation of natural language. However impressive, the evaluation of neurally generated text has so far remained rather in…

AttributeAuthorship AttributionData AugmentationLanguage Modeling+2

DecompOpt: Controllable and Decomposed Diffusion Models for Structure-based Molecular Optimization

2024-03-07 · Xiangxin Zhou, Xiwei Cheng, Yuwei Yang, Yu Bao 외

Recently, 3D generative models have shown promising performances in structure-based drug design by learning to generate ligands given target binding sites. However, only modeling the target-ligand distribution can hardly…

Drug DesignDrug Discovery

Diff-Oracle: Deciphering Oracle Bone Scripts with Controllable Diffusion Model

2023-12-21 · Jing Li, Qiu-Feng Wang, Siyuan Wang, Rui Zhang 외

Deciphering oracle bone scripts plays an important role in Chinese archaeology and philology. However, a significant challenge remains due to the scarcity of oracle character images. To overcome this issue, we propose Di…

Image GenerationImage-to-Image Translation