arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.00359cs.LGstat.ML
收藏

小型ReLU网络下加法式微调的记忆容量

Memorization Capacity for Additive Fine-Tuning with Small ReLU Networks

Yonsei University(延世大学);University of Seoul(首尔大学);Korea Institute for Advanced Study(韩国高等研究院);University of Wisconsin-Madison(威斯康星大学麦迪逊分校)

Jy-yong Sohn, Dohyun Kwon, Seoyeon An, Kangwook Lee

AI总结:

该研究提出微调容量(FTC)度量,分析小型ReLU网络加法式微调的记忆容量,得到2层、3层网络的紧上下界,拓展了记忆容量概念的应用场景。

摘要:

微调大型预训练模型是机器学习应用中的常见做法,但其数学分析在很大程度上仍未被探索。本文从记忆容量的视角研究微调问题。我们提出的新度量指标——微调容量(Fine-Tuning Capacity,FTC),被定义为神经网络可微调的最大样本数,等价于在微调过程涉及的K个样本中任意改变N个标签所需的最少神经元数量(m)。本质上,FTC将记忆容量概念拓展到了微调场景。我们针对加法式微调场景分析FTC,该场景下微调后的网络由冻结的预训练网络f与专为微调设计的(含m个神经元的)神经网络g相加构成。当g为2层或3层ReLU网络时,我们得到了FTC的紧上下界;研究表明,无论K多大,2层网络可用m=Θ(N)个神经元微调N个样本,3层网络则可用m=Θ(√N)个神经元完成。当N=K时,我们的结果可复现已知的记忆容量结论,作为其特例。

英文摘要:

Fine-tuning large pre-trained models is a common practice in machine learning applications, yet its mathematical analysis remains largely unexplored. In this paper, we study fine-tuning through the lens of memorization capacity. Our new measure, the Fine-Tuning Capacity (FTC), is defined as the maximum number of samples a neural network can fine-tune, or equivalently, as the minimum number of neurons ($m$) needed to arbitrarily change $N$ labels among $K$ samples considered in the fine-tuning process. In essence, FTC extends the memorization capacity concept to the fine-tuning scenario. We analyze FTC for the additive fine-tuning scenario where the fine-tuned network is defined as the summation of the frozen pre-trained network $f$ and a neural network $g$ (with $m$ neurons) designed for fine-tuning. When $g$ is a ReLU network with either 2 or 3 layers, we obtain tight upper and lower bounds on FTC; we show that $N$ samples can be fine-tuned with $m=Θ(N)$ neurons for 2-layer networks, and with $m=Θ(\sqrt{N})$ neurons for 3-layer networks, no matter how large $K$ is. Our results recover the known memorization capacity results when $N = K$ as a special case.

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

↑