Prompting approaches have been recently explored in text style transfer, where a textual prompt is used to query a pretrained language model to generate style-transferred texts word by word in an autoregressive manner. However, such a generation process is less controllable and early prediction errors may affect future word predictions. In this paper, we present a prompt-based editing approach for text style transfer. Specifically, we prompt a pretrained language model for style classification and use the classification probability to compute a style score. Then, we perform discrete search with word-level editing to maximize a comprehensive scoring function for the style-transfer task. In this way, we transform a prompt-based generation problem into a classification one, which is a training-free process and more controllable than the autoregressive generation of sentences. In our experiments, we performed both automatic and human evaluation on three style-transfer benchmark datasets, and show that our approach largely outperforms the state-of-the-art systems that have 20 times more parameters. Additional empirical analyses further demonstrate the effectiveness of our approach.
MedREK: Retrieval-Based Editing for Medical LLMs with Key-Aware Prompts
City University of Hong Kong(香港城市大学);Harvard Medical School(哈佛医学院);Institute of Automation, CAS(中国科学院自动化研究所);Columbia University(哥伦比亚大学);Ohio State University(俄亥俄州立大学);Westlake University(西湖大学);Nanjing University(南京大学)
PACE: Improving Prompt with Actor-Critic Editing for Large Language Model
Key Laboratory of High Confidence Software Technologies (Peking University)(高可信软件技术重点实验室(北京大学));School of Computer Science, Peking University(北京大学计算机学院)
DRESSing Up LLM: Efficient Stylized Question-Answering via Style Subspace Editing
School of Computer Science, Peking University(北京大学计算机学院);Center on Frontiers of Computing Studies, Peking University(北京大学计算前沿研究中心);National Research and Engineering Center of Software Engineering, Peking University(北京大学国家软件工程研究与工程中心)
Robust Text-driven Image Editing Method that Adaptively Explores Directions in Latent Spaces of StyleGAN and CLIP
Police Info-communications Research Center, National Police Academy(警察大学校警察信息通信研究中心);NTT Human Informatics Laboratories, NTT Corporation(日本电报电话公司NTT人类信息学实验室)
SETTP: Style Extraction and Tunable Inference via Dual-level Transferable Prompt Learning
Amii, University of Alberta(阿尔伯塔大学 Amii);Northeastern University(东北大学);Key Laboratory of Intelligent Computing in Medical Image of Ministry of Education, Northeastern University(东北大学医学影像智能计算教育部重点实验室);The Chinese University of Hong Kong(香港中文大学);National Frontiers Science Center for Industrial Intelligence and Systems Optimization(工业智能与系统优化全国前沿科学中心)