部署大型语言模型的多任务在线服务器
Deploying Multi-task Online Server with Large Language Model
AI总结:
针对工业界多任务部署成本高、多任务方法性能不足的问题,提出三阶段多任务学习框架,通过任务过滤与分阶段微调,在保持与单任务方法相当性能的同时,将开销降低高达90.9%。
摘要:
在工业界,大量任务被部署到线上。传统方法通常由各自的网络单独处理每个任务,这导致开发和扩展模型的成本过高,尤其是在大型语言模型的背景下。尽管多任务方法可以通过参数共享节省成本,但在实际应用中往往难以超越单任务方法。为应对这些挑战,我们提出了一种面向大型语言模型的三阶段多任务学习框架。该框架包括任务过滤,随后在高资源任务上进行微调,最后在所有任务上进行微调。我们在单任务和多任务设置下进行了全面实验。我们的方法在不同基准上的示例表明,它能够实现与单任务方法相当的性能,同时将其开销减少高达90.9%。
英文摘要:
In the industry, numerous tasks are deployed online. Traditional approaches often tackle each task separately by its own network, which leads to excessive costs for developing and scaling models, especially in the context of large language models. Although multi-task methods can save costs through parameter sharing, they often struggle to outperform single-task methods in real-world applications. To tackle these challenges, we present a three-stage multi-task learning framework for large language models. It involves task filtering, followed by fine-tuning on high-resource tasks, and finally fine-tuning on all tasks. We conducted comprehensive experiments in single-task and multi-task settings. Our approach, exemplified on different benchmarks, demonstrates that it is able to achieve performance comparable to the single-task method while reducing up to 90.9\% of its overhead.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。