Reproduce “Logic and the $2$-Simplicial Transformer” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

James Clift, Dmitry Doryn, Daniel Murfet, James Wallbridge

A 2-simplicial Transformer, developed by researchers including Daniel Murfet at the University of Melbourne, extends the standard Transformer by modeling tripartite relationships through a novel attention mechanism using Clifford algebra and tensor products. This architecture achieved a higher win rate than a relational Transformer baseline on a "bridge BoxWorld" environment designed to test logical reasoning capabilities.

Key insights

  • Explicitly incorporating higher-order (2-simplicial) relational inductive biases into Transformer architectures can improve performance on tasks requiring complex logical reasoning.
  • Concepts from pure mathematics, such as simplicial sets, geometric algebra (Clifford algebra), and linear logic, can provide effective blueprints for designing novel and stable neural network components.
  • Proper normalization strategies, like specific layer normalization placement, are critical for stabilizing the training of neural networks that involve higher-degree polynomial operations like the scalar triple product in 2-simplicial attention.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.