Relational Constraints On Neural Networks Reproduce Human Biases towards Abstract Geometric Regularity

Declan Campbell, Sreejan Kumar, Tyler Giallanza, Jonathan D. Cohen, Thomas L. Griffiths · Submission to ICLR 2024 · Withdrawn

TL;DR

Cognitive scientists have long argued that human sensitivity to geometric regularity—like symmetry and parallelism—requires an innate, symbolic "Language of Thought" that neural networks inherently lack. This paper shows that standard neural networks, when augmented with a simple relational bottleneck and an appropriate training curriculum, successfully reproduce human-like geometric reasoning and regularity biases without hardcoding any symbolic machinery.

What Problem Does This Paper Address?

Humans naturally perceive and exploit abstract geometric regularities: we find squares and rectangles easier to remember, classify, and draw than irregular quadrilaterals. Non-human primates and standard computer vision models (such as CorNet or ResNet) do not show this strong regularity bias.

Because standard deep networks failed to replicate this pattern, prior studies (notably Sablé-Meyer et al., 2021, 2022) argued that human geometric cognition relies on an explicit, symbolic "Language of Thought" (LoT)—a generative mental engine combining discrete primitives. The authors tackle a foundational question in cognitive science: Can continuous, distributed neural representations develop human-like geometric biases and out-of-distribution generalization without explicit symbolic architectures?

Methods

Rather than building explicit symbolic parsers, the authors introduce an architectural inductive bias known as the relational bottleneck (Webb et al., 2023a):

  • Core Principle: Constrain downstream decision layers to operate exclusively over relations between representations (e.g., inner products, cosine similarities, or distances) rather than the raw feature representations of individual objects.
  • Delayed Match-to-Sample (DMTS) Architecture: An image encoder (CorNet) feeds a target stimulus through an LSTM to produce a "memory embedding" across a temporal delay. Choice images are encoded with the same visual backbone. The baseline model concatenates target and choice embeddings into an MLP, whereas the relational model computes pairwise cosine similarities between the memory vector and choice vectors to make the final match decision.
  • Oddball Detection Architecture: Six quadrilateral images (five references, one oddball) are encoded into representations, and a full $6 \times 6$ cosine similarity matrix is computed. A classifier predicts the oddball index solely from this relational matrix.
  • Geometric Contrastive Pretraining: To test how training curriculum interacts with architecture, the CNN was pretrained either with standard SimCLR (view invariance via rotation/scaling) or a geometric contrastive objective, where embedding distances were supervised using pairwise differences across geometric properties (e.g., right angles, equal sides). Crucially, these symbolic features were discarded entirely before testing.

Datasets

  1. Generative Language of Thought (LoT) Dataset: Complex abstract visual curves and loops generated recursively using a DreamCoder domain-specific language (DSL). Used for DMTS training; exact human experimental trials from Sablé-Meyer et al. (2022) served as the held-out test set.
  2. Quadrilateral Oddball Benchmark: Sets of six shapes across 11 quadrilateral classes varying in geometric regularity—ranging from highly regular (squares, rectangles) to completely irregular/random quadrilaterals (from Sablé-Meyer et al., 2021).

Key Insights and Ideas

  • Relations Over Features: Forcing networks to compare similarities between items rather than memorizing individual visual features prevents them from relying on superficial shortcuts (like average pixel intensity or low-level texture), encouraging abstract representations.
  • Rich Data Acts as Implicit Prior: When trained on a rich generative corpus (the DreamCoder LoT dataset), the relational bottleneck alone was sufficient to generalize out-of-distribution without specialized geometric losses.
  • Curriculum Matters in Restricted Regimes: On the narrow 11-shape quadrilateral task, the relational bottleneck alone with standard SimCLR mirrored monkey behavior. Only when paired with geometric contrastive pretraining did the network develop the human-like signature—showing that inductive bias and training environment must work together.

Key Results

  • Delayed Match-to-Sample Task:
  • The baseline neural network failed out-of-distribution, achieving only $\sim 45\%$ accuracy.
  • The relational bottleneck model achieved near-human performance ($>90\%$ accuracy, $p < 0.001$), matching the human benchmark even in the presence of challenging distractors.
  • The relational model remained robust when the working memory delay was extended from 3 to 20 timesteps, whereas baseline performance collapsed toward chance ($16.7\%$).
  • Quadrilateral Oddball Task:
  • The geometrically pretrained relational model strongly matched human behavior ($r = 0.72$), showing a statistically significant decrease in error rate as geometric regularity increased ($p < 0.001$).
  • The standard SimCLR-trained model instead correlated with non-human primate behavior ($r = 0.70$) and showed no regularity effect ($r = -0.00, p = 0.99$).

Limitations and Future Work

  • Lack of Reaction Time (RT) Modeling: Human DMTS performance is near ceiling, so human studies rely on RT to detect geometric regularity effects. This study evaluated networks purely on error rates and accuracy rather than modeling processing duration.
  • Dependence on Geometric Supervision for Simple Datasets: The oddball model required contrastive guidance derived from symbolic geometric features during pretraining, leaving open the question of how humans acquire these priors in early childhood without explicit feature supervision.
  • Future Directions: Applying relational bottlenecks to other domains historically viewed as requiring discrete symbolic engines, such as causal induction, number representation, and logical rule learning.

Summary updated

BibTeX
@misc{campbell2023relational,
  author = {Declan Campbell and Sreejan Kumar and Tyler Giallanza and Jonathan D. Cohen and Thomas L. Griffiths},
  title = {{Relational Constraints On Neural Networks Reproduce Human Biases towards Abstract Geometric Regularity}},
  year = {2023},
  eprint = {2309.17363},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.17363},
}

Loading related content...

Figure