Abstract
As autonomous systems such as drone swarms become increasingly crucial in complex missions, it is essential to ensure effective human oversight and explainable human-machine collaboration. We propose to integrate large language models (LLMs) as an interface with artificial intelligence (AI) agents to enhance explainability and incorporate human-in-the-loop control. We discuss how LLMs can bridge the gap between the technical complexities of AI-based autonomous systems and post-hoc interpretation techniques. LLM as an interface can enhance human-machine collaboration and control and increase trust and safety. Moreover, it has the potential to provide emergent capabilities and enhanced meta-learning. In our preliminary work, we integrate LLMs with deep reinforcement learning (DRL) to enhance anti-jamming capabilities of autonomous systems. Through a detailed case study, we demonstrate how this approach not only mitigates jamming threats but also facilitates human-in-the-loop control, enabling dynamic adjustments to mission parameters. Additionally, the natural language interface provided by LLMs enhances communication efficiency between human operators and drone swarms, ensuring seamless collaboration and improved operational resilience.
Introduction
As we move toward 6G networks, autonomous drone swarms are being deployed for increasingly complex missions. These systems often rely on Deep Reinforcement Learning (DRL) to adapt to dynamic environments—such as dodging signal jammers. However, DRL models are notoriously opaque. A human operator might see a drone swarm change communication channels but won't understand why that specific choice was made. This "black box" nature creates a trust gap and makes it difficult for humans to intervene effectively. Traditional Explainable AI (XAI) tools often require deep technical expertise to interpret, which isn't practical for field operators who need to make split-second decisions.
Proposed Framework
The proposed framework combines autonomous "muscle" with a linguistic "brain" to bridge the gap between complex automation and human oversight. The system architecture integrates a DRL agent with an LLM interface to provide natural language explanations and facilitate human-in-the-loop (HITL) control.
- The DRL Agent: A Double Deep Q-Network (DDQN) is responsible for the technical task of anti-jamming. It observes the "state" (jamming power across different channels) and chooses an "action" (switching to a cleaner channel) to maximize a "reward" (maintaining throughput while minimizing switching costs).
- The LLM Interface: The Falcon 7B model acts as the interface. Instead of showing the operator raw Q-values or tensors, the system uses prompt engineering to feed the DRL agent's data into the LLM.
- Natural Language Explanations: The LLM translates the DRL’s logic into human-readable narratives. For example, it might explain: "The agent selected channel 2 due to its low received jamming power, aiming for optimal throughput."
- Human-in-the-Loop (HITL): A web-based User Interface allows operators to configure jammer types, monitor training in real-time, and ask the LLM questions to shape the mission's decision-making.
Case Study: DRL-Based Anti-Jamming
The framework was tested in a simulated dynamic environment where the system had to defend against various jammer profiles, including "sweeping" and "random" jammers. The state space was defined by a vector representing received jamming power across various communication channels. Training data was generated online as the DDQN agent interacted with the environment over multiple episodes.
Results and Discussion
The DDQN agent successfully learned to mitigate jamming threats, with training rewards steadily increasing and stabilizing over approximately 25 episodes, indicating successful convergence.
Key insights from the study include:
- LLMs as the "XAI Bridge": LLMs can replace complex visualization tools as the primary medium for Explainable AI, democratizing AI oversight for non-engineers.
- Dynamic Decision Shaping: The interface enables "decision shaping," where a human can hear the AI's reasoning and adjust mission parameters if the reasoning doesn't align with higher-level goals.
- Contextual Awareness: Unlike static rule-based systems, the LLM can interpret the intent behind a DRL policy, such as balancing the trade-off between switching costs and signal quality.
Conclusion and Future Work
While the current prototype demonstrates the potential of LLM-integrated autonomous systems, several challenges remain. The authors acknowledge that LLMs can sometimes "hallucinate" or provide biased decisions. Future work will focus on grounding these models, fine-tuning LLMs specifically for telecommunications, and scaling the framework to manage the collective emergent behavior of entire drone swarms. Additionally, the team plans to explore Retrieval-Augmented Generation (RAG) and Bayesian deep learning to further enhance the reliability and interpretability of the system's decision-making.
Summary updated