NEW
A factorized convolution performing per-channel spatial filtering followed by 1x1 channel mixing to reduce computation.
DESCRIPTION
Depthwise separable convolutions split a standard convolution into a lightweight spatial depthwise step and a pointwise 1×1 convolution for channel mixing. This yields substantial reductions in FLOPs and parameters with minimal accuracy loss for many vision tasks. Popularized by MobileNet and Xception, the operation enables efficient models on mobile and edge devices. It is widely used in modern compact CNNs and hybrid architectures.
ALTERNATIVE DEFINITIONS
MobileNet V1
MobileNets are based on depthwise separable convolutions, which factorize a standard convolution into a depthwise convolution and a 1×1 pointwise convolution.
Defines the two-step factorization central to the operator’s efficiency.
Xception
In depthwise separable convolutions, spatial and cross-channel correlations are mapped separately.
Highlights the decoupling of spatial and channel correlations.
Wikipedia
Depthwise separable convolution is a form of factorized convolution which reduces computation by separating spatial filtering and channel mixing.
Stresses the efficiency motivation of the factorization.
RELATED TERMS
Convolution Pointwise Convolution MobileNet Xception Separable Convolution Convolutional Neural Network FLOPs Parameter Efficiency Embedded Vision
COMPETING TERMS
Standard Convolution Group Convolution
RELATIONS
- Broader: Convolution
KNOWLEDGE AREAS
TARGET AUDIENCE
AI Engineer Data Scientist MLOps Engineer
EXTERNAL SOURCES
- Wikipedia - Depthwise separable convolution
- MobileNet V1 - Origin of MobileNet factorization
- Xception - Depthwise separable in Xception
- TensorFlow - API for separable convolutions
TOP QUESTIONS
How does depthwise separable convolution reduce FLOPs?
It replaces a costly k×k×Cin×Cout convolution with a k×k×Cin depthwise op plus a 1×1×Cin×Cout pointwise op, dramatically cutting multiplications.
Category: Concept
Where is depthwise separable convolution most useful?
It’s crucial in mobile and edge models where compute and power are limited, enabling efficient inference with competitive accuracy.
Category: Relevancy
What are drawbacks of depthwise separable convolutions?
They can be memory-bandwidth bound and may underperform on some hardware without optimized kernels.
Category: Risks
How is it different from group convolution?
Group convolution splits channels into groups with standard conv per group; depthwise uses one filter per channel plus a 1×1 mix step.
Category: Comparison
Which architectures rely on this operation?
MobileNet V1/V2, Xception, and many efficient CNNs use depthwise separable layers extensively.
Category: Example
Does it hurt accuracy?
Often only minor accuracy drops occur for large efficiency gains, though the trade-off depends on task and width multipliers.
Category: Opinion
What kernel sizes are typical for depthwise conv?
3×3 is common for spatial filtering, followed by a 1×1 pointwise convolution for channel mixing.
Category: Best practices
How does hardware affect performance?
Optimized fused kernels and vectorization on accelerators (GPU/TPU/NPU) are key to realizing expected speedups.
Category: Performance
Can depthwise separable conv be used in segmentation?
Yes; many lightweight segmentation networks adopt it to maintain throughput on high-resolution inputs.
Category: Example