What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineering
원문 초록
Large Language Models (LLMs) changed the way we design and interact with software systems. Their ability to process and extract information from text has drastically improved productivity in a number of routine tasks. Developers that want to include these models in their software stack, however, face a dreadful challenge: debugging LLMs' inconsistent behavior across minor variations of the prompt. We therefore introduce two metrics for classification tasks, namely sensitivity and consistency, which are complementary to task performance. First, sensitivity measures changes of predictions across rephrasings of the prompt, and does not require access to ground truth labels. Instead, consistency measures how predictions vary across rephrasings for elements of the same class. We perform an empirical comparison of these metrics on text classification tasks, using them as guideline for understanding failure modes of the LLM. Our hope is that sensitivity and consistency will be helpful to guide prompt engineering and obtain LLMs that balance robustness with performance.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
PRL: Prompts from Reinforcement Learning
Can Generated Images Serve as a Viable Modality for Text-Centric Multimodal Learning?
SHREC and PHEONA: Using Large Language Models to Advance Next-Generation Computational Phenotyping
Small Language Models in the Real World: Insights from Industrial Text Classification
Making Language Model a Hierarchical Classifier and Generator
Robustness of Misinformation Classification Systems to Adversarial Examples Through BeamAttack
토론
이 논문과 연결된 포럼 글이 아직 없습니다.