Third-Party Language Model Performance Prediction from Instruction

Rahul Nadkarni, Yizhong Wang, Noah A. SmitharXiv 2024

Abstract

Language model-based instruction-following systems have lately shown increasing performance on many benchmark tasks, demonstrating the capability of adapting to a broad variety of instructions. However, such systems are often not designed to be transparent about their limitations; a user may easily prompt a model with an instruction without any idea of whether the responses should be expected to be accurate, or if the system is even capable of performing the task. We propose a third party performance prediction framework, where a separate model is trained to predict the metric resulting from evaluating an instruction-following system on a task while assuming access only to its inputs and outputs at inference time. We perform this analysis with a variety of both open and closed instruction-following models as well as multiple performance predictors, and examine the effect of various factors such as model size, number of training tasks, and prompt format. Our findings indicate that third-party performance prediction is very challenging, and much work remains in developing predictors that can automatically reveal the limitations of modern instruction-following natural language processing systems.

Introduction

As Large Language Models (LLMs) become increasingly integrated into daily workflows, they are often treated as "black boxes." Users frequently issue prompts without a clear understanding of whether the model is capable of the specific task or if the generated output will be reliable. Currently, the primary method for assessing model capability is empirical—the "try and see" approach—which incurs significant computational costs and API fees, while also carrying the risk of relying on inaccurate information.

While developers provide broad benchmarks, there is a distinct lack of instruction-level transparency. This research investigates "third-party performance prediction" (TPPP): the feasibility of training a separate, lightweight model to estimate an LLM's performance based solely on the natural language instructions provided. Such a Performance Predictor (PP) would act as a gatekeeper, helping users decide whether to delegate a task to a specific model or seek an alternative system.

Methodology

The researchers developed a multi-stage analysis pipeline to evaluate the predictability of various instruction-tuned models (IMs). The framework assumes a third-party setting where the predictor only has access to the instruction and the resulting performance metric, without internal model access.

The third-party performance prediction framework pipeline.

Instruction-Tuned Models (IMs)

The study utilized a diverse set of IMs, including open-source LLaMA-based models—Alpaca-13B, Vicuna-13B, and Tülu-13B—as well as state-of-the-art closed-source models like GPT-3.5 and GPT-4.

Performance Data and Predictors

Performance data was generated by running these IMs on unseen tasks from the Super-NaturalInstructions (SuperNI) dataset, which contains over 1,600 diverse NLP tasks. Performance was quantified using standard metrics: ROUGE-L and Exact Match (EM). To test the impact of training data volume, 156 tasks from BIG-bench were also manually annotated.

Several Performance Predictors (PPs) were evaluated:

  • Standard PPs: Lightweight regression models based on RoBERTa-base and RoBERTa-large.
  • Upper Bound PP: A larger LLaMA-13B model fine-tuned using LoRA to determine if increased parameter count improves predictive accuracy.
  • Baseline: A "mean baseline" that consistently predicts the average performance observed in the training set.

Results and Discussion

The experimental results reveal that third-party performance prediction is an exceptionally difficult problem. Across nearly all configurations, the predictors struggled to significantly outperform the simple mean baseline.

The Scalability Paradox

A counterintuitive finding of this study is the "Scalability Paradox." One might assume that more capable models like GPT-4 would exhibit more stable and thus more predictable behavior. However, the data suggests that larger models are actually less predictable. As models improve, their performance variance across different tasks increases. For instance, the Exact Match RMSE for GPT-4 was a staggering 37.2, significantly higher than for smaller models.

Scatter plots showing the relationship between predicted and true metric values for various models.

Signal Scarcity and High Error Rates

The Root Mean Squared Error (RMSE) for performance prediction remained consistently high, typically around 20 or more on a 0–100 scale. Increasing the training data by 2.5x or providing few-shot demonstrations did not yield substantial improvements. This indicates a "signal scarcity" problem: the relationship between a natural language instruction and a quantitative performance score is either extremely noisy or requires a magnitude of data not yet available.

Furthermore, while predicting a model's internal cross-entropy loss showed slightly better correlation than surface-level metrics like ROUGE-L, it still failed to provide a reliable safety check for end-users.

Conclusion

This research highlights a significant gap in our ability to audit and predict the behavior of modern LLMs. Currently, lightweight third-party predictors cannot reliably determine if a model will succeed at a task based on the prompt alone. The "try and see" approach remains the status quo, emphasizing the need for more transparent model architectures and more robust task-level evaluation metrics. Future work may need to explore synthetic data generation or more sophisticated prompt-sensitive modeling to bridge this predictability gap.

Summary updated

BibTeX
@misc{nadkarni2024third,
  author = {Rahul Nadkarni and Yizhong Wang and Noah A. Smith},
  title = {{Third-Party Language Model Performance Prediction from Instruction}},
  year = {2024},
  eprint = {2403.12413},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.12413},
}
Figure