Skip to main content
QUICK REVIEW

[Paper Review] Learning From Graph Neighborhoods Using LSTMs

Rakshit Agrawal, Luca de Alfaro|arXiv (Cornell University)|Nov 21, 2016
Advanced Graph Neural NetworksComputer Science13 references4 citations
TL;DR

This paper proposes Multi-Level Long Short-Term Memory networks (MLSL) to learn predictive representations directly from graph neighborhoods by processing hierarchical tree structures of node neighborhoods using stacked LSTMs. The method achieves state-of-the-art performance on diverse tasks—crowdsourced grading, Bitcoin spending prediction, and Wikipedia edit reversions—without handcrafted features, outperforming baselines by up to 20% in F1-score on real-world datasets.

ABSTRACT

Many prediction problems can be phrased as inferences over local neighborhoods of graphs. The graph represents the interaction between entities, and the neighborhood of each entity contains information that allows the inferences or predictions. We present an approach for applying machine learning directly to such graph neighborhoods, yielding predicitons for graph nodes on the basis of the structure of their local neighborhood and the features of the nodes in it. Our approach allows predictions to be learned directly from examples, bypassing the step of creating and tuning an inference model or summarizing the neighborhoods via a fixed set of hand-crafted features. The approach is based on a multi-level architecture built from Long Short-Term Memory neural nets (LSTMs); the LSTMs learn how to summarize the neighborhood from data. We demonstrate the effectiveness of the proposed technique on a synthetic example and on real-world data related to crowdsourced grading, Bitcoin transactions, and Wikipedia edit reversions.

Motivation & Objective

  • To address the challenge of applying machine learning to variable-sized, topologically complex graph neighborhoods without relying on handcrafted features.
  • To develop a scalable, end-to-end learning framework that captures structural and feature-based information from local graph neighborhoods up to depth D.
  • To demonstrate that LSTMs can effectively summarize graph neighborhoods when organized in a hierarchical, multi-level architecture.
  • To validate the approach on real-world problems involving crowdsourced grading, Bitcoin transaction behavior, and Wikipedia edit reversions.
  • To show that the method generalizes across diverse domains with minimal architectural or feature engineering adjustments.

Proposed method

  • The method constructs a tree-like expansion of the graph neighborhood up to depth D, with the target node as the root and successive levels representing increasing distance from the target.
  • At each level d < D, a separate LSTM processes the features of child nodes in sequence, aggregating information and producing a summary vector for the parent node.
  • Each level of the LSTM architecture is trained independently on the basis of the data, allowing tailored learning capacity and hyperparameters per level.
  • The top-level LSTM produces the final prediction for the target node, with the entire network trained end-to-end using backpropagation through time.
  • The approach supports arbitrary node ordering during training, with performance sensitive to ordering—e.g., temporal order was optimal for Bitcoin data.
  • The method leverages the sequential modeling strength of LSTMs to capture dependencies across variable-structure graph neighborhoods without flattening or fixed feature summarization.

Experimental results

Research questions

  • RQ1Can a deep learning architecture based on LSTMs effectively learn to summarize complex, variable-sized graph neighborhoods for node-level prediction tasks?
  • RQ2Does the hierarchical multi-level LSTM design outperform flat sequence-based LSTM approaches when processing graph neighborhoods?
  • RQ3To what extent can MLSL generalize across diverse real-world graph problems without domain-specific feature engineering?
  • RQ4How does the depth of neighborhood exploration (D) affect predictive performance in different graph-based tasks?
  • RQ5What training strategies (e.g., node ordering, learning rate scheduling) are most effective for multi-level LSTM training on graph neighborhoods?

Key findings

  • The MLSL model achieved an F1-score of 0.8508 on Wikipedia edit reversion prediction at depth 3, showing consistent improvement with increasing depth.
  • For Bitcoin spending prediction, MLSL at depth 2 achieved an F1-score of 0.8450 for the 'spent' class and 0.6361 for the 'hoard' class, significantly outperforming the baseline (F1: 0.2303).
  • In crowdsourced grading, the model achieved high F1-scores (0.8468–0.8508) across all depths, demonstrating robustness on synthetic data with clear labeling patterns.
  • The model showed that temporal ordering of edges during training was critical for Bitcoin data, while random shuffling worked better for crowdsourced grading.
  • Increasing the number of LSTM layers beyond depth 2 did not improve performance on the Bitcoin dataset, suggesting diminishing returns beyond a certain depth.
  • The use of different learning rates per level was essential, as gradients diminished across levels, and top-level LSTMs learned faster than lower-level ones.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.