R-MTLLMF: Resilient Multi-Task Large Language Model Fusion at the Wireless Edge

Aladin Djuhera, Vlad-Costin Andrei, Mohsen Pourghasemian, Haris Gacanin, Holger Boche, Walid Saad

TL;DR

Multi-task model fusion (MTMF) via task vectors offers a highly efficient, lightweight alternative to Federated Learning for deploying large language models at the wireless edge. However, these task vectors are highly vulnerable to wireless noise and strategic adversarial attacks, which cause catastrophic task interference. This paper introduces R-MTLLMF, a resilient framework that safeguards model fusion by freezing sensitive embedding parameters and applying a few-shot realignment step to restore model performance under adversarial conditions.

What Problem Does This Paper Address?

Deploying Multi-Task Large Language Models (MTLLMs) at the wireless edge allows edge devices to handle diverse tasks locally. Traditional Federated Learning (FL) is often too resource-intensive for this, requiring multiple communication rounds and heavy computation.

An elegant alternative is Multi-Task Model Fusion (MTMF). Here, users independently fine-tune a shared base model on their specific tasks, compute a "task vector" (the difference between the fine-tuned and base model weights), and send these lightweight vectors to a base station for aggregation.

The catch? Wireless channels are noisy, and malicious actors can deploy worst-case adversarial jamming attacks. When task vectors are corrupted during transmission, it introduces decoding errors that lead to weight entanglement—a phenomenon where the distinct tasks interfere with one another, completely destroying the merged model's ability to generalize or perform any single task accurately.

MTMF system model under adversarial attack and the R-MTLLMF framework

Methods

The authors first mathematically prove that the wireless Mean Squared Error (MSE) directly drives the Weight Disentanglement Error (WDE). Using hypothesis testing, they demonstrate that higher wireless noise forces task vectors to lose their orthogonality and interfere with each other.

To counter this without relying purely on traditional physical-layer defenses, they propose R-MTLLMF (Resilient Multi-Task LLM Fusion), which operates directly within the LLM architecture using two core modules:

  1. Task Vector Aggregation with Frozen LLM Parameters: Fine-tuning primarily alters self-attention layers, while core data representations remain stable. R-MTLLMF freezes the sensitive position, patch, and class embeddings of the base model and reloads them unaltered after task vector aggregation, preventing noise-induced shifts in essential encodings.
  2. Few-Shot Realignment: To fix the noise-induced perturbations in the self-attention layers, the base station performs a rapid, low-overhead fine-tuning step using a tiny, representative dataset (just 10 samples per class). This realigns the attention mechanisms and restores contextual relationships between tokens.

Datasets

The framework was evaluated using OpenAI’s CLIP ViT-B/16 vision-LLM across eight distinct image classification datasets representing different edge tasks:

  • MNIST (Handwritten digits)
  • Stanford Cars (Fine-grained car classification)
  • DTD (Describing Textures in the Wild)
  • EuroSAT (Satellite land use/cover)
  • GTSRB (German traffic signs)
  • RESISC45 (Remote sensing scenes)
  • SUN397 (Scene categories)
  • SVHN (Street view house numbers)

Key Insights and Ideas

  • Noise Destroys Orthogonality: In ideal conditions, task vectors are mostly orthogonal (sharing low directional overlap, with cosine similarities around 0.15). Under worst-case adversarial noise, their cosine similarity spikes to ~0.50 across all tasks. This means noise structurally alters the vectors, forcing them to partially align and jam each other's task pathways.
  • The Synergy of Freezing and Tuning: A key "aha" moment from the ablation studies is that neither parameter freezing nor few-shot realignment works well in isolation. Realignment is only effective when the underlying structural embeddings are locked in place, preserving the core data representation space.
Cosine similarities in ideal conditions showing high orthogonality Cosine similarities under worst-case noise showing severe entanglement
Task vectors maintain low similarity (high orthogonality) in the ideal case. Adversarial noise forces vectors to align (~0.50 similarity), causing severe interference.
Cosine similarities in ideal conditions showing high orthogonality
Cosine similarities under worst-case noise showing severe entanglement

Key Results

  • Near-Baseline Performance in Ideal Settings: In typical wireless scenarios, R-MTLLMF achieves a 89.1% normalized average accuracy across all 8 tasks, coming remarkably close to the clean, noise-free baseline of 91.2%.
  • Catastrophe Averted in Worst-Case Scenarios: Under optimal adversarial jamming (which drops unprotected model accuracy to a useless 4%–6%), R-MTLLMF recovers the model to 53.3% – 54.8% accuracy. This represents a 9x to 14x performance improvement over an unprotected system.
MTLLMF Performance across different task counts and noise scenarios

Limitations and Future Work

While R-MTLLMF provides a massive upgrade over standard model fusion, it cannot fully overcome extreme adversarial conditions on its own. When the signal-to-noise ratio (SNR) drops drastically (e.g., down to -27.3 dB), the severe noise invalidates the low-noise assumptions required for few-shot realignment to fully succeed.

The authors conclude that purely AI-based architecture fixes have an upper limit. Future work will focus on creating a hybrid resilience framework that combines R-MTLLMF with physical-layer wireless protections, such as Integrated Sensing and Communication (ISAC), to proactively neutralize jammers before they corrupt the data stream.

Summary updated

BibTeX
@inproceedings{djuhera2025r,
  author = {Aladin Djuhera and Vlad-Costin Andrei and Mohsen Pourghasemian and Haris Gacanin and Holger Boche and Walid Saad},
  title = {{R-MTLLMF: Resilient Multi-Task Large Language Model Fusion at the Wireless Edge}},
  booktitle = {ICC},
  year = {2025},
  doi = {10.1109/icc52391.2025.11161573},
}
Figure