Lifelong Graph Learning

Chen Wang, Yuheng Qiu, Dasong Gao, Sebastian A. Scherer · DOI

TL;DR

This paper introduces a novel "feature graph" topology to bridge lifelong learning and graph neural networks (GNNs). By transforming node features into nodes themselves, it converts graph learning problems into graph classification tasks, making existing lifelong learning techniques for CNNs directly applicable to GNNs and significantly improving performance while mitigating catastrophic forgetting.

What Problem Does This Paper Address?

Many real-world datasets, like social networks or sensor data, arrive in a continuous stream, meaning the underlying graph structure evolves over time. Traditional Graph Neural Networks (GNNs) often assume the entire graph is available during training, which is impractical for these streaming scenarios. Lifelong learning aims to enable models to learn continuously from new data without forgetting previously acquired knowledge. However, directly applying lifelong learning techniques, developed primarily for Convolutional Neural Networks (CNNs), to GNNs is challenging due to the dynamic nature of graph structures and the difficulty in handling increasing numbers of nodes and edges. This paper tackles the problem of enabling GNNs to learn effectively in a lifelong learning setting, where data arrives sequentially and the graph structure can grow.

Methods

The core contribution of this paper is the introduction of a new graph topology called the feature graph. Instead of treating nodes as the primary entities, the feature graph treats the features of the original nodes as new nodes. This transformation has a crucial effect: it converts a node classification problem into a graph classification problem.

Here's how it works:

  • Feature Nodes: For each node in the original graph, its features are converted into individual nodes in the new "feature graph."
  • Feature Adjacency: The connections (edges) in the feature graph are established based on the cross-correlation of features between nodes in the original graph and their neighbors. This explicitly models "feature interaction."
  • Graph Classification: By transforming the problem into a graph classification task, the authors can leverage existing lifelong learning techniques developed for CNNs, which are designed to handle sequences of independent samples (like images). The feature graph effectively turns each original graph instance into a collection of independent graphs, each representing a node's features and their interactions.
  • Feature Graph Layers: The paper proposes three types of layers for processing these feature graphs: Feature Broadcast Layer (similar to GCN), Feature Transform Layer (to adjust feature dimensions), and Feature Attention Layer (to weigh feature importance).

Datasets

The authors evaluated their Feature Graph Network (FGN) on several standard citation graph datasets:

  • Cora
  • Citeseer
  • Pubmed
  • ogbn-arXiv

They also applied FGN to two real-world applications:

  • Distributed human action recognition using wearable sensor networks.
  • Image feature matching.

Key Insights and Ideas

  • Bridging GNNs and Lifelong Learning: The feature graph topology is a clever way to bridge the gap between GNNs and lifelong learning by reframing the problem. This is a significant conceptual contribution.
  • Feature Interaction Modeling: Explicitly modeling feature interactions through the feature adjacency matrix is shown to be crucial for capturing relationships that element-wise propagation in standard GNNs might miss.
  • Lifelong Learning for Graphs: The approach effectively transforms the challenge of a growing graph into a more manageable problem of learning from a sequence of independent graph samples, making existing lifelong learning methods directly applicable.
  • Mitigating Catastrophic Forgetting: By converting to a graph classification problem, FGN demonstrates significantly reduced forgetting rates compared to other methods in lifelong learning scenarios.

Key Results

  • Superior Performance: FGN consistently outperformed baseline GNN models (GCN, GAT, SAGE, APPNP) on both data-incremental and class-incremental lifelong learning tasks across multiple citation datasets. For example, on ogbn-arXiv in class-incremental learning, FGN achieved higher performance.
  • Reduced Forgetting: In class-incremental learning, FGN exhibited the least forgetting rate (Table 3), indicating its effectiveness in retaining knowledge from previous tasks.
  • Action Recognition: In distributed human action recognition, FGN achieved the best overall performance in both regular and lifelong learning settings, demonstrating its ability to handle temporal data and evolving graphs.
  • Image Feature Matching: FGN outperformed GAT in image feature matching, showing a significant overall error reduction of 24.2% and better performance in sub-pixel precision.
  • Memory Efficiency: FGN requires fewer learnable parameters compared to GCN and SAGE (Table 4), demonstrating its memory efficiency.

Limitations and Future Work

  • Vectorized Implementation: The current implementation is not fully vectorized for handling a varying number of neighbors, which can be computationally inefficient.
  • Scalar Edge Weights: The experiments assumed scalar edge weights, but the feature graph framework can handle vector edge weights, which is a potential area for future work.
  • Applicability to Other Lifelong Learning Algorithms: While FGN is shown to work well with an off-the-shelf lifelong learning algorithm, its applicability to other lifelong learning methods is an open question.
  • Future Directions: The authors plan to optimize their codes, extend the framework to vector edge weights, and explore its integration with more lifelong learning algorithms.

Summary updated

BibTeX
@inproceedings{wang2020lifelong,
  author = {Chen Wang and Yuheng Qiu and Dasong Gao and Sebastian A. Scherer},
  title = {{Lifelong Graph Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr52688.2022.01335},
}
Figure