arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.20926cs.CG
收藏

通过δ-超几何性、超度量性和邻接连接揭示LLM嵌入的层次结构

Uncovering Hierarchical Structure in LLM Embeddings Using Geometric and Topological Measures

Georgia State University(佐治亚州立大学);Columbia University(哥伦比亚大学)

Prakash Chourasia, Sarwan Ali, Murray Patterson, Alex Zelikovsky

AI总结:

本文通过δ-超几何性、超度量性和邻接连接度量揭示LLM嵌入的层次结构,发现其超几何性和超度量性与机器学习任务性能相关。

摘要:

大型语言模型(LLM)的快速发展在各个领域取得了显著进展。本文介绍了一种新的方法,用于评估LLM嵌入在固有几何性质下的有效性。我们通过三个互补的度量标准δ-超几何性、超度量性和邻接连接来研究这些嵌入的结构特性。δ-超几何性是一种源自几何群论的度量,用于量化度量空间偏离树状结构的程度。相比之下,超度量性描述了严格层次结构,其中距离满足强三角不等式。而邻接连接则量化距离关系的树状性,但具体针对由邻接连接算法重建的树。通过使用这些度量标准分析LLM生成的嵌入,我们揭示了嵌入空间在多大程度上反映了潜在的层次或树状组织。我们的发现表明,LLM嵌入表现出不同程度的超几何性和超度量性,这与它们在底层机器学习任务中的表现相关联。

英文摘要:

The rapid advancement of large language models (LLMs) has driven major advances across scientific domains, yet the hierarchical, geometric, and topological structure of their embedding spaces remains poorly understood. In this work, we introduce a comprehensive framework for evaluating LLM embeddings through six complementary metrics that characterize hierarchy, geometry, and topology. Specifically, $δ$-hyperbolicity and ultrametricity quantify the degree of tree-like structure, while Neighbor Joining evaluates how well pairwise distances support hierarchical reconstruction. The Ollivier-Ricci curvature captures local geometric behavior, persistent homology measures multiscale topological stability, and fractal dimension estimates intrinsic complexity. Applying this framework to embeddings from multiple protein LLMs, we reveal how different models encode hierarchical relationships and structural organization. Evaluating the structure of these embeddings in the representation space helps improve geometry-aware model design. This is critical in domains such as bioinformatics and healthcare, where real-world hierarchical and relational structures matter. Our results demonstrate that geometric and topological analysis provides a guiding lens for understanding and potentially improving the representational quality of LLM embeddings.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑