PROFESSIONAL-MACHINE-LEARNING-ENGINEER practice question 31 of 35

You are an ML engineer at a manufacturing company. You need to build a model that identifies defects in products based on images of the product taken at the end of the assembly line. You want your model to preprocess the images with lower computation to quickly extract features of defects in products. Which approach should you use to build the model?

Full set: 283 questions
Answer options
A: Reinforcement learning
B: Recommender system
C: Recurrent Neural Networks (RNN)
D: Convolutional Neural Networks (CNN) Correct answer
Correct Answer:
D. Convolutional Neural Networks (CNN)
Explanation

Convolutional Neural Networks (CNNs) are the standard and most effective architecture for computer vision tasks, such as identifying defects from images. Their core components, convolutional and pooling layers, are specifically designed to efficiently learn and extract spatial hierarchies of features (e.g., edges, textures, shapes) from pixel data. This makes them highly suitable for recognizing visual patterns like product defects. The parameter sharing in convolutional layers significantly reduces computational complexity compared to other neural network types when processing high-dimensional image data, directly addressing the need for lower computation feature extraction.

Why Incorrect

A. Reinforcement learning is used for training agents to make sequential decisions in an environment to maximize a reward, not for static image analysis.
B. A recommender system is designed to predict user preferences or ratings for items, which is irrelevant to identifying physical defects from images.
C. Recurrent Neural Networks (RNNs) are designed to process sequential data like text or time series, not for extracting features from static 2D images.

References

1. Google Cloud Documentation: In the documentation for Vertex AI Vision, the solution for visual inspection is described. It states, "Automate quality control with computer vision... Build and deploy models that can spot product defects." These models are fundamentally based on Convolutional Neural Network architectures.

Source: Google Cloud, "Vertex AI Vision," Overview section. (Accessed 2023).

2. University Courseware: Stanford University's CS231n course on Convolutional Neural Networks for Visual Recognition explains that CNNs are the default model for image recognition tasks. The architecture's use of convolutions allows it to learn a hierarchy of features from simple edges to complex objects.

Source: Stanford University, CS231n: Deep Learning for Computer Vision, "Module 1: Neural Networks, Convolutional Neural Networks," Lecture 5 notes.

3. Peer-reviewed Academic Publication: A seminal paper on CNNs, "ImageNet Classification with Deep Convolutional Neural Networks," demonstrates the architecture's superior performance on large-scale image recognition. The paper details how convolutional layers act as efficient feature extractors for visual tasks.

Source: Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). ImageNet classification with deep convolutional neural networks. Advances in neural information processing systems, 25. (Section 3: The Architecture).

Scroll to Top