MacHa: Multi-Aspect Controllable Text Generation Based on a Hamiltonian System
At a glance
- الاستشهادات
- 0
- المراجع
- 21
- Comments
- 0
Abstract
Multi-faceted controllable text generation can be viewed as an extension and combination of controllable text generation tasks. It requires the generation of fluent text while controlling multiple different attributes (e.g., negative emotions and environmental protection in themes). Current research either estimates compact latent spaces for multiple attributes, reducing interference between different attributes but making it difficult to control the balance between multiple attributes, or controls the balance between multiple attributes but requires complex searches for decoding. Based on these issues, we propose a new method called MacHa, which trains an attribute latent space using multiple loss functions and establishes a mapping between the attribute latent space and attributes in sentences using a VAE network. An energy model based on the Hamilton function is defined in the potential space to control the balance between multiple attributes. Subsequently, in order to reduce the complexity of the decoding process, we extract samples using the RL sampling method and send them to the VAE decoder to generate the final text. The experimental results show that the MacHa method generates text with higher accuracy than the baseline models after balancing multiple attributes and has a fast decoding speed.
Publication details
- DOI
- 10.3390/computers14120503
- OpenAlex
- W4416458239
- Document type
- article
- Language
- EN
- Source
- Computers
- Last metadata update
Comments
تسجيل الدخول للانضمام إلى النقاش.