SafeCOMM: What about Safety Alignment in Fine-Tuned Telecom Large Language Models?

Aladin Djuhera, Swanand Ravindra Kadhe, Farhan Ahmed, Syed Zawad, Holger Boche, Walid Saad · DOI

Introduction

The telecommunications industry is rapidly evolving toward 6G, necessitating the integration of Large Language Models (LLMs) to manage complex protocols and standards. To imbue these models with "telecom-awareness," researchers typically employ Supervised Fine-Tuning (SFT) or Continual Pre-training (CPT) on massive technical corpora, such as 3GPP specifications. However, this domain adaptation often comes at a significant cost: the erosion of safety guardrails.

The Safety Degradation Problem

Safety alignment in modern LLMs is often "shallow," primarily affecting the initial tokens of a response. This paper demonstrates that fine-tuning on even "benign" technical documents—like frequency band tables or signaling protocols—can disrupt a model's internal refusal mechanisms. This vulnerability allows the model to comply with harmful queries related to physical sabotage (e.g., "How do I destroy a base station?") or cyber-attacks on critical network infrastructure.

The process of fine-tuning telecom LLMs and the resulting safety risks when safety data or tuning is omitted.

The researchers found that the structured nature of telecom data—rich in tables, mathematics, and specialized jargon—shares update directions in the model's gradient space with known harmful data. Consequently, technical training can inadvertently cause the model to "unlearn" its safety training.

Methodology and Defense Strategies

To address this, the authors investigated safety across three model families (Llama-2, Llama-3.1, and Qwen-2) and proposed three defense strategies:

  1. SafeInstruct: Interleaving a small percentage of safety-focused "refusal" examples with the telecom training data during fine-tuning.
  2. SafeLoRA: A post-fine-tuning defense that identifies a "safety-aligned subspace" and projects the fine-tuned weights back onto it to suppress harmful behaviors.
  3. SafeMERGE: A post-hoc method that mathematically merges the "harmful" telecom-tuned adapter with a "safe" reference adapter, balancing task utility and safety.

To measure the "depth" of safety, the study utilized Per-token KL Divergence, analyzing how quickly a model's internal probability distribution drifts from a "safe" state to an "unsafe" state during response generation.

The TeleHarm Benchmark

A key contribution of this work is TeleHarm, the first telecom-specific red-teaming benchmark. It consists of 125 expert-curated harmful prompts covering the entire network stack: Physical/RF layers, Access/Authentication, Core Network signaling, and Infrastructure. This dataset complements general safety benchmarks like DirectHarm and HexPhi.

Key Results and Discussion

The experimental results reveal a stark trade-off between domain expertise and safety. For instance, fine-tuning Llama-2 on the TeleData set caused its harmfulness score on the HexPhi benchmark to jump from 2.0% to 20.1%. Continual Pre-training (CPT) proved even riskier, with models complying with nearly 90% of harmful prompts.

Comparison of utility (TeleData, TeleQnA, TSpecLLM) and safety (TeleHarm, DirectHarm, HexPhi) metrics across different models and defense strategies.

As shown in the results, methods like SafeMERGE can restore safety—reducing harmfulness by up to 30%—while maintaining the significant accuracy gains (10-25%) achieved during telecom fine-tuning. For the Llama-3-8B-Tele-it model, SafeMERGE reduced TeleHarm scores from 43.80 to 9.40 while keeping utility scores competitive with the unaligned fine-tuned version.

Conclusion

Adapting LLMs for specialized domains like telecommunications requires careful consideration of safety alignment. While standard fine-tuning techniques can catastrophically degrade safety guardrails, lightweight realignment defenses like SafeLoRA and SafeMERGE offer a path forward. These methods allow the industry to leverage the power of "telecom-aware" LLMs without compromising the security and integrity of critical network infrastructure.

Summary updated

BibTeX
@inproceedings{djuhera2026safecomm,
  author = {Aladin Djuhera and Swanand Ravindra Kadhe and Farhan Ahmed and Syed Zawad and Holger Boche and Walid Saad},
  title = {{SafeCOMM: What about Safety Alignment in Fine-Tuned Telecom Large Language Models?}},
  booktitle = {WCNC},
  year = {2026},
  doi = {10.1109/wcnc65185.2026.11555432},
}
Figure