InceptionNeXt
12 memberslucid.models.vision.inception_nextInceptionNeXt — Yu et al., 2023.
Yu, Weihao, et al. "InceptionNeXt: When Inception Meets ConvNeXt." Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2024.
InceptionNeXt is a drop-in replacement for the ConvNeXt block that eliminates the cost of a single large depthwise convolution by factorizing it into four parallel, low-cost Inception-style branches. The motivation is that large-kernel depthwise convs dominate ConvNeXt's wall-clock latency on modern accelerators despite their relatively small FLOP count: depthwise convolutions are memory-bandwidth bound and large kernels amplify that bottleneck.
The InceptionDWConv2d operator splits the input channels into four groups and applies in parallel: (i) an identity branch, (ii) a small square depthwise conv, (iii) a horizontal band depthwise conv of shape , and (iv) a vertical band depthwise conv of shape , with by default. The outputs are concatenated along the channel dimension:
The factorization preserves a large effective receptive field (the band convolutions span pixels along each axis) while cutting depthwise FLOPs and — more importantly — memory traffic. All other elements of the ConvNeXt block (LayerNorm, inverted bottleneck MLP, layer scale, residual) are kept unchanged, so the Tiny / Small / Base variants reuse the same depth and width tables as ConvNeXt while running noticeably faster at equal accuracy.
Classes
Functions
inception_next_base→ InceptionNeXtInceptionNeXt-Base backbone (Yu et al., 2024).
inception_next_base_cls→ InceptionNeXtForImageClassificationInceptionNeXt-Base image classifier (Yu et al., 2024).
inception_next_small→ InceptionNeXtInceptionNeXt-Small backbone (Yu et al., 2024).
inception_next_small_cls→ InceptionNeXtForImageClassificationInceptionNeXt-Small image classifier (Yu et al., 2024).
inception_next_tiny→ InceptionNeXtInceptionNeXt-Tiny backbone (Yu et al., 2024).
inception_next_tiny_cls→ InceptionNeXtForImageClassificationInceptionNeXt-Tiny image classifier (Yu et al., 2024).