Depthwise separable convolution is a convolution that splits a standard convolution into two stages: "convolving each channel only spatially" (depthwise convolution) and "mixing channels with a 1×1 convolution" (pointwise convolution). The output shape stays the same as with a standard convolution, while the number of parameters and the amount of computation drop sharply.
A standard convolution uses a single filter to learn both "spatial patterns" and "which channels to combine" at once. Depthwise separable convolution divides these two jobs. In cooking terms, a standard convolution does separate prep work for every combination of ingredients, whereas a separable convolution preps each ingredient just once (spatial processing) and then only varies the blend (channel combination) at the end.
For a layer that maps 64 channels to 128 channels with a 3×3 filter, the number of weights is as follows.
| Convolution | Number of weights |
|---|---|
| Standard convolution | 3 × 3 × 64 × 128 = 73,728 |
| Depthwise separable convolution | 3 × 3 × 64 + 64 × 128 = 576 + 8,192 = 8,768 |
The number of weights drops to about 1/8.4.
The idea is said to have originated with Sifre, who developed it during an internship at Google Brain in 2013 and applied it to AlexNet (Chollet, 2017). Later, Chollet's Xception built an entire network by replacing the modules of GoogLeNet (Inception) with depthwise separable convolutions, and Howard et al.'s MobileNet used it as the basic building block of lightweight models that run on devices such as smartphones. Today it is used in many image recognition models, including MobileNetV2, EfficientNet and ConvNeXt.
In TensorFlow and Keras, this convolution is simply called "separable convolution" (
SeparableConv2D). It is different from "spatially separable convolution", which splits a 3×3 filter into 3×1 and 1×3, so when reading explanations with similar names, check which one is meant.

