Finetuning can be used to tackle domain-specific tasks by transferring knowledge. Previous studies on finetuning focused on adapting only the weights of a task-specific classifier or re-optimizing all layers of the pre-trained model using the new task data. The first type of methods cannot mitigate the mismatch between a pre-trained model and the new task data, and the second type of methods easily cause over-fitting when processing tasks with limited data. To explore the effectiveness of fine-tuning, we propose a novel block-wise optimization mechanism, which adapts the weights of a group of layers of a pre-trained model. In our work, the layer selection can be done in four different ways. The first is layer-wise adaptation, which aims to search for the most salient single layer according to the classification performance. The second way is based on the first one, jointly adapting a small number of top-ranked layers instead of using an individual layer. The third is block based segmentation, where the layers of a deep network is segmented into blocks by non-weighting layers, such as the MaxPooling layer and Activation layer. The last one is to use a fixed-length sliding window to group layers block by block. To identify which group of layers is the most suitable for finetuning, the search starts from the target end and is conducted by freezing other layers excluding the selected layers and the classification layers. The most salient group of layers is determined in terms of classification performance. In our experiments, the proposed approaches are tested on an often-used dataset, Tf_flower, by finetuning five typical pre-trained models, VGG16, MobileNet-v1, MobileNet-v2, MobileNet-v3, and ResNet50v2, respectively. The obtained results show that the use of our proposed block-wise approaches can achieve better performances than the two baseline methods and the layer-wise method.
Decoupling Dark Knowledge via Block-wise Logit Distillation for Feature-level Alignment
College of Information Science and Electronic Engineering, Zhejiang University(浙江大学信息与电子工程学院);ZJU-UIUC Institute, Zhejiang University(浙江大学-伊利诺伊大学厄巴纳-香槟分校联合学院)
ABCP: Automatic Block-wise and Channel-wise Network Pruning via Joint Search
Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Mechanical Engineering, Beijing Institute of Technology(北京理工大学机械与车辆学院);University of Chinese Academy of Sciences(中国科学院大学);College of Engineering and Computer Science, Australian National University(澳大利亚国立大学工程与计算机科学学院)
Robust Audio Tagging under Class-wise Supervision Unreliability
Machine Learning Research Group, Engineering Science, University of Oxford(牛津大学机器学习研究组);GISP, Harbin Engineering University(哈尔滨工程大学GISP);EECS, KTH Royal Institute of Technology(皇家理工学院电子工程与计算机科学系);CVSSP, University of Surrey(萨里大学计算机视觉与模式识别实验室)
University of Chinese Academy of Sciences(中国科学院大学);Sensetime Research Institute(商汤研究院);CAS Center for Excellence in Brain Science and Intelligence Technology(中国科学院脑科学与智能技术卓越创新中心)
University of Chinese Academy of Sciences(中国科学院大学);SenseTime Research(商汤科技研究院);CAS Center for Excellence of Brain Science and Intelligence Technology(中国科学院脑科学与智能技术卓越创新中心)
DepCap: Adaptive Block-Wise Parallel Decoding for Efficient Diffusion LM Inference
University of Science and Technology of China(中国科学技术大学);Institute of Artificial Intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院)
DECA: Decentralizing Block-Wise Adam for Efficient LLM Full-Parameter Fine-Tuning on Non-IID Data
School of Computer Science and Technology, Shandong University, Qingdao China(山东大学计算机科学与技术学院,青岛中国);School of Mathematical Science, Peking University, China(北京大学数学科学学院,中国);IEIT SYSTEM, China(IEIT SYSTEM,中国);School of Computer Science and Artificial Intelligence, Shanghai University of Finance and Economics, Shanghai, China(上海财经大学计算机科学与人工智能学院,上海中国);College of Computing and Data Science, Nanyang Technological University, Singapore(南洋理工大学计算与数据科学学院,新加坡)
Efficient ANN-Guided Distillation: Aligning Rate-based Features of Spiking Neural Networks through Hybrid Block-wise Replacement
ZJU-UIUC Institute, Zhejiang University(浙江大学ZJU-UIUC联合学院);College of Information Science and Electronic Engineering, Zhejiang University(浙江大学信息科学与电子工程学院)
Multi-task Learning for Heterogeneous Multi-source Block-Wise Missing Data
School of Statistics and Data Science, Shanghai University of Finance and Economics(上海财经大学统计与数据科学学院);Department of Statistics and Data Science, Carnegie Mellon University(卡内基梅隆大学统计与数据科学系);Department of Statistics, University of California, Irvine(加州大学 Irvine 分校统计系)
LoPRo: Enhancing Low-Rank Quantization via Permuted Block-Wise Rotation
Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Beijing University of Aeronautics and Astronautics(北京航空航天大学)
Component-Wise Natural Gradient Descent -- An Efficient Neural Network Optimization
The University of Tokyo(东京大学)
自然梯度下降(NGD)是一种二阶神经网络训练,它以Fisher信息矩阵(Fisher Information Matrix,简称FMM)的逆作为梯度下降的先决条件。虽然NGD提供了一个有效的预条件,它是不切实际的,由于昂贵的计算时,需要反转的的矩阵。本文提出了一种新的NGD变体算法--顺向自然梯度下降算法(CW-NGD)。CW-NGD由两个步骤组成。类似于几个现有的作品,第一步是考虑作为一个块对角矩阵,其对角块对应于每层的权重的平方的矩阵。在第二步中,独特的CW-NGD,我们分析层的结构,并进一步分解层的分支成更小的段,其导数近似独立。因此,各个层的FIM以块对角形式近似,该块对角形式简单地支持反演。段分解策略因层结构而异。具体来说,我们分析了密集层和卷积层,并适当地设计了它们的分解策略。在训练包含这两种类型层的网络的实验中,我们凭经验证明,与最先进的一阶和二阶方法相比,CW-NGD需要更少的迭代来收敛。