paperbot · PL 论文追踪

全部论文 待读 收藏

P2 ModularEvo: Evolving Multi-Task Models via Neural Network Modularization and Composition

ModularEvo:通过神经网络模块化与组合演化多任务模型
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 1/10 · 论文研究多任务深度神经网络的模块化分解、微调与协同演化,属于机器学习模型训练与部署优化领域,与用户关注的静态分析、浮点程序分析、贝叶斯程序分析以及LLM/Agent辅助程序分析等方向无实质关联;仅借用软件工程模块化隐喻,未涉及程序语言或程序分析技术。引用 0 inbox
Wenrui Long, Binhang Qi, Hailong Sun, Zongzhen Yang, Ruobing Zhao, Xiang Gao
crossref: 2026-09-12

AI 速览

一句话:借鉴软件工程模块化思想,将多任务模型分解为任务专属模块按需部署并协同演化,兼顾性能与推理效率。

多任务深度模型在长期部署中常因下游任务分布与需求变化而需要微调,传统全参数微调会损害原有知识,参数高效微调则将新知识隔离在外部参数中,基座模型难以从下游更新中累积收益。ModularEvo 借鉴软件工程模块化设计,先将模型分解为任务专属模块,每个模块保留相关权重与功能,并仅按需部署对应模块;部署期间各模块独立优化,通过模块化微调只更新任务相关权重,并周期性用模型合并将新知识整合回模型,实现模型与模块的协同演化。作者在三个 Transformer 模型与六个分类/生成下游任务上评估,多轮演化场景下绝对性能较 SOTA 提升 2.34%,推理加速 2.22 倍。

问题
多任务 DNN 模型长期部署时下游任务的分布与需求不断变化;全参数微调会退化原有知识,参数高效微调又只把新知识隔离在外部参数中,基座模型无法累积下游更新带来的收益。
方法
借鉴软件工程模块化设计,将模型分解为任务专属模块并按需部署,模块内只微调任务相关权重,并周期性通过模型合并把模块获得的新知识整合回基座模型,实现模型与模块的协同演化。
评估
在三个 Transformer 模型与六个涵盖分类和生成的下游任务上开展多轮演化实验,与当前最优基线比较模型性能与推理效率,取得 2.34% 的绝对性能提升和 2.22 倍推理加速。
原文摘要(Abstract)

Training a general multi-task deep neural network (DNN) model, such as a large language model, and deploying it across diverse downstream tasks has become a common practice. In long-term deployment scenarios, downstream tasks can change over time, such as new data distributions and requirements, leading to the fine-tuning of the model accordingly, i.e., evolving the model. However, traditional full-parameter fine-tuning methods adapt the model to individual tasks, resulting in degradation of the original knowledge. Although parameter-efficient fine-tuning methods could mitigate this problem, they still isolate new knowledge in external, separate parameters. As a result, the base model gains little cumulative benefit from downstream updates. These limitations stem from the indiscriminate model deployment and fine-tuning. Inspired by modular design principles in software engineering, we propose ModularEvo, a framework that enables on-demand deployment and co-evolution of multi-task models and modules across diverse downstream tasks. ModularEvo first decomposes the model into task-specific modules, each retaining a subset of relevant weights and functionality. These modules, instead of the entire model, are deployed on downstream tasks on demand. During long-term deployment, each module is independently optimized to adjust to the change of the corresponding task. Unlike conventional fine-tuning methods, ModularEvo applies modular fine-tuning to update only the task-relevant weights within modules. Furthermore, new knowledge acquired by modules is periodically integrated into the model through model merging, enabling the co-evolution of both the model and modules. We evaluate ModularEvo through extensive experiments on three Transformer models and six downstream tasks involving both classification and generation tasks. Results demonstrate the effectiveness of ModularEvo in model performance and inference efficiency in evolution scenarios. Compared to state-of-the-art baselines, ModularEvo achieves an absolute performance gain of 2.34% in multi-round evolution scenarios and a 2.22 times speedup in inference. In all, our work provides a new paradigm for the reuse and evolution of DNN models in the development of intelligent software applications.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11667,
  title = {ModularEvo: Evolving Multi-Task Models via Neural Network Modularization and Composition},
  author = {Wenrui Long and Binhang Qi and Hailong Sun and Zongzhen Yang and Ruobing Zhao and Xiang Gao},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773134}
}