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:
- Oceania
- New Zealand (0.04)
- Australia (0.04)
- North America
- Dominican Republic (0.04)
- United States
- Texas (0.04)
- Colorado (0.04)
- Iowa (0.04)
- New York
- New York County > New York City (0.04)
- Bronx County > New York City (0.04)
- Maryland > Prince George's County
- Greenbelt (0.04)
- Illinois > Cook County
- Chicago (0.04)
- California > San Diego County
- San Diego (0.04)
- Alabama > Dallas County
- Selma (0.04)
- Canada > British Columbia
- Europe
- United Kingdom > Wales (0.04)
- Russia (0.04)
- Asia
- Africa > Ethiopia
- Addis Ababa > Addis Ababa (0.04)
- Oceania
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Law Enforcement & Public Safety > Crime Prevention & Enforcement (1.00)
- Information Technology > Security & Privacy (1.00)
- Leisure & Entertainment (1.00)
- Media > Film (1.00)
- Education (1.00)
- Banking & Finance (1.00)
- Food & Agriculture > Agriculture (0.67)
- Law
- Government & the Courts (1.00)
- Criminal Law (1.00)
- Civil Rights & Constitutional Law (1.00)
- Statutes (0.93)
- Litigation (0.68)
- Health & Medicine
- Therapeutic Area (1.00)
- Pharmaceuticals & Biotechnology (0.69)
- Government
- Immigration & Customs (0.93)
- Tax (0.67)
- Regional Government > North America Government
- United States Government (1.00)
- Technology: