跳到正文
arXiv (AI + Vision + Imaging)· Tianyu Ding, Jiachen Jiang, Jinxin Zhou, Yong Ma, Zhihui Zhu, Luming Liang·· 1 天前AI 评分30

为什么自适应优化器难以训练大卷积核:DCT-Rep 用 DCT 系数训练大核

Why Adaptive Optimizers Struggle with Large Convolution Kernels

AI 导读

研究将大卷积核难训练归因于 Adam 等自适应优化器逐权重归一化更新,使 k×k 核的均值被放大约 k 倍,最大学习率被迫按 1/k² 下降。为此提出 DCT-Rep,通过 DCT 系数训练大核、训练后转换回原空间,仅需几行代码且不增参数与推理成本。

正文 · 原文

arXiv:2611.29232v1 Announce Type: new 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 $k\times k$ kernel $k$ 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 $1/k^2$. 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 $+0.79\%$ top-1 accuracy for a large-kernel ConvNeXt-T and $+0.43\%$ for ViT-S/16 on ImageNet-1K, $+1.4$ box AP on COCO, $+1.2$ mIoU on ADE20K and up to $+0.4$ dB on image deblurring, where the gain grows with the kernel size.

来源:arXiv (AI + Vision + Imaging) · arxiv.org