paper-with-me

Papers

What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineering

2024-06-18 · Federico Errica, Giuseppe Siracusano, Davide Sanvito, Roberto Bifulco

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.

📄 PDF Abstract BibTeX arXiv:2406.12334

Code (1)

nec-research/sensitivity-consistency-LLM 공식 구현

Tasks

Prompt EngineeringSensitivitytext-classificationText Classification

Similar Papers 제목 키워드 기반

How Syntax Specialization Emerges in Language Models

2025-05-26 · Xufeng Duan, Zhaoqian Yao, Yunhao Zhang, Shaonan Wang 외

Large language models (LLMs) have been found to develop surprising internal specializations: Individual neurons, attention heads, and circuits become selectively sensitive to syntactic structure, reflecting patterns obse…

RCScore: Quantifying Response Consistency in Large Language Models

2025-10-30 · Dongjun Jang, Youngchae Ahn, Hyopil Shin arxiv

Current LLM evaluations often rely on a single instruction template, overlooking models' sensitivity to instruction style-a critical aspect for real-world deployments. We present RCScore, a multi-dimensional framework qu…

Varying Shades of Wrong: Aligning LLMs with Wrong Answers Only

2024-10-14 · Jihan Yao, Wenxuan Ding, Shangbin Feng, Lucy Lu Wang 외

In the absence of abundant reliable annotations for challenging tasks and contexts, how can we expand the frontier of LLM capabilities with potentially wrong answers? We focus on two research questions: (1) Can LLMs gene…

DiverseAgentEntropy: Quantifying Black-Box LLM Uncertainty through Diverse Perspectives and Multi-Agent Interaction

2024-12-12 · Yu Feng, Phu Mon Htut, Zheng Qi, Wei Xiao 외

Quantifying the uncertainty in the factual parametric knowledge of Large Language Models (LLMs), especially in a black-box setting, poses a significant challenge. Existing methods, which gauge a model's uncertainty throu…

Seeing Right but Saying Wrong: Inter- and Intra-Layer Refinement in MLLMs without Training

2026-01-12 · Shezheng Song, Shasha Li, Jie Yu arxiv

Multimodal Large Language Models (MLLMs) have demonstrated strong capabilities across a variety of vision-language tasks. However, their internal reasoning often exhibits a critical inconsistency: although deeper layers …