arXiv · 2311.09387
Banach-Tarski Embeddings and Transformers
Abstract
We introduce a new construction of embeddings of arbitrary recursive data structures into high dimensional vectors. These embeddings provide an interpretable model for the latent state vectors of transformers. We demonstrate that these embeddings can be decoded to the original data structure when the embedding dimension is sufficiently large. This decoding algorithm has a natural implementation as a transformer. We also show that these embedding vectors can be manipulated directly to perform computations on the underlying data without decoding. As an example we present an algorithm that constructs the embedded parse tree of an embedded token sequence using only vector operations in embedding space.
Explore related subjects
Keep this discovery
Joshua Maher. 2023-11-15. Banach-Tarski Embeddings and Transformers. https://arxiv.org/abs/2311.09387
Cite the original work for its findings. Save a collection to share your selection of sources.