Efficient and Training-Free Control of Language Generation
–arXiv.org Artificial Intelligence
In recent years, there has been a growing interest in the development of language models capable of generating text with controllable attributes. While several approaches have been proposed, many of these methods require condition-specific data or significant computational resources. In this study, we propose a novel method called Gamma Sampling, which enables controllable language generation without the need for any training data and maintains a fast generation speed. Gamma Sampling incorporates attribute-related information into the sampling process, effectively guiding the language model to produce text with desired attributes. Our experimental results demonstrate that Gamma Sampling, when applied to GPT2, outperforms representative baselines in terms of diversity, attribute relevance, and overall quality of the generated samples.
arXiv.org Artificial Intelligence
Feb-21-2023
- Country:
- Asia (1.00)
- North America > United States
- New York (0.28)
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Banking & Finance (1.00)
- Education (1.00)
- Media > Film (1.00)
- Government
- Immigration & Customs (0.93)
- Regional Government > North America Government
- United States Government (1.00)
- Tax (0.67)
- Health & Medicine
- Pharmaceuticals & Biotechnology (0.69)
- Therapeutic Area (1.00)
- Law
- Civil Rights & Constitutional Law (1.00)
- Criminal Law (1.00)
- Government & the Courts (1.00)
- Litigation (0.68)
- Leisure & Entertainment (1.00)
- Information Technology > Security & Privacy (1.00)
- Food & Agriculture > Agriculture (0.67)
- Law Enforcement & Public Safety > Crime Prevention & Enforcement (1.00)
- Technology: