Recurrent Relational Networks

Rasmus Berg Palm, Ulrich Paquet, Ole Winther
11/21/2017
cs.AI

Official code: Kyubyong/sudoku (867 stars, GPL-3.0, last commit 2023-02-17). 1 more implementation below.

Abstract

This paper is concerned with learning to solve tasks that require a chain of interdependent steps of relational inference, like answering complex questions about the relationships between objects, or solving puzzles where the smaller elements of a solution mutually constrain each other. We introduce the recurrent relational network, a general purpose module that operates on a graph representation of objects. As a generalization of Santoro et al. [2017]'s relational network, it can augment any neural network model with the capacity to do many-step relational reasoning. We achieve state of the art results on the bAbI textual question-answering dataset with the recurrent relational network, consistently solving 20/20 tasks. As bAbI is not particularly challenging from a relational reasoning point of view, we introduce Pretty-CLEVR, a new diagnostic dataset for relational reasoning. In the Pretty-CLEVR set-up, we can vary the question to control for the number of relational reasoning steps that are required to obtain the answer. Using Pretty-CLEVR, we probe the limitations of multi-layer perceptrons, relational and recurrent relational networks. Finally, we show how recurrent relational networks can learn to solve Sudoku puzzles from supervised training data, a challenging task requiring upwards of 64 steps of relational reasoning. We achieve state-of-the-art results amongst comparable methods by solving 96.6% of the hardest Sudoku puzzles.

View on arXivView PDF

Code Implementations(2)

Kyubyong/sudokuOfficial100%
GPL-3.0

Can Neural Networks Crack Sudoku?

867131PythonDec 19, 20163 years agoGPL-3.0
convolutional-neural-networksnumberpuzzlesudoku

Code accompanying the paper Recurrent Relational Networks for Complex Relational Reasoning https://arxiv.org/abs/1711.08028

20434PythonNov 21, 20173 years ago

Similar Papers

Cite this paper

@article{palm2017recurrent,
  title  = {Recurrent Relational Networks},
  author = {Rasmus Berg Palm and Ulrich Paquet and Ole Winther},
  year   = {2017},
  eprint = {1711.08028},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1711.08028}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1711.08028.svg)](https://codeofpaper.com/paper/1711.08028)

Discussion