arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.17173stat.MLcs.LG
收藏

大型语言模型的非空洞泛化界

Non-Vacuous Generalization Bounds for Large Language Models

New York University(纽约大学);Carnegie Mellon University(卡内基梅隆大学)

Sanae Lotfi, Marc Finzi, Yilun Kuang, Tim G. J. Rudner, Micah Goldblum, Andrew Gordon Wilson

AI总结:

本研究为大型语言模型提供了首个非空洞泛化界,通过SubLoRA低维参数化实现极端压缩,证明更大模型泛化更好且更可压缩。

摘要:

现代语言模型可以包含数十亿个参数,这引发了它们能否在训练数据之外进行泛化,还是仅仅重复训练语料库的问题。我们为预训练的大型语言模型(LLMs)提供了首个非空洞泛化界,表明语言模型能够发现泛化到未见数据的规律性。特别是,我们利用预测平滑推导了一个适用于无界对数似然损失的压缩界,并将该界扩展到处理子采样,在大型数据集上将界计算加速了数个数量级。为了实现非空洞界所需的极端压缩水平,我们设计了SubLoRA,一种简单的低维非线性参数化,它为拥有近十亿参数的模型带来了非空洞泛化界。最后,我们利用我们的界来理解LLM的泛化,发现更大的模型具有更好的泛化界,并且比更小的模型更可压缩。

英文摘要:

Modern language models can contain billions of parameters, raising the question of whether they can generalize beyond the training data or simply parrot their training corpora. We provide the first non-vacuous generalization bounds for pretrained large language models (LLMs), indicating that language models are capable of discovering regularities that generalize to unseen data. In particular, we derive a compression bound that is valid for the unbounded log-likelihood loss using prediction smoothing, and we extend the bound to handle subsampling, accelerating bound computation by orders of magnitude on massive datasets. To achieve the extreme level of compression required for non-vacuous bounds, we devise SubLoRA, a simple low-dimensional nonlinear parameterization that leads to non-vacuous generalization bounds for models with nearly a billion parameters. Finally, we use our bounds to understand LLM generalization and find that larger models have better generalization bounds and are more compressible than smaller models.

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

↑