KatInterview

Critique a Vision-Based Infrastructure Failure Prediction System

Machine LearningModel answer
MediumModel answerMachine Learningcomputer-visionmodel-evaluationadversarial-ml

Last updated

Identify the data, modeling, optimization, and deployment flaws in a proposal to train a CNN on public images to predict structural failures and generate safe designs.

Background

A research team at a public works authority pitches the following automated infrastructure monitoring system:

  1. Data collection: Scrape photographs and architectural drawings of highway overpasses from public online sources (encyclopedias, government portals, news archives).
  2. Model training: Train a CNN to predict whether a given overpass will suffer a structural failure within 25 years of construction.
  3. Design generation: Starting from random noise, run gradient ascent on the trained model's input to produce image blueprints that the CNN rates as extremely low-risk (≥ 99% predicted durability).
  4. Deployment: Use the system to flag high-risk bridges in the national inventory and publish the "optimized" generated blueprints as design guidelines.

You are a senior ML engineer asked to review this proposal before it goes to leadership.

Your Task

Write a structured critique covering:

  1. Data quality and label validity — What is actually encoded in these images? What makes the target variable difficult or impossible to define cleanly? What biases could contaminate the dataset?
  2. Architecture fit and stronger baselines — Why is a standard CNN a poor match for this problem structurally? What simpler or more principled approaches should be tried first?
  3. Risks of generative optimization — Why is gradient ascent on a discriminative classifier a fundamentally unreliable way to produce safe designs? What goes wrong in practice?
  4. Operational and lifecycle concerns — What happens to model performance over time, and why does the lack of causal grounding undermine actionable decisions?

A strong answer names specific failure modes, explains why each one matters for infrastructure safety in particular, and proposes credible alternatives rather than stopping at criticism.

Hints

Hint 1

Start by asking what information actually determines whether a bridge fails — then check whether any of that information is present in the image. That gap is the foundation of most other problems with the proposal.

Hint 2

Think about what gradient ascent actually optimizes. The model is a proxy, not the real-world safety function. What happens when you push hard against a proxy that has errors? Where does the solution land relative to the real data distribution?

Hint 3

Consider who has already solved parts of this problem. National bridge inventory databases, inspection condition ratings, and finite-element analysis tools exist. Frame your alternative around what already works before reaching for deep learning.