Computer Vision · Advanced level

Advanced level · Module 1: Advanced CNN Architectures · Lesson 2 of 3

Efficient Architectures for Limited Hardware

Learners study depthwise separable convolutions, MobileNet and EfficientNet, and calculate why they need far fewer operations than standard convolutions.

In this lesson you will

  • Explain depthwise separable convolutions
  • Compare efficient architectures

Key concepts

depthwise convolutionpointwise (1×1) convolutionmultiply-accumulate operationsMobileNetEfficientNet compound scaling

The lesson

A standard convolution mixes space and channels at once. A depthwise separable convolution splits this: a depthwise convolution filters each channel separately, then a 1×1 pointwise convolution mixes channels. For 3×3 kernels this needs roughly eight to nine times fewer operations, which is the idea behind MobileNet.

EfficientNet scales depth, width and input resolution together in a balanced way instead of enlarging only one. Both families offer small versions suited to CPUs and edge devices.

torchvision's model documentation lists accuracy, parameter counts and operation counts for each pretrained model, which is the starting point for choosing one.

Step by step

  1. Calculate parameters for a standard 3×3 convolution and a depthwise separable one with 64 input and 128 output channels.
  2. Check your numbers with PyTorch layers.
  3. Read the MobileNets paper abstract.
  4. List three small models from the torchvision table with their parameter counts.

Practice activity

Write a short comparison of standard and depthwise separable convolutions with verified calculations.

Expected result: Correct parameter calculations and a clear explanation of the savings.

Check your understanding

  1. What are the two steps of a depthwise separable convolution?

    Show answer

    A depthwise convolution per channel, then a 1×1 pointwise convolution.

  2. What does EfficientNet scale together?

    Show answer

    Depth, width and input resolution.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.