Skip to main content
QUICK REVIEW

[Paper Review] Solving ARC visual analogies with neural embeddings and vector arithmetic: A generalized method

Luca H. Thoms, Karel Veldkamp|arXiv (Cornell University)|Jan 1, 2023
Topic ModelingComputer Science1 citations
TL;DR

This paper proposes a generalized deep learning approach for solving visual analogies in the Abstraction and Reasoning Corpus (ARC) by encoding images into low-dimensional latent vectors using a variational autoencoder (VAE), then applying vector arithmetic to infer missing outputs. The method achieves 2% accuracy on ARC and 8.8% on ConceptARC, demonstrating a simple, connectionist framework that generalizes across abstract visual reasoning tasks without hard-coded rules.

ABSTRACT

Analogical reasoning derives information from known relations and generalizes this information to similar yet unfamiliar situations. One of the first generalized ways in which deep learning models were able to solve verbal analogies was through vector arithmetic of word embeddings, essentially relating words that were mapped to a vector space (e.g., king – man + woman =__?). In comparison, most attempts to solve visual analogies are still predominantly task-specific and less generalizable. This project focuses on visual analogical reasoning and applies the initial generalized mechanism used to solve verbal analogies to the visual realm. Taking the Abstraction and Reasoning Corpus (ARC) as an example to investigate visual analogy solving, we use a variational autoencoder (VAE) to transform ARC items into low-dimensional latent vectors, analogous to the word embeddings used in the verbal approaches. Through simple vector arithmetic, underlying rules of ARC items are discovered and used to solve them. Results indicate that the approach works well on simple items with fewer dimensions (i.e., few colors used, uniform shapes), similar input-to-output examples, and high reconstruction accuracy on the VAE. Predictions on more complex items showed stronger deviations from expected outputs, although, predictions still often approximated parts of the item's rule set. Error patterns indicated that the model works as intended. On the official ARC paradigm, the model achieved a score of 2% (cf. current world record is 21 %) and on ConceptARC it scored 8.8\%. Although the methodology proposed involves basic dimensionality reduction techniques and standard vector arithmetic, this approach demonstrates promising outcomes on ARC and can easily be generalized to other abstract visual reasoning tasks.

Motivation & Objective

  • To develop a generalized, connectionist method for visual analogical reasoning that avoids task-specific or symbolic rule engineering.
  • To adapt the success of word embedding vector arithmetic in verbal analogies to the visual domain using neural embeddings.
  • To evaluate whether dimensionality reduction and vector operations can capture and generalize abstract visual rules in ARC-style tasks.
  • To assess the model's performance on complex, few-shot visual reasoning problems with open-ended, generative outputs.

Proposed method

  • A custom variational autoencoder (VAE) is trained to encode ARC input-output pairs into low-dimensional latent vectors, preserving structural and attribute-level information.
  • Latent vectors from input and output examples are used to compute rule vectors via simple vector arithmetic (e.g., output - input).
  • The rule vector is applied to the input grid of a new, unsolved ARC item by adding it to the input’s latent representation.
  • A decoder network reconstructs the predicted output from the resulting latent vector, with rescaling applied to match expected grid dimensions.
  • The model uses a multi-layer perceptron (MLP) to combine input representations with learned rule vectors during inference.
  • The approach is fully differentiable and end-to-end trainable, with no hard-coded rules or symbolic program induction.

Experimental results

Research questions

  • RQ1Can vector arithmetic on learned visual embeddings generalize to solve abstract visual analogies in the ARC benchmark?
  • RQ2How well does a VAE-based latent space capture the underlying rules of visual transformations in few-shot, open-ended reasoning tasks?
  • RQ3What is the performance of a purely connectionist, non-symbolic method on ARC compared to state-of-the-art symbolic or hybrid models?
  • RQ4How do reconstruction accuracy and input-output similarity affect the model’s ability to infer correct visual analogies?
  • RQ5Can this method be generalized to other abstract visual reasoning tasks beyond ARC?

Key findings

  • The model achieved a test accuracy of 2% on the official ARC benchmark, significantly below the current state-of-the-art of 21%.
  • On the ConceptARC benchmark, the model scored 8.8%, indicating some capacity to generalize to related but distinct visual reasoning tasks.
  • Performance was strongest on simple items with few colors, uniform shapes, and high VAE reconstruction accuracy.
  • On complex items, predictions deviated more from expected outputs, but often approximated partial rule sets, suggesting the model captures underlying structural patterns.
  • Error analysis confirmed the model operates as intended, with consistent deviations aligning with rule complexity and input-output dissimilarity.
  • The method demonstrated robustness to input variations when reconstruction quality was high, and rescaling improved visual plausibility of predictions.

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.