Measuring Pointwise \mathcalV-Usable Information In-Context-ly

Sheng Lu, Shan Chen, Yingya Li, Danielle S. Bitterman, Guergana Savova, Iryna Gurevych

Introduction

In machine learning, understanding instance hardness—the relative difficulty of individual data points—is crucial for dataset auditing, benchmark development, and exemplar selection. A powerful metric for this is Pointwise $\mathcal{V}$-usable information (PVI). However, calculating PVI traditionally requires fine-tuning two separate model versions (one on full data, one on targets only), which is computationally prohibitive for modern Large Language Models (LLMs) or impossible for API-restricted models. This paper introduces in-context PVI, a method to estimate this metric using only In-Context Learning (ICL) prompts.

Methods

The authors adapt the PVI framework by replacing fine-tuning with specific few-shot prompting strategies. Instead of training, they compare model performance across two prompt types:

  1. Input-Target Prompt ($p'$): Standard few-shot examples of (input, label) followed by the test query.
  2. Target-Only Prompt ($p$): Examples containing only the labels, revealing the label distribution without the task context.
Comparison of traditional PVI via fine-tuning versus the proposed In-context PVI using prompting.

In-context PVI is the difference in log-probability of the correct label between these two contexts. A low PVI suggests the input provides little additional information over the base label distribution, indicating a "hard" or potentially mislabeled instance.

Key Insights

  • Prompt Stability: Despite the known sensitivity of LLMs to prompt variations, in-context PVI estimates remain remarkably stable across different sets of randomly selected exemplars (ANOVA $p > 0.05$).
  • Scaling Effects: While smaller models provide noisier estimates, PVI consistency and alignment with human difficulty improve significantly as model parameters increase (e.g., from GPT-Neo to Alpaca).
  • Data Auditing: The method effectively identifies labeling errors. Instances with extremely low PVI often reveal "unacceptable" labels for linguistically correct sentences or other annotation artifacts.
  • Human Alignment: There is a positive correlation between PVI and inter-annotator agreement; instances where humans disagree also tend to confuse the model.

Key Results

The researchers validated the metric across seven datasets (including BoolQ, CoLA, and biomedical tasks) using models ranging from GPT-2 to GPT-3.

Density plots of In-context PVI for correct vs. incorrect predictions across models and datasets.

The results demonstrate strong predictive power: instances in the lowest 20th percentile of PVI show near-zero accuracy, while the top 20th percentile approaches 100% accuracy. As shown in the density plots, higher-capacity models like GPT-3 (175B) exhibit much cleaner separation between correct and incorrect predictions based on PVI values compared to smaller models like GPT-2.

Conclusion and Future Work

In-context PVI provides a lightweight, non-invasive tool for measuring instance hardness in LLMs. Future research may explore using this metric for curriculum learning—training models on progressively harder (lower PVI) examples—or optimizing exemplar selection for complex reasoning tasks. While computationally more accessible than fine-tuning, the cost of API calls for massive models remains a practical consideration for large-scale dataset processing.

Summary updated

BibTeX
@inproceedings{lu2023measuring,
  author = {Sheng Lu and Shan Chen and Yingya Li and Danielle S. Bitterman and Guergana Savova and Iryna Gurevych},
  title = {{Measuring Pointwise \textbackslash\{\}mathcalV-Usable Information In-Context-ly}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.1054},
}
Figure