paper-with-me

홈 › Papers

MacLaSa: Multi-Aspect Controllable Text Generation via Efficient Sampling from Compact Latent Space

2023-05-22 · Hanxing Ding, Liang Pang, Zihao Wei, HuaWei Shen, Xueqi Cheng, Tat-Seng Chua

Multi-aspect controllable text generation aims to generate fluent sentences that possess multiple desired attributes simultaneously. Traditional methods either combine many operators in the decoding stage, often with costly iteration or search in the discrete text space, or train separate controllers for each aspect, resulting in a degeneration of text quality due to the discrepancy between different aspects. To address these limitations, we introduce a novel approach for multi-aspect control, namely MacLaSa, that estimates compact latent space for multiple aspects and performs efficient sampling with a robust sampler based on ordinary differential equations (ODEs). To eliminate the domain gaps between different aspects, we utilize a Variational Autoencoder (VAE) network to map text sequences from varying data sources into close latent representations. The estimated latent space enables the formulation of joint energy-based models (EBMs) and the plugging in of arbitrary attribute discriminators to achieve multi-aspect control. Afterwards, we draw latent vector samples with an ODE-based sampler and feed sampled examples to the VAE decoder to produce target text sequences. Experimental results demonstrate that MacLaSa outperforms several strong baselines on attribute relevance and textual quality while maintaining a high inference speed.

📄 PDF Abstract BibTeX arXiv:2305.12785

Code (1)

trustedllm/maclasa 공식 구현 pytorch

Tasks

AttributeDecoderText Generation

Similar Papers 제목 키워드 기반

Towards Lightweight, Adaptive and Attribute-Aware Multi-Aspect Controllable Text Generation with Large Language Models

2025-02-19 · Chenyu Zhu, Yefeng Liu, Chenyang Lyu, Xue Yang 외

Multi-aspect controllable text generation aims to control text generation in attributes from multiple aspects, making it a complex but powerful task in natural language processing. Supervised fine-tuning methods are ofte…

AttributeText Generation

Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation

2024-05-30 · Yi Liu, Xiangyu Liu, Xiangrong Zhu, Wei Hu

Multi-aspect controllable text generation aims to control the generated texts in attributes from multiple aspects (e.g., "positive" from sentiment and "sport" from topic). For ease of obtaining training samples, existing…

AttributecounterfactualDisentanglementText Generation

A Distributional Lens for Multi-Aspect Controllable Text Generation

2022-10-06 · Yuxuan Gu, Xiaocheng Feng, Sicheng Ma, Lingyuan Zhang 외

Multi-aspect controllable text generation is a more challenging and practical task than single-aspect control. Existing methods achieve complex multi-aspect control by fusing multiple controllers learned from single-aspe…

AttributeDecoderText Generation

An Extensible Plug-and-Play Method for Multi-Aspect Controllable Text Generation

2022-12-19 · Xuancheng Huang, Zijun Liu, Peng Li, Tao Li 외

Recently, multi-aspect controllable text generation that controls the generated text in multiple aspects (e.g., sentiment, topic, and keywords) has attracted increasing attention. Although methods based on parameter effi…

Machine TranslationText GenerationTranslation

Benchmarking and Improving Compositional Generalization of Multi-aspect Controllable Text Generation

2024-04-05 · Tianqi Zhong, Zhaoyi Li, Quan Wang, Linqi Song 외

Compositional generalization, representing the model's ability to generate text with new attribute combinations obtained by recombining single attributes from the training data, is a crucial property for multi-aspect con…

AttributeBenchmarkingMeta-LearningText Generation