arXiv:2609.09442cs.CRSep 2026

Manuscript Offprint

arXiv:2609.09442

Concept drift mitigation through community and spectral graph analysis for the detectionof cyberattacks in network traffic

Julien Michel, Abdul Qadir Khan, Majed Jaber, Pierre Parrend

Abstract

In network traffic, legitimate behaviours and attack techniques evolve jointly — the phenomenon known as ‘concept drift’. Every detector is thereby left obsolete between two updates, and always one step behind adversaries. In this work, we propose to move the point of intervention from the model, repaired after the drift, to the feature space, selected before learning. We therefore introduce t-robustness, a stability score defined for each feature independently of any detection model, comparable across an entire feature space. It combines the step-by-step distance between successive statistical states of a feature, and its cumulative divergence from its initial state, so that a slow monotonic drift cannot pass for stability. The candidates are drawn from abnormal network connectivity patterns left by scans, DoS and communications between endpoints, read through graph community metrics and spectral metrics. The evaluation is performed on the UGR16 dataset, across three learning scenarios and a control scenario, as well as without model update, and demonstrate that t-robust feature spaces sustain detection where the baselines collapse: retained expectancy at the last test interval reaches 0.6025, against 0.5230 for graph community features and 0.3831 for the base NetFlow features.

Keywords: Attack detection, Time robustness, Concept drift, Feature

Email addresses: julien.michel@epita.fr (Julien Michel),

abdul-qadir.khan@epita.fr (Abdul Qadir Khan), jaberm@unistra.fr (Majed Jaber),

pierre.parrend@epita.fr (Pierre Parrend) engineering, Graph community, Spectral metrics

1. Introduction

The detection of anomalies in evolving networks that are affected by concept drift [1] is a complex and open challenge [2]. Internet access networks are a typical instance of such systems: user behaviours evolve continuously, and sustaining attack detection performance over time is a major challenge. We define concept drift in detection as the evolution of detection targets within an ever-changing environment over time [3]. This phenomenon is both a cause and a consequence of significant changes in data features. Concept drift is by nature tied to the feature space, that is, to the value space of communication packet parameters such as latency or size. The feature space can therefore be evaluated quantitatively over a given time frame. A feature space subject to high concept drift does not represent the general behaviour of the data; it only captures the patterns of the time period in which learning occurs. The challenge is therefore to identify a feature space which characterises the detection targets of the environment at any given time.

A feature space less vulnerable to concept drift supports the construction of more time-robust machine learning pipelines. The requirement for such a feature space is to represent attack behaviours in a way which remains distinct from the normal data of the environment over time: it maintains its discriminative power for attack identification independently of external factors. Existing approaches detect concept drift and then adapt the learning model, a process which requires frequent model updates and substantial time and resources [4]. The complementary question — which features remain discriminative over time — is largely left aside: reviews of concept drift in intrusion detection systems emphasise the lack of research addressing the intersection of concept drift and feature drift [5], although feature stability is a determining factor of the long-term effectiveness of machine learning models [6].

We consider three families of candidates for time-robust features: original packet features, derived graph community metrics [7], and derived spectral metrics [8]. Popular approaches for graph models for intrusion detection explore implicit feature analysis through embeddings [9], through supervised or unsupervised learning models [10]. However, recent evaluations demonstrate that the increase complexity of embeddings is not correlated with improved detection capabilities [11]. Two motivations support the use of graph community metrics and spectral metrics. First, topology-based graph metrics have few dependencies in their construction, which makes them resilient to data evolution [12]: fewer dependencies entail greater robustness against concept drift. Secondly, attack behaviours affect network structures such as communities in a manner which differs from the heterogeneous activity of legitimate traffic. Graph-based metrics are therefore more resistant to attacker strategies, since they do not rely on information which can easily be reconstructed.

To define and evaluate robust feature spaces, we structure our work around three research questions:

RQ1: How can concept drift be quantified in communication data?;

RQ2: How can this quantification be used to build a feature space which remains robust over time?;

RQ3: Are graph community metrics and spectral metrics relevant candidates for building a long-lasting feature space for attack detection?

To answer these questions, we assess detection performance with feature sets enriched with graph community metrics and with spectral metrics in a concept drift context. We define metrics which quantify drift relatively to each feature of the feature space, and evaluate the stability of these features in the dataset. By combining graph community metrics and spectral metrics with feature stability metrics, we build a time-robust — hereafter t-robust — feature set, and evaluate its detection performance under concept drift. The proposal is validated over three learning scenarios and a control scenario on the UGR16 dataset [13, 14]. Models relying on the t-robust set prove more stable over time and achieve a better retained expectancy than models relying on the base set, on graph community metrics or on spectral metrics alone: the proposed metric retained expectancy has a value of 0.6025 at the last test interval of scenario 1, against 0.5230 for the graph community set and 0.3831 for the base set.

The remainder of this paper is structured as follows. Section 2 presents the related research. Section 3 explains the impact of cyberattacks on network topologies and on graph metrics. Section 4 defines the metrics and the requirements of the proposed robust feature spaces. Section 5 provides the evaluation methodology and the implementation details. Section 6 presents the results and the performance evaluation. Section 7 discusses the contribution of the proposed feature spaces and elicits further research challenges. Section 8 concludes the paper.

References (40)