arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.19358cs.CLcs.AIcs.LG
收藏

稳定的各向异性正则化

Stable Anisotropic Regularization

Brown University(布朗大学);University of Tübingen(蒂宾根大学)

William Rudman, Carsten Eickhoff

AI总结:

本文提出基于精确可微且稳定的各向同性度量 IsoScore* 的正则化方法 I-STAR,发现降低上下文化嵌入的各向同性反而能提升多数任务和模型的性能。

摘要:

鉴于大语言模型(LLMs)的成功,人们对研究模型激活的性质产生了相当大的兴趣。文献普遍认为,LLM 表示由少数具有极高方差和幅度的“离群维度”主导。自然语言处理(NLP)中的多项研究试图减轻此类离群维度的影响,并迫使 LLM 具有各向同性(即在嵌入空间中的所有维度上具有均匀方差)。各向同性被认为是 LLM 的理想性质,可以提高模型性能,并使文本表示更接近人类直觉。然而,NLP 中关于各向同性的许多主张都基于嵌入的平均余弦相似度,而最近的研究表明,平均余弦相似度是一种有缺陷的各向同性度量。在本文中,我们提出了 I-STAR:基于 IsoScore* 的稳定各向异性正则化(IsoScore*-based STable Anisotropic Regularization),这是一种新颖的正则化方法,可用于在训练期间增加或减少嵌入空间中的各向同性水平。I-STAR 使用 IsoScore*,这是第一个既可在小批量计算上微分又稳定的精确各向同性度量。与之前的几项工作相比,我们发现降低上下文化嵌入中的各向同性水平可以提高本文所考虑的大多数任务和模型的性能。

英文摘要:

Given the success of Large Language Models (LLMs), there has been considerable interest in studying the properties of model activations. The literature overwhelmingly agrees that LLM representations are dominated by a few "outlier dimensions" with exceedingly high variance and magnitude. Several studies in Natural Language Processing (NLP) have sought to mitigate the impact of such outlier dimensions and force LLMs to be isotropic (i.e., have uniform variance across all dimensions in embedding space). Isotropy is thought to be a desirable property for LLMs that improves model performance and more closely aligns textual representations with human intuition. However, many of the claims regarding isotropy in NLP have been based on the average cosine similarity of embeddings, which has recently been shown to be a flawed measure of isotropy. In this paper, we propose I-STAR: IsoScore*-based STable Anisotropic Regularization, a novel regularization method that can be used to increase or decrease levels of isotropy in embedding space during training. I-STAR uses IsoScore*, the first accurate measure of isotropy that is both differentiable and stable on mini-batch computations. In contrast to several previous works, we find that decreasing isotropy in contextualized embeddings improves performance on the majority of tasks and models considered in this paper.

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

↑