Design a real-time sensor intelligence system
I was asked this
No reports yet. Sign in to say where you were asked it.
An AI/ML design interview question asked in OpenAI's technical screen (system design), last asked Apr 2026. It tests streaming, sensors and ml.
Design an end-to-end real-time sensor intelligence system for a product team. The product runs continuously on a resource-constrained device and must turn live sensor streams into low-latency predictions. The product requirements are deliberately vague: start by pinning down what the product should do, then cover the whole lifecycle from sensors to monitoring after launch.
Requirements
- Functional: name the target use cases and success metrics; choose sensors; collect, label and store data; train a model; run inference on live streams; evaluate before launch and monitor after.
- Non-functional: low latency from signal to prediction; runs all day within battery, compute, memory and thermal limits; reliable when sensors are noisy or drop out; private by default for data that leaves the device.
Clarifying questions
- Who is the user and what decision or action does a prediction drive? What does a wrong prediction cost (false alarm versus a miss)?
- What hardware: which sensors are available, what compute (microcontroller, phone, NPU), what battery budget?
- What latency is acceptable, and must it work offline?
- What data may leave the device, and with what consent?
- How many devices, and how varied are users and environments?
What a strong answer covers
- Use cases turned into measurable targets (precision and recall at an operating point, latency, battery drain per hour).
- Sensor choice argued on signal quality, power, cost and privacy (for example accelerometer versus camera), and sampling rates.
- A data pipeline: collection with consent, labeling (scripted sessions, weak labels, active learning), windowing and storage, splits by user to avoid leakage.
- Model choice sized for the device: features plus a small model or a compact 1-D CNN or RNN, quantization and pruning, possibly a cheap always-on stage that wakes a larger model.
- Real-time inference: streaming windows, buffering, duty cycling, on-device versus cloud split and the fallback when offline.
- Offline evaluation on held-out users and environments, then shadow and staged rollout; monitoring of input drift, prediction rates, battery and latency, with privacy-preserving telemetry and a retraining loop.
Follow-ups
- Accuracy drops for a new group of users or a new device model. How do you find out and fix it?
- Personalize the model per user without sending raw data off the device.
- The battery budget is cut in half. What do you change first?
- Add a second sensor: early fusion, late fusion, and what happens when one sensor fails.
Where it's asked
- OpenAI · Technical screen: system design · Last asked Apr 202660 min · Design discussion, sometimes drawn in Excalidraw; for some roles, on the same day as the coding screen
What it tests
streaming · sensors · ml
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
