Expert Router: Orchestrating Efficient Language Model Inference through Prompt Classification
Pichlmeier, Josef, Ross, Philipp, Luckow, Andre
–arXiv.org Artificial Intelligence
Large Language Models (LLMs) have experienced widespread adoption across scientific and industrial domains due to their versatility and utility for diverse tasks. Nevertheless, deploying and serving these models at scale with optimal throughput and latency remains a significant challenge, primarily because of the high computational and memory demands associated with LLMs. To tackle this limitation, we introduce Expert Router, a system designed to orchestrate multiple expert models efficiently, thereby enhancing scalability. Expert Router is a parallel inference system with a central routing gateway that distributes incoming requests using a clustering method. This approach effectively partitions incoming requests among available LLMs, maximizing overall throughput. Our extensive evaluations encompassed up to 1,000 concurrent users, providing comprehensive insights into the system's behavior from user and infrastructure perspectives. The results demonstrate Expert Router's effectiveness in handling high-load scenarios and achieving higher throughput rates, particularly under many concurrent users.
arXiv.org Artificial Intelligence
Apr-22-2024
- Country:
- North America > United States
- New York > New York County
- New York City (0.04)
- California > San Diego County
- Carlsbad (0.04)
- New York > New York County
- Europe
- Monaco (0.04)
- Italy > Calabria
- Catanzaro Province > Catanzaro (0.04)
- North America > United States
- Genre:
- Research Report > New Finding (0.34)
- Technology: