arXiv:2608.26831cs.CRAug 2026

Manuscript Offprint

arXiv:2608.26831

When Relationships Break: Interpreting Network Traffic Anomalies via Dependency Violations

Federica Uccello, Simin Nadjm-Tehrani

Federica Uccello 1^{1}[0000-0001-9243-7047] and Simin Nadjm-Tehrani 1^{1}[0000-0002-1485-0802]

Department of Computer and Information Science, Linköping University, Sweden

federica.uccello@liu.se

simin.nadjm-tehrani@liu.se

Abstract. Current research on security monitoring is increasingly focusing on machine-learning-based approaches, but caveats remain. In addition to huge computational overhead, one concern is the lack of insights into “why” alerts are raised. Existing interpretability approaches rely on feature attribution methods that ignore dependencies among features or on causal modeling that requires extensive domain knowledge or computational resources. This work proposes XION, a method for modeling relationships among network-flow features based on benign traffic only. During detection, anomalies are identified through violations of expected feature dependencies. Further, XION supports post-alert analysis by identifying which feature relationships break, when they break along the attack timeline, and how dependency violations evolve relatively to other identified violations. XION is evaluated on standard IDS datasets and compared against an Isolation Forest (IF) baseline across multiple attack scenarios, including both volumetric and stealthier attacks. Results show that XION matches or exceeds IF recall in all evaluated scenarios, while requiring up to 7×7\times less inference time. At the post-alert stage, the dependency-violation analysis reveals temporal and structural patterns consistent with known attack behaviors, which IF alone could not contribute to. Together, these findings confirm that attacks indeed disrupt feature dependencies learned from benign traffic, and that these disruptions provide additional information for understanding an alert.

Keywords: Anomaly Detection · Network Security · Incident Response · Post-Alert Analysis

1 Introduction

In the complex landscape of network security, Intrusion Detection Systems (IDSs) remain a fundamental tool for identifying malicious or abnormal network activity. To overcome the limitations of traditional signature-based IDSs, research has increasingly shifted toward anomaly-based approaches that leverage Machine Learning (ML) techniques to learn patterns of benign network behavior and raise alerts when deviations are identified [1].

Uccello et al.

Despite promising results in theory and test environments, significant challenges remain when applying ML to intrusion detection [2, 1, 3]. Many ML-based detectors can introduce expensive computational overhead [4] and suffer from limited interpretability. Although they may successfully detect anomalous behavior, there is little insight into why an alert was triggered or how security operators should act upon it.

“Explainability” techniques have attempted to tackle the interpretability problem by identifying features that contribute to ML models’ outputs [5, 6]. However, state-of-the-art approaches exhibit limitations [7–10], and they typically treat features as independent variables, while network traffic characteristics are interdependent and evolve through complex relationships.

In this work, we explore whether learning feature dependencies under benign conditions can provide insights into anomalies observed during the operation of a network.

Our intuition is that, if a feature breaks its typical relationships, it could be related to a structural disruption in the system. We look at indicators closely associated with the violations at inference time to provide hints for diagnosis. Analyzing which relationships break and when provides a structured view of anomalous behavior that is not available from aggregate anomaly scores alone. It turns out that this process is also efficient in using resources.

The contributions of this work are as follows:

– We propose a novel method (XION) based on modeling feature-level dependencies and use their violations as a unified signal for both anomaly detection and post-alert analysis.

– We show that the learned feature dependencies are violated during attack scenarios, producing anomaly signals as good as an Isolation Forest (IF) baseline in two open IDS datasets, but with much lower inference time.

– We demonstrate that dependency-violation analysis can help prioritize features for post-alert investigation and reveal attack-specific patterns over time.

The remainder of the paper is organized as follows. Section 2 summarizes related work and positions the study within the state-of-the-art. Section 3 introduces the terminology and theoretical concepts needed to understand XION, which is described in Section 4, along with the threat model, hypotheses, and research questions. Section 5 describes the data and pre-processing, the experimental approach and evaluation strategy. The results are presented in Section 6, and discussed in Section 7, together with threats to validity. Finally, Section 8 concludes the paper, with final remarks and future directions.

References (42)