Graph Representation Learning
{"all_nodes":"stitched from OCR output; frontier verification status per node"}local graph
Graph Representation Learning — William L. Hamilton
Section titled “Graph Representation Learning — William L. Hamilton”chapter_01
Section titled “chapter_01”node-book_graph-representation-learning_chapter-01-introduction — Introduction
chapter_02
Section titled “chapter_02”node-book_graph-representation-learning_chapter-02-background-and-traditional-approaches — Background and Traditional Approaches
chapter_03
Section titled “chapter_03”node-book_graph-representation-learning_chapter-03-neighborhood-reconstruction-methods — Neighborhood Reconstruction Methods
chapter_04
Section titled “chapter_04”node-book_graph-representation-learning_chapter-04-multi-relational-data-and-knowledge-graphs — Multi-Relational Data and Knowledge Graphs
chapter_05
Section titled “chapter_05”node-book_graph-representation-learning_chapter-05-the-graph-neural-network-model — The Graph Neural Network Model
chapter_06
Section titled “chapter_06”node-book_graph-representation-learning_chapter-06-graph-neural-networks-in-practice — Graph Neural Networks in Practice
chapter_07
Section titled “chapter_07”node-book_graph-representation-learning_chapter-07-theoretical-motivations — Theoretical Motivations
chapter_08
Section titled “chapter_08”node-book_graph-representation-learning_chapter-08-traditional-graph-generation-approaches — Traditional Graph Generation Approaches
chapter_09
Section titled “chapter_09”node-book_graph-representation-learning_chapter-09-deep-generative-models — Deep Generative Models
back_matter_bibliography
Section titled “back_matter_bibliography”- Acknowledgments (xvii) — scanned (PDF 010) but faded to illegibility.
- Conclusion, final printed page (130).
- Bibliography, first printed page (131) and final printed page (140).
- Author’s Biography (141–142).
Title and Series Page
Section titled “Title and Series Page”Synthesis Lectures on Artificial Intelligence and Machine Learning
SYNTHESIS COLLECTION OF TECHNOLOGY
William L. Hamilton
Graph Representation Learning
Springer
Abstract and Keywords
Section titled “Abstract and Keywords”ABSTRACT
Graph-structured data is ubiquitous throughout the natural and social sciences, from telecommunication networks to quantum chemistry. Building relational inductive biases into deep learning architectures is crucial for creating systems that can learn, reason, and generalize from this kind of data. Recent years have seen a surge in research on graph representation learning, including techniques for deep graph embeddings, generalizations of convolutional neural networks to graph-structured data, and neural message-passing approaches inspired by belief propagation. These advances in graph representation learning have led to new state-of-the-art results in numerous domains, including chemical synthesis, 3D vision, recommender systems, question answering, and social network analysis.
This book provides a synthesis and overview of graph representation learning. It begins with a discussion of the goals of graph representation learning as well as key methodological foundations in graph theory and network analysis. Following this, the book introduces and reviews methods for learning node embeddings, including random-walk-based methods and applications to knowledge graphs. It then provides a technical synthesis and introduction to the highly successful graph neural network (GNN) formalism, which has become a dominant and fast-growing paradigm for deep learning with graph data. The book concludes with a synthesis of recent advancements in deep generative models for graphs—a nascent but quickly growing subset of graph representation learning.
KEYWORDS
graph neural networks, graph embeddings, node embeddings, deep learning, relational data, knowledge graphs, social networks, network analysis, graph signal processing, graph convolutions, spectral graph theory, geometric deep learning
Contents
Section titled “Contents”| Entry | Page |
|---|---|
| Preface | xv |
| Acknowledgments | xvii |
| 1 Introduction | 1 |
| 1.1 What is a Graph? | 1 |
| 1.1.1 Multi-Relational Graphs | 2 |
| 1.1.2 Feature Information | 3 |
| 1.2 Machine Learning on Graphs | 4 |
| 1.2.1 Node Classification | 4 |
| 1.2.2 Relation Prediction | 6 |
| 1.2.3 Clustering and Community Detection | 6 |
| 1.2.4 Graph Classification, Regression, and Clustering | 7 |
| 2 Background and Traditional Approaches | 9 |
| 2.1 Graph Statistics and Kernel Methods | 9 |
| 2.1.1 Node-Level Statistics and Features | 10 |
| 2.1.2 Graph-Level Features and Graph Kernels | 13 |
| 2.2 Neighborhood Overlap Detection | 16 |
| 2.2.1 Local Overlap Measures | 17 |
| 2.2.2 Global Overlap Measures | 18 |
| 2.3 Graph Laplacians and Spectral Methods | 21 |
| 2.3.1 Graph Laplacians | 21 |
| 2.3.2 Graph Cuts and Clustering | 23 |
| 2.3.3 Generalized Spectral Clustering | 26 |
| 2.4 Toward Learned Representations | 27 |
| Entry | Page |
|---|---|
| PART I Node Embeddings | 29 |
| 3 Neighborhood Reconstruction Methods | 31 |
| 3.1 An Encoder-Decoder Perspective | 31 |
| 3.1.1 The Encoder | 31 |
| 3.1.2 The Decoder | 33 |
| 3.1.3 Optimizing an Encoder-Decoder Model | 33 |
| 3.1.4 Overview of the Encoder-Decoder Approach | 34 |
| 3.2 Factorization-Based Approaches | 35 |
| 3.3 Random Walk Embeddings | 36 |
| 3.3.1 Random Walk Methods and Matrix Factorization | 38 |
| 3.4 Limitations of Shallow Embeddings | 39 |
| 4 Multi-Relational Data and Knowledge Graphs | 41 |
| 4.1 Reconstructing Multi-Relational Data | 41 |
| 4.2 Loss Functions | 42 |
| 4.3 Multi-Relational Decoders | 44 |
| 4.3.1 Representational Abilities | 47 |
| PART II Graph Neural Networks | 49 |
| 5 The Graph Neural Network Model | 51 |
| 5.1 Neural Message Passing | 52 |
| 5.1.1 Overview of the Message Passing Framework | 52 |
| 5.1.2 Motivations and Intuitions | 54 |
| 5.1.3 The Basic GNN | 54 |
| 5.1.4 Message Passing with Self-Loops | 56 |
| 5.2 Generalized Neighborhood Aggregation | 56 |
| 5.2.1 Neighborhood Normalization | 56 |
| 5.2.2 Set Aggregators | 58 |
| 5.2.3 Neighborhood Attention | 59 |
| 5.3 Generalized Update Methods | 61 |
| 5.3.1 Concatenation and Skip-Connections | 63 |
| 5.3.2 Gated Updates | 64 |
| 5.3.3 Jumping Knowledge Connections | 65 |
| Entry | Page |
|---|---|
| 5.4 Edge Features and Multi-Relational GNNs | 66 |
| 5.4.1 Relational Graph Neural Networks | 66 |
| 5.4.2 Attention and Feature Concatenation | 67 |
| 5.5 Graph Pooling | 67 |
| 5.6 Generalized Message Passing | 69 |
| 6 Graph Neural Networks in Practice | 71 |
| 6.1 Applications and Loss Functions | 71 |
| 6.1.1 GNNs for Node Classification | 71 |
| 6.1.2 GNNs for Graph Classification | 73 |
| 6.1.3 GNNs for Relation Prediction | 73 |
| 6.1.4 Pre-Training GNNs | 73 |
| 6.2 Efficiency Concerns and Node Sampling | 74 |
| 6.2.1 Graph-Level Implementations | 75 |
| 6.2.2 Subsampling and Mini-Batching | 75 |
| 6.3 Parameter Sharing and Regularization | 76 |
| 7 Theoretical Motivations | 77 |
| 7.1 GNNs and Graph Convolutions | 77 |
| 7.1.1 Convolutions and the Fourier Transform | 77 |
| 7.1.2 From Time Signals to Graph Signals | 79 |
| 7.1.3 Spectral Graph Convolutions | 83 |
| 7.1.4 Convolution-Inspired GNNs | 86 |
| 7.2 GNNs and Probabilistic Graphical Models | 90 |
| 7.2.1 Hilbert Space Embeddings of Distributions | 90 |
| 7.2.2 Graphs as Graphical Models | 91 |
| 7.2.3 Embedding Mean-Field Inference | 91 |
| 7.2.4 GNNs and PGMs More Generally | 94 |
| 7.3 GNNs and Graph Isomorphism | 94 |
| 7.3.1 Graph Isomorphism | 94 |
| 7.3.2 Graph Isomorphism and Representational Capacity | 95 |
| 7.3.3 The Weisfeiler–Lehman Algorithm | 95 |
| 7.3.4 GNNs and the WL Algorithm | 97 |
| 7.3.5 Beyond the WL Algorithm | 98 |
| Entry | Page |
|---|---|
| PART III Generative Graph Models | 105 |
| 8 Traditional Graph Generation Approaches | 107 |
| 8.1 Overview of Traditional Approaches | 107 |
| 8.2 Erdös–Rényi Model | 108 |
| 8.3 Stochastic Block Models | 108 |
| 8.4 Preferential Attachment | 109 |
| 8.5 Traditional Applications | 110 |
| 9 Deep Generative Models | 113 |
| 9.1 Variational Autoencoder Approaches | 114 |
| 9.1.1 Node-Level Latents | 116 |
| 9.1.2 Graph-Level Latents | 117 |
| 9.2 Adversarial Approaches | 120 |
| 9.3 Autoregressive Methods | 121 |
| 9.3.1 Modeling Edge Dependencies | 122 |
| 9.3.2 Recurrent Models for Graph Generation | 122 |
| 9.4 Evaluating Graph Generation | 126 |
| 9.5 Molecule Generation | 126 |
| Conclusion | 129 |
| Bibliography | 131 |
| Author’s Biography | 141 |
Preface
Section titled “Preface”The field of graph representation learning has grown at an incredible—and sometimes unwieldy—pace over the past seven years. I first encountered this area as a graduate student in 2013, during the time when many researchers began investigating deep learning methods for “embedding” graph-structured data. In the years since 2013, the field of graph representation learning has witnessed a truly impressive rise and expansion—from the development of the standard graph neural network paradigm to the nascent work on deep generative models of graph-structured data. The field has transformed from a small subset of researchers working on a relatively niche topic to one of the fastest growing sub-areas of deep learning.
However, as the field has grown, our understanding of the methods and theories underlying graph representation learning has also stretched backwards through time. We can now view the popular “node embedding” methods as well-understood extensions of classic work on dimensionality reduction. We now have an understanding and appreciation for how graph neural networks evolved—somewhat independently—from historically rich lines of work on spectral graph theory, harmonic analysis, variational inference, and the theory of graph isomorphism. This book is my attempt to synthesize and summarize these methodological threads in a practical way. My hope is to introduce the reader to the current practice of the field while also connecting this practice to broader lines of historical research in machine learning and beyond.
Intended audience This book is intended for a graduate-level researcher in machine learning or an advanced undergraduate student. The discussions of graph-structured data and graph properties are relatively self-contained. However, the book does assume a background in machine learning and a familiarity with modern deep learning methods (e.g., convolutional and recurrent neural networks). Generally, the book assumes a level of machine learning and deep learning knowledge that one would obtain from a textbook such as Goodfellow et al. [2016]’s Deep Learning book.
William L. Hamilton
September 2020