# Semantically Complementary Spectral Views Learning for Graph-Level Anomaly Detection

*Yuanming Liu, Fan Xu, Xibin Zhao, Hai Wan, Wu Junran, Nan Wang, Jiqiang Liu*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148656) · [Open on the map](../papers.html#p148656)

Category: [Graphs, OOD Detection & Medical Imaging](../pcat/7.md) › [Graph Adversarial Robustness](../pgroup/164.md) · Type: new method · Keywords: graph-level anomaly detection, spectral views, contrastive learning, multi-view information bottleneck, subgraph extraction

Areas: [Graph Learning](../areas/graph-learning.md) › Graph Learning Paradigms › Anomaly Detection

## Summary
Sima introduces a contrastive framework that learns from semantically complementary spectral views to capture both global community structure and local heterophilous variations, improving graph-level anomaly detection.

## Explained to a 5-year-old
We look at a big network of friends and try to find someone who acts strange. Usually we only change the picture a little, using similar parts, which makes the odd person hard to see. This paper suggests looking at the picture in two completely different ways. One way shows the big groups of friends, and the other way shows the small differences between nearby friends. By comparing these two views, we can spot the odd friends more easily.

## Explained to a 5-year-old, longer
Imagine a huge picture where each dot is a person and lines show who knows each other. Sometimes we want to find a person who is acting oddly, like a cheater or a problem. Existing methods only change the picture a little, using similar parts, which makes the odd person hard to see. This paper suggests looking at the picture in two completely different ways. One way shows the big groups of friends, and the other way shows the small differences between nearby friends. By using both views together, we get a fuller picture of what normal looks like. The method then picks out the most important parts of each view and makes a small summary. It then compares the two summaries to find where they do not match. Those mismatches point to the strange nodes that we are looking for. This approach works better than just looking at one view, finding more hidden problems. It can help keep online communities safe and detect unusual behavior in scientific data. Overall, it makes it easier to spot anomalies in complex networks.

## For a technical reader
The paper addresses graph-level anomaly detection by moving beyond homogeneous contrastive augmentations that cause information redundancy. It constructs two spectral views that capture complementary aspects: one representing global community structure and the other capturing local heterophilous variations. A soft subgraph extraction module with Score Reconstruction Attention and an anchor-guided condensation mechanism distills essential shared information from each view into compact representations. A contrastive objective aligns these distilled views, amplifying subtle structural deviations that indicate anomalies. Experiments on GLAD and graph-level out-of-distribution detection benchmarks show consistent performance gains over existing baselines.

## Problem
Graph-level anomaly detection suffers when contrastive learning uses semantically homogeneous augmentations, causing informational overlap that masks anomalous signals. This leads to a need for learning from diverse, complementary views that capture the full spectrum of anomalous patterns.

## Method
The approach constructs two spectral views that capture global community structure and local heterophilous variations, respectively. It then employs a soft subgraph extraction module with Score Reconstruction Attention and an anchor-guided condensation mechanism to distill essential information from each view. Finally, a contrastive objective aligns the distilled views to amplify structural deviations.

## Results
The approach achieves substantial and consistent gains in average performance over state-of-the-art baselines on the GLAD and graph-level out-of-distribution detection benchmarks.

## Contributions
It introduces a contrastive framework that learns from semantically complementary spectral views, a soft subgraph extraction module with Score Reconstruction Attention, and an anchor-guided condensation mechanism to better capture anomalous patterns. The method provides significant improvements on graph-level anomaly detection and out-of-distribution detection tasks.

## Research questions this paper is counted under

- [How can graph contrastive learning generate diverse, informative views while preserving structural fidelity and avoiding representation collapse?](../q/271.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148656)
