Convolution Types
Variants of convolution: depthwise separable, dilated, deformable, transposed, and more.
CondConvCondConv gives a single convolutional layer several kernels (experts), combines them with weights computed per input by a Sigmoid, and then convolves only once. It increases model capacity with almost no increase in inference cost, and improved ImageNet accuracy for models such as EfficientNet-B0.
Deformable ConvolutionDeformable convolution is a convolution that shifts the positions at which the kernel reads its input by offsets computed from the input. It can adapt the receptive field to the size and shape of objects, improving accuracy in object detection and segmentation with only a small number of additional parameters.
Depthwise Separable ConvolutionDepthwise separable convolution splits a standard convolution into two stages, one that convolves each channel only spatially and one that mixes channels with a 1×1 convolution, reducing parameters and computation to roughly 1/8–1/9.
Dilated Convolution (Atrous Convolution)Dilated convolution (also called atrous convolution) applies the kernel weights to input positions spaced apart, enlarging the receptive field without changing the number of weights or the resolution. Stacking layers with dilation rates that double each time grows the receptive field exponentially, which makes it a standard tool for per-pixel prediction such as semantic segmentation.
Dynamic ConvolutionDynamic convolution gives a single layer K kernels, sums them with per-input attention weights computed by a temperature-scaled Softmax (summing to 1), and then convolves only once. At the cost of about 4% more computation, it raised the ImageNet top-1 accuracy of MobileNetV2 and V3 by 2.9 to 5.6 points.
Grouped ConvolutionGrouped convolution splits the input and output channels into g groups and convolves only within each group, reducing parameters and computation to 1/g. It was used in AlexNet to split the network across two GPUs, and in ResNeXt it became a way to raise accuracy at the same computational cost.
Octave Convolution (OctConv)Octave convolution (OctConv) splits the channels of a feature map into high and low frequencies and stores and processes the slowly varying low-frequency part at half the resolution in each dimension. Simply replacing ordinary convolutions with it reduces computation and memory; on ResNet-50 it cut computation by 12% while raising ImageNet accuracy by 1.2 points.
Transposed ConvolutionTransposed convolution is a learnable layer that enlarges a small feature map by tracing the input-output shape correspondence of an ordinary convolution in reverse: for each input cell it writes the kernel into the output and sums the overlaps. It is used in the decoders of semantic segmentation models and in GAN generators.
