让视觉应用更高效:用低秩适配提升大模型性能
Empower Vision Applications with LoRA LMM
- 根据任务需求生成精准的领域知识适配器
- 并发处理异构适配器,准确率提升24%-62%
- 适合需要快速响应的视觉应用开发者
大型多模态模型(LMMs)在复杂视觉任务中表现出色,得益于其继承自大语言模型的强大语言与推理能力。低秩适配(LoRA)为向LMM注入外部知识提供了可行路径,弥补其在特定领域任务中的不足。然而,现有LoRA服务方案计算开销大、延迟极高。本文提出端到端解决方案VaLoRA,通过三方面实现高效视觉应用:1)基于精度感知的LoRA适配器生成方法,生成满足应用精度要求的领域专用适配器;2)自适应分块的适配器批处理算子,高效计算并发异构的LoRA适配器;3)灵活的适配器编排机制,动态管理请求与适配器,实现最低平均响应延迟。我们在三个LMM上对五类主流视觉任务进行了原型实现。实验表明,相比原始LMM,VaLoRA提升24%-62%的准确率,相比当前最优的LoRA服务系统,延迟降低20%-89%。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。