Introduction
Evaluating Large Language Models (LLMs) on massive benchmarks has become a significant bottleneck in AI development. As models proliferate, the computational cost and API fees associated with running tens of thousands of test instances—such as those found in MMLU or the Open LLM Leaderboard—have become prohibitive. This paper introduces a novel two-stage framework inspired by Collaborative Filtering (CF), treating LLMs as "users" and test instances as "items" to predict full-scale performance from a minimal subset of data.
The Proposed Framework
The authors propose a paradigm shift from exhaustive testing to a recommendation-based approach. By evaluating a new model on just a tiny fraction (e.g., 10%) of a benchmark, the system can accurately predict its performance across the entire dataset.
Stage 1: Personalized Instance Selection
Instead of relying on random sampling or semantic embeddings, the system identifies "important" instances that best distinguish between different models. This personalized selection process uses an iterative probe set to identify historical models similar to the target model. It then selects new instances most likely to differentiate the target model from its "peers."
Stage 2: Performance Prediction
Once the model is tested on the selected subset, the system fills in the remaining 90% of the benchmark using two primary techniques:
- Collaborative Filtering (CF): Utilizing both item-based and user-based CF to predict how a model would answer a question based on its similarity to other models and other questions.
- Optimal Transport (OT): Leveraging meta-information to translate insights across related tasks (e.g., using performance on Python tasks to estimate performance on C++ tasks).
Experimental Setup
The method was validated using evaluation results from 395 different LLMs across two major benchmarks:
- HuggingFace Open LLM Leaderboard: ~50,000 instances.
- MMLU (Massive Multitask Language Understanding): ~14,000 instances across 57 tasks.
To simulate real-world deployment, the researchers used older models as historical data to predict the performance of newer models.
Key Results and Insights
The proposed method consistently outperformed existing baselines like Sort&Search and TinyBenchmark in terms of Mean Absolute Error (MAE) for both absolute performance and model ranking.
Key Findings:
- Historical Data vs. Semantics: A striking discovery was that historical performance data is a far better predictor of question difficulty than the actual text of the question. Clustering based on Sentence-BERT embeddings performed significantly worse than using historical model responses.
- Personalization Matters: The most discriminative questions for top-tier models (like GPT-4) differ from those that best distinguish between smaller 7B-parameter models. A "one-size-fits-all" subset is suboptimal.
- Efficiency: At a sampling ratio of 0.1 (testing only 10% of the data), the method provided highly accurate estimates that closely mirrored real-world performance, significantly slashing inference costs.
Limitations and Future Work
While highly effective, the method depends on a "Model Zoo" of historical data, which may be less accessible for entirely new or niche benchmarks. Future work could involve factoring in variable inference times for complex reasoning tasks and further hyperparameter tuning to unlock even higher accuracy. Despite these considerations, the framework offers a practical and scalable solution for the rapidly growing field of LLM evaluation.
Summary updated