DOCS: Quantifying Weight Similarity for Deeper Insights into Large Language Models
Not on the map. Why?
Abstract (arXiv)
We introduce a novel index, the Distribution of Cosine Similarity (DOCS), for quantitatively assessing the similarity between weight matrices in Large Language Models (LLMs), aiming to facilitate the analysis of their complex architectures. Leveraging DOCS, our analysis uncovers intriguing patterns in the latest open-source LLMs: adjacent layers frequently exhibit high weight similarity and tend to form clusters, suggesting depth-wise functional specialization. Additionally, we prove that DOCS is theoretically effective in quantifying similarity for orthogonal matrices, a crucial aspect given the prevalence of orthogonal initializations in LLMs. This research contributes to a deeper understanding of LLM architecture and behavior, offering tools with potential implications for developing more efficient and interpretable models.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 28 Jan 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026Low-Rank Adaptation Redux for Large Modelscited by 3
- 2025Addressing the Collaboration Dilemma in Low-Data Federated Learning via Transient Sparsitycited by 0
- 2026Why Geometric Continuity Emerges in Deep Neural Networks: Residual Connections and Rotational Symmetry Breakingcited by 0
- 2026Gradient-free Task-Conditioned Retrieval for On-Device In-Context Learningcited by 0
- 2026Gradient-free Task-Conditioned Retrieval for On-Device In-Context Learning30 Jul 2026
- 2026Why Geometric Continuity Emerges in Deep Neural Networks: Residual Connections and Rotational Symmetry Breaking6 May 2026
- 2026Low-Rank Adaptation Redux for Large Models23 Apr 2026
- 2025Addressing the Collaboration Dilemma in Low-Data Federated Learning via Transient Sparsity1 Jun 2025