arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.09937cs.CLcs.AIcs.ITcs.LGmath.IT
收藏

压缩线性地代表智能

Compression Represents Intelligence Linearly

Tencent(腾讯);The Hong Kong University of Science and Technology(香港科技大学)

Yuzhen Huang, Jinghan Zhang, Zifei Shan, Junxian He

AI总结:

本研究以31个公开大语言模型为对象,验证其压缩外部文本语料的能力与知识、编程、数学推理类智能的基准平均得分几乎线性相关,证实压缩效率可作为评估模型能力的可靠无监督指标。

摘要:

学界存在一种观点,即学会良好地压缩将催生智能。近期研究表明,语言建模等价于压缩,这为大语言模型(LLMs)的成功提供了颇具说服力的解释:更先进语言模型的开发本质上是在提升压缩能力,而压缩能力会促进智能。尽管相关讨论颇具吸引力,但目前几乎没有实证证据能证明压缩与智能之间的相互作用。在本研究中,我们将大语言模型视为数据压缩器,在大语言模型的语境下检验二者的关系。鉴于“智能”是抽象概念,我们采用下游基准测试的平均得分作为替代指标,具体针对与知识和常识、编程以及数学推理相关的智能。我们的研究整合了来自不同机构的31个公开大语言模型,覆盖12个基准测试。值得注意的是,我们发现大语言模型的智能——以平均基准得分为体现——与其压缩外部文本语料库的能力几乎呈线性相关。这些结果为“更优的压缩意味着更强的智能”这一观点提供了具体证据。此外,我们的研究结果表明,压缩效率作为一种从原始文本语料库中得出的无监督指标,可作为一种可靠的评估度量,与模型能力线性相关。我们开源了压缩数据集以及数据收集流程,以方便未来的研究人员合理评估压缩能力。

英文摘要:

There is a belief that learning to compress well will lead to intelligence. Recently, language modeling has been shown to be equivalent to compression, which offers a compelling rationale for the success of large language models (LLMs): the development of more advanced language models is essentially enhancing compression which facilitates intelligence. Despite such appealing discussions, little empirical evidence is present for the interplay between compression and intelligence. In this work, we examine their relationship in the context of LLMs, treating LLMs as data compressors. Given the abstract concept of "intelligence", we adopt the average downstream benchmark scores as a surrogate, specifically targeting intelligence related to knowledge and commonsense, coding, and mathematical reasoning. Across 12 benchmarks, our study brings together 31 public LLMs that originate from diverse organizations. Remarkably, we find that LLMs' intelligence -- reflected by average benchmark scores -- almost linearly correlates with their ability to compress external text corpora. These results provide concrete evidence supporting the belief that superior compression indicates greater intelligence. Furthermore, our findings suggest that compression efficiency, as an unsupervised metric derived from raw text corpora, serves as a reliable evaluation measure that is linearly associated with the model capabilities. We open-source our compression datasets as well as our data collection pipelines to facilitate future researchers to assess compression properly.

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

↑