TensorOpera Router: A Multi-Model Router for Efficient LLM Inference

Dimitris Stripelis, Zijian Hu, Jipeng Zhang, Zhaozhuo Xu, Alay Dilipbhai Shah +4 more
8/22/2024
cs.AIcs.LG

No confident code implementation found for this paper.

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 TO-Router, 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, TO-Router 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%.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{stripelis2024tensoropera,
  title  = {TensorOpera Router: A Multi-Model Router for Efficient LLM Inference},
  author = {Dimitris Stripelis and Zijian Hu and Jipeng Zhang and Zhaozhuo Xu and Alay Dilipbhai Shah and Han Jin and Yuhang Yao and Salman Avestimehr and Chaoyang He},
  year   = {2024},
  eprint = {2408.12320},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.12320v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.12320.svg)](https://codeofpaper.com/paper/2408.12320)

Discussion