Building Predictive Maintenance Models with Images and Explainability
Short answer
C Use TensorFlow to create a deep learning-based model, and use Integrated Gradients to explain the model output.
Question
Key Takeaways
The main trap is ignoring the data format; high-definition images necessitate deep learning, not tree-based models, dictating the choice of explanation technique.
Learn how to select appropriate deep learning architectures and explanation methods like Integrated Gradients for image-based predictive maintenance scenarios on PMLE.
Common mistake: Candidates often choose tree-based models (A/B) because they are simpler, failing to recognize that raw image data requires neural networks for effective feature learning.
Expert Analysis
Model Architecture Selection The scenario involves processing high-definition images for defect detection. Image data is high-dimensional and unstructured, requiring feature extraction that tree-based models (like those in scikit-learn) cannot handle directly without extensive manual preprocessing. Deep learning models, specifically Convolutional Neural Networks (CNNs) implemented via frameworks like TensorFlow, are the standard for visual tasks.
Explainability Methodology Stakeholders require model output explanations. For deep learning models, Integrated Gradients is a robust attribution method that calculates the gradient of the output with respect to the input pixels, highlighting which parts of the image contributed to the prediction. This aligns with Google Cloud's Explainable AI guidance for differentiable models.
Why Other Options Fail Options A and B propose tree-based models, which are unsuitable for raw image inputs. Option D suggests the sampled Shapley method; while valid for general features, Integrated Gradients is more efficient and standard for pixel-level explanations in deep learning contexts as per exam doctrine.
Adjacent Decisions & Consequences This question tests the alignment between data type (images) and algorithm complexity. If the input were structured tabular data, a tree-based model might be preferred for simplicity. Choosing the wrong explainability method (e.g., SHAP for deep nets without approximation) leads to computational inefficiency or inaccurate attributions.
Official Reference
https://cloud.google.com/vertex-ai/docs/explainable-ai/overview
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always match the data modality to the model class first. For images, assume deep learning. Then, select an explanation technique native to that architecture (e.g., Integrated Gradients for neural nets) rather than generic feature importance tools designed for tabular data.
Frequently Asked Questions
Why not use SHAP for deep learning models?
Can scikit-learn process high-definition images directly?
Community Votes
100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 8 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 8
-
Shark0 👍 4 Answered CGiven the scenario of using high definition images as inputs for predictive maintenance on bridges, and the need to explain the model output to stakeholders, the most appropriate choice would be: C. Use TensorFlow to create a deep learning-based model, and use Integrated Gradients to explain the model output. Integrated Gradients is a method used to explain the predictions of deep learning models by attributing the contribution of each pixel in the input image to the final prediction. This would provide insights into which parts of the bridge images are most influential in the model's decision-making process, helping stakeholders understand why a particular prediction was made and allowing them to take appropriate action.
-
dija123 👍 3 Answered CUse Integrated Gradients to explain the model output
-
FireAtMe 👍 2 Answered CThe question is about image/pixels. So the integrated Gradients is better. Shapley is for input features.
-
BlehMaks 👍 2 Answered Chttps://cloud.google.com/ai-platform/prediction/docs/ai-explanations/overview#compare-methods
-
pinimichele01 👍 2 Answered Chttps://cloud.google.com/vertex-ai/docs/explainable-ai/overview
Show 3 more comments
-
pikachu007 👍 1 Answered CHandling image input: Deep learning models excel in processing complex visual data like high-definition images, making them ideal for extracting relevant features from bridge images for defect detection. Explainability with Integrated Gradients: Integrated Gradients is a powerful technique specifically designed to explain the predictions of deep learning models. It attributes model output to specific input features, providing insights into how the model makes decisions. Visualization: Integrated Gradients can generate visual explanations, such as heatmaps, that highlight image regions most influential to predictions, aiding in understanding and trust for stakeholders.
-
taylz876 👍 1 Answered CThere are two decisions here: which model to build, and how to explain it. • The model: the inputs are high-definition images of bridges. Raw images are best handled by a deep learning model (a CNN), not a tree-based model. • The explanation: Integrated Gradients is the explainability method for differentiable models like neural networks, and it works well on images with a huge number of input features. It highlights which pixels or regions pushed the prediction toward "defect", so stakeholders can see where the damage is and take action. It is available through Explainable AI in Agent Platform (formerly Vertex AI).
-
pinimichele01 👍 1https://cloud.google.com/vertex-ai/docs/explainable-ai/overview this is right, your is deprecated!
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →