Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Relational inductive biases, deep learning, and graph networks

Graph networks add relational inductive biases to deep learning for combinatorial generalization

  • Problem Deep learning struggles to generalize to new combinations of known parts, a skill human intelligence depends on. Current end-to-end models build in little relational structure to support it.
  • Method Graph networks update edges, then nodes, then a global state over a graph. Unlike fixed layers, they share the same functions across every edge and node, so graph size can vary.
  • Results The paper argues graph networks support relational reasoning and combinatorial generalization, and it releases an open-source library for building them.

Why combinatorial generalization is the target

The paper starts from a gap: deep learning has advanced quickly in several domains, but the kind of generalization people show beyond their own experience is still out of reach. The authors frame the target as combinatorial generalization, meaning new inferences, predictions and behaviors assembled from building blocks that are already known.

They argue that structured representations and structured computations are the route to this, and they reject the choice between hand-engineered structure and end-to-end learning.

Structured approaches dominated earlier machine learning partly because data and compute were scarce, and their strong inductive biases bought sample efficiency that was worth a great deal at the time. Modern end-to-end methods instead minimize built-in assumptions, and cheap data and compute make trading sample efficiency for flexibility a reasonable choice.

Sequence-to-sequence translation is a clear case: it works well without explicit parse trees or detailed relations between linguistic entities.

Critiques of deep learning point to weak performance in complex language and scene understanding, in reasoning over structured data, in transfer beyond training conditions, and in learning from little experience. The authors read these failures as the expected cost of an approach that avoids compositionality and explicit structure, since the challenges themselves demand combinatorial generalization.

Relational assumptions in existing building blocks

An inductive bias is a preference that lets a learner choose among solutions that fit the data equally well, and it can be expressed through a prior, a regularizer or the architecture itself. A relational inductive bias is the subset of these biases that constrains how entities and their relationships may interact during learning.

Stacking layers into MLPs and CNNs gives a hierarchical processing bias, where computation proceeds in stages and the range of interactions grows with depth. Individual layers also embed their own assumptions, which the paper analyses for each building block.

Graphical models make the sparse dependencies among variables explicit, and this lets algorithms such as message passing run on models of different sizes and shapes. The authors conclude that CNNs and RNNs do carry relational biases, but they cannot naturally handle sets or graphs.

The graph network block

The graph is represented with one-way edges, attributes on nodes and edges, and one attribute for the whole graph, and it permits parallel edges and self-edges. In the balls example, nodes hold attributes such as position, velocity and mass, while edges hold properties such as spring constants, and the global attribute can represent something like the gravitational field.

Each edge stores the index of its sender and receiver, so the block knows which two nodes it connects.

The block contains three update functions, \( \phi^e \), \( \phi^v \) and \( \phi^u \), and three aggregation functions, \( \rho^{e\to v} \), \( \rho^{e\to u} \) and \( \rho^{v\to u} \). Per-edge updates are computed as \[ e'_k = \phi^e(e_k, v_{r_k}, v_{s_k}, u) \] and per-node updates as \[ v'_i = \phi^v(\bar{e}'_i, v_i, u) \], where \( \bar{e}'_i = \rho^{e\to v}(E'_i) \) collects the updated edges received by node \( i \).

The global update is \[ u' = \phi^u(\bar{e}', \bar{v}', u) \], with \( \bar{e}' = \rho^{e\to u}(E') \) and \( \bar{v}' = \rho^{v\to u}(V') \). The aggregation functions must not depend on the order of their inputs and must accept any number of arguments, so summation, mean or maximum are typical choices.

Computation runs from edges to nodes to the global level: edges are updated first, then aggregated per receiving node, then nodes are updated, and finally edges and nodes are aggregated globally before the global update. In the balls example, the global aggregation of edge updates can sum forces, which should cancel under Newton's third law, and it can sum spring potential energies.

The authors note that the order is not strictly fixed, and the updates could also run from global to node to edge.

Why the block is shared and permutation-invariant

Because edges are the only channel for interaction, an edge says two entities are related and should interact, while a missing edge says they should not influence each other directly. Entities and relations are treated as sets, so the output does not depend on their order, and an ordering can be added by encoding indices into attributes or edges.

The per-edge and per-node functions are shared across all edges and nodes, which is the source of the combinatorial generalization the authors expect from the block. The same function can therefore run on graphs with different numbers of nodes and edges and different connectivity. Because the functions are reused, nodes and edges can be batched like samples, and the number of training examples for the edge function equals the number of edges across training graphs.

In the balls example, four balls all connected by springs give twelve examples of the contact interaction, since each ordered pair counts separately.

The output can be edge-focused, node-focused or graph-focused, depending on whether the task needs decisions about interactions, dynamics or whole-system properties. When relations are not given, the simplest approach is to connect every ordered pair of entities, but the number of edges then grows quadratically with the number of nodes.

Evidence for combinatorial generalization

Battaglia et al. (2016) trained graph networks on one-step physical state prediction and reported that they could simulate thousands of future time steps.

Sanchez-Gonzalez et al. (2018) reported similar generalization in more complex physical control, including agents with new numbers of joints. Hamrick et al. (2018) and Wang et al. (2018b) each reported that graph-based decision policies transferred to novel numbers of entities.

In combinatorial optimization, several cited works report graph networks generalizing to problems of much different sizes than those seen in training. On boolean SAT problems, Selsam et al. (2018) reported generalization across problem sizes and across distributions of input graphs.

The authors also describe three released demonstrations: shortest-path labeling on random graphs, sorting of random number lists, and random mass-spring physics whose predictions can be rolled out. The physics demonstration shows each subplot's true and predicted states over 50 timesteps, but the excerpt gives no quantitative scores for these demos.

The authors call these results important support for embracing explicit structure, while noting they are not surprising given the entity-centric design.

Limitations

Learned message passing in graph networks and MPNNs cannot be guaranteed to solve some problems, such as telling apart certain non-isomorphic graphs. Kondor et al. (2018) proposed covariant compositional networks, which use covariance to edge ordering rather than invariance, so that structural information can be kept when needed.

Graphs do not easily express recursion, control flow or conditional iteration, which need extra assumptions, for example when reading abstract syntax trees. Programs offer more expressive power for these notions.

Where graphs come from is an open question: convolutional features need not match true objects, and many real structures are sparser than a fully connected graph. No single method yet reliably extracts discrete entities from sensory data, and inducing sparsity remains unresolved.

Paper info

Authors
Peter W. Battaglia, Jessica B. Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Vinicius Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, Caglar Gulcehre, Francis Song, Andrew Ballard, Justin Gilmer, George Dahl, Ashish Vaswani, Kelsey Allen, Charles Nash, Victoria Langston, Chris Dyer, Nicolas Heess, Daan Wierstra, Pushmeet Kohli, Matt Botvinick, Oriol Vinyals, Yujia Li, Razvan Pascanu
Venue
arXiv · Preprint
First published
2018-6-4
Added
2026-11-12
Updated
2018-10-17
Version
v3
arXiv
1806.01261
Category
cs.LG · cs.AI · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Peter W. Battaglia, Jessica B. Hamrick, Victor Bapst, Alvaro Sanchez-Gonzalez, Vinicius Zambaldi, Mateusz Malinowski, Andrea Tacchetti, David Raposo, Adam Santoro, Ryan Faulkner, Caglar Gulcehre, Francis Song, Andrew Ballard, Justin Gilmer, George Dahl, Ashish Vaswani, Kelsey Allen, Charles Nash, Victoria Langston, Chris Dyer et al. (2018). Relational inductive biases, deep learning, and graph networks. arXiv:1806.01261v3. https://arxiv.org/abs/1806.01261v3

BibTeX
@misc{battaglia2018relational,
  title = {{Relational inductive biases, deep learning, and graph networks}},
  author = {Peter W. Battaglia and Jessica B. Hamrick and Victor Bapst and Alvaro Sanchez-Gonzalez and Vinicius Zambaldi and Mateusz Malinowski and Andrea Tacchetti and David Raposo and Adam Santoro and Ryan Faulkner and Caglar Gulcehre and Francis Song and Andrew Ballard and Justin Gilmer and George Dahl and Ashish Vaswani and Kelsey Allen and Charles Nash and Victoria Langston and Chris Dyer and Nicolas Heess and Daan Wierstra and Pushmeet Kohli and Matt Botvinick and Oriol Vinyals and Yujia Li and Razvan Pascanu},
  year = {2018},
  eprint = {1806.01261},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.01261v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up