Papers

DCT-Rep:用离散余弦变换系数训练大卷积核网络

Why Adaptive Optimizers Struggle with Large Convolution Kernels

Why we picked it

训练大核网络总得配一堆小核分支加 BN?这篇论文找到了病根:Adam 会把核的均值放大 k 倍。改用 DCT 系数训练几行代码就能修,ConvNeXt-T 涨 0.79%,做视觉架构的人应该看看推导。

一篇新论文指出,大卷积核 ConvNets 难以训练的根源在于 Adam 等自适应优化器对每个权重单独归一化更新。由于输入特征的均值很少为零,k×k 卷积核的所有权重共享一个共同梯度分量,导致优化器把核的均值放大 k 倍移动,迫使最大学习率按 1/k² 下降。

Body

作者证明了离散余弦变换(DCT)基是唯一能隔离均值、且在镜像边界下对角化所有平稳梯度统计的正交归一基。据此提出的 DCT-Rep 方法在训练时通过 DCT 系数优化大核、训练后再转换回来,只需几行代码,不增加参数、无推理开销、训练开销可忽略。

实验覆盖图像分类、检测、分割与图像复原:ImageNet-1K 上大核 ConvNeXt-T 提升 +0.79% top-1,ViT-S/16 提升 +0.43%;COCO 检测 +1.4 box AP,ADE20K 分割 +1.2 mIoU,图像去模糊最高 +0.4 dB,且增益随核尺寸增大。

Original · arXiv cs.LG

Why Adaptive Optimizers Struggle with Large Convolution Kernels

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.

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include DCT-Rep, ConvNeXt, papers, ViT.

Source attribution: curated from arXiv cs.LG (@Tianyu Ding, Jiachen Jiang, Jinxin Zhou, Yong Ma, Zhihui Zhu, Luming Liang).