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.
On the Optimal Memorization Power of ReLU Neural Networks
Weizmann Institute of Science(魏茨曼科学研究所)
我们研究了前馈ReLU神经网络的记忆能力。我们表明,这样的网络可以记住任何$N$点,满足一个温和的可分性假设使用$\tilde{O}\left(\sqrt{N}\right)$参数。已知的VC维上界意味着记忆$N$样本需要$Ω(\sqrt{N})$参数,因此我们的构造是最佳的对数因子。我们还给出了一个广义的网络结构的深度有界的$1 \leq L \leq \sqrt{N}$,记忆$N$样本使用$\tilde{O}(N/L)$参数。这个界限也是最佳的对数因子。我们的构造使用具有大比特复杂度的权重。我们证明,有这样一个大的位复杂度是必要的和足够的记忆与一个次线性数量的参数。
Memorization capacity of deep ReLU neural networks characterized by width and depth
School of Mathematics (Zhuhai), Sun Yat-sen University, Zhuhai, China(中山大学数学学院(珠海)、中山大学珠海校区,中国);School of Mathematics (Zhuhai) and Guangdong Province Key Laboratory of Computational Science, Sun Yat-sen University, Zhuhai, China(中山大学数学学院(珠海)和广东省计算科学重点实验室,中山大学珠海校区,中国)
How (Implicit) Regularization of ReLU Neural Networks Characterizes the Learned Function -- Part II: the Multi-D Case of Two Layers with Random First Layer
ETH Z\"urich, D-Math, R\"amistrasse 101, CH-8092 Z\"urich, Switzerland
Tackling Noisy Labels with Network Parameter Additive Decomposition
National University of Defense Technology(国防科技大学);University of Sydney(悉尼大学);Beihang University(北京航空航天大学);University of Science and Technology of China(中国科学技术大学);Hong Kong Baptist University(香港浸会大学)
Transfer Learning in Nonparametric Regression with Deep ReLU Networks
University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Washington University in St. Louis(圣路易斯华盛顿大学);Hong Kong University of Science and Technology(香港科技大学)
Applicability of memorization indicators for early spotting of overfitting while recalibrating sEMG-decoders on low sample sizes
German Aerospace Center (DLR), Institute for AI Safety and Security(德国航空航天中心(DLR),人工智能安全与安全研究所);Faculty of Electrical Engineering and Information Technology, Ruhr University Bochum(波鸿鲁尔大学电气工程与信息技术学院);Institute for Neural Computation, Ruhr University Bochum(波鸿鲁尔大学神经计算研究所);Institute of Computer Science, Ruhr West University of Applied Science(鲁尔西部应用科学大学计算机科学研究所)