MoDEM: Mixture of Domain Expert Models

Toby Simonds, Kemal Kurniawan, Jey Han Lau
10/9/2024
cs.CL

No confident code implementation found for this paper.

Abstract

We propose a novel approach to enhancing the performance and efficiency of large language models (LLMs) by combining domain prompt routing with domain-specialized models. We introduce a system that utilizes a BERT-based router to direct incoming prompts to the most appropriate domain expert model. These expert models are specifically tuned for domains such as health, mathematics and science. Our research demonstrates that this approach can significantly outperform general-purpose models of comparable size, leading to a superior performance-to-cost ratio across various benchmarks. The implications of this study suggest a potential paradigm shift in LLM development and deployment. Rather than focusing solely on creating increasingly large, general-purpose models, the future of AI may lie in developing ecosystems of smaller, highly specialized models coupled with sophisticated routing systems. This approach could lead to more efficient resource utilization, reduced computational costs, and superior overall performance.

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{simonds2024modem,
  title  = {MoDEM: Mixture of Domain Expert Models},
  author = {Toby Simonds and Kemal Kurniawan and Jey Han Lau},
  year   = {2024},
  eprint = {2410.07490},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.07490v1}
}

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/2410.07490.svg)](https://codeofpaper.com/paper/2410.07490)

Discussion