Source-linked AI summary

SpecAE: Spectral AutoEncoder for Anomaly Detection in Attributed Networks

Yuening Li, Xiao Huang, Jundong Li, Mengnan Du, Na Zou

arXiv:1908.03849v3cs.LGstat.ML

TL;DR

Attributed-network anomaly detection must account for both global and community deviations, while network structure and attributes complicate the task. SpecAE combines graph convolution and deconvolution with reconstruction-based representations and density estimation. The reported experiments find that it generally outperforms baseline methods.

  • Problem

    Attributed networks complicate anomaly detection because anomalies may be global or community-relative, and topology and nodal attributes are heterogeneous.

    Source: §1 · p. 1, §2 · p. 2
  • Method

    SpecAE uses convolution and deconvolution to learn representations and reconstruction errors, then combines them with a jointly trained Gaussian mixture model for detection.

    Source: §1 · p. 2, §5 · p. 6
  • Results

    SpecAE generally outperforms all baseline methods and achieves good performance for both reported metrics.

    Source: §4.3 · p. 6
  • Takeaways & Limitations

    Real-world dataset evaluations support SpecAE’s effectiveness for anomaly detection in attributed networks.

    Source: §1 · p. 2

Abstract

from arXiv · show

Anomaly detection aims to distinguish observations that are rare and different from the majority. While most existing algorithms assume that instances are i.i.d., in many practical scenarios, links describing instance-to-instance dependencies and interactions are available. Such systems are called attributed networks. Anomaly detection in attributed networks has various applications such as monitoring suspicious accounts in social media and financial fraud in transaction networks. However, it remains a challenging task since the definition of anomaly becomes more complicated and topological structures are heterogeneous with nodal attributes. In this paper, we propose a spectral convolution and deconvolution based framework -- SpecAE, to project the attributed network into a tailored space to detect global and community anomalies. SpecAE leverages Laplacian sharpening to amplify the distances between representations of anomalies and the ones of the majority. The learned representations along with reconstruction errors are combined with a density estimation model to perform the detection. They are trained jointly as an end-to-end framework. Experiments on real-world datasets demonstrate the effectiveness of SpecAE.

1 Introduction

Attributed-network anomaly detection must account for links and nodal attributes, with anomalies defined globally or relative to a community. SpecAE addresses the challenges of heterogeneous, irregular network data with a convolution/deconvolution framework and is evaluated on real-world datasets.

1 Introduction

  • Anomalies may be globally unusual or deviate from their community, while irregular topology and heterogeneous node attributes complicate detection.Methods based on homophily or smoothing may make anomalous nodes less distinguishable from their community.Source: §1 · p. 1
  • The paper asks how to define anomalies in attributed networks and jointly learn from topology and attributes without relying on homophily or over-smoothing.Source: §1 · pp. 1–2
  • SpecAE combines graph convolution and deconvolution to project networks for global and community anomaly detection, using Laplacian sharpening to amplify representation distances.The paper reports evaluations on real-world datasets demonstrating effectiveness.Source: §1 · p. 2

2 Problem Statement

The paper defines global anomalies by attributes that differ from the majority and community anomalies by attributes that diverge from a node’s neighbors. Its detection task is to identify both types in an attributed network.

2 Problem Statement

  • A global anomaly is a node whose attributes are rare and significantly different from those of the majority from a global perspective.Source: §2 · p. 2
  • A community anomaly is a node whose attributes significantly deviate from those of its network neighbors.Examples include accounts whose content differs from their community, such as advertising users in college student clubs.Source: §2 · p. 2
  • The formal task is to identify both global and community anomalies among the nodes of an attributed network.Source: §2 · p. 2

3 Anomaly Detection in Attributed Networks

SpecAE jointly embeds nodal attributes and network relations into a four-part representation, then estimates node suspiciousness with a Gaussian Mixture Model. It separates global anomalies from community anomalies using tailored representations.

3 Anomaly Detection in Attributed Networks

  • SpecAE combines attribute and graph representations, reconstruction errors, and Gaussian Mixture Model energy to estimate each node’s suspiciousness.The representation includes ZX, ZXerror, ZG, and ZGerror.Source: §3 · p. 2

3.1 Tailored Embedding Spaces for Global Anomalies and Community Anomalies

  • Global-anomaly representations encode nodal attributes and their reconstruction errors, while community-anomaly representations use neighbors and graph relations.The two representation types target deviations from the overall population and from a node’s community, respectively.Source: §3.1 · pp. 2–3

3.2 Graph Convolution and Deconvolution

  • Graph deconvolution uses Laplacian sharpening to restore nodal attributes from smoothed features and reconstruct details lost during graph convolution.The section also identifies representation collapse and overmixing as concerns with graph convolution alone.Source: §3.2 · p. 3

3.3 Anomaly Detection via Density Estimation

  • A Gaussian Mixture Model estimates component parameters from embeddings and soft memberships, providing the density-estimation basis for sample energy.Nodes with larger energy scores are more likely to be considered anomalies.Source: §3.3 · p. 4, §3.4 · p. 5

3.4 Objective Function

  • The objective combines attribute-reconstruction losses, GMM sample energy, covariance regularization, and a variational lower-bound optimization.Minimizing sample energy maximizes the likelihood of non-anomalous samples; high-energy samples are predicted as anomalies.Source: §3.4 · pp. 4–5

4 Experiments

Experiments on Cora and Pubmed compare SpecAE with five baselines, followed by ablations and a PolBlog case study. SpecAE generally outperforms the baselines, while the ablations and case study examine its components and detected anomalies.

4.1 Datasets

  • Cora and Pubmed evaluations use injected anomalies from attribute-only and attribute-context perspectives in equal proportions; PolBlog supplies a separate case study.Cora has 3,327 publications and Pubmed has 19,717; the injected anomalies modify attributes while retaining original links for the context-based group.Source: §4.1 · p. 5

4.2 Baseline Methods

  • The five baselines span attribute-only detectors, shallow Radar, deep Deep-SVDD, and GCN modified for anomaly detection with SpecAE’s density-estimation layers.The comparison is designed to assess multimodal information, deep structures, and SpecAE against a task-adapted GCN.Source: §4.2 · p. 5

4.3 Experimental Results

  • SpecAE generally outperforms the five baselines on Accuracy@K and ROC-AUC, including methods using only nodal attributes and a modified GCN.The comparisons report consistent good performance on both metrics; Figure 2 presents ROC-AUC for Cora and Pubmed.Source: §4.3 · pp. 5–6, Figure 2 · p. 5, Table 2 · p. 5

4.4 Ablation Studies

  • Ablations show that removing reconstruction hurts performance by 27%, removing global representations by 3.5%, and community context is associated with a 15% AUC advantage.The reported 15% comparison is between SpecAE-N and SpecAE versus the other structures; the comprehensive model also outperforms most tested variants.Source: §4.4 · p. 6

4.5 A Case Study

  • On PolBlog, six sampled anomalous bloggers have low-frequency keywords tied to topics such as climate, food, construction, hunting, and creatures rather than dominant political events.The attributes are words in blog posts; the case study describes these keywords as lacking political flavor across bloggers.Source: §4.5 · p. 6, Table 4 · p. 6

5 Conclusion and Future Work

SpecAE detects global and community anomalies in attributed networks by jointly learning representations and reconstruction errors, then applying a Gaussian mixture model. Experiments on real-world datasets report superior performance over state-of-the-art algorithms, while future work proposes attention-based explanations and adversarially robust frameworks.

Conclusion

  • SpecAE maps attributed networks into representations for global and community anomaly detection, combining autoencoder outputs, reconstruction errors, and graph deconvolution representations.The learned representations are applied to a Gaussian mixture model, and the representation-learning and GMM models are trained collaboratively.Source: §5 · p. 6
  • Experiments on real-world datasets report superior performance over state-of-the-art algorithms, and ablation analysis supports the effectiveness of SpecAE’s components.Source: §5 · p. 6

Future Work

  • Future work will investigate attention models for explainable detection results and adversarial techniques for robust frameworks.Source: §5 · p. 6
Loading 1908.03849v3…