mlsanityData to 7 Oct 2026

An Algorithm for Routing Vectors in Sequences

arXiv 2211.11754 ↗First posted 20 Nov 2022cs.LG cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 14 of its 19 references that are in the map. First posted on arXiv 20 Nov 2022.

Builds on

14 of 19 references.

References · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  4. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
  5. 2017Dynamic Routing Between Capsulescited by 689
  6. 2019Deep Equilibrium Modelscited by 603
  7. 2020Hopfield Networks is All You Needcited by 461
  8. 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 110
  9. 2019DeepCaps: Going Deeper with Capsule Networkscited by 42
  10. 2019Capsule Routing via Variational Bayescited by 32
  11. 2020Capsules with Inverted Dot-Product Attention Routingcited by 25
  12. 2019Dynamic Layer Aggregation for Neural Machine Translation with Routing-by-Agreementcited by 11
2 more
  1. 2018Fast Dynamic Routing Based on Weighted Kernel Density Estimationcited by 8
  2. 2019An Algorithm for Routing Capsules in All Domainscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 1; 2025: 2; 2026: 1.

7 papers.