Small Language Models for Inference-Capability Routing: Effects of Model Capacity and Prompt Optimization on Downstream Quality and Efficiency
Sailendra Kolluru, Maheshkumar Duvvarapu
Abstract
Optional reasoning, retrieval, web search, and tool use can improve large language model responses but incur unnecessary computation when activated indiscriminately. This study investigates whether prompt optimization can compensate for limited router capacity and whether classification gains translate into downstream efficiency. The proposed framework uses prompt-driven small language models to make four independent capability decisions, allowing multiple capabilities to be selected per query. Qwen2.5 routers ranging from 1.5B to 14B parameters are compared across five prompting strategies, followed by an evaluation of capability-specific optimized configurations using a fixed GPT-OSS-120B downstream model on 127 questions. Under minimal prompting, increasing router capacity does not consistently improve classification performance. Prompt optimization narrows the capacity gap for reasoning and calculator routing, whereas RAG and web search retain larger benefits from higher capacity. Similar classification F1 scores do not necessarily imply equivalent downstream behavior: false-positive activations increase unnecessary computation, while missed capabilities can reduce answer quality. The 14B router achieves a mean BERTScore F1 of 0.8408, compared with 0.8418 when all capabilities are enabled, while reducing average downstream token consumption by 68.7\% (8,837 to 2,764 tokens) and median downstream latency by 80.5\% (9.79 to 1.91 seconds). These savings exclude router overhead, which is measured separately in a different inference environment and increases with router capacity. The findings demonstrate that the relationship between router capacity, prompt design, and downstream efficiency is capability-dependent. Consequently, router selection must consider error profiles and routing overhead alongside classification performance.
Create a lesson
Related papers
CapLite: Prompt-Injection Defense for Small Language Model Agents without Model-Written Security Artifacts
Shared title terminology · Zimo Xu, Wenzhuo Liu, Hideki Nakayama
Bits or permutations? Spending a fixed inference budget on weight precision or on option-order averaging in small local language models
Shared title terminology · Mohammed Nayeem Khan, Logesh L, Aliyas Ahmad Misri
Efficient Natural Language to Temporal Logic Translation for Real-Time Physical AI
Shared title terminology · Oliver Schön, Adrien Banse, John Lygeros et al.
Dynamic Token Merging for Efficient Vision-Language Models
Shared title terminology · Chris Gu, Marco Andono Sie, Nathan Zhou et al.
One Schedule Does Not Fit All: Adaptive Inference Schedules for Diffusion Language Models
Shared title terminology · Rabimba Karanjai, Linsey Pang, Hemanth Hegadehalli Madhavarao et al.
Bring Back Language to Actions: Restoring VLM capabilities in VLA Models via Parameter Merging
Shared title terminology · Mohamed Salim Aissi, Olivier Sigaud, Laure Soulier et al.