R-MTLLMF: 在无线边缘实现具有鲁棒性的多任务大语言模型融合
R-MTLLMF: Resilient Multi-Task Large Language Model Fusion at the Wireless Edge
AI总结:
本文提出R-MTLLMF,通过鲁棒的模型融合技术在无线边缘环境下提升多任务大语言模型的抗干扰能力。
摘要:
多任务大语言模型(MTLLMs)在无线边缘应用中非常重要,因为用户要求专门的模型来高效处理多个任务。然而,训练MTLLMs是复杂且耗时的,特别是当任务受变化影响时。最近,通过任务向量进行模型融合的概念出现,成为一种高效的方法,用于结合微调参数以生成MTLLMs。本文研究了在最坏情况下的对抗性攻击下,如何让边缘用户通过任务向量协作创建此类MTLLMs的问题。为此,首先研究了对抗性噪声对多任务模型融合的影响,并推导出所谓的权重解耦误差与均方误差(MSE)之间的关系。通过假设检验,直接证明了MSE会增加任务向量之间的干扰,从而使模型融合无效。然后提出了一种新的鲁棒多任务大语言模型融合(R-MTLLMF),它利用关于LLM架构和微调过程的见解,通过重新对齐MTLLM来保护任务向量聚合,以对抗性噪声。所提出的R-MTLLMF随后在最坏情况和理想传输场景下进行比较,以研究无线信道的影响。广泛的模型融合实验使用视觉LLMs证明了R-MTLLMF的有效性,在理想噪声场景下,它在八个不同任务上实现了接近基线的性能,在最坏情况场景下显著优于未受保护的模型融合。结果进一步支持了在无线和LLM层面采用额外物理层保护的综合方法。
英文摘要:
Multi-task large language models (MTLLMs) are important for many applications at the wireless edge, where users demand specialized models to handle multiple tasks efficiently. However, training MTLLMs is complex and exhaustive, particularly when tasks are subject to change. Recently, the concept of model fusion via task vectors has emerged as an efficient approach for combining fine-tuning parameters to produce an MTLLM. In this paper, the problem of enabling edge users to collaboratively craft such MTLMs via tasks vectors is studied, under the assumption of worst-case adversarial attacks. To this end, first the influence of adversarial noise to multi-task model fusion is investigated and a relationship between the so-called weight disentanglement error and the mean squared error (MSE) is derived. Using hypothesis testing, it is directly shown that the MSE increases interference between task vectors, thereby rendering model fusion ineffective. Then, a novel resilient MTLLM fusion (R-MTLLMF) is proposed, which leverages insights about the LLM architecture and fine-tuning process to safeguard task vector aggregation under adversarial noise by realigning the MTLLM. The proposed R-MTLLMF is then compared for both worst-case and ideal transmission scenarios to study the impact of the wireless channel. Extensive model fusion experiments with vision LLMs demonstrate R-MTLLMF's effectiveness, achieving close-to-baseline performance across eight different tasks in ideal noise scenarios and significantly outperforming unprotected model fusion in worst-case scenarios. The results further advocate for additional physical layer protection for a holistic approach to resilience, from both a wireless and LLM perspective.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。