Accelerated Local Anomaly Detection via Resolving Attributed Networks

Ninghao Liu, Xiao Huang

Introduction

In the era of massive interconnected data, attributed networks—graphs where nodes are enriched with descriptive features—have become ubiquitous. Examples range from social networks with user interests to co-purchase graphs with product categories. While traditional anomaly detection focuses on "global" outliers—nodes that are objectively unusual across the entire dataset—many critical threats manifest as local anomalies.

A local anomaly is a node that behaves normally in a global context but appears suspicious relative to its immediate community. For instance, a researcher in a "Machine Learning" community who suddenly starts publishing exclusively on "Culinary Arts" might be a local anomaly. Detecting these requires a nuanced understanding of both network structure and node attributes.

Conceptual illustration of local anomalies within communities $C_1, C_2, C_3$. A node $n_0$ may have an attribute distribution $P(a)$ that deviates from its local community expectation $a_0$.

The ALAD Framework

The authors propose ALAD (Accelerated Local Anomaly Detection), a framework designed to address the challenges of heterogeneity, scalability, and interpretability in local anomaly detection. ALAD is built upon three core pillars:

1. Joint Latent Modeling

Rather than treating clustering and anomaly detection as sequential steps, ALAD employs Non-negative Matrix Factorization (NMF) to jointly decompose the adjacency matrix ($G$) and the attribute matrix ($A$). This process maps nodes into a shared latent space where:

  • Matrix $W$ captures node-community memberships.
  • Matrix $H$ represents the characteristic attribute distributions of those communities.

By modeling these simultaneously, the attributes help refine community boundaries, which in turn makes local deviations more apparent.

2. Local Normality Scoring

ALAD calculates a "normality score" for each node by measuring the cosine similarity between its actual attributes and the expected attribute distribution of its assigned communities. If a node belongs to multiple communities, its score is a weighted average, providing a robust measure of how well it "fits in" locally.

3. Parallel Mini-batch SGD

To handle web-scale networks, ALAD introduces a high-speed parallel optimizer. By identifying "interchangeable sets"—blocks of data that can be updated concurrently without race conditions—the algorithm achieves linear scalability. This allows ALAD to process massive datasets like DBLP (~108k nodes) in minutes rather than hours.

Experimental Evaluation

The framework was rigorously tested against state-of-the-art baselines including CODA, LOF, and NrMF. Evaluations spanned:

  • Synthetic Networks: Graphs with up to 500 attributes to test high-dimensional performance.
  • Real-World Data: Amazon co-purchase networks (Disney, Books), political blog networks (PolBlog), and academic co-authorship graphs (DBLP).

Key Results

ALAD demonstrated superior detection accuracy across all benchmarks. Notably, as the complexity of the data increased (i.e., more attributes), ALAD’s performance gap over traditional methods widened significantly.

Performance comparison (AUC_PR) on synthetic networks as the number of attributes increases. ALAD consistently outperforms baselines like CODA and NrMF.

Beyond accuracy, the parallel implementation provided a 10x speedup on the DBLP dataset, completing tasks in 42 minutes that took sequential versions over 6 hours. Case studies on the PolBlog dataset further highlighted ALAD's interpretability; it successfully identified bloggers who were politically embedded but posted about unrelated topics like physics or food, providing clear attribute-based evidence for their classification as anomalies.

Conclusion

ALAD represents a significant advancement in attributed network analysis. By combining joint NMF modeling with a scalable parallel optimizer, it offers a powerful tool for identifying subtle, community-specific anomalies that global detectors miss. Future work will explore extending the framework to dynamic, evolving networks and detecting collaborative group anomalies.

Summary updated

BibTeX
@inproceedings{liu2017accelerated,
  author = {Ninghao Liu and Xiao Huang and Xia Hu},
  title = {{Accelerated Local Anomaly Detection via Resolving Attributed Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/325},
}
Figure