Graph Star Net for Generalized Multi-Task Learning

Haonan Lu, Seth H. Huang, Tian Ye, Xiuyan GuoarXiv 2019

Abstract

In this work, we present graph star net (GraphStar), a novel and unified graph neural net architecture which utilizes message-passing relay and attention mechanism for multiple prediction tasks - node classification, graph classification and link prediction. GraphStar addresses many earlier challenges facing graph neural nets and achieves non-local representation without increasing the model depth or bearing heavy computational costs. We also propose a new method to tackle topic-specific sentiment analysis based on node classification and text classification as graph classification. Our work shows that 'star nodes' can learn effective graph-data representation and improve on current methods for the three tasks. Specifically, for graph classification and link prediction, GraphStar outperforms the current state-of-the-art models by 2-5% on several key benchmarks.

Introduction

Graph Neural Networks (GNNs) have revolutionized how we process structured data, yet they traditionally struggle with a fundamental trade-off between local and global awareness. Most GNNs rely on local message-passing, where a node learns exclusively from its immediate neighbors. To capture long-range dependencies—the "big picture"—researchers have historically faced two flawed choices:

  1. Increasing Model Depth: Adding more layers allows information to travel further across the graph. However, this often leads to over-smoothing, a phenomenon where node features become indistinguishable from one another, degrading performance.
  2. Fully Connected Attention: Allowing every node to attend to every other node captures the global state perfectly but introduces quadratic computational complexity ($O(N^2)$). This makes the approach computationally prohibitive for large-scale graphs.

Graph Star Net (GraphStar) introduces a "star node"—a virtual relay connected to every node in a graph—to capture global context without the computational bloat of fully connected attention or the risks of deep architectures.

Methodology: The Star Node Relay

The core innovation of GraphStar is the Star Node, a virtual entity that acts as a centralized information hub. Instead of nodes communicating across many hops, they communicate through this single relay. The model operates in a three-step cyclical process per layer:

The GraphStar architecture uses a virtual star node as a relay for global message passing.
  1. Star Initialization: The star node is initialized using a weighted attention mechanism across all initial node features.
  2. Real Node Update: Real nodes update their representations by attending to three distinct sources: their local neighbors, their own previous state, and the current state of the star node. This allows a node in one corner of the graph to "hear" a summary of the entire graph via the star in a single step.
  3. Star Update: The star node updates its own representation by aggregating the newly updated features of all real nodes.

By using the star node as a proxy, the communication complexity drops from quadratic to linear ($O(N)$), yet every node gains "global awareness" in just one layer. For multi-tasking, the model uses the final node states for node classification and the final star node state as a natural hierarchical summary for graph-level classification.

Datasets and Experimental Setup

The authors evaluated GraphStar on a diverse array of benchmarks to prove its generalized utility:

  • Node Classification: Standard transductive sets (Cora, Citeseer, PubMed) and the inductive PPI (Protein-Protein Interaction) dataset.
  • Graph Classification: Science-based datasets including Enzymes, D&D, Proteins, and Mutag.
  • Link Prediction: Evaluated on citation networks (Cora, Citeseer, PubMed).
  • Text/Sentiment Analysis: Traditional NLP tasks were converted into graph tasks. This included IMDB (treating reviews as nodes linked by topic) and several text datasets (R8, R52, MR, 20 News Group, Ohsumed) where documents are represented as graphs of words.

Performance and Insights

GraphStar demonstrated significant improvements across all three primary graph tasks. Notably, it outperformed current state-of-the-art (SOTA) models by 2-5% in graph classification and link prediction. On the PubMed dataset, it achieved an AUC/AP of 0.970, surpassing previous SOTA models like MTGAE and VGAE.

Test accuracy curves for Enzymes and Protein datasets show the model's learning progression and stability.

Key insights from the experimental phase include:

  • Inductive Strength: GraphStar’s relay mechanism is highly effective for inductive learning. On the PPI dataset, it achieved a near-perfect 0.994 F1-score, suggesting it generalizes well to unseen data.
  • Efficiency in NLP: By reframing sentiment analysis as a graph problem, the model outperformed BERT-large fine-tuning on the IMDB dataset while requiring only 130 seconds of training on a single V100 GPU.
  • Robustness: GraphStar maintains high accuracy even when training data is drastically reduced. On the PPI dataset, using only a fraction of the training graphs still yielded competitive performance.

Conclusion and Future Directions

GraphStar provides a unified framework for multi-task graph learning that sidesteps the traditional pitfalls of GNN depth and complexity. While the results are strong, the authors noted that graph classification accuracy can show high fluctuation during training (as seen in the stability plots for Enzymes and Proteins), suggesting room for improvement in training stability.

Future work may involve extending the "star" concept to multiple stars (multi-relay) for even larger, more complex disjoint graphs or exploring more sophisticated decoders for multi-relational link prediction. Currently, the model serves as a highly efficient, global-aware alternative to standard message-passing architectures.

Summary updated

BibTeX
@misc{lu2019graph,
  author = {Haonan Lu and Seth H. Huang and Tian Ye and Xiuyan Guo},
  title = {{Graph Star Net for Generalized Multi-Task Learning}},
  year = {2019},
  eprint = {1906.12330},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.12330},
}
Figure