Why Adaptive Optimizers Struggle with Large Convolution Kernels
Tianyu Ding, Jiachen Jiang, Jinxin Zhou, Yong Ma, Zhihui Zhu, Luming Liang
Abstract
Large convolution kernels enlarge the receptive fields of ConvNets at a modest computational cost, but they are notoriously difficult to train. Existing large-kernel networks therefore rely on costly training techniques, such as parallel small-kernel branches with batch normalization. In this paper, we trace this difficulty to adaptive optimizers such as Adam, which normalize the update of every weight separately. Since input features rarely average to zero, all weights of a kernel share a common gradient, and these optimizers move the mean of a kernel times as far as a single parameter. We find this mean amplification in widely used ConvNets and vision transformers, and show that it can force the maximal learning rate to fall as . We further prove that the basis of the discrete cosine transform (DCT) isolates the mean and is the only orthonormal basis that diagonalizes every stationary gradient statistic with mirrored boundaries. We therefore train large kernels through their DCT coefficients and convert them back after training. The resulting method, DCT-Rep, requires only a few lines of code and adds no parameters, no inference cost and negligible training overhead. Extensive experiments on image classification, object detection, semantic segmentation and image restoration show that DCT-Rep consistently improves large-kernel ConvNets and vision transformers, by top-1 accuracy for a large-kernel ConvNeXt-T and for ViT-S/16 on ImageNet-1K, box AP on COCO, mIoU on ADE20K and up to dB on image deblurring, where the gain grows with the kernel size.
Create a lesson
Related papers
PartPO: Part-Level Policy Optimization for Shape-to-Program Generation
Shared title terminology · Hannuo Zhang, Zhixiang Chi, Xuanchen Li et al.
SENSA: Visual-to-Brain Generation with Individualized Subject-State Transfer and Adaptation
Shared title terminology · Yihang Zou, Chunmei Qing, Ruixi Liang et al.
MQCODet: Modality Quality-Guided Collaborative Optimization for UAV-Based RGB-T Tiny Pedestrian Detection
Shared title terminology · Hui Li, Jianbo Ma, Hui Luo et al.
PointNeXt Adapter Improved Model for BIM Component Defect Association under Construction Images and Design Model Attributes
Shared title terminology · Na Yu
Learning Optical Flow with Task-Oriented Feature Adaptation
Shared title terminology · Mengtan Zhang, Dazhong Wang, Haoran Zhang et al.
Dynamic Spectrum Re-parameterized Convolution for Cost-free Image Enhancement
Shared title terminology · Zhiyan Zhou, Hailong Yan, Hanlin Liu et al.