Lune

WWW2021Top-tier venue

Soft-mask: Adaptive Substructure Extractions for Graph Neural Networks

Mingqi Yang, Yanming Shen, Heng Qi, Baocai Yin

Abstract

For learning graph representations, not all detailed structures within a graph are relevant to the given graph tasks. Task-relevant structures can be 𝑙𝑜𝑐𝑎𝑙𝑖𝑧𝑒𝑑 or 𝑠𝑝𝑎𝑟𝑠𝑒 which are only involved in subgraphs or characterized by the interactions of subgraphs (a hierarchical perspective). A graph neural network should be able to efficiently extract task-relevant structures and be invariant to irrelevant parts, which is challenging for general message passing GNNs. In this work, we propose to learn graph representations from a sequence of subgraphs of the original graph to better capture task-relevant substructures or hierarchical structures and skip 𝑛𝑜𝑖𝑠𝑦 parts. To this end, we design soft-mask GNN layer to extract desired subgraphs through the mask mechanism. The soft-mask is defined in a continuous space to maintain the differentiability and characterize the weights of different parts. Compared with existing subgraph or hierarchical representation learning methods and graph pooling operations, the soft-mask GNN layer is not limited by the fixed sample or drop ratio, and therefore is more flexible to extract subgraphs with arbitrary sizes. Extensive experiments on public graph benchmarks show that soft-mask mechanism brings performance improvements. And it also provides interpretability where visualizing the values of masks in each layer allows us to have an insight into the structures learned by the model.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Anonymous Edge Representation for Inductive Anomaly Detection in Dynamic Bipartite GraphsLanting Fang, Kaiyu Feng, Jie Gui, Shanshan Feng et al.VLDB 2023 · 21 citations
  2. Just Like a Human Would, Direct Access to Sarcasm Augmented with Potential Result and ReactionChangrong Min, Ximing Li, Liang Yang, Zhilin Wang et al.ACL 2023 · 12 citations
  3. Rumor Detection on Social Media with Reinforcement Learning-based Key Propagation Graph GeneratorYusong Zhang, Kun Xie, Xingyi Zhang, Xiangyu Dong et al.WWW 2025 · 5 citations

Builds on2

  1. Measuring and Relieving the Over-Smoothing Problem for Graph Neural Networks from the Topological ViewDeli Chen, Yankai Lin, Wei Li, Peng Li et al.AAAI 2020 · 1,353 citations
  2. Graph Neural Networks Exponentially Lose Expressive Power for Node ClassificationKenta Oono, Taiji SuzukiICLR 2020 · 864 citations

Related papers

  1. SkipPool: Improved Sparse Hierarchical Graph Pooling with Differentiable ExplorationSarith ImaduwageAAAI 2025 · 2 citations
  2. SUGAR: Subgraph Neural Network with Reinforcement Pooling and Self-Supervised Mutual Information MechanismQingyun Sun, Jianxin Li, Hao Peng, Jia Wu et al.WWW 2021 · 196 citations
  3. SSHPool: The Separated Subgraph-based Hierarchical PoolingZhuo Xu, Lu Bai, Lixin Cui, Ming Li et al.AAAI 2026 · 1 citation
  4. ASAP: Adaptive Structure Aware Pooling for Learning Hierarchical Graph RepresentationsEkagra Ranjan, Soumya Sanyal, Partha P. TalukdarAAAI 2020 · 400 citations
  5. Rethinking pooling in graph neural networksDiego Mesquita, Amauri H. Souza Jr., Samuel KaskiNeurIPS 2020 · 147 citations
Dusk over the sea between two cliffs drawn in fine vertical lines