arXiv · 2406.05315
Aligned at the Start: Conceptual Groupings in LLM Embeddings
Abstract
This paper shifts focus to the often-overlooked input embeddings - the initial representations fed into transformer blocks. Using fuzzy graph, k-nearest neighbor (k-NN), and community detection, we analyze embeddings from diverse LLMs, finding significant categorical community structure aligned with predefined concepts and categories aligned with humans. We observe these groupings exhibit within-cluster organization (such as hierarchies, topological ordering, etc.), hypothesizing a fundamental structure that precedes contextual processing. To further investigate the conceptual nature of these groupings, we explore cross-model alignments across different LLM categories within their input embeddings, observing a medium to high degree of alignment. Furthermore, provide evidence that manipulating these groupings can play a functional role in mitigating ethnicity bias in LLM tasks.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Mehrdad Khatir, Sanchit Kabra, Chandan K. Reddy. 2024-06-08. Aligned at the Start: Conceptual Groupings in LLM Embeddings. https://arxiv.org/abs/2406.05315
Cite the original work for its findings. Save a collection to share your selection of sources.