Skip to main content
QUICK REVIEW

[Paper Review] An Explicitly Relational Neural Network Architecture

Murray Shanahan, Kyriacos Nikiforou|arXiv (Cornell University)|May 24, 2019
Multimodal Machine Learning ApplicationsComputer Science33 references25 citations
TL;DR

This paper introduces PrediNet, a novel differentiable neural network architecture that explicitly learns propositional, relational representations from raw pixel data by structuring its internal representations to mirror predicate calculus. The architecture achieves improved data efficiency, generalization, and transfer learning by learning reusable, disentangled object and relation representations through a curriculum of visual relational reasoning tasks.

ABSTRACT

With a view to bridging the gap between deep learning and symbolic AI, we present a novel end-to-end neural network architecture that learns to form propositional representations with an explicitly relational structure from raw pixel data. In order to evaluate and analyse the architecture, we introduce a family of simple visual relational reasoning tasks of varying complexity. We show that the proposed architecture, when pre-trained on a curriculum of such tasks, learns to generate reusable representations that better facilitate subsequent learning on previously unseen tasks when compared to a number of baseline architectures. The workings of a successfully trained model are visualised to shed some light on how the architecture functions.

Motivation & Objective

  • To bridge the gap between deep learning and symbolic AI by enabling neural networks to learn general-purpose, reusable propositional representations from raw data.
  • To address the limitations of existing neural architectures that produce smeared, non-compositional representations lacking clear mapping to symbolic elements like objects and relations.
  • To evaluate whether explicitly structured relational representations improve data efficiency, out-of-distribution generalization, and transfer learning in visual reasoning tasks.
  • To develop a minimal, interpretable benchmark suite (Relations Game) for systematic evaluation of relational inductive biases in neural networks.
  • To demonstrate that architectural constraints promoting explicit relational structure can lead to more interpretable and reusable representations without sacrificing end-to-end differentiability.

Proposed method

  • The PrediNet architecture uses a multi-head dot-product attention mechanism with shared key and query projections to learn object and relation representations from raw image inputs.
  • It structures internal representations into parallel, independent channels that process relational triplets (subject, relation, object), enabling explicit disentanglement of propositional components.
  • The network is trained end-to-end on a family of visual relational reasoning tasks involving spatial patterns and object configurations, using a curriculum learning strategy.
  • A simple multi-layer perceptron head is grafted onto the PrediNet to perform downstream classification on spatial reasoning tasks, enabling evaluation of representation utility.
  • The architecture embeds relational priors similar to those in symbolic AI, with outputs structured to map directly to predicate calculus elements (e.g., relations, objects, propositions).
  • Visualizations of internal representations are used to analyze how the network learns to disentangle and compose relational information across tasks.

Experimental results

Research questions

  • RQ1Can a neural network architecture be designed to learn explicitly structured, propositional representations from raw pixel data, with components mapping directly to symbolic elements like objects and relations?
  • RQ2Does learning such explicitly relational representations lead to improved data efficiency and generalization compared to standard neural architectures?
  • RQ3To what extent can representations learned via a curriculum of visual relational tasks be transferred to novel, previously unseen tasks?
  • RQ4How do architectural choices—particularly the use of parallel, independent processing channels—support the emergence of disentangled, reusable representations?
  • RQ5Can a differentiable, end-to-end neural network learn representations compatible with symbolic reasoning, thereby enabling future integration with logic-based inference systems?

Key findings

  • PrediNet learns to form explicit, interpretable representations where individual components correspond to distinct objects and relations, enabling compositional reasoning.
  • When pre-trained on a curriculum of visual relational tasks, the model demonstrates improved data efficiency and generalization on unseen tasks compared to baseline architectures.
  • The architecture enables effective transfer learning: representations learned on one task are reusable for new, structurally similar tasks, even when the specific objects or relations differ.
  • Visualizations of the internal representations show that the network learns to disentangle relational components, with distinct attention heads focusing on specific relations or object roles.
  • The model’s performance is significantly better than baselines on multi-task and transfer learning settings, particularly in out-of-distribution generalization scenarios.
  • The architecture’s structural priors lead to representations that are more amenable to recombination and reuse, suggesting a path toward lifelong, continual learning systems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.