All models

ANEMONE

A GCN-based contrastive model that scores graph nodes for anomalies at patch and context scales.

Graphs and geometry · 25 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (34 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
191.7K
Operations
25
Framework
PyTorch
Recurrent
No
Published
CIKM 2021
Cited by
149 (as of 14 November 2026)
Authors
Ming Jin, Yixin Liu, Yu Zheng and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14550
Graph hash
f70546bdfa8aa0b68c9dac6d1fddf9ee08b9c0c3268d101052f29434e073d50c
Skeleton hash
823ffdeb97b548e9a06e421c596764a24a5a99cda5e998d6008b35b079b2850e
Architecture hash
7a25dc56854660f8d63d9de6bdb308781cbab9f198b9e212b7affcf7ffc9b344
Diagram SHA-256
ff395c6b33a51ed8f0f3e6270b52a405b43438245b93b54043734e68ee368941
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

ANEMONE is a framework for detecting anomalous nodes in graphs, trained without ground-truth labels. The paper's argument is that earlier methods detect anomalies from the perspective of a single scale, although node anomalies in graphs often occur at different scales.

For a target node, the method samples ego-nets around it with a random walk-based algorithm and masks the target node in each ego-net before it enters the contrastive networks. Two GNN-based contrastive networks then learn agreement at two scales: the patch-level network learns node versus node agreement and the context-level network learns node versus ego-net agreement. The paper uses a one-layer GCN as the GNN, and a bilinear layer calculates each similarity score.

A statistical anomaly estimator then aggregates the patch-level and context-level scores from multiple augmented ego-nets into the final anomaly score, on the assumption that an anomalous node has a smaller agreement with its adjacent structure and contexts. The paper runs its experiments on three citation network datasets, Cora, CiteSeer and PubMed, and measures performance with ROC-AUC.

Key idea. The paper built a graph anomaly detector that performs patch-level and context-level contrastive learning together and estimates each node's abnormality from the statistics of multi-round contrastive scores.

  • ANEMONE
  • graph anomaly detection
  • anomaly detection
  • contrastive learning
  • multi-scale contrastive learning
  • graph neural network
  • node anomaly
  • unsupervised

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{anemone2021,
  title = {ANEMONE: Graph Anomaly Detection with Multi-Scale Contrastive Learning},
  author = {Ming Jin and Yixin Liu and Yu Zheng and Lianhua Chi and Yuan-Fang Li and Shirui Pan},
  year = {2021},
  journal = {CIKM 2021},
  doi = {10.1145/3459637.3482057}
}