Grouped convolution is a convolution that splits the input and output channels into groups each and convolves only within groups of the same index. Because channels are not mixed across groups, the number of parameters and the amount of computation are of an ordinary convolution.
It is like splitting a class into several teams that discuss only within their own team and then lining up the conclusions of each team (concatenation), instead of the whole class discussing together at once (ordinary convolution). Fewer conversation partners means less effort, but information does not pass directly between teams.
For a layer that maps 256 channels to 256 channels with a 3ร3 kernel, the number of weights is as follows (excluding biases).
| Number of groups | Number of weights |
|---|---|
| 1 (ordinary convolution) | 3 ร 3 ร 256 ร 256 = 589,824 |
| 2 | 589,824 รท 2 = 294,912 |
| 32 | 589,824 รท 32 = 18,432 |
| 256 (depthwise convolution) | 3 ร 3 ร 256 = 2,304 |
Grouped convolution originated in AlexNet (Krizhevsky et al., 2012), where it was used to split a network that did not fit on a single GPU with 3GB of memory across two GPUs. Later, ResNeXt (Xie et al., 2017) used grouped convolution as a way to raise accuracy without changing the computational cost, showing that the number of groups (called "cardinality" in ResNeXt) is a design dimension alongside depth and width. Setting the number of groups equal to the number of input channels gives the "depthwise convolution" that forms the first half of depthwise separable convolution.

