Lune

NeurIPS2024顶会

Linguistic Collapse: Neural Collapse in (Large) Language Models

Robert Wu, Vardan Papyan

2024年份
45被引次数
16顶会引用

摘要

Neural collapse (NC\mathcal{NC}) is a phenomenon observed in classification tasks where top-layer representations collapse into their class means, which become equinorm, equiangular and aligned with the classifiers. These behaviours -- associated with generalization and robustness -- would manifest under specific conditions: models are trained towards zero loss, with noise-free labels belonging to balanced classes, which do not outnumber the model's hidden dimension. Recent studies have explored NC\mathcal{NC} in the absence of one or more of these conditions to extend and capitalize on the associated benefits of ideal geometries. Language modelling presents a curious frontier, as training by token prediction constitutes a classification task where none of the conditions exist: the vocabulary is imbalanced and exceeds the embedding dimension; different tokens might correspond to similar contextual embeddings; and large language models (LLMs) in particular are typically only trained for a few epochs. This paper empirically investigates the impact of scaling the architectures and training of causal language models (CLMs) on their progression towards NC\mathcal{NC}. We find that NC\mathcal{NC} properties that develop with scale (and regularization) are linked to generalization. Moreover, there is evidence of some relationship between NC\mathcal{NC} and generalization independent of scale. Our work thereby underscores the generality of NC\mathcal{NC} as it extends to the novel and more challenging setting of language modelling. Downstream, we seek to inspire further research on the phenomenon to deepen our understanding of LLMs -- and neural networks at large -- and improve existing architectures based on NC\mathcal{NC}-related properties. Our code is hosted on GitHub at https://github.com/rhubarbwu/linguistic-collapse .

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext 1b8b3fea-c76a-4e86-8a4d-600f90cfac30

引用它的顶会 Paper16

问问它们各自怎么用它

它引用的顶会 Paper38

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖