Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learning

  • Problem Reconstruction-based graph autoencoders score anomalies by reconstruction error and must process the full network, which limits both their training objective and their scalability.
  • Method Scores each node by contrasting it with sampled local subgraphs through a GNN-based discriminator, then averages negative-minus-positive score differences over repeated sampling rounds.
  • Results Reached 0.9512 AUC on Pubmed and 0.8073 on ogbn-arxiv, where AMEN reached 0.5279 and four other baselines ran out of memory.

Figure 3: The sampling process of contrastive instance pairs. Here we select
node 𝑣6 as the example of target node. The initial nodes for subgraph sampling
a…

Fig. 3 . The sampling process of contrastive instance pairs. Here we select node 𝑣6 as the example of target node. The initial nodes for subgraph sampling are marked in green. The blue-white stripe means the embedding of the corresponding node is masked with zero vector.

Original paper · CC BY 4.0 · Yixin Liu, Zhao Li, Shirui Pan, Chen Gong, Chuan Zhou, George Karypis · Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learning · Original paper figure · Extracted the figure area from page 6 of the original PDF.

Why reconstruction falls short on attributed networks

Anomalies on attributed networks come in two forms that call for different evidence: a node whose attributes look normal but whose links point to unrelated nodes, and a node whose neighbourhood looks natural while its own attributes are corrupted. Because labels for such anomalies are costly, detection has to be unsupervised, so the model must learn what normal nodes look like from the network alone.

Figure 1 makes the two forms concrete: in the structural case the links cross to uncorrelated nodes, and in the contextual case the attribute vector is inconsistent with the neighbours' location, employer and occupation.

DOMINANT and SpecAE rely on a graph autoencoder, scoring nodes by reconstruction error or by density over learned embeddings. Reconstructing the input does not target the anomaly ranking directly, so the scores are only indirectly tied to what the detector is asked to find. The autoencoder also takes the full adjacency and attribute matrices as input, and that full-network requirement creates the memory bottleneck on large graphs.

The question is whether a contrastive objective over node and local subgraph pairs can detect these anomalies more accurately than reconstruction, while running on batches of sampled pairs instead of the whole graph.

Node and local subgraph pairs

Each instance pair has a target node and a local subgraph. For a positive pair the subgraph is sampled around the target node itself, and for a negative pair the subgraph is sampled around a different node chosen at random. Because the negative subgraph comes from elsewhere in the network, the target node and its subgraph are mismatched in negative pairs by construction.

The design rests on the idea that an anomaly shows up as a gap between a node and its immediate neighbours, while global properties of the graph carry little information about anomalies. Methods such as DGI pair a node with the whole graph, which captures global properties and says less about local abnormality.

Sampling takes four steps: selecting a target node, sampling its subgraph, anonymizing the subgraph, and combining the two into a pair. Subgraphs are drawn with RWR subgraph sampling, and the subgraph size is fixed to 4 in the experiments, with nodes resampled when a neighbourhood is too small.

The GNN-based contrastive model

The model has three parts: a GNN that embeds the nodes of the subgraph, a readout that collapses them into one vector, and a discriminator that scores how well that vector agrees with the target node. The GNN backbone is GCN, and the experiments use one GNN layer with an embedding dimension of 64.

The readout averages the subgraph's node embeddings: \\(\\mathbf{e}^{lg}_i=\\frac{1}{n_i}\\sum_{k=1}^{n_i}(\\mathbf{E}_i)_k\\), where \\(n_i\\) is the number of nodes in the local subgraph.

Training treats the model as a binary classifier over pairs, using a vanilla binary cross-entropy loss: \\(\\mathcal{L}=-\\sum_{i=1}^{N}\\big[y_i\\log s_i+(1-y_i)\\log(1-s_i)\\big]\\) for a batch of size N. The loss is kept unweighted because the sampler already draws positive and negative pairs in a balanced way, unlike the variants used in earlier contrastive graph work.

Training updates the GNN weights and the discriminator matrix in mini-batches of target nodes, and the trained model is then used unchanged at inference.

From pair scores to node anomaly scores

A normal node should give a positive pair a score near 1 and a negative pair a score near 0, while an anomalous node's pair scores should be less discriminative, close to 0.5. A single node's anomaly score is therefore the negative score minus the positive score: \\(f(v_i)=s^{(-)}_i-s^{(+)}_i\\).

One sampled subgraph only partially observes a node's neighbourhood, so one draw can miss the abnormal links of a structural anomaly when its normal neighbours are sampled instead. To reduce that risk, R positive and R negative pairs are sampled for each node and the score is the average over rounds: \\(f(v_i)=\\frac{1}{R}\\sum_{r=1}^{R}(s^{(-)}_{i,r}-s^{(+)}_{i,r})\\).

Across the statistics tried, the mean is the most effective in practice, and the authors leave the value of other statistics of the score distribution as an open direction.

Memory and time cost of the sampling design

Training processes one mini-batch of pairs at a time, and scoring processes each node's pairs independently, so the space cost does not depend on the number of nodes n. Batch size and subgraph size are the knobs that set memory use, so the full graph never has to be passed through the GCN.

Each RWR subgraph sample costs O(cδ), where δ is the mean degree, and the GNN costs O(c²) per pair, which gives an overall time of O(c n R (c + δ)) for inference over n nodes with R rounds. The analysis leaves out the score computation term, which the authors judge to be far smaller than the other two phases.

Datasets and training setup

Two are social networks and five are citation networks.

Training uses Adam with a batch size of 300, and the number of epochs is 400 for BlogCatalog, Flickr and ACM, 100 for Cora, Citeseer and Pubmed, and 2 000 for ogbn-arxiv. Inference uses 256 sampling rounds, and CoLA results are averaged over 10 runs.

For the shallow baselines the attributes are first reduced to 30 dimensions with PCA, and DGI is scored with the same averaged-difference rule as CoLA.

Comparison with baselines on seven datasets

CoLA reached 0.7854 AUC on BlogCatalog, 0.7513 on Flickr, 0.8237 on ACM, 0.8779 on Cora, 0.8968 on Citeseer, 0.9512 on Pubmed, and 0.8073 on ogbn-arxiv. The strongest baseline values in Table III are 0.7468 for DOMINANT on BlogCatalog, 0.7442 for DOMINANT on Flickr, 0.7601 for DOMINANT on ACM, 0.8155 for DOMINANT on Cora, 0.8293 for DGI on Citeseer and 0.8081 for DOMINANT on Pubmed.

On the five citation networks CoLA's margin over DOMINANT is largest, and the authors attribute this to CoLA building its instances from the graph and to its objective being tied to anomaly ranking.

DGI scores below CoLA on all six datasets where it produced values, with 0.5827 on BlogCatalog and 0.6962 on Pubmed; the authors attribute this to DGI's full-graph versus node pairing, which misses local abnormality.

The shallow methods AMEN, Radar and ANOMALOUS are lower than the deep methods in most columns, which the authors attribute to shallow mechanisms that struggle with high-dimensional attributes and sparse structure.

On ogbn-arxiv CoLA reached 0.8073 AUC while AMEN reached 0.5279, and Radar, ANOMALOUS, DOMINANT and DGI produced out-of-memory results.

Sampling rounds, subgraph size and embedding dimension

Figure 5 plots AUC against the number of sampling rounds, the subgraph size and the embedding dimension on the six small datasets.

With a single sampling round the AUC is poor, and it rises as R grows, but beyond R = 256 the gain becomes small, so R = 256 is used in the other experiments.

With a subgraph of size 2, only the target node and one neighbour are included, and the AUC is relatively low, which the authors attribute to the lack of neighbouring structure.

The AUC rises with the embedding dimension up to about 32 neurons and then gains little, so the dimension is set to 64.

Readout, score sources and estimation modes

Table IV compares Max Pooling, Min Pooling, Weighted Average Pooling and Average Pooling on six datasets. Average Pooling is the best of the four on four of six datasets, Min Pooling is the weakest, and Max Pooling stays close, with 0.8303 on ACM against 0.8237 for Average Pooling.

Table V separates the positive-pair term, the negative-pair term and their combination, and the combined version is highest on all six datasets. On BlogCatalog and Flickr the negative-only variant beats the positive-only one, with 0.7745 against 0.7551 on BlogCatalog, while on the citation networks the positive-only variant is stronger, with 0.8658 against 0.6891 on Cora.

Table VI compares mean, max, min, standard deviation and mixed estimators, and the mean is the most robust single choice across datasets. Adding the standard deviation to the mean gives higher AUC on ACM, Cora, Citeseer and Pubmed, for example 0.8869 against 0.8779 on Cora, so the mean is not uniformly the best estimator. The standard deviation alone is correlated with abnormality in opposite directions for the social and citation networks.

Limitations

The main evaluation covers seven attributed datasets, two social and five citation networks, and the ablations cover only the six small-scale ones. The authors plan to extend the approach to heterogeneous, spatial-temporal and dynamic graphs.

The large-scale claim rests on a single run on ogbn-arxiv, where only AMEN among the baselines produced a value, so the comparison there is narrow.

Some baselines were run with modified protocols: the shallow methods used PCA-reduced attributes and DGI was scored with CoLA's averaged-difference rule, so those rows are not the baselines' original settings.

Paper info

Authors
Yixin Liu, Zhao Li, Shirui Pan, Chen Gong, Chuan Zhou, George Karypis
Venue
arXiv · Preprint
First published
2021-2-27
Added
2026-11-6
Updated
2021-5-6
Version
v2
arXiv
2103.00113
DOI
10.1109/tnnls.2021.3068344
Category
cs.LG
Original paper terms
CC BY 4.0
What we show
Paper info, commentary and permitted figures from the original paper

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Abstract

Anomaly detection on attributed networks attracts considerable research interests due to wide applications of attributed networks in modeling a wide range of complex systems. Recently, the deep learning-based anomaly detection methods have shown promising results over shallow approaches, especially on networks with high-dimensional attributes and complex structures. However, existing approaches, which employ graph autoencoder as their backbone, do not fully exploit the rich information of the network, resulting in suboptimal performance. Furthermore, these methods do not directly target anomaly detection in their learning objective and fail to scale to large networks due to the full graph training mechanism. To overcome these limitations, in this paper, we present a novel contrastive self-supervised learning framework for anomaly detection on attributed networks. Our framework fully exploits the local information from network data by sampling a novel type of contrastive instance pair, which can capture the relationship between each node and its neighboring substructure in an unsupervised way. Meanwhile, a well-designed graph neural network-based contrastive learning model is proposed to learn informative embedding from high-dimensional attributes and local structure and measure the agreement of each instance pairs with its outputted scores. The multi-round predicted scores by the contrastive learning model are further used to evaluate the abnormality of each node with statistical estimation. In this way, the learning model is trained by a specific anomaly detection-aware target. Furthermore, since the input of the graph neural network module is batches of instance pairs instead of the full network, our framework can adapt to large networks flexibly. Experimental results show that our proposed framework outperforms the state-of-the-art baseline methods on all seven benchmark datasets.

Quote from the paper

Yixin Liu, Zhao Li, Shirui Pan, Chen Gong, Chuan Zhou, George Karypis (2021). Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learning. arXiv:2103.00113v2. https://doi.org/10.1109/tnnls.2021.3068344

BibTeX
@article{liu2021anomaly,
  title = {{Anomaly Detection on Attributed Networks via Contrastive Self-Supervised Learning}},
  author = {Yixin Liu and Zhao Li and Shirui Pan and Chen Gong and Chuan Zhou and George Karypis},
  year = {2021},
  eprint = {2103.00113},
  archivePrefix = {arXiv},
  doi = {10.1109/tnnls.2021.3068344},
  url = {https://arxiv.org/abs/2103.00113v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up