AnomalyDAE: Dual Autoencoder for Anomaly Detection on Attributed - - PowerPoint PPT Presentation

β–Ά
anomalydae dual autoencoder for anomaly detection on
SMART_READER_LITE
LIVE PREVIEW

AnomalyDAE: Dual Autoencoder for Anomaly Detection on Attributed - - PowerPoint PPT Presentation

-1- AnomalyDAE: Dual Autoencoder for Anomaly Detection on Attributed Networks Haoyi Fan 1 , Fengbin Zhang 1 , Zuoyong Li 2 Harbin University of Science and Technology 1 Minjiang University 2 isfanhy@hrbust.edu.cn -2- Background


slide-1
SLIDE 1
  • 1-

AnomalyDAE: Dual Autoencoder for Anomaly Detection on Attributed Networks

Haoyi Fan 1, Fengbin Zhang 1, Zuoyong Li 2

Harbin University of Science and Technology 1 Minjiang University 2 isfanhy@hrbust.edu.cn

slide-2
SLIDE 2
  • 2-

Background

https://webfoundation.org/2019/09/raising-the-bar-for-internet-access- introducing-meaningful-connectivity/ https://cointelegraph.com/news/south-africas-standard-bank-to-launch- permissioned-blockchain-for-overseas-exchange-services https://www.sciencedirect.com/science/article/pii/S0969212610003035

World Wide Web Biology Network Finance Transaction Network Social Network

slide-3
SLIDE 3
  • 3-

Background

Latent Space

Anomaly Anomaly

Anomaly Detection on the Attributed Network

slide-4
SLIDE 4
  • 4-

Background

Different types of anomalies

Structure-inconsistent Attribute-consistent Structure-consistent Attribute-inconsistent Structure-inconsistent Attribute-inconsistent Different neighbors contribute differently for anomaly detection

  • Challenges:
  • The cross-modality interactions between

the network structure and node attribute

  • Neighbor-attention aware anomaly

measuring

slide-5
SLIDE 5
  • 5-

Background

Numerous attributed network based anomaly detection methods have been proposed…

LOF Breunig et al. 2000 SCAN Xu et al. 2007 FocusCO Perozzi et al. 2014 AMEN Perozzi et al. 2016 Radar Li et al. 2017 ANOMALOUS Peng et al. 2018 Dominant Ding et al. 2019 …

Network Structure

LOF SCAN AMEN Radar

Node Attribute

ANOMALOUS Dominant

  • Deep representation learning

framework on graph?

FocusCO

  • The cross-modality interactions

between the network structure and node attribute?

slide-6
SLIDE 6
  • 6-

Problem Statement

Problem

Given 𝓗 = 𝓦, 𝓕, 𝐘 , learn a score function 𝑔: 𝓦𝑗 ↦ 𝑧𝑗 ∈ ℝ, to classify sample 𝑦𝑗 based

  • n the threshold πœ‡ :

𝑧𝑗 = {1, 𝑗𝑔 𝑔(𝓦𝑗) β‰₯ πœ‡, 0, π‘π‘’β„Žπ‘“π‘ π‘₯𝑗𝑑𝑓. where 𝑧𝑗 denotes the label of sample 𝑦𝑗, with 0 being the normal class and 1 the anomalous class.

Notations

𝓗 : Attributed network 𝓦 : Set of nodes in network. 𝓕 : Set of edges in network. 𝑁 : Number of nodes. 𝑂 : Dimension of attribute. 𝐁 ∈ ℝ𝑁×𝑁 : Adjacency matrix

  • f a network.

𝐘 ∈ ℝ𝑁×𝑂 : Attribute matrix of all nodes.

slide-7
SLIDE 7
  • 7-

Method

AnomalyDAE

Structure Autoencoder Attribute Autoencoder

slide-8
SLIDE 8
  • 8-

Method

AnomalyDAE

Structure-level and attribute-level anomaly score

slide-9
SLIDE 9
  • 9-

Method

AnomalyDAE

Attribute Generation Node Attention

slide-10
SLIDE 10
  • 10-

Method

Neighbor-attention Mechanism in Structure Autoencoder

Initial feature transformation:

𝐚

~𝓦 = 𝜏(π˜π—π“¦(𝟐) + b𝓦(𝟐))

Importance weights:

𝑓𝑗,π‘˜ = π‘π‘’π‘’π‘œ 𝐚

~ 𝑗 𝓦, 𝐚 ~ π‘˜ 𝓦

= 𝜏(aT β‹… [𝐗𝓦(πŸ‘)𝐚

~ 𝑗 𝓦||𝐗𝓦(πŸ‘)𝐚 ~ π‘˜ 𝓦])

Normalization:

𝛿𝑗,π‘˜ = ΰ΅― exp(𝑓𝑗,π‘˜ ቁ Οƒπ‘™βˆˆπ’ͺ𝑗 exp (𝑓𝑗,𝑙

Neighbor-attention aware feature aggregation:

πšπ‘—

𝓦 = Οƒπ‘™βˆˆπ’ͺ𝑗 𝛿𝑗,𝑙 β‹… 𝐚 ~ 𝑙 𝓦

𝐘, 𝐁 πšπ“¦ 𝐚

~𝓦

slide-11
SLIDE 11
  • 11-

Method

Attribute reconstruction:

𝐘

^

= πšπ“¦(πšπ“‘) T πšπ“¦ πšπ“‘

Cross-modality Interactions Capturing in Attribute Autoencoder

slide-12
SLIDE 12
  • 12-

Method

Loss and Anomaly Score

ℒ𝑠𝑓𝑑 = 𝛽||(𝐁 βˆ’ 𝐁

^

) βŠ™ 𝜾||𝐺

2 + (1 βˆ’ 𝛽)||(𝐘 βˆ’ 𝐘 ^

) βŠ™ 𝜽||𝐺

2

πœΎπ‘—,π‘˜ = {1 𝑗𝑔 𝐁𝑗,π‘˜ = 0, πœ„ π‘π‘’β„Žπ‘“π‘ π‘₯𝑗𝑑𝑓., πœ½π‘—,π‘˜ = {1 𝑗𝑔 π˜π‘—,π‘˜ = 0, πœƒ π‘π‘’β„Žπ‘“π‘ π‘₯𝑗𝑑𝑓. 𝑇𝑑𝑝𝑠𝑓 = 𝛽||(𝐁 βˆ’ 𝐁

^

) βŠ™ 𝜾||𝐺

2 + (1 βˆ’ 𝛽)||(𝐘 βˆ’ 𝐘 ^

) βŠ™ 𝜽||𝐺

2

Loss Function: Anomaly Score:

Structure-level Anomaly Measure Attribute-level Anomaly Measure

slide-13
SLIDE 13
  • 13-

Method

Loss and Anomaly Score

ℒ𝑠𝑓𝑑 = 𝛽||(𝐁 βˆ’ 𝐁

^

) βŠ™ 𝜾||𝐺

2 + (1 βˆ’ 𝛽)||(𝐘 βˆ’ 𝐘 ^

) βŠ™ 𝜽||𝐺

2

πœΎπ‘—,π‘˜ = {1 𝑗𝑔 𝐁𝑗,π‘˜ = 0, πœ„ π‘π‘’β„Žπ‘“π‘ π‘₯𝑗𝑑𝑓., πœ½π‘—,π‘˜ = {1 𝑗𝑔 π˜π‘—,π‘˜ = 0, πœƒ π‘π‘’β„Žπ‘“π‘ π‘₯𝑗𝑑𝑓. 𝑇𝑑𝑝𝑠𝑓 = 𝛽||(𝐁 βˆ’ 𝐁

^

) βŠ™ 𝜾||𝐺

2 + (1 βˆ’ 𝛽)||(𝐘 βˆ’ 𝐘 ^

) βŠ™ 𝜽||𝐺

2

Loss Function: Anomaly Score: 𝑧𝑗 = {1, 𝑗𝑔 𝑔 𝓦𝑗 β‰₯ πœ‡, 0, π‘π‘’β„Žπ‘“π‘ π‘₯𝑗𝑑𝑓. πœ‡=Distribution(𝑇𝑑𝑝𝑠𝑓) Solution for Problem:

slide-14
SLIDE 14
  • 14-

Experiment

Datasets Baselines Evaluation Metric

AUC (Area Under a receiver operating characteristic Curve) LOF Breunig et al. 2000 SCAN Xu et al. 2007 AMEN Perozzi et al. 2016 Radar Li et al. 2017 ANOMALOUS Peng et al. 2018 Dominant Ding et al. 2019 …

slide-15
SLIDE 15
  • 15-

Experiment

Results

At least 15.11% ~ 22.32% AUC improvement!

19.68% 22.32% 15.11%

slide-16
SLIDE 16
  • 16-

Experiment

Results

Robust and Effective!

slide-17
SLIDE 17
  • 17-

Conclusion

  • Traditional machine learning based methods

perform poor for feature learning on large graph.

  • Traditional deep graph model cannot effectively

capture the cross-modality interactions between the network structure and node attribute.

  • We propose a deep joint representation learning

framework via a dual autoencoder to capture the complex cross-modality interactions between the network structure and node attribute.

slide-18
SLIDE 18
  • 18-

Reference

  • [LOF] Breunig, Markus M., et al. "LOF: identifying density-based local
  • utliers." KDD. 2000.
  • [SCAN] Xu, Xiaowei, et al. "Scan: a structural clustering algorithm for

networks." KDD. 2007.

  • [FocusCO] Perozzi, Bryan, et al. "Focused clustering and outlier detection in

large attributed graphs." KDD. 2014.

  • [AMEN] Perozzi, Bryan, and Leman Akoglu. "Scalable anomaly ranking of

attributed neighborhoods." SIAM, 2016.

  • [Radar] Li, Jundong, et al. "Radar: Residual Analysis for Anomaly Detection in

Attributed Networks." IJCAI. 2017.

  • [GAT] VeličkoviΔ‡, Petar, et al. "Graph attention networks." ICLR. 2018.
  • [ANOMALOUS] Peng, Zhen, et al. "ANOMALOUS: A Joint Modeling Approach

for Anomaly Detection on Attributed Networks." IJCAI. 2018.

  • [Dominant] Ding, Kaize, et al. "Deep anomaly detection on attributed

networks." SIAM, 2019.

slide-19
SLIDE 19
  • 19-

Thanks

Thanks for listening!

Contact: isfanhy@hrbust.edu.cn Home Page: https://haoyfan.github.io/