Attribution-Driven Explainable Intrusion Detection with Encoder-Based Large Language Models

arXiv cs.AI / 4/10/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper proposes an attribution-driven approach to make encoder-based LLM decisions more interpretable for SDN network intrusion detection.
  • It uses flow-level traffic features to show that attribution analysis can reveal which traffic behavior patterns drive model outputs.
  • The authors report that the learned decision drivers correspond to established intrusion-detection principles, suggesting the LLMs capture meaningful attack dynamics.
  • The work argues that applying attribution methods can improve transparency and trust, supporting more practical adoption of LLMs in security-critical environments.

Abstract

Software-Defined Networking (SDN) improves network flexibility but also increases the need for reliable and interpretable intrusion detection. Large Language Models (LLMs) have recently been explored for cybersecurity tasks due to their strong representation learning capabilities; however, their lack of transparency limits their practical adoption in security-critical environments. Understanding how LLMs make decisions is therefore essential. This paper presents an attribution-driven analysis of encoder-based LLMs for network intrusion detection using flow-level traffic features. Attribution analysis demonstrates that model decisions are driven by meaningful traffic behavior patterns, improving transparency and trust in transformer-based SDN intrusion detection. These patterns align with established intrusion detection principles, indicating that LLMs learn attack behavior from traffic dynamics. This work demonstrates the value of attribution methods for validating and trusting LLM-based security analysis.