PROFESSIONAL-MACHINE-LEARNING-ENGINEER · Question #240
You work for a manufacturing company. You need to train a custom image classification model to detect product defects at the end of an assembly line. Although your model is performing well, some…
The correct answer is A. Configure feature-based explanations by using Integrated Gradients. Set visualization type to. To understand why an image classification model mislabels defects with high confidence, configure feature-based explanations using Integrated Gradients in Vertex AI and visualize the results.
Question
Options
- AConfigure feature-based explanations by using Integrated Gradients. Set visualization type to
- BCreate an index by using Vertex AI Matching Engine. Query the index with your mislabeled
- CConfigure feature-based explanations by using XRAI. Set visualization type to OUTLINES, and
- DConfigure example-based explanations. Specify the embedding output layer to be used for the
How the community answered
(39 responses)- A79% (31)
- B5% (2)
- C13% (5)
- D3% (1)
Why each option
To understand why an image classification model mislabels defects with high confidence, configure feature-based explanations using Integrated Gradients in Vertex AI and visualize the results.
Integrated Gradients is a robust feature-based explanation method for image classification models that provides pixel-level attributions, revealing which parts of an image contribute most to a specific prediction. Setting the visualization type to `GRADIENT_OVERLAY` allows for a clear visual inspection of these salient areas, helping to understand high-confidence misclassifications.
Vertex AI Matching Engine is used for similarity search in embedding spaces and does not provide explanations for *why* an image classification model made a specific prediction.
While XRAI is also an image explanation method, Integrated Gradients is a widely used and effective technique for pixel-level attribution to understand model focus, making this a plausible but not uniquely correct alternative without further context.
Example-based explanations find similar training examples but do not explain *why* the model made a specific prediction on the given input image by highlighting relevant features within it.
Concept tested: Vertex AI Explainable AI for image classification
Source: https://cloud.google.com/vertex-ai/docs/explainable-ai/visualize-image-explanations
Topics
Community Discussion
No community discussion yet for this question.