Capability Instruction Tuning: A New Paradigm for Dynamic LLM Routing

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhang, Yi-Kai, Zhan, De-Chuan, Ye, Han-Jia
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915170154971136
author Zhang, Yi-Kai
Zhan, De-Chuan
Ye, Han-Jia
author_facet Zhang, Yi-Kai
Zhan, De-Chuan
Ye, Han-Jia
contents Large Language Models (LLMs) have demonstrated human-like instruction-following abilities, particularly those exceeding 100 billion parameters. The combined capability of some smaller, resource-friendly LLMs can address most of the instructions that larger LLMs excel at. In this work, we explore how to route the best-performing LLM for each instruction to achieve better overall performance. We develop a new paradigm, constructing capability instructions with model capability representation, user instruction, and performance inquiry prompts to assess the performance. To learn from capability instructions, we introduce a new end-to-end framework called Model Selection with Aptitude Test (Model-SAT), which generates positive and negative samples based on what different models perform well or struggle with. Model-SAT uses a model capability encoder that extends its model representation to a lightweight LLM. Our experiments show that Model-SAT understands the performance dimensions of candidate models and provides the probabilities of their capability to handle various instructions. Additionally, during deployment, a new model can quickly infer its aptitude test results across 50 tasks, each with 20 shots. Model-SAT performs state-of-the-art model routing without candidate inference and in real-world new model-released scenarios. The code is available at https://github.com/Now-Join-Us/CIT-LLM-Routing
format Preprint
id arxiv_https___arxiv_org_abs_2502_17282
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Capability Instruction Tuning: A New Paradigm for Dynamic LLM Routing
Zhang, Yi-Kai
Zhan, De-Chuan
Ye, Han-Jia
Computation and Language
Artificial Intelligence
Machine Learning
Large Language Models (LLMs) have demonstrated human-like instruction-following abilities, particularly those exceeding 100 billion parameters. The combined capability of some smaller, resource-friendly LLMs can address most of the instructions that larger LLMs excel at. In this work, we explore how to route the best-performing LLM for each instruction to achieve better overall performance. We develop a new paradigm, constructing capability instructions with model capability representation, user instruction, and performance inquiry prompts to assess the performance. To learn from capability instructions, we introduce a new end-to-end framework called Model Selection with Aptitude Test (Model-SAT), which generates positive and negative samples based on what different models perform well or struggle with. Model-SAT uses a model capability encoder that extends its model representation to a lightweight LLM. Our experiments show that Model-SAT understands the performance dimensions of candidate models and provides the probabilities of their capability to handle various instructions. Additionally, during deployment, a new model can quickly infer its aptitude test results across 50 tasks, each with 20 shots. Model-SAT performs state-of-the-art model routing without candidate inference and in real-world new model-released scenarios. The code is available at https://github.com/Now-Join-Us/CIT-LLM-Routing
title Capability Instruction Tuning: A New Paradigm for Dynamic LLM Routing
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2502.17282