Source-linked AI summary

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

arXiv:2609.09442v1cs.CRcs.LGcs.NI

TL;DR

Concept drift jointly changes legitimate network behaviour and attack techniques, leaving detectors outdated between updates. The paper selects features before learning using t-robustness, a model-independent stability score combining local and cumulative drift, and evaluates graph and spectral candidates on UGR16. T-robust spaces sustain detection better than baseline feature spaces, reaching retained expectancy of 0.6025 at the last test interval versus 0.5230 for graph community features and 0.3831 for base NetFlow features.

  • Problem

    Concept drift in evolving network traffic makes detectors obsolete between updates, while feature-level stability remains insufficiently addressed.

  • Method

    The paper constructs t-robust feature spaces by scoring each feature's local and cumulative statistical stability, using original, graph community, and spectral candidates.

  • Results

    0.6025 retained expectancy at the last test interval for t-robust features, versus 0.5230 for graph community features and 0.3831 for base NetFlow features.

  • Takeaways & Limitations

    Feature selection based on drift robustness supports more stable attack detection over time, while dynamic graph metrics contribute to stability under evolving network conditions.

  • Takeaways & Limitations

    Under the experimental conditions, spectral metrics are penalized by the sample size imposed by their computational cost, creating an asymmetry examined in the paper.

Abstract

from arXiv · show

In network traffic, legitimate behaviours and attack techniques evolve jointly - the phenomenon known as 'concept drift' [1]. 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.

1. Introduction

Concept drift makes attack detection progressively obsolete as network behaviours evolve, motivating feature spaces designed for stability before model learning. The paper evaluates graph-derived and spectral candidates, quantifies feature drift, and constructs t-robust spaces across multiple UGR16 learning scenarios.

  • Concept drift changes detection targets and communication-feature values over time, making sustained attack detection in evolving networks difficult.
  • Feature stability is proposed as a design variable because existing approaches mainly detect drift and then update models at recurring time and resource costs.
  • Graph community and spectral metrics are evaluated alongside original packet features as candidate representations of attack-related network structure.
  • The work organizes its investigation around quantifying drift, constructing time-robust feature spaces, and assessing graph and spectral metrics as candidates.
  • The proposed t-robust feature set is validated on UGR16 across three learning scenarios and a control scenario, with better retained expectancy than base and graph-community features.

2. State of the art

Concept drift changes detection-relevant behaviours and their environment, leaving reactive detectors to identify and respond to episodes after they occur. The state of the art therefore centres on drift characterisation and model adaptation, while motivating stable feature spaces as a preventive design variable.

  • Concept drift redefines behaviours and their relationship with the environment, unlike data drift, which changes frequencies while preserving underlying behaviours.
  • Existing detectors monitor feature distributions, drift-episode parameters, or data-cloud geometry, but their common output is an event requiring model intervention.
  • Reactive mitigation updates models after drift, but its effectiveness depends on the model, drift type, and drift intensity and incurs recurring time and resource costs.
  • Feature spaces differ in drift severity, making feature selection a design variable and suggesting that stability can be sought at the interface between drift and the model.
  • Attack detection is especially exposed because attackers change tools and tactics while legitimate network behaviours also evolve.
  • The paper hypothesises that discriminative features stable over time can be identified before learning by quantifying feature drift and retaining persistent attack-behaviour representations.

3. Graph connectivity models

The paper models attack-driven connectivity changes with dynamic graphs at machine and service-port granularities, then derives community and spectral metrics as complementary candidate features. These representations expose attack-specific motifs and their temporal succession while avoiding dependence on volatile traffic parameters.

  • Dynamic graph representations: Dynamic graphs represent networks at two granularities: IP/IP nodes are machines, while IP,Port/IP,Port nodes are machine-service pairs.Comparing both scales reveals motifs that may be invisible at one granularity but manifest at the other.
  • Attack classes: The analysis focuses on connectivity-changing attacks, including scans, denial-of-service attacks, and targeted endpoint-to-endpoint attacks.These attacks create new exchanges that graph connectivity models can expose.
  • Attack-specific motifs: Port scans are indistinct in the IP/IP graph but unambiguous in the IP,Port/IP,Port graph, where attacker-victim connections evolve across time.This demonstrates why service-port granularity is necessary for detecting the scan pattern.
  • Attack-specific motifs: Denial-of-service attacks produce an abrupt star structure, with many attacker nodes converging on one victim and no transition phase.The topology reflects the attack’s flooding behaviour.
  • Attack-specific motifs: Botnet activity contains exploration and exploitation phases, with exploration producing large bipartite components in the IP/IP graph and smaller victim-centred stars in the service-port graph.The succession of motifs carries information in addition to their individual presence.
  • Derived feature families: Community and spectral metrics provide complementary readings of the same connectivity using topology and time alone, but their time-robustness must be measured rather than assumed.Community metrics quantify component structure, while spectral metrics characterize the graph globally through its Laplacian spectrum.

4. Tackling concept drift

The paper addresses feature-wise concept-drift measurement by defining stability metrics that capture both local changes between successive states and cumulative divergence from the initial state. These metrics support comparable, model-independent feature selection for robust feature spaces.

  • Existing drift metrics either depend on model degradation or produce one verdict for the whole feature space, preventing feature-wise comparison.
  • Feature states summarize each time interval using standard deviation and a median-centered distribution cut.The median-centered cut is intended to remain representative when extreme values are frequent.
  • State distance compares consecutive feature states by summing absolute bin-proportion differences, detecting both displacement and reshaping of distributions.
  • t-equivalency measures average proportional divergence of each state from the first state, capturing cumulative drift that local step measurements can miss.
  • State distance and t-equivalency are complementary: abrupt changes are visible to the former, whereas slow monotonic drift accumulates in the latter.
  • t-robustness takes the minimum of aggregated local-state stability and t-equivalency, producing a comparable [0, 1] score that rejects one-sided stability.
  • Evaluation requirements: The evaluation requires feature-wise drift quantification, observation of performance during drift, and feature-quality decisions within a detection environment.
  • Dataset conditions: The dataset must provide continuity, sufficient time distance, and observable feature drift for robustness claims to be meaningful.

5. Methodology and implementation

The methodology enriches network-flow data with graph-derived features, quantifies each feature’s temporal drift, and selects features using both t-robustness and detection relevance. It evaluates fixed-model detection across three drift scenarios and a no-drift control on UGR16.

  • Methodology: The pipeline enriches the base dataset with Louvain graph-community metrics and Laplacian-derived spectral metrics before extracting feature states.
  • Feature selection: Feature selection combines t-robustness with information gain so retained features are both temporally stable and relevant to detection.
  • Experimental design: The experimental design holds learning and evaluation conditions and the model fixed within each scenario, varying the feature space to isolate concept-drift effects.
  • Experimental design: Selected features are retrained and compared with the base feature set across scenarios to assess temporal robustness and detection behaviour.
  • Evaluation metrics: Detection is evaluated with MCC-based worst-case performance, retained expectancy, and rate-difference measures, emphasizing degradation over time rather than a single test point.
  • Scenarios: The 3+1 design uses three learning scenarios with different training references and one control scenario without concept drift.
  • Scenarios: The two-pass evaluation first establishes baseline drift behaviour, then measures the gain from robustness-driven feature selection.
  • Dataset: UGR16 supplies an uninterrupted two-month traffic series with sufficient time distance and feature drift for the evaluation.

6. Evaluation

The evaluation tests whether t-robust feature selection sustains attack detection under concept drift across control and learning scenarios, with graph community and spectral features compared against base features. Results show that t-robust spaces preserve performance more effectively, especially in worst-case degradation, while spectral evaluation is constrained by sample size.

  • Baseline evaluation: 0.9750 average MCC is achieved by the t-robust set in the control scenario, remaining above the base set’s 0.9336 while below the GC set’s approximately 0.989.The control scenario measures performance without concept drift and tests whether robustness selection sacrifices discriminative power.
  • Selection of robust features: t-robust feature selection retains features using t-robustness above 0.75, coverage above 100, and a correlation check.The procedure operationalizes temporal stability and detection usefulness before learning.
  • Graph community metrics: 0.2227 average MCC difference favors Scenario 1 over Scenario 2 for graph community features, reversing the expectation that longer training necessarily helps.Scenarios differ in the amount of labelled data available at the outset; Scenario 3 exposes a sharp short-term drop between 3-1 and 3-2.
  • Spectral metrics: 150 000 sampled entries constrain spectral-metric evaluation, and the resulting spectral and t-robust control ceilings are lower than the base set’s 0.9336.The paper attributes this lower ceiling to the sample-size restriction imposed by spectral extraction complexity.
  • Worst-case performance: 0.0682 is the t-robust model’s worst MCC in Scenario 1, versus 0.0267 for the base model at 5-1.In Scenario 3 at 3-2, the corresponding worst-case values are 0.0875 for t-robust and 0.0464 for base, indicating improvement in the performance floor rather than the peak.
  • Detection-rate difference: The t-robust set has consistently lower MCC rate difference than competing models, with the gap increasing in later intervals.Its degradation grows more slowly, according to the MCC rate-difference analysis over Scenarios 1 to 3.
  • Overall conclusions: Graph community and spectral metrics enrich feature spaces for drifted detection, but spectral metrics are penalised by the sample size required for their computation.The conclusions characterize graph metrics as promising for robust feature-space design and t-robustness as a practical selection method.

7. Discussion

The discussion frames t-robustness as a per-feature, model-independent way to quantify drift and construct feature spaces whose detection performance remains more stable over time. Experiments support graph community metrics as promising candidates, while sampling and parameter choices constrain the conclusions.

  • Quantifying feature drift: t-robustness combines state distance and t-equivalency into a bounded, rankable score for quantifying drift independently for each feature.The score supports verdicts per feature rather than per model or dataset.
  • Building robust feature spaces: The t-robust feature space combines temporal robustness with XGBoost information coverage to balance stability and detection relevance.A perfectly stable but uninformative feature illustrates why stability alone is insufficient.
  • Evaluation: The evaluation shows that t-robust selection raises the lower bound of detection performance rather than its peak.Worst-case performance is therefore the central stability criterion for production detection.
  • Graph-derived candidates: Graph community metrics are promising candidates because their topology-based construction has few dependencies and can distinguish attack-related structures from legitimate activity.The discussion reports stronger support for graph community metrics than for spectral metrics under the tested conditions.
  • Open issues: Scenario results are heterogeneous, and spectral metrics are weakened by the smaller samples imposed by their computational cost.The authors identify parameter selection, sampling, and incorporation of additional features as open challenges.

8. Conclusions and Perspectives

The paper proposes t-robust spaces as bounded, per-feature stability-based feature selections for cyberattack detection under concept drift. On UGR16, t-robust sets improve temporal detection stability, while sampling remains an important constraint requiring further study.

  • Contribution: t-robustness is a computable, bounded per-feature stability score that can be evaluated without labels or a downstream model.It produces rankable scores in [0, 1] across features.
  • Method: The feature-engineering pipeline extracts derived features, computes feature states and t-robustness, then detects cyberattacks in access-network traffic.The validation compares base, graph community, spectral, and corresponding t-robust feature spaces with XGBoost.
  • Results: 0.6025 retained expectancy at the last test interval exceeds 0.5230 for the GC set and 0.3831 for the base set in learning scenario 1.The reported comparison is on the UGR16 dataset.
  • Implication: The experiments indicate that predictable detection performance between retrainings is the practical value of t-robust feature spaces.Dynamic graph metrics contribute to the reported stability under evolving network conditions.
  • Limitations and future work: Sampling substantially influences results, and the criteria governing selection parameters and feature distances require finer tuning.The authors call for more controlled environments to characterize drift, feature drift, and model relationships more strictly.

Aknowledgements

The work was supported by French DGA RAPID under the Damiage project grant and by French Région Grand-Est through an XDGMed doctoral contract.

  • The research was funded by French DGA RAPID under the Damiage project grant and French Région Grand-Est through an XDGMed doctoral contract.
Loading 2609.09442v1…