AI doesn't just learn words - it builds entire geometric worlds.
Turns out, AI thinks in shapes - from tiny crystals to whole galaxies
LLM's internal concepts form geometric patterns similar to human brain's organization.
And LLMs organize knowledge in three-tiered architecture: atomic, neural, and cosmic scales
π https://arxiv.org/abs/2410.19750
π― Original Problem:
Sparse autoencoders (SAE) have discovered interpretable features in LLMs, but we don't understand how these features are organized in the high-dimensional space and what patterns they form.
-----
π§ Solution in this Paper:
β Analyzed SAE feature space at three distinct scales:
- Atomic scale: Studied parallelogram/trapezoid structures (like man:woman::king:queen)
- Brain scale: Identified functional "lobes" where similar features cluster
- Galaxy scale: Examined large-scale point cloud structure
β Used Linear Discriminant Analysis (LDA) to remove "distractor features"
β Applied multiple statistical tests and metrics:
- Phi coefficient for functional clustering
- k-NN entropy estimation
- Mutual information metrics
-----
π‘ Key Insights:
β SAE features form crystal-like structures at small scales, but these are hidden by irrelevant dimensions
β Features that fire together in documents are geometrically co-located, forming brain-like functional lobes
β Middle layers show steeper power-law slopes (-0.47) compared to early/late layers (-0.24/-0.25)
β Found distinct lobes for code/math, short messages/dialogue, and scientific papers
-----
π Results:
β LDA significantly improved parallelogram/trapezoid structure quality
β Phi coefficient showed best correspondence between functional and geometric clustering
β Middle layers demonstrated reduced clustering entropy, suggesting more concentrated feature representation
β Statistical significance: 954Ο for mutual information, 74Ο for logistic regression tests










