InfoGraph
An unsupervised graph encoder trained by maximizing mutual information between graph and node-patch embeddings.
Graphs and geometry · 137 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Graphs and geometry
- Parameters
- 216.2K
- Operations
- 137
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2020
- Cited by
- 479 (as of 28 October 2026)
- Authors
- Fan-Yun Sun, Jordan Hoffmann, Vikas Verma, Jian Tang
- Source
- GitHub: sunfanyunn/InfoGraph
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m17572
- Graph hash
- 2e82a18e4bf955cac3b3f4345a9ad83a906984d58cf89a8764a16c36cdab32ba
- Skeleton hash
- 98370930c1b0e758ae08adf4f84b43aaaf95c7518c6ad9cb3429e15db317dd1d
- Architecture hash
- c2ac0a09f33326bbaa760c6b4ce003b8950ee297647d963dad6760973da6e230
- Diagram SHA-256
- cb9040286f4c3882e2d3e38ace8d1c3a9364f9b96cdbc1e5aadd5ac59b0c2fb3
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
InfoGraph learns a representation of a whole graph without labels. It maximizes the mutual information between the graph-level representation and the representations of substructures of different scales. The method is based on Deep InfoMax, and it differs in aim from Deep Graph Infomax (DGI), which the paper notes only evaluates node level embeddings.
The encoder is a graph neural network, and the paper uses GIN because it provides a better inductive bias for graph level applications. Feature vectors from all depths of the network are summarized into a single patch representation centered at every node. The readout is a sum, not a mean, which the paper says can provide information about the size of the graph. A discriminator takes a pair of global and patch representations and decides whether they are from the same graph. It passes the two representations through different non-linear transformations, each a 3-layered feed-forward network, and takes their dot product. Negative samples are all combinations of global and patch representations across the graphs in a batch.
The paper also proposes InfoGraph*, a semi-supervised model in which a student model learns from a teacher model by maximizing mutual information between their intermediate representations. One of its graph classification benchmarks, MUTAG, contains 188 nitro compounds with 7 different discrete labels.
Key idea. The paper learns graph-level representations without labels by maximizing mutual information between a graph's global representation and its patch representations at different scales.
- infograph
- graph-level representation learning
- unsupervised graph embedding
- mutual information maximization
- graph classification
- graph neural network
- contrastive graph learning
- whole-graph embedding
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{sun2020infographunsupervisedsemisupervisedgraphlevel,
title={InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximization},
author={Fan-Yun Sun and Jordan Hoffmann and Vikas Verma and Jian Tang},
year={2020},
eprint={1908.01000},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/1908.01000},
}