Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

An Algorithm for Routing Vectors in Sequences

About

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.

Franz A. Heinsen• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10
Accuracy99.2
507
Text ClassificationSST-2
Accuracy96
121
Text ClassificationIMDB
Accuracy96.2
107
Text ClassificationSST-5
Accuracy59.8
24
Image ClassificationImageNet-1K @ 224x224
Top-1 Accuracy86.7
1
Showing 5 of 5 rows

Other info

Code

Follow for update