Empower Vision Applications with LoRA LMM
Liang Mi, Weijun Wang, Wenming Tu, Qingfeng He, Rui Kong, Xinyu Fang, Yazhu Dong, Yikang Zhang, Yunchun Li, Meng Li, Haipeng Dai, Guihai Chen, Yunxin Liu
TL;DR
VaLoRA addresses the latency-accuracy trade-off in vision applications by deploying LoRA adapters within Large Multimodal Models through an end-to-end system. It introduces an accuracy-aware adapter generation pipeline, a high-efficiency Adaptive-Tiling Matrix Multiplication (ATMM) batching operator, and a flexible adapter orchestration mechanism including swift mode switching and deLoRA mixture inference. The approach yields 24-62% accuracy gains and 20-89% end-to-end latency reductions across five tasks and three LMMs, outperforming state-of-the-art LoRA-serving systems. This work demonstrates that a carefully designed LoRA LMM serving stack can enable accurate, scalable, and low-latency vision applications with a single foundation model.
Abstract
Large Multimodal Models (LMMs) have shown significant progress in various complex vision tasks with the solid linguistic and reasoning capacity inherited from large language models (LMMs). Low-rank adaptation (LoRA) offers a promising method to integrate external knowledge into LMMs, compensating for their limitations on domain-specific tasks. However, the existing LoRA model serving is excessively computationally expensive and causes extremely high latency. In this paper, we present an end-to-end solution that empowers diverse vision tasks and enriches vision applications with LoRA LMMs. Our system, VaLoRA, enables accurate and efficient vision tasks by 1) an accuracy-aware LoRA adapter generation approach that generates LoRA adapters rich in domain-specific knowledge to meet application-specific accuracy requirements, 2) an adaptive-tiling LoRA adapters batching operator that efficiently computes concurrent heterogeneous LoRA adapters, and 3) a flexible LoRA adapter orchestration mechanism that manages application requests and LoRA adapters to achieve the lowest average response latency. We prototype VaLoRA on five popular vision tasks on three LMMs. Experiment results reveal that VaLoRA improves 24-62% of the accuracy compared to the original LMMs and reduces 20-89% of the latency compared to the state-of-the-art LoRA model serving systems.
