Aligned at the Start: Conceptual Groupings in LLM Embeddings
Lists
Only you see this
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.
BibTeX
@misc{khatir2024aligned,
author = {Mehrdad Khatir and Sanchit Kabra and Chandan K. Reddy},
title = {{Aligned at the Start: Conceptual Groupings in LLM Embeddings}},
year = {2024},
eprint = {2406.05315},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2406.05315},
}