Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Composable Text Controls in Latent Space with ODEs (2208.00638v3)

Published 1 Aug 2022 in cs.CL and cs.AI

Abstract: 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 LLM (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 high-quality text, substantially improving over previous methods in terms of generation quality and efficiency.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (10)
  1. Guangyi Liu (104 papers)
  2. Zeyu Feng (8 papers)
  3. Yuan Gao (336 papers)
  4. Zichao Yang (27 papers)
  5. Xiaodan Liang (318 papers)
  6. Junwei Bao (34 papers)
  7. Xiaodong He (162 papers)
  8. Shuguang Cui (275 papers)
  9. Zhen Li (334 papers)
  10. Zhiting Hu (75 papers)
Citations (29)

Summary

We haven't generated a summary for this paper yet.