Despite the impressive performance of large language models (LLMs), they often lag behind specialized models in various tasks. LLMs only use a fraction of the existing training data for in-context learning, while task-specific models harness the full dataset for fine-tuning. In this work, we tackle the problem of leveraging training data to improve the performance of LLMs without fine-tuning. Our approach directly targets LLM predictions without requiring access to their weights. We create a pool of candidates from the LLM through few-shot prompting and we employ a compact model, the LM-corrector (LMCor), specifically trained to merge these candidates to produce an enhanced output. Our experiments on four natural language generation tasks demonstrate that even a small LMCor model (250M) substantially improves the few-shot performance of LLMs (62B), matching and even outperforming standard fine-tuning. Furthermore, we illustrate the robustness of LMCor against different prompts, thereby minimizing the need for extensive prompt engineering. Finally, we show that LMCor can be seamlessly integrated with different LLMs at inference, serving as a plug-and-play module to improve their performance.
Reflective Personalization Optimization: A Post-hoc Rewriting Framework for Black-Box Large Language Models
School of Electronic and Electrical Engineering, Shanghai University of Engineering Science(上海工程技术大学电子与电气工程学院);Tencent Youtu Lab(腾讯优图实验室);Artificial Intelligence Innovation and Incubation Institute, Fudan University(复旦大学人工智能创新与孵化院)
LM-Combiner: A Contextual Rewriting Model for Chinese Grammatical Error Correction
Research Center for Social Computing and Information Retrieval, Harbin Institute of Technology(哈尔滨工业大学社会计算与信息检索研究中心);State Key Laboratory of Cognitive Intelligence, iFLYTEK Research(讯飞研究院认知智能国家重点实验室)
Chainwash: Multi-Step Rewriting Attacks on Diffusion Language Model Watermarks
College of Engineering and Computer Science, Marshall University(马歇尔大学工程与计算机科学学院);Department of Computer Science and Engineering, University of Rajshahi(拉贾沙希大学计算机科学与工程系);Miami University(迈阿密大学)
Joint Copying and Restricted Generation for Paraphrase
The Hong Kong Polytechnic University(香港理工大学);Hong Kong Polytechnic University Shenzhen Research Institute(香港理工大学深圳研究院);Wuhan University(武汉大学);Peking University(北京大学)