arXiv AI By Nishit Singh

Emergent Ordinal Geometry in Transformers Trained on Local Comparisons

Read the original on arXiv AI →

arXiv:2606. 01269v1 Announce Type: new Abstract: Transitive inference is the challenge of inferring that A < C from knowing only adjacent relations (A < B, B < C).

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 AI.

arXiv Computation and Language
4d ago

Geometric Factual Recall in Transformers

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.

By Shauli Ravfogel, Gilad Yehudai, Joan Bruna, Alberto Bietti