LiFi: Lightweight Controlled Text Generation with Fine-Grained Control Codes
Shi, Chufan, Cai, Deng, Yang, Yujiu
–arXiv.org Artificial Intelligence
In the rapidly evolving field of text generation, the demand for more precise control mechanisms has become increasingly apparent. To address this need, we present a novel methodology, LIFI, which offers a lightweight approach with fine-grained control for controlled text generation. Unlike previous studies that train pre-trained language models to follow discrete, categorical, and exclusive control codes, LIFI learns controlled text generation under the guidance of continuous, relative, and nonexclusive control codes. These fine-grained codes are automatically derived from an attribute classifier, initially trained with a small amount of labeled data and subsequently employed to label abundant unlabeled data, thus garnering more extensive supervision signals. Moreover, to achieve efficient control, we incorporate the fine-grained control codes with adapters, a parameter- and compute-efficient way to steer a pre-trained language model. We evaluate LIFI on two conventional tasks -- sentiment control and topic control -- and one newly proposed task -- stylistic novel writing. Comprehensive experimental results validate the effectiveness of our proposed methods, demonstrating substantial performance improvements over existing baselines.
arXiv.org Artificial Intelligence
Feb-10-2024
- Country:
- South America > Colombia
- Meta Department > Villavicencio (0.04)
- Oceania > Australia
- North America
- Dominican Republic (0.04)
- United States
- Massachusetts (0.05)
- Washington > King County
- Seattle (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- California
- San Francisco County > San Francisco (0.04)
- San Diego County > San Diego (0.04)
- Canada
- Europe
- Austria (0.04)
- Romania > Sud - Muntenia Development Region
- Giurgiu County > Giurgiu (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Asia > China
- Guangdong Province > Shenzhen (0.04)
- Shanghai > Shanghai (0.04)
- Africa
- Sudan
- Khartoum State > Khartoum (0.04)
- Khartoum (0.04)
- Ethiopia > Addis Ababa
- Addis Ababa (0.04)
- Sudan
- South America > Colombia
- Genre:
- Research Report > Experimental Study (0.46)
- Industry:
- Media (1.00)
- Education (1.00)
- Government (0.93)
- Law Enforcement & Public Safety > Crime Prevention & Enforcement (0.93)
- Leisure & Entertainment > Sports
- Football (0.67)
- Technology: