跳到主要导航 跳到搜索 跳到主要内容

Contextual Attention Modulation: Towards Efficient Multi-Task Adaptation in Large Language Models

  • Dayan Pan
  • , Zhaoyang Fu
  • , Jingyuan Wang
  • , Xiao Han
  • , Yue Zhu*
  • , Xiangyu Zhao*
  • *此作品的通讯作者
  • Beihang University
  • City University of Hong Kong
  • Huawei Technologies Co., Ltd.
  • Zhejiang University of Technology

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Large Language Models (LLMs) possess remarkable generalization capabilities but struggle with multi-task adaptation, particularly in balancing knowledge retention with task-specific specialization. Conventional fine-tuning methods suffer from catastrophic forgetting and substantial resource consumption, while existing parameter-efficient methods perform suboptimally in complex multi-task scenarios. To address this, we propose Contextual Attention Modulation (CAM), a novel mechanism that dynamically modulates the representations of self-attention modules in LLMs. CAM enhances task-specific features while preserving general knowledge, thereby facilitating more effective and efficient adaptation. For effective multi-task adaptation, CAM is integrated into our Hybrid Contextual Attention Modulation (HyCAM) framework, which combines a shared, full-parameter CAM module with multiple specialized, lightweight CAM modules, enhanced by a dynamic routing strategy for adaptive knowledge fusion. Extensive experiments on heterogeneous tasks, including question answering, code generation, and logical reasoning, demonstrate that our approach significantly outperforms existing approaches, achieving an average performance improvement of 3.65%. The implemented code and data are available to ease reproducibility.

源语言英语
主期刊名CIKM 2025 - Proceedings of the 34th ACM International Conference on Information and Knowledge Management
出版商Association for Computing Machinery, Inc
2273-2283
页数11
ISBN(电子版)9798400720406
DOI
出版状态已出版 - 10 11月 2025
已对外发布
活动34th ACM International Conference on Information and Knowledge Management, CIKM 2025 - Seoul, 韩国
期限: 10 11月 202514 11月 2025

出版系列

姓名CIKM 2025 - Proceedings of the 34th ACM International Conference on Information and Knowledge Management

会议

会议34th ACM International Conference on Information and Knowledge Management, CIKM 2025
国家/地区韩国
Seoul
时期10/11/2514/11/25

指纹

探究 'Contextual Attention Modulation: Towards Efficient Multi-Task Adaptation in Large Language Models' 的科研主题。它们共同构成独一无二的指纹。

引用此