TL;DR
Evaluating large language models on comprehensive benchmarks is computationally expensive. This paper introduces a method that leverages cached responses from previously evaluated models to predict a new model's performance with significantly fewer queries. Their approach, based on the Data Kernel Perspective Space (DKPS), theoretically and empirically demonstrates query-efficiency, reducing query budgets by over 10x while maintaining accuracy.
What Problem Does This Paper Address?
Modern AI benchmarks, especially for large language models (LLMs), are becoming increasingly complex and multi-faceted. Evaluating a new model on these benchmarks often requires generating and scoring responses for thousands of queries, which is prohibitively time-consuming and resource-intensive. This is particularly problematic as it's easier than ever to create new model variants through techniques like fine-tuning or prompt engineering. The paper addresses the challenge of efficiently evaluating these models without sacrificing accuracy, by proposing a way to reuse existing evaluation data.
Methods
The core of the proposed solution lies in the Data Kernel Perspective Space (DKPS). Here's how it works:
- Representing Models: DKPS maps generative models into a low-dimensional Euclidean space. This mapping is based on the similarity of their responses to a set of queries. Essentially, models that produce similar responses to the same queries are placed closer together in this space.
- Leveraging Cached Responses: The key idea is that if we have cached responses from many previously evaluated models, we can use this information to predict a new model's performance. Instead of evaluating the new model on all queries, we can evaluate it on a small subset and then use its responses, along with the DKPS representations of existing models, to predict its overall benchmark score.
- DKPS-based Regression: The authors train a regression model (specifically, nearest neighbor regression, and in practice, Ordinary Least Squares - OLS) on the DKPS representations of reference models and their known benchmark scores. This trained model can then predict the score of a new model based on its DKPS representation derived from a small query subset.
- Ensemble Method: To further improve robustness, they propose an ensemble method that combines the DKPS-based prediction with the direct "Sample Score" (the new model's score on the limited query subset). This ensemble adaptively weights the two predictions, relying more on DKPS when the query budget is small and more on the direct score when the budget is larger.
- Active Query Selection: They also introduce an offline strategy for selecting the most informative query subset. This involves sampling candidate query sets, constructing DKPS representations for reference models using each set, and selecting the query set that maximizes the goodness-of-fit (R²) of a regression model predicting reference model scores.
Datasets
The authors evaluate their methods on four tasks from the HELM-Lite benchmark suite:
- MATH: A collection of 7 subject-based mathematical reasoning subtasks.
- LegalBench: Includes 5 legal reasoning subtasks.
- MedQA: A multiple-choice medical exam dataset.
- WMT-14: A set of 5 language-pair translation subtasks.
They used publicly available models from the HELM-Lite leaderboard that had been evaluated on these tasks.
Key Insights and Ideas
- Cached Data is Gold: The paper strongly suggests that previously collected model responses are a valuable, underutilized resource for efficient evaluation.
- Geometric Relationships Matter: The DKPS framework effectively captures the relationships between models based on their response similarities, providing a powerful representation for prediction.
- Ensembling for Robustness: Combining DKPS-based predictions with direct sample scores (the "Ensemble" method) consistently yields the best results, offering a robust default strategy.
- Query Selection is Crucial (at low budgets): While random query selection can work, actively selecting queries that maximize the predictive power of DKPS for reference models can significantly improve accuracy, especially when query budgets are very small.
- Task-Specific Nuances: The effectiveness of DKPS and the optimal hyperparameters can vary across different tasks, highlighting the need for careful consideration of the evaluation setup.
Key Results
- Significant Query Reduction: DKPS-based methods, particularly the Ensemble method, can reduce the number of queries required to achieve a given performance by more than 10x compared to traditional subset scoring.
- Competitive Accuracy: The DKPS-based methods achieve comparable Mean Absolute Error (MAE) to baselines that use the full query budget, demonstrating that query-efficiency does not come at a significant cost to accuracy.
- Ensemble Dominance: The Ensemble method consistently outperformed other methods across nearly all (m, task) combinations, often achieving the best or near-best performance.
- Active Query Selection Benefits: The proposed active query selection strategy, based on maximizing R², showed improved prediction accuracy compared to random query selection, especially at low query budgets.
- Embedding Function Impact: The choice of embedding function for model responses can have a noticeable effect on performance at small query budgets, though this effect diminishes as the budget increases.
Limitations and Future Work
- Stochastic Scoring: The theoretical analysis assumes deterministic scoring functions. The authors note that extending the framework to handle stochastic LLM-as-judge scoring is a straightforward conceptual extension.
- Evaluation Without Response-Level Scores: The DKPS method can still be applied even when response-level scoring is unavailable or expensive (e.g., proprietary or human evaluation), which is a significant advantage.
- Unstructured Query Sets and Missing Data: The current analysis assumes all reference models are evaluated on the same query set. Future work could explore handling partial overlaps or missing data using techniques like matrix completion.
- Prediction Bounds for Frontier Models: Nearest-neighbor prediction is inherently bounded by the scores of reference models. For models that significantly outperform all references, accuracy might be limited. Extending the theory to support extrapolative prediction for "frontier" models is a potential future direction.
- Understanding Task-Specific Efficiency: Further research is needed to understand which task properties (e.g., response diversity, scoring complexity) predict when DKPS-based methods are most effective.
Summary updated