To balance the quality and inference cost of a Foundation Model (FM, such as large language models (LLMs)) powered software, people often opt to train a routing model that routes requests to FMs with different sizes and capabilities. Existing routing models rely on learning the optimal routing decision from carefully curated data, require complex computations to be updated, and do not consider the potential evolution of weaker FMs. In this paper, we propose Real-time Adaptive Routing (RAR), an approach to continuously adapt FM routing decisions while using guided in-context learning to enhance the capabilities of weaker FM. The goal is to reduce reliance on stronger, more expensive FMs. We evaluate our approach on different subsets of the popular MMLU benchmark. Over time, our approach routes 50.2% fewer requests to computationally expensive models while maintaining around 90.5% of the general response quality. In addition, the guides generated from stronger models have shown intra-domain generalization and led to a better quality of responses compared to an equivalent approach with a standalone weaker FM.
Empowering Medical Equipment Sustainability in Low-Resource Settings: An AI-Powered Diagnostic and Support Platform for Biomedical Technicians
Carnegie Mellon University Africa(卡内基梅隆大学非洲分校);Medical Artificial Intelligence Laboratory(医学人工智能实验室);University of Pennsylvania(宾夕法尼亚大学);McGill University(麦吉尔大学)
AI-Powered Machine Learning Approaches for Fault Diagnosis in Industrial Pumps
Humboldt-Universität zu Berlin, Institut für Physik, AG Moderne Optik(柏林洪堡大学物理学院现代光学小组);University of Doha for Science and Technology, College of Engineering and Technology, Department of Mechanical Engineering Technology(多哈科学技术大学工程学院机械工程技术系)