Unveiling the Lexical Sensitivity of LLMs: Combinatorial Optimization for Prompt Enhancement
Subject: Language and Linguistics
Author or source: Pengwei Zhan, Zhen Xu, Qian Tan, Jie Song, Ru Xie
Updated:
Following this property, we propose a black-box Combinatorial Optimization framework for Prompt Lexical Enhancement (COPLE).
Pengwei Zhan, Zhen Xu, Qian Tan, Jie Song, Ru Xie. 2024. Unveiling the Lexical Sensitivity of LLMs: Combinatorial Optimization for Prompt Enhancement. Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics. DOI 10.18653/v1/2024.emnlp-main.295. CC BY 4.0. Original PDF and author abstract are reproduced unchanged apart from whitespace in the abstract. LawSphereX prepared the reading prompt and cover. No endorsement implied.
Publication sources
Authors’ abstract
Source page 1–27
Large language models (LLMs) demonstrate exceptional instruct-following ability to complete various downstream tasks. Although this impressive ability makes LLMs flexible task solvers, their performance in solving tasks also heavily relies on instructions. In this paper, we reveal that LLMs are over-sensitive to lexical variations in task instructions, even when the variations are imperceptible to humans. By providing models with neighborhood instructions, which are closely situated in the latent representation space and differ by only one semantically similar word, the performance on downstream tasks can be vastly different. Following this property, we propose a black-box Combinatorial Optimization framework for Prompt Lexical Enhancement (COPLE). COPLE performs iterative lexical optimization according to the feedback from a batch of proxy tasks, using a search strategy related to word influence. Experiments show that even widely-used human-crafted prompts for current benchmarks suffer from the lexical sensitivity of models, and COPLE recovers the declined model ability in both instruct-following and solving downstream tasks.
Reading guide for language and linguistics
Source page 1–27
Identify the language phenomenon and how the authors annotate or measure it. Check whether the examples support the conclusions for other settings.