19 experiments
Novel LLM architectures
- Question
- Every modern language model compares words with a dot product. Is that the best way to route information, or only the most obvious one? Seven rounds tested spectral representations, Hopfield memory theory, p-adic geometry, Fourier Neural Operators and Grassmannian similarity.
- Finding
- Standard attention has a sharp failure point. When the number of items to retrieve approaches the embedding dimension (d/N = 1), accuracy drops from about 100% to about 20% in a single step. Comparing subspaces instead of single vectors (Grassmannian attention) reaches 97.3% where standard attention gets 19.1%, and moves the boundary out at least twice as far. A version with identical Q/K parameter counts confirms the gain comes from the geometry.
- Scope
- A side thread pinned down a likely mechanism for hallucination, where similar keys blend their values together. The ideas that failed are written up as carefully as the one that worked.
Python · PyTorch
View the repo on GitHub →