ARES: Anomaly Recognition Model For Edge Streams

Simone Mungari, Albert Bifet, Giuseppe Manco, Bernhard PfahringerarXiv 2025 · DOI

Introduction

In modern cybersecurity and financial monitoring, threats such as DDoS attacks, botnets, and fraudulent transactions often manifest as anomalous patterns within a network of interacting entities. These interactions are modeled as "edge streams"—sequences of connections in a temporal graph. Detecting anomalies in these streams is challenging due to concept drift, where normal behavior evolves over time, and the extreme volume and velocity of incoming data. Furthermore, the lack of labeled data necessitates unsupervised approaches.

Figure 1: Temporal snapshots of an edge stream showing evolving connections between entities over time intervals T1, T2, and T3.

Methodology: The ARES Framework

The Anomaly Recognition Model for Edge Streams (ARES) addresses these challenges through a two-stage unsupervised pipeline that balances structural awareness with computational efficiency.

Figure 2: The ARES architecture pipeline, illustrating the flow from raw edge streams through a GNN encoder to latent embeddings, which are then scored by an ensemble of Half-Space Trees.

1. Embedding Generation

ARES utilizes a Graph Neural Network (GNN) encoder, specifically based on GraphSAGE, to map raw node and edge data into a low-dimensional latent space. This representation captures the structural context of the network, effectively encoding how individual entities relate to their broader neighborhood.

2. Anomaly Scoring via Half-Space Trees

The latent embeddings are passed to an ensemble of Half-Space Trees (HST). HSTs are efficient data structures that randomly partition the latent space. Anomaly scores are derived based on the density of data points within these partitions; points falling into sparsely populated regions are flagged as suspicious. ARES offers two variants:

  • ARES-Static: Trees remain fixed after initialization.
  • ARES-Dynamic: Tree counters are updated continuously to adapt to evolving data patterns without retraining the GNN.

To handle the "threshold problem," ARES employs an adaptive mechanism using the Gini Diversity Index to determine the optimal cut-off for alerts using a minimal amount of validation data.

Experimental Evaluation

ARES was evaluated across seven real-world datasets, including DARPA, ISCX2012, CIC-IDS2017, UNSW-NB15, and CTU-13 scenarios, as well as Bitcoin trust networks. These benchmarks cover a wide range of attack vectors, from SQL injections to botnet traffic.

Key Results

  • State-of-the-Art Accuracy: ARES significantly outperformed existing methods like MIDAS and SLADE-H. Notably, it achieved a +12.8% improvement in ROC-AUC on CTU-13 Scenario 1 and a +23.5% boost in Average Precision (AP) on Scenario 10.
  • High-Speed Processing: The framework demonstrates remarkable efficiency. On the CIC-IDS2017 dataset, ARES-Static completed processing in approximately 51 seconds, compared to over 1,500 seconds for SLADE-H.
  • Robustness to Concept Drift: The dynamic version of ARES maintains stable performance even as underlying data distributions shift, thanks to the lightweight updates in the HST ensemble.

Conclusion and Future Work

ARES provides a scalable and accurate solution for real-time anomaly detection in edge streams by combining the representational power of GNNs with the speed of HSTs. While highly effective, current limitations include the "frozen" nature of the GNN weights after initial training and the reliance on a small amount of labeled data for thresholding. Future research will explore continual learning for GNNs and fully unsupervised thresholding techniques to further enhance the model's autonomy and adaptability.

Summary updated

BibTeX
@misc{mungari2025ares,
  author = {Simone Mungari and Albert Bifet and Giuseppe Manco and Bernhard Pfahringer},
  title = {{ARES: Anomaly Recognition Model For Edge Streams}},
  year = {2025},
  eprint = {2511.22078},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.22078},
}
Figure