All models

FiLMConv

A graph neural network in which each target node modulates its incoming messages feature by feature.

Graphs and geometry · 128 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (18 KB)

Open in a new tab

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

Family
GNN-FiLM
Parameters
1.6M
Operations
128
Framework
PyTorch
Recurrent
No
Published
ICML 2020
Cited by
93 (as of 22 October 2026)
Authors
Marc Brockschmidt
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m1015
Graph hash
427a90630bc3e62b976993973cac9e9e18adf5679b83fcd89047917cd3712946
Skeleton hash
6acfcd4593f99d4c161cc6eae7f53cf58a9a153ebcb19feea00b7411041016f8
Architecture hash
86ac908ea87e99621add4b9cec55b1b9e0c811360cdaad7a334323ebd30b5051
Diagram SHA-256
ed5cc2e772bb3d6e0c11e5b92a575d89f9c4a77cbf5746a4e725529ae35260c2
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

GNN-FiLM is a type of graph neural network that uses feature-wise linear modulation (FiLM). Many standard GNNs compute the message sent along an edge from the representation of the edge's source node alone. In GNN-FiLM the target node also takes part: its representation is used to compute a transformation that is applied to all incoming messages, so the passed information is modulated feature by feature.

FiLM was introduced in visual question answering. The paper adapts it to graph message passing by using the target node's representation to compute the affine function. The element-wise affine transformation lets the model up-weight and down-weight features of incoming messages based on the information at the target node. The authors' code repository describes GNN-FiLM as an extension of RGCN with FiLM layers.

The experiments cover three tasks: PPI, QM9 and VarMisuse. PPI is node-level classification in which each node may belong to several of the 121 classes. Hyperparameters for all methods were found by extensive search, and the paper reports that differences between baseline models were smaller than reported in the literature. It also reports that GNN-FiLM outperformed the baselines on a regression task on molecular graphs and performed competitively on the other tasks.

Key idea. GNN-FiLM uses the target node's representation to compute a feature-wise transformation applied to all incoming messages, instead of computing messages from the source node alone.

  • gnn-film
  • filmconv
  • graph neural networks with feature-wise linear modulation
  • feature-wise linear modulation
  • film gnn
  • message passing
  • graph hypernetwork
  • relational graph neural network

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{brockschmidt2020gnnfilmgraphneuralnetworks,
      title={GNN-FiLM: Graph Neural Networks with Feature-wise Linear Modulation}, 
      author={Marc Brockschmidt},
      year={2020},
      eprint={1906.12192},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/1906.12192}, 
}