Geometric Factual Recall in Transformers
Read the original on arXiv Computation and Language →The paper investigates how transformer language models store factual associations, proposing a geometric memorization framework where embeddings encode relational structure and a small MLP functions as a selector. In a controlled experiment, a single‑layer transformer can memorize random bijections between subjects and attributes using only a logarithmic embedding dimension, with subject embeddings representing linear superpositions of attribute vectors. The authors extend this to multi‑hop relational queries, demonstrating a capacity–depth tradeoff and providing both theoretical proofs and empirical evidence that the MLP learns a generic selection mechanism rather than acting as a key‑value memory.
Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Computation and Language.