paper-with-me

홈 › Papers

Toward Unified Controllable Text Generation via Regular Expression Instruction

2023-09-19 · Xin Zheng, Hongyu Lin, Xianpei Han, Le Sun

Controllable text generation is a fundamental aspect of natural language generation, with numerous methods proposed for different constraint types. However, these approaches often require significant architectural or decoding modifications, making them challenging to apply to additional constraints or resolve different constraint combinations. To address this, our paper introduces Regular Expression Instruction (REI), which utilizes an instruction-based mechanism to fully exploit regular expressions' advantages to uniformly model diverse constraints. Specifically, our REI supports all popular fine-grained controllable generation constraints, i.e., lexical, positional, and length, as well as their complex combinations, via regular expression-style instructions. Our method only requires fine-tuning on medium-scale language models or few-shot, in-context learning on large language models, and requires no further adjustment when applied to various constraint combinations. Experiments demonstrate that our straightforward approach yields high success rates and adaptability to various constraints while maintaining competitiveness in automatic metrics and outperforming most previous baselines.

📄 PDF Abstract BibTeX arXiv:2309.10447

Code (1)

mrzhengxin/ctg-regex-instruction 공식 구현

Tasks

In-Context LearningText Generation

Similar Papers 제목 키워드 기반

TextOmics-Guided Diffusion for Hit-like Molecular Generation

2025-07-14 · Hang Yuan, Chen Li, Wenjun Ma, Yuncheng Jiang arxiv

Hit-like molecular generation with therapeutic potential is essential for target-specific drug discovery. However, the field lacks heterogeneous data and unified frameworks for integrating diverse molecular representatio…

Drug Discovery

Dynamic Neural Textures: Generating Talking-Face Videos with Continuously Controllable Expressions

2022-04-13 · Zipeng Ye, Zhiyao Sun, Yu-Hui Wen, Yanan sun 외

Recently, talking-face video generation has received considerable attention. So far most methods generate results with neutral expressions or expressions that are implicitly determined by neural networks in an uncontroll…

Video Generation

Unified Generative Adversarial Networks for Controllable Image-to-Image Translation

2019-12-12 · Hao Tang, Hong Liu, Nicu Sebe

We propose a unified Generative Adversarial Network (GAN) for controllable image-to-image translation, i.e., transferring an image from a source to a target domain guided by controllable structures. In addition to condit…

Facial Expression TranslationGenerative Adversarial NetworkGesture-to-Gesture TranslationImage Generation+2

VAST 1.0: A Unified Framework for Controllable and Consistent Video Generation

2024-12-21 · Chi Zhang, Yuanzhi Liang, Xi Qiu, Fangqiu Yi 외

Generating high-quality videos from textual descriptions poses challenges in maintaining temporal coherence and control over subject motion. We propose VAST (Video As Storyboard from Text), a two-stage framework to addre…

Video Generation

StyleTalk++: A Unified Framework for Controlling the Speaking Styles of Talking Heads

2024-09-14 · Suzhen Wang, Yifeng Ma, Yu Ding, Zhipeng Hu 외

Individuals have unique facial expression and head pose styles that reflect their personalized speaking styles. Existing one-shot talking head methods cannot capture such personalized characteristics and therefore fail t…

Face GenerationTalking Face Generation