基于解耦反事实增强的多方面可控文本生成
Multi-Aspect Controllable Text Generation with Disentangled Counterfactual Augmentation
AI总结:
针对多方面可控文本生成中因属性相关性不平衡导致的刻板印象问题,提出MAGIC方法,通过解耦反事实增强缓解训练阶段的不平衡并在推理阶段强化属性相关性,在多种场景下优于基线。
摘要:
多方面可控文本生成旨在从多个方面(如情感方面的“积极”和主题方面的“体育”)控制生成文本的属性。为便于获取训练样本,现有工作忽略了由不同属性交织形成的属性相关性。特别是,由不平衡属性相关性形成的刻板印象严重影响了多方面控制。本文提出MAGIC,一种基于解耦反事实增强的多方面可控文本生成新方法。我们通过解耦,利用属性潜在空间中的反事实特征向量,缓解了训练过程中不平衡属性相关性的问题。在推理阶段,我们通过目标引导的反事实增强来强化属性相关性,以进一步提升多方面控制能力。实验表明,MAGIC在不平衡和平衡属性相关性场景下均优于最先进的基线方法。源代码和数据见https://github.com/nju-websoft/MAGIC。
英文摘要:
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 works neglect attribute correlations formed by the intertwining of different attributes. Particularly, the stereotype formed by imbalanced attribute correlations significantly affects multi-aspect control. In this paper, we propose MAGIC, a new multi-aspect controllable text generation method with disentangled counterfactual augmentation. We alleviate the issue of imbalanced attribute correlations during training using counterfactual feature vectors in the attribute latent space by disentanglement. During inference, we enhance attribute correlations by target-guided counterfactual augmentation to further improve multi-aspect control. Experiments show that MAGIC outperforms state-of-the-art baselines in both imbalanced and balanced attribute correlation scenarios. Our source code and data are available at https://github.com/nju-websoft/MAGIC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。