cs.LGNov 20, 2026

Dynamic Memory-enhanced Pattern Relevance Prediction for Long-tailed Graph Classification

Authors: Jiawei Chen, Wenjun Wang, Wei Yu, Qiyao Peng

Organizations: Tianjin University, Tianjin, China · Zhejiang Yuexiu University, Shaoxing, China

Abstract

Long-tailed graph classification (LTGC) is common in real-world graph datasets, where a few large head graphs provide rich structural information while many smaller tail graphs offer fewer structural cues, making it harder to learn discriminative representations for tail graphs. To address this size-based imbalance, we propose Dynamic Memory-enhanced Pattern Relevance Prediction (DMPRP), which transfers structural patterns from head graphs to tail graphs. Given a graph representation as a query, a dynamic expert memory module inspired by Knowledge-diverse Experts (KDEX) generates a residual vector that augments the original representation. We train the module using co-occurrence triplets sampled from head graphs at the node, rooted subgraph, and random-walk neighborhood levels. Experiments on five graph classification benchmarks show that DMPRP improves tail performance, and ablation studies show that both the expert module and random-walk supervision contribute to these gains. A controlled experiment on PTC further examines pattern transfer when smaller graphs are denser than larger ones. Our code is available at https://anonymous.4open.science/r/DMPRP-73A5.

Figures & tables

Explore similar work

CardsList
  1. Forget Less, Generalize More: Unifying Temporal and Structural Adaptation for Dynamic Graphs

    May 28, 2026Qian Chang, Ciprian Doru Giurcaneanu, Runsong Jia +6Temporal GNNsGraph Representation Learning

  2. Towards Federated Long-Tailed Graph Learning: An Energy-Guided Dual Decoupling Approach

    Jun 23, 2026Lianshuai Guo, Zhongzheng Yuan, Xunkai Li +2Graph Structure LearningLong-Tail Learning

  3. Dynamic Graph Prompting via Topology-Routed Mixed-Curvature Experts

    Aug 6, 2026Quanxin Wang, Xuanting Xie, Bingheng Li +4Link PredictionFew-Shot Learning