ProSA: Assessing and Understanding the Prompt Sensitivity of LLMs

Jingming Zhuo, Songyang Zhang, Xinyu Fang, Haodong Duan, Dahua Lin, Kai Chen

arXiv:2410.12405 · 2026-07-27 공개 · arXiv · PDF

llm-evaluation few-shot-learning reasoning-tasks model-robustness prompt-sensitivity prosa-framework prompt-sensitivitiy-metric decoding-confidence

Abstract

Large language models (LLMs) have demonstrated impressive capabilities across various tasks, but their performance is highly sensitive to the prompts utilized. This variability poses challenges for accurate assessment and user satisfaction. Current research frequently overlooks instance-level prompt variations and their implications on subjective evaluations. To address these shortcomings, we introduce ProSA, a framework designed to evaluate and comprehend prompt sensitivity in LLMs. ProSA incorporates a novel sensitivity metric, PromptSensiScore, and leverages decoding confidence to elucidate underlying mechanisms. Our extensive study, spanning multiple tasks, uncovers that prompt sensitivity fluctuates across datasets and models, with larger models exhibiting enhanced robustness. We observe that few-shot examples can alleviate this sensitivity issue, and subjective evaluations are also susceptible to prompt sensitivities, particularly in complex, reasoning-oriented tasks. Furthermore, our findings indicate that higher model confidence correlates with increased prompt robustness. We believe this work will serve as a helpful tool in studying prompt sensitivity of LLMs. The project is released at: https://github.com/open-compass/ProSA .

한국어 요약

한 줄 요약

ProSA는 LLM의 프롬프트 민감도를 평가하고 이해하기 위한 프레임워크로, 새로운 지표 PromptSensiScore(PSS)를 제안하고 해석력을 제공한다.

핵심 기여도

핵심 아이디어

기존 연구는 주로 데이터셋 수준에서 평가를 수행하며, 실제 사용자 경험에 가까운 인스턴스 수준의 민감도 분석을 간과했다. ProSA는 이 문제를 해결하기 위해 인스턴스 수준의 분석을 강조하고, PSS라는 새로운 지표를 도입하여 LLM이 동일한 작업에 대해 다른 프롬프트로 인해 얼마나 다른 결과를 내는지를 측정한다. 이는 객관적 평가(정확도 기반)와 주관적 평가(질적 평가 기반) 모두에서 적용 가능하다. 또한, 해독 신뢰도를 통해 LLM의 민감도가 내재적 신뢰도와 연관되어 있음을 밝혀내어, 민감도가 단순한 입력 변화에 대한 반응이 아니라 모델의 내부 메커니즘을 반영한다는 통찰을 제공한다.

기술적 접근법

주요 결과

의의 및 한계

ProSA는 LLM의 민감도를 인스턴스 수준에서 정량적으로 평가할 수 있는 체계적인 프레임워크를 제공하며, 민감도가 모델의 내재적 신뢰도와 연관되어 있음을 밝혀내어 이론적 기반을 강화한다. 또한, 주관적 평가에서의 민감도를 분석함으로써 실제 사용자 경험에 더 가까운 평가를 가능하게 한다. 그러나 PSS는 특정 평가 기준에 의존하며, 다양한 작업에서의 적용 가능성은 추가 연구가 필요하다. 또한, 해독 신뢰도와 민감도 간의 인과 관계는 아직 명확히 규명되지 않았다.

실용적 활용

ProSA는 LLM 개발자들이 모델의 안정성과 신뢰도를 평가하는 데 활용할 수 있으며, 특히 사용자 맞춤형 프롬프트 설계나 대화형 시스템 개선에 유용하다. 또한, 주관적 평가에서의 민감도 분석은 사용자 경험 개선 및 모델 튜닝에 실질적인 도움을 줄 수 있다.