Resilient LLM-Empowered Semantic MAC Protocols via Zero-Shot Adaptation and Knowledge Distillation

Yongjun Kim, Jihong Park, Mehdi Bennis, Junil ChoiarXiv 2025

TL;DR

Traditional neural network-based MAC protocols fail when network environments shift (e.g., when new users join), requiring slow and costly re-training. This paper introduces T3NPM, a hybrid framework that leverages Large Language Models (LLMs) for immediate, zero-shot protocol adaptation, while simultaneously using knowledge distillation to train a lightweight neural network in the background. This approach achieves a 20.56% boost in network resilience over standard models while slashing the LLM's massive computational overhead by nearly 20x.

What Problem Does This Paper Address?

In next-generation (6G) wireless networks, Medium Access Control (MAC) protocols need to be highly tailored to specific local environments to maximize efficiency and goodput (the rate of useful data delivery). Recent solutions use Neural Protocol Models (NPMs) trained via multi-agent deep reinforcement learning to dynamically learn custom signaling messages.

However, these deep learning models suffer from a fatal flaw: rigidity. If the network environment shifts—most notably, if the number of User Equipments (UEs) increases—the underlying neural network architecture breaks because its input/output dimensions are fixed. Introducing new users means adding untrained network parameters, forcing the system to undergo slow re-training. During this re-training phase, network performance plummets, severely compromising the system's resilience.

Fig. 2: Network model under environmental shifts.

Methods

The authors propose an LLM-empowered framework divided into three progressive protocol models to solve this structural vulnerability:

  1. Token-based Protocol Model (TPM): Instead of rigid neural network layers, the Base Station (BS) uses an LLM. UEs translate their buffer states into natural language tokens (e.g., "UE 1 has 2 packets"). Because text prompts can naturally accommodate variable lengths, the LLM can handle an arbitrary number of users instantly without re-training. The authors use TextGrad, an automated prompt optimization tool, to allow the LLM to iteratively refine its own instruction prompts based on performance feedback.
  2. TPM-to-NPM (T2NPM): While TPM is resilient, running a massive LLM for every single MAC decision is computationally unsustainable. T2NPM treats the optimized LLM as a "teacher" model. Using Knowledge Distillation (KD), the LLM's soft token probability distributions guide and drastically accelerate the re-training of a much smaller, lightweight "student" NPM.
  3. TPM-after-T2NPM (T3NPM): This is the ultimate hybrid framework. Immediately following an environmental shift, the system deploys TPM as a "first responder" to maintain acceptable goodput. In the background, T2NPM is trained using the LLM's guidance. T3NPM uses a novel statistical hypothesis testing mechanism called MixSwitch to determine the exact moment the lightweight student network has surpassed the LLM, seamlessly switching operations to the efficient NPM.
Fig. 1: LLM-empowered semantic MAC protocols.

Additionally, the authors introduce a new metric called Meta-Resilience. Traditional resilience metrics require a known, fixed target performance. Because post-shift target capabilities are often unknown in volatile wireless environments, Meta-Resilience mathematically integrates system performance across a broad spectrum of potential target levels to provide a holistic adaptability score.

Datasets

The paper evaluates the frameworks using custom-designed wireless network simulations rather than standard static datasets:

  • Environment: A single Base Station with an uplink multiple access channel.
  • Environmental Shift: The simulation initiates with 2 UEs and suddenly introduces an additional UE (shifting $L=2 \rightarrow 3$), altering the network dimensions.
  • LLM Baseline: The open-source SOLAR-10.7B model was utilized for the TPM and knowledge distillation components.

Key Insights and Ideas

  • The Bifold Role of LLMs: Instead of viewing LLMs purely as inference engines, this paper frames them as both first responders (providing immediate zero-shot fixes) and teachers (accelerating the training of edge-deployable models).
  • Text as a Flexible Interface: Natural language tokens act as a universal interface that completely bypasses the rigid dimensionality constraints of traditional neural networks.
  • Soft Logit Extraction from Text: To make knowledge distillation work between a text-based LLM and a value-based reinforcement learning network, the authors successfully map the LLM's token generation probabilities directly to discrete MAC action spaces (such as wait, transmit, or delete).
Fig. 5: TPM example.

Key Results

  • Superior Resilience: T3NPM achieved 20.56% higher meta-resilience than standard NPM and outperformed traditional slotted ALOHA by 23.53%.
  • Massive Computational Savings: By intelligently switching from the LLM to the distilled NPM, T3NPM reduced the average computational cost by 19.8× in FLOPS compared to running pure TPM continuously.
  • Prompt Optimization Matters: TextGrad-optimized prompts allowed the TPM to significantly outperform heuristically designed or randomly generated instructions, proving that domain adaptation via prompt engineering is vital for communication tasks.

Limitations and Future Work

  • Simplified Environments: The simulations were bounded by relatively small scale shifts (e.g., 2 to 3 users). Real-world cell towers handle hundreds of concurrent connections, where prompt length and context window limits could become an issue.
  • Idealized Channels: The authors assumed that the control channels used to send the natural language tokens were error-free, which is rarely the case in actual deployments.
  • Future Directions: The authors point toward evaluating these semantic protocols in more complex, realistic MAC environments and exploring how the "test-time compute" and reasoning capabilities of advanced LLMs could further optimize protocol design.

Summary updated

BibTeX
@misc{kim2025resilient,
  author = {Yongjun Kim and Jihong Park and Mehdi Bennis and Junil Choi},
  title = {{Resilient LLM-Empowered Semantic MAC Protocols via Zero-Shot Adaptation and Knowledge Distillation}},
  year = {2025},
  eprint = {2505.21518},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.21518},
}
Figure