arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.13273cs.DBcs.AIcs.DC
收藏

MergePipe: 一种面向可扩展大语言模型融合的预算感知参数管理系统

MergePipe: A Budget-Aware Parameter Management System for Scalable LLM Merging

Hong Kong Polytechnic University(香港理工大学);Zhejiang University(浙江大学)

Yuanyi Wang, Yanggan Gu, Zihao Wang, Kunxi Li, Yifan Yang, Zhaoyi Yan, Congkai Xie, Jianmin Wu, Hongxia Yang

AI总结:

MergePipe通过预算感知的参数管理实现高效的大语言模型融合,减少I/O并提升整体性能。

摘要:

大语言模型(LLM)融合已成为现代LLM开发流水线中的关键技术,使可以在不重新训练的情况下整合多个任务或领域专用的专家模型。然而,随着专家数量的增长,现有融合实现将模型参数视为无结构文件,并以无状态、一次性的方式执行融合,导致磁盘I/O过大、参数扫描冗余和可扩展性差。在本文中,我们提出了MergePipe,一种用于可扩展LLM融合的参数管理系统。MergePipe是首个将LLM融合视为数据管理和执行问题的系统,并引入了基于目录的抽象,涵盖模型参数、融合计划和执行线。其核心是采用成本感知的规划器,明确建模专家参数I/O并强制执行用户指定的I/O预算,随后是流式执行引擎,在事务保证下实现融合模型。我们的关键见解是,虽然基础模型读取和输出写入是不可避免的,但专家参数读取主导融合成本并构成主要优化目标。通过在整个规划和执行过程中使专家访问预算感知,MergePipe缓解了朴素流水线的O(K) I/O增长,并实现了可预测的扩展行为。实验表明,MergePipe将总I/O减少了一到十个数量级,并在最先进的LLM融合流水线中实现了高达11倍的端到端加速(最高90%的运行时间减少)。

英文摘要:

Large language model (LLM) merging has become a key technique in modern LLM development pipelines, enabling the integration of multiple task- or domain-specific expert models without retraining. However, as the number of experts grows, existing merging implementations treat model parameters as unstructured files and execute merges in a stateless, one-shot manner, leading to excessive disk I/O, redundant parameter scans, and poor scalability. In this paper, we present \textbf{MergePipe}, a parameter management system for scalable LLM merging. MergePipe is the first system that treats LLM merging as a data management and execution problem, and introduces a catalog-driven abstraction over model parameters, merge plans, and execution lineage. At its core, MergePipe employs a cost-aware planner that explicitly models expert parameter I/O and enforces user-specified I/O budgets, followed by a streaming execution engine that materializes merged models under transactional guarantees. Our key insight is that while base model reads and output writes are unavoidable, expert parameter reads dominate merge cost and constitute the primary optimization target. By making expert access budget-aware throughout planning and execution, MergePipe mitigates the $O(K)$ I/O growth of naive pipelines and achieves predictable scaling behavior. Experiments show that MergePipe reduces total I/O by up to an order of magnitude and delivers up to $11\times$ end-to-end speedups (up to 90\% wall-time reduction) over state-of-the-art LLM merging pipelines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑