SOTAVerified

An Algorithm for Routing Vectors in Sequences

2022-11-20Code Available0· sign in to hype

Franz A. Heinsen

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

We propose a routing algorithm that takes a sequence of vectors and computes a new sequence with specified length and vector size. Each output vector maximizes "bang per bit," the difference between a net benefit to use and net cost to ignore data, by better predicting the input vectors. We describe output vectors as geometric objects, as latent variables that assign credit, as query states in a model of associative memory, and as agents in a model of a Society of Mind. We implement the algorithm with optimizations that reduce parameter count, computation, and memory use by orders of magnitude, enabling us to route sequences of greater length than previously possible. We evaluate our implementation on natural language and visual classification tasks, obtaining competitive or state-of-the-art accuracy and end-to-end credit assignments that are interpretable.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CIFAR-10Heinsen Routing + BEiT-large 16 224Percentage correct99.2Unverified
CIFAR-100Heinsen Routing + BEiT-large 16 224Percentage correct93.8Unverified
ImageNetHeinsen Routing + BEiT-large 16 224Top 1 Accuracy86.7Unverified

Reproductions