Introduction
The rapid advancement of Large Language Models (LLMs) has led to a performance arms race, resulting in massive models like GPT-4o and Llama-3-70B. While highly capable, these models are computationally expensive and often overkill for simpler tasks. Conversely, the open-source community has produced thousands of specialized small models (under 10B parameters) that are efficient but individually limited.
A key observation motivating this work is the "collective intelligence" of small models. While a single small model may fail where a giant succeeds, a different small model often possesses the specific capability required for that task. As shown in Figure 1, a union of diverse small models can cover approximately 90% of the correct responses generated by GPT-4o. The primary challenge lies in "routing": identifying the optimal small model for a given user instruction in real-time without the prohibitive cost of running all candidate models.
Methodology: MODEL-SAT
To address the routing problem, we introduce Capability Instruction Tuning (CIT) and the MODEL-SAT (Model Selection with Aptitude Test) framework. Unlike traditional re-ranking methods that require inference from every candidate model to select the best output, MODEL-SAT selects the best model before generation.
1. Capability Representation
Each model in the "zoo" undergoes a one-time, lightweight "aptitude test" consisting of 50 tasks sampled from the MMLU dataset. The results are formatted into a natural language Capability Representation ($c^m$), such as "80% on Math, 35% on History." This profile serves as a fixed descriptor of the model's strengths and weaknesses.
2. Capability Instruction Tuning
We train a router (based on Phi-3-Mini) using specialized "Capability Instructions." These instructions concatenate the model's capability profile ($c^m$), the user's instruction ($x_i$), and a performance inquiry prompt ($p$). The router is tasked with predicting whether the described model can successfully handle the specific instruction.
3. Efficient Routing
At deployment, the router evaluates the pre-calculated profiles of all candidate models against the incoming user prompt. It predicts a success score for each and routes the instruction only to the model with the highest predicted performance. This approach maintains a near-flat computational overhead regardless of the number of models in the library, as illustrated in Figure 2.
Experimental Results
The MODEL-SAT framework was evaluated across a diverse model zoo of 66 open-source LLMs and multiple benchmarks, including ARC-C, TruthfulQA, and multimodal tasks.
- Performance Parity: A collection of models under 10B parameters, when routed by MODEL-SAT, achieved an average score of 75.28%, rivaling the 76.90% achieved by the much larger Llama-3-70B.
- Scalability and Efficiency: MODEL-SAT demonstrates superior efficiency gains over re-ranking methods. As the candidate model library grows, the selection overhead for MODEL-SAT remains minimal, whereas re-ranking costs scale linearly with the number of models.
- Zero-Shot Generalization: The system successfully routes instructions to newly released models by simply generating a new capability profile via the aptitude test, requiring no further training of the router.
Discussion and Future Work
MODEL-SAT demonstrates that natural language descriptions of model capabilities can bridge the gap between task requirements and model strengths. However, the system's performance is inherently tied to the quality of the aptitude test. If the test fails to capture a specific niche capability, the router may underutilize certain models. Future research will focus on expanding the diversity of aptitude tests and applying this routing logic to complex, multi-step agentic workflows.
Summary updated