View a PDF of the paper titled PolyRouter: A Multi-LLM Querying System, by Dimitris Stripelis and 8 other authors
Abstract:With the rapid growth of Large Language Models (LLMs) across various domains, numerous new LLMs have emerged, each possessing domain-specific expertise. This proliferation has highlighted the need for quick, high-quality, and cost-effective LLM query response methods. Yet, no single LLM exists to efficiently balance this trilemma. Some models are powerful but extremely costly, while others are fast and inexpensive but qualitatively inferior. To address this challenge, we present PolyRouter, a non-monolithic LLM querying system that seamlessly integrates various LLM experts into a single query interface and dynamically routes incoming queries to the most high-performant expert based on query’s requirements. Through extensive experiments, we demonstrate that when compared to standalone expert models, PolyRouter improves query efficiency by up to 40%, and leads to significant cost reductions of up to 30%, while maintaining or enhancing model performance by up to 10%.
Submission history
From: Dimitris Stripelis [view email]
[v1]
Thu, 22 Aug 2024 11:57:07 UTC (1,934 KB)
[v2]
Mon, 26 Aug 2024 23:05:51 UTC (1,934 KB)
Source link
lol