Composable Text Controls in Latent Space with ODEs
Guangyi Liu, Zeyu Feng, Yuan Gao, Zichao Yang, Xiaodan Liang, Junwei Bao, Xiaodong He, Shuguang Cui, Zhen Li, Zhiting Hu
摘要
Real-world text applications often involve composing a wide range of text control operations, such as editing the text w.r.t. an attribute, manipulating keywords and structure, and generating new text of desired properties. Prior work typically learns/finetunes a language model (LM) to perform individual or specific subsets of operations. Recent research has studied combining operations in a plug-and-play manner, often with costly search or optimization in the complex sequence space. This paper proposes a new efficient approach for composable text operations in the compact latent space of text. The low-dimensionality and differentiability of the text latent vector allow us to develop an efficient sampler based on ordinary differential equations (ODEs) given arbitrary plug-in operators (e.g., attribute classifiers). By connecting pretrained LMs (e.g., GPT2) to the latent space through efficient adaption, we then decode the sampled vectors into desired text sequences. The flexible approach permits diverse control operators (sentiment, tense, formality, keywords, etc.) acquired using any relevant data from different domains. Experiments show that composing those operators within our approach manages to generate or edit highquality text, substantially improving over previous methods in terms of generation quality and efficiency. 1 Keyword: accommodate staff was nice and accommodating a timely manner . he is always nice and accommodating . the service is wonderful and the facility is clean and accommodating . nicely crowded , along with a great accommodating staff ! she is friendly and willing to accommodate any type of questions .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Score-based Generative Modeling in Latent Space 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
- Controllable Text Generation via Probability Density Estimation in the Latent Space 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Controllable Text Generation via Probability Density Estimation in the Latent Space 引用了 Diffusion-LM Improves Controllable Text Generation
- Diffusion-LM Improves Controllable Text Generation 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- Diffusion-LM Improves Controllable Text Generation 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
- Unified Generation, Reconstruction, and Representation: Generalized Diffusion with Adaptive Latent Encoding-Decoding 引用了 Score-based Generative Modeling in Latent Space
- Unified Generation, Reconstruction, and Representation: Generalized Diffusion with Adaptive Latent Encoding-Decoding 引用了 Diffusion-LM Improves Controllable Text Generation
- Unified Generation, Reconstruction, and Representation: Generalized Diffusion with Adaptive Latent Encoding-Decoding 引用了 Score-Based Generative Modeling through Stochastic Differential Equations
- COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
- COLD-Attack: Jailbreaking LLMs with Stealthiness and Controllability 引用了 Diffusion-LM Improves Controllable Text Generation
- Counterfactual Generation with Identifiability Guarantees 引用了 Plug and Play Language Models: A Simple Approach to Controlled Text Generation
引用它的顶会 Paper13
- COLD-Attack: Jailbreaking LLMs with Stealthiness and ControllabilityXingang Guo, Fangxu Yu, Huan Zhang, Lianhui Qin 等ICML 2024 · 173 次引用
- RoboDreamer: Learning Compositional World Models for Robot ImaginationSiyuan Zhou, Yilun Du, Jiaben Chen, Yandong Li 等ICML 2024 · 140 次引用
- Counterfactual Generation with Identifiability GuaranteesHanqi Yan, Lingjing Kong, Lin Gui, Yuejie Chi 等NeurIPS 2023 · 16 次引用
- Unified Generation, Reconstruction, and Representation: Generalized Diffusion with Adaptive Latent Encoding-DecodingGuangyi Liu, Yu Wang, Zeyu Feng, Qiyu Wu 等ICML 2024 · 9 次引用
- Controllable Text Generation via Probability Density Estimation in the Latent SpaceYuxuan Gu, Xiaocheng Feng, Sicheng Ma, Lingyuan Zhang 等ACL 2023 · 8 次引用
它引用的 Paper24
- Diffusion-LM Improves Controllable Text GenerationXiang Lisa Li, John Thickstun, Ishaan Gulrajani, Percy Liang 等NeurIPS 2022 · 1,546 次引用
- Score-Based Generative Modeling through Stochastic Differential EquationsYang Song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar 等ICLR 2021 · 1,270 次引用
- Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung 等ICLR 2020 · 1,166 次引用
- Score-based Generative Modeling in Latent SpaceArash Vahdat, Karsten Kreis, Jan KautzNeurIPS 2021 · 903 次引用
- Your classifier is secretly an energy based model and you should treat it like oneWill Grathwohl, Kuan-Chieh Wang, Jörn-Henrik Jacobsen, David Duvenaud 等ICLR 2020 · 643 次引用
相关 Paper
- Tailor: A Soft-Prompt-Based Approach to Attribute-Based Controlled Text GenerationKexin Yang, Dayiheng Liu, Wenqiang Lei, Baosong Yang 等ACL 2023 · 25 次引用
- MacLaSa: Multi-Aspect Controllable Text Generation via Efficient Sampling from Compact Latent SpaceHanxing Ding, Liang Pang, Zihao Wei, Huawei Shen 等EMNLP Findings 2023 · 5 次引用
- Non-autoregressive Text Editing with Copy-aware Latent AlignmentsYu Zhang, Yue Zhang, Leyang Cui, Guohong FuEMNLP 2023 · 2 次引用
- Controlled Text Generation for Black-box Language Models via Score-based Progressive EditorSangwon Yu, Changmin Lee, Hojin Lee, Sungroh YoonACL 2024
- EdiText: Controllable Coarse-to-Fine Text Editing with Diffusion Language ModelsChe Hyun Lee, Heeseung Kim, Jiheum Yeom, Sungroh YoonACL 2025
