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×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/k2. 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.
Figures & tables
Figure 1: Mean amplification. Adaptive optimizers such as Adam move every stored parameter by about the learning rate η per step. The logarithmic dials show how far one step moves the sum of a k×k kernel’s weights. Top: in the pixel basis, when input means give all k2 weights one gradient sign, every weight steps by +η and the sum moves k2η . Bottom: in the DCT basis, only the flat first basis kernel, whose entries are 1/k , changes the sum; its step of η moves it by kη . The kernel’s response to the input mean shifts k times as far in the pixel basis.
Figure 2: The maximal learning rate falls as 1/k2 in the pixel basis but only as 1/k in the DCT basis. (a) Largest constant learning rate up to which a super-resolution network trained with Adam ends within 0.5 dB of its best PSNR, against the kernel size k . The lines c/k2 and c/k , with c fitted to the measured points, have slopes −2 and −1 on these log–log axes. The gap between the two bases (shaded) widens with k : the DCT basis tolerates a 4 times larger rate than the pixel basis at 3×3 and a 16 times larger one at 17×17 (arrows). (b) Validation PSNR at k=17 for each constant rate, with the maximal rates from (a) dotted and values below 30 dB as open markers.
Model
Kernels
Norm
A
Mean-step ratio
ConvNeXt-T [ 50 ]
7×7 dw
LN
7
4.3
ConvNeXt V2-T [ 70 ]
7×7 dw
LN
7
4.6
ConvFormer-S18 [ 78 ]
7×7 dw
–
7
4.8
MambaOut-T [ 77 ]
7×7 dw
–
7
4.8
RDNet-T [ 41 ]
7×7 dw
LN
7
4.4
UniRepLKNet-T [ 23 ]
13×13 dw
BN
13
4.2
Table 1: Adam amplifies the kernel means of widely used models. Mean-step ratio: rms(e⊤Δw) over a layer’s kernels for one Adam-like step in the pixel basis, divided by that in the DCT basis, both from the same ImageNet gradients, averaged over layers. It equals A for gradients along e and about 1 for gradients with no preferred direction. Norm: normalization after the kernel (LN: layer normalization; –: none); dw: depthwise.
A
k=7
9
13
17
31
Bases
Pixel basis
k
30.51
30.53
30.52
30.40
29.94
Random rotation
≈0.8k
30.53
30.55
30.56
30.53
30.11
Mean-isolating, random
1
30.54
30.57
30.56
30.56
30.49
Mean-isolating, pixel-like
1
30.54
30.56
30.57
30.55
30.45
DCT basis
1
30.55
30.59
30.60
30.60
30.60
Table 2: No alternative matches the DCT basis at every kernel size. Urban100 PSNR (dB) of a ×2 super-resolution network with four k×k convolutions. Each entry is the mean of three runs at the best learning rate, and the standard deviation of the DCT basis is at most 0.05 dB. A : mean amplification; bold: column best.
Figure 3: The gain of DCT-Rep grows with the kernel size. (a) PSNR gain over the pixel basis in the SR network (Urban100, mean of three runs; shaded: ±1 standard error) and in NAFNet deblurring (mean over GoPro and HIDE images). (b) Share of Adam’s update energy on the mean direction in the SR network, against 1/k2 for a random direction.
Figure 4: The input mean and the optimizer control the gap. (a) Maximal rate against a constant input offset μ0 at k=9 . (b) Urban100 PSNR of each optimizer at its tuned rate, in the pixel basis (circles) and the DCT basis (squares).
k=9
k=17
τ ( 10−3 )
PSNR (dB)
τ ( 10−3 )
PSNR (dB)
Setting
Pixel
DCT
Pixel
DCT
Pixel
DCT
Pixel
DCT
No normalization
2
5.7
36.38
36.46
0.25
4
36.14
36.42
Centered inputs
1
5.7
36.41
36.45
0.35
5.7
35.99
36.44
BN
128
256
36.41
36.46
11.3
362
36.35
36.43
LN
2
1024
36.33
36.40
4
512
36.24
36.37
Table 3: BN lifts the maximal rate of the pixel basis far above practical rates; LN does not. Maximal rate τ and best DIV2K validation PSNR of the SR network, each setting after every body convolution; with BN, the 3×3 branch has BN on both paths.
Task, network and metric
Baseline
DCT-Rep
Δ
Image classification, ImageNet-1K top-1 (%)
ConvNeXt-T, each at its tuned rate
80.43
81.22
+0.79
ConvNeXt-T, both at 4×10−3
80.43
80.96
+0.53
ViT-S/16, each at its tuned rate
76.71
77.14
+0.43
ViT-S/16, both at 10−3
76.71
77.09
+0.38
Object detection, ConvNeXt-T backbone
Table 4: DCT-Rep improves large-kernel ConvNets and vision transformers across tasks. ConvNeXt-T with 31–29–27–13 kernels; detection and segmentation fine-tune its 4×10−3 backbones. ViT-S/16 trains only its patch embedding as DCT coefficients. Tuned rate: best on held-out training images. Each entry is the mean of three runs, with a standard deviation of at most 0.2 points. Bold: better of the two.
Test set
k=3
7
9
13
17
GoPro
+0.05
+0.03
+0.16
+0.29
+0.41
HIDE
+0.05
+0.11
+0.21
+0.25
+0.39
All 3,136 images
+0.05
+0.08
+0.20
+0.26
+0.40
Images better
72%
69%
90%
93%
96%
Table 5: The deblurring gain grows with the kernel size. Gain Δ (dB) of DCT-Rep over the pixel basis for NAFNet with k×k kernels, trained on GoPro. Images better: share of all 3,136 test images. Each entry is the mean of three runs, with a standard deviation of at most 0.03 dB.
PSNR (dB) at kernel size k
Training cost ( × )
Method
3
7
13
17
Time
Param.
Memory
Baseline (pixel basis)
30.23
30.51
30.52
30.40
1.0
1.00
1.0
Branches with BN
ACNet [ 18 ]
30.17
30.50
30.56
30.58
1.7
1.15
1.9
RepVGG-style [ 20 ]
30.15
30.47
30.55
30.50
1.4
1.01
1.6
DBB [ 19 ]
30.16
30.52
30.55
30.54
4.0
2.02
3.8
Table 6: DCT-Rep matches structural re-parameterizations at almost no extra training cost. Urban100 PSNR of the SR network, each method at its best rate on 100 DIV2K validation images, mean of three runs with a standard deviation of at most 0.02 dB for DCT-Rep; training cost relative to the baseline at k=9 and 17 (time per update, trained parameters, memory). Bold: column best. –: the method needs a kernel larger than 3×3 .
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
A
A1
Basis or technique
A
k=9
17
31
9
17
31
Pixel basis
k
9
17
31
8.02
15.3
27.9
Random rotation
≈0.8k
7.22
13.7
24.8
7.53
13.6
24.7
Center 3×3 branch
k+9/k
10.0
17.5
31.3
8.34
15.4
27.9
Fixed distance mask
∑pωp/k
2.30
2.67
2.94
1.77
2.02
2.18
Per-layer rate 3/k
3
3
3
3
2.67
2.70
2.70
Appendix
Table A1 : Amplification of the mean ( A ) and of the first DCT tilt ( A1 ) for the bases and per-tap learning rates of Tab. 2 .
ConvNeXt-T, base rate
2
4
8
16
Baseline
79.80
80.43
80.50
79.78
DCT-Rep
80.23
80.96
81.22
80.91
ViT-S/16, peak rate
1
2
4
Baseline
76.71
76.61
75.26
DCT-Rep (patch embedding)
77.09
77.14
75.74
Appendix
Table A2 : DCT-Rep is more accurate at every learning rate. ImageNet-1K top-1 accuracy (%) at each learning rate ( 10−3 ).
Figure A1 : On ImageNet, the pixel basis lets the kernel means drift. ConvNeXt-T on ImageNet-100 after 12 epochs at constant learning rates. Root mean square of the first-stage kernels’ means when both bases train the large kernels at four times the base rate.
Convolutional neural networks (CNNs) learn spatial and temporal patterns using shared filters, with applications from image recognition to scientific prediction.
Conventional convolutional kernels are typically defined on fixed discrete grids, limiting their ability to accommodate heterogeneous local structures. Existing adaptive operators improve flexibility but often couple geometric scale variation with content-dependent filtering, while incurring high computational cost from per-location kernel generation. To decouple geometric scale adaptation from content-dependent filtering while avoiding expensive per-location kernel generation, we propose Continuous Relative-scale KAN (Core-KAN), a relative-scale-conditioned continuous convolution operator. Core-KAN maps input features into a compact latent basis space and uses a lightweight scale controller to predict local scales relative to an exponential moving average reference. A KAN-based generator represents depth-wise kernel bases as continuous coordinate functions, allowing the operator to synthesize spatial filters at arbitrary resolutions rather than being confined to a fixed lattice. Instead of synthesizing independent kernels at every location, it constructs a compact bank of scale-conditioned kernel responses and interpolates them according to the predicted local scale map. An independent mixing controller further combines the interpolated basis responses based on local content, explicitly decoupling geometric scale adaptation from content-dependent filtering. Together with lightweight pointwise projections, this design forms a low-rank dynamic convolution that scales efficiently with kernel size and integrates readily into hierarchical vision backbones. Experiments across three representative vision tasks show Core-KAN consistently outperforms strong convolutional and dynamic-kernel baselines with only marginal parameter and computational overhead, offering an efficient, general framework for continuous, scale-adaptive convolution.
Lan Guo, Mengling Li, Haoran Li +4
School of Information Science and Engineering, Lanzhou University · Department of Data Science and AI, Monash University · School of Computing and Information Technology, University of Wollongong
We introduce CoLoRA (Convolutional Low-Rank Adaptation), a parameter-efficient fine-tuning method for convolutional neural networks (CNNs). CoLoRA extends LoRA to convolutional layers by decomposing kernel updates into lightweight depthwise and pointwise components. This design reduces the number of trainable convolutional-update parameters by over 80% compared with full convolutional fine-tuning, while allowing the learned updates to be merged into the pretrained convolutional kernels, thereby preserving the original model size and inference complexity. Experiments on MedMNIST datasets, particularly OCTMNISTv2, demonstrate that CoLoRA applied to VGG16 and ResNet50 achieves competitive classification performance while substantially reducing the number of trainable parameters. Comparisons with transfer learning, adapters, BitFit, and convolutional LoRA variants further characterize the trade-offs among predictive performance, trainable parameters, and training cost. Additional experiments on CIFAR-100 and Cats vs. Dogs provide preliminary evidence that the proposed adaptation strategy also transfers to non-medical image-classification tasks. Peak GPU-memory measurements further show that parameter efficiency does not translate directly into proportional training-memory savings, with memory consumption depending strongly on the placement of the adapted convolutional layers. Overall, CoLoRA provides a parameter-efficient and deployment-efficient alternative to full fine-tuning for convolutional models.
Mariano Rivera, Angello Hoyos
Centro de Investigación en Matemáticas, A.C. (CIMAT) Guanajuato, Guanajuato 36023, México
Adaptive optimizers such as Adam are standard for training Transformers, but storing gradient first and second moments incurs substantial memory overhead. We introduce PowerStep, a memory-efficient optimizer that achieves coordinate-wise adaptivity without storing second-moment statistics. Motivated by ℓp-norm steepest descent, PowerStep applies a signed-power transform directly to one momentum buffer. We establish a finite-horizon stationarity bound for exact, unregularized updates, with an O(1/T) term and a noise-dependent residual. Experiments on Transformers from 124M to 235B parameters show competitive validation quality while halving fp32 optimizer-state memory relative to AdamW. Combined with uniform int8 quantization, PowerStep remains numerically stable and reduces optimizer-state memory by ∼8× compared to fp32 AdamW. PowerStep thus provides a simple, memory-efficient alternative for large-scale training.