Skip to main content
QUICK REVIEW

[Paper Review] Learning and generalization of compositional representations of visual scenes

E. Paxon Frady, Spencer J. Kent|arXiv (Cornell University)|Mar 23, 2023
Advanced Image and Video Retrieval TechniquesComputer Science3 citations
TL;DR

This paper proposes a deep learning framework that uses vector symbolic architectures (VSA) to learn compositional, distributed representations of visual scenes, encoding object identity, position, and color in high-dimensional vectors. The model generalizes well to unseen digit shapes and scene configurations but fails to generalize across feature conjunctions—e.g., a '7' in the 'bottom-right' location—when such combinations are absent from training data.

ABSTRACT

Complex visual scenes that are composed of multiple objects, each with attributes, such as object name, location, pose, color, etc., are challenging to describe in order to train neural networks. Usually,deep learning networks are trained supervised by categorical scene descriptions. The common categorical description of a scene contains the names of individual objects but lacks information about other attributes. Here, we use distributed representations of object attributes and vector operations in a vector symbolic architecture to create a full compositional description of a scene in a high-dimensional vector. To control the scene composition, we use artificial images composed of multiple, translated and colored MNIST digits. In contrast to learning category labels, here we train deep neural networks to output the full compositional vector description of an input image. The output of the deep network can then be interpreted by a VSA resonator network, to extract object identity or other properties of indiviual objects. We evaluate the performance and generalization properties of the system on randomly generated scenes. Specifically, we show that the network is able to learn the task and generalize to unseen seen digit shapes and scene configurations. Further, the generalisation ability of the trained model is limited. For example, with a gap in the training data, like an object not shown in a particular image location during training, the learning does not automatically fill this gap.

Motivation & Objective

  • To develop a deep learning model that learns full compositional descriptions of visual scenes, including object identity, location, and color, rather than just category labels.
  • To investigate whether deep networks can generalize knowledge across object attributes when trained on artificial scenes composed of MNIST digits.
  • To examine the limitations of generalization in deep networks when specific feature conjunctions (e.g., '7' in 'bottom-right') are missing from training data.
  • To explore the role of inductive bias in enabling or restricting generalization in visual scene understanding.
  • To evaluate whether VSA-based vector representations enable disentanglement and query of individual object attributes via a resonator network.

Proposed method

  • Use a vector symbolic architecture (VSA) to represent object attributes (identity, position, color) as high-dimensional vectors using superposition and binding operations.
  • Construct synthetic training data using multiple, translated, and colored MNIST digits to form complex scenes with compositional structure.
  • Train a deep neural network to map input images to a single high-dimensional compositional vector representation of the entire scene.
  • Employ a VSA resonator network to decode the deep network’s output vector and extract individual object identities and attributes.
  • Apply vector operations such as superposition (addition) and binding (componentwise multiplication) to compose scene representations in a differentiable, symbolic-like manner.
  • Use random high-dimensional vectors as symbols, leveraging the orthogonality of random vectors in high dimensions to minimize crosstalk noise.

Experimental results

Research questions

  • RQ1Can deep neural networks learn to represent complex visual scenes as compositional, distributed vectors encoding object identity, location, and color?
  • RQ2To what extent can the model generalize to unseen combinations of object shapes and scene configurations?
  • RQ3Does the model generalize across feature conjunctions—e.g., recognizing a digit in a new position—when such combinations were not in the training data?
  • RQ4How does the absence of certain feature conjunctions in training affect the model’s ability to generalize during inference?
  • RQ5Can VSA-based representations enable disentangled, queryable access to individual object attributes from a single compositional vector?

Key findings

  • The deep network successfully learns to map input images to a compositional high-dimensional vector representation that encodes object identity, position, and color.
  • The model generalizes well to unseen digit shapes and novel combinations of digits in scenes, even when the exact configuration was not seen during training.
  • The model generalizes to scenes with more or fewer objects than seen in training, indicating robustness to variations in scene complexity.
  • However, the model fails to generalize when a specific conjunction of features—such as a '7' in the 'bottom-right' location—is absent from training data, even if the individual components (e.g., '7' and 'bottom-right') were seen separately.
  • The network learns the absence of certain feature combinations as a data-specific gap rather than generalizing knowledge, indicating a lack of inductive bias for feature conjunctions.
  • This failure to generalize across feature conjunctions suggests that naive supervised learning with standard architectures may not capture structural invariances without explicit inductive biases or data augmentation.

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.