Abstract
With LLMs shifting their role from statistical modeling of language to serving as general-purpose AI agents, how should LLM evaluations change? Arguably, a key ability of an AI agent is to flexibly combine, as needed, the basic skills it has learned. The capability to combine skills plays an important role in (human) pedagogy and also in a paper on emergence phenomena (Arora & Goyal, 2023). This work introduces Skill-Mix, a new evaluation to measure ability to combine skills. Using a list of $N$ skills the evaluator repeatedly picks random subsets of $k$ skills and asks the LLM to produce text combining that subset of skills. Since the number of subsets grows like $N^k$, for even modest $k$ this evaluation will, with high probability, require the LLM to produce text significantly different from any text in the training set. The paper develops a methodology for (a) designing and administering such an evaluation, and (b) automatic grading (plus spot-checking by humans) of the results using GPT-4 as well as the open LLaMA-2 70B model. Administering a version of the evaluation to popular chatbots gave results that, while generally in line with prior expectations, contained surprises. Sizeable differences exist among model capabilities that are not captured by their ranking on popular LLM leaderboards ("cramming for the leaderboard"). Furthermore, simple probability calculations indicate that GPT-4's reasonable performance on $k=5$ is suggestive of going beyond "stochastic parrot" behavior (Bender et al., 2021), i.e., it combines skills in ways that it had not seen during training. We sketch how the methodology can lead to a Skill-Mix based eco-system of open evaluations for AI capabilities of future models.
Introduction
As Large Language Models (LLMs) transition from text predictors to general-purpose agents, current benchmarks are increasingly inadequate. Two major issues plague existing evaluations: contamination, where public test sets are leaked into training data, and cramming, where models are optimized specifically for leaderboard performance rather than general intelligence.
A true mark of intelligence is compositional generalization—the ability to take basic skills learned during training and combine them in novel ways to solve specific, constrained tasks. SKILL-MIX addresses this by testing an AI’s ability to combine multiple distinct linguistic and reasoning skills within a randomly assigned topic.
Methodology
SKILL-MIX is a flexible evaluation framework designed to measure compositional ability. The process involves:
- Sampling: The evaluator randomly selects $k$ skills from a list of $N=101$ (e.g., "red herring," "metaphor," "modus ponens") and one topic from a list of $T=100$ (e.g., "sewing").
- Generation: A "Student" model is tasked with writing a short text (under 3 sentences) illustrating all $k$ skills within the chosen topic.
- Grading: To ensure scalability, "Grader" models (such as GPT-4) evaluate the output based on a rubric assessing skill correctness, topic adherence, length constraints, and overall coherence.
The difficulty of the task scales exponentially with $k$. For $N=100$, there are over 75 million ways to choose 5 skills, making it statistically impossible for a model to have encountered that exact combination during training.
Results and Insights
The evaluation revealed significant performance gaps between models. GPT-4 emerged as the clear leader, maintaining reasonable performance even as $k$ increased to 5 or 6. In contrast, most open-source models hit a "saturation point" where performance dropped off sharply, typically around $k=3$.
Exposing the "Crammers"
SKILL-MIX exposes models that may be over-optimized for standard benchmarks. For instance, Falcon-180B, despite its high ranking on the Hugging Face Open LLM Leaderboard, performed significantly worse than LLaMA-2-70B on this compositional task. This suggests that high scores on traditional benchmarks do not always translate to robust general reasoning.
Beyond the Stochastic Parrot
Using probability theory and the RedPajama dataset, the authors demonstrated that for $k=5$, the likelihood of a specific skill-topic combination appearing in training data is effectively zero. GPT-4's success at these higher $k$ values provides empirical evidence that it is generating truly novel text rather than merely "parroting" sequences from its training set.
Conclusion and Future Work
While SKILL-MIX provides a powerful new lens for evaluating AI, it is sensitive to the choice of "Grader" model and prompt engineering. Future work aims to expand the framework into specialized domains like coding, mathematics, and law, and to develop multi-modal versions for image and video models. To prevent future contamination, the authors propose maintaining "secret" versions of the skill and topic lists.
Summary updated