Skip to content

Commit 513aa21

Browse files
authored
Merge pull request #301 from FluxML/doc
Add GraphSAGE to doc
2 parents c306989 + e12ba85 commit 513aa21

File tree

4 files changed

+36
-4
lines changed

4 files changed

+36
-4
lines changed

docs/bibliography.bib

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,15 @@ @article{Wang2019
171171
url = {https://dl.acm.org/doi/10.1145/3326362},
172172
year = {2019},
173173
}
174+
175+
@inproceedings{Hamilton2017,
176+
abstract = {Low-dimensional embeddings of nodes in large graphs have proved extremely useful in a variety of prediction tasks, from content recommendation to identifying protein functions. However, most existing approaches require that all nodes in the graph are present during training of the embeddings; these previous approaches are inherently transductive and do not naturally generalize to unseen nodes. Here we present GraphSAGE, a general inductive framework that leverages node feature information (e.g., text attributes) to efficiently generate node embeddings for previously unseen data. Instead of training individual embeddings for each node, we learn a function that generates embeddings by sampling and aggregating features from a node's local neighborhood. Our algorithm outperforms strong baselines on three inductive node-classification benchmarks: we classify the category of unseen nodes in evolving information graphs based on citation and Reddit post data, and we show that our algorithm generalizes to completely unseen graphs using a multi-graph dataset of protein-protein interactions.},
177+
author = {William L Hamilton and Rex Ying and Jure Leskovec},
178+
city = {Red Hook, NY, USA},
179+
isbn = {9781510860964},
180+
booktitle = {Proceedings of the 31st International Conference on Neural Information Processing Systems},
181+
pages = {1025-1035},
182+
publisher = {Curran Associates Inc.},
183+
title = {Inductive Representation Learning on Large Graphs},
184+
year = {2017},
185+
}

docs/make.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ makedocs(
4242
"Dynamic Graph Update" => "dynamicgraph.md",
4343
"Manual" => [
4444
"FeaturedGraph" => "manual/featuredgraph.md",
45-
"Convolutional Layers" => "manual/conv.md",
46-
"Pooling Layers" => "manual/pool.md",
45+
"Graph Convolutional Layers" => "manual/conv.md",
46+
"Graph Pooling Layers" => "manual/pool.md",
4747
"Embeddings" => "manual/embedding.md",
4848
"Models" => "manual/models.md",
4949
"Linear Algebra" => "manual/linalg.md",

docs/src/manual/conv.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Convolution Layers
1+
# Graph Convolutional Layers
22

33
## Graph Convolutional Layer
44

@@ -148,3 +148,23 @@ CGConv
148148
```
149149

150150
Reference: [Xie2018](@cite)
151+
152+
---
153+
154+
## SAmple and aggreGatE (GraphSAGE) Network
155+
156+
```math
157+
\hat{\textbf{x}}_j = sample(\textbf{x}_j), \forall j \in \mathcal{N}(i) \\
158+
\textbf{m}_i = aggregate(\hat{\textbf{x}}_j) \\
159+
\textbf{x}_i' = \sigma (\Theta_1 \textbf{x}_i + \Theta_2 \textbf{m}_i)
160+
```
161+
162+
```@docs
163+
SAGEConv
164+
MeanAggregator
165+
MeanPoolAggregator
166+
MaxPoolAggregator
167+
LSTMAggregator
168+
```
169+
170+
Reference: [Hamilton2017](@cite) and [GraphSAGE website](http://snap.stanford.edu/graphsage/)

docs/src/manual/pool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Pooling Layers
1+
# Graph Pooling Layers
22

33
## Global Pooling Layer
44

0 commit comments

Comments
 (0)