juniorCNN

What is a convolution operation in CNNs?

Updated May 15, 2026

Short answer

Convolution applies a filter over input data to extract local features like edges and textures.

Deep explanation

Convolution involves sliding a kernel (filter) over an input image and computing dot products at each position. This produces feature maps that highlight specific patterns. Each filter learns to detect a different feature during training, enabling hierarchical feature extraction.

Real-world example

Edge detection in autonomous vehicle vision systems.

Common mistakes

  • Confusing convolution with simple matrix multiplication.

Follow-up questions

  • What is a kernel in CNN?
  • How does stride affect convolution?

More CNN interview questions

View all →