Problem Statement: A Companion That Listens, Watches, Talks, and Still Works Offline
Frames the product as a household robot whose safety and privacy decisions are made on the device, with the cloud supplying conversation and caregiver services.
Problem statement
Design the device and cloud system behind a household social robot. The companion is a floor-standing or tabletop device with a microphone array, a camera, a small display, a speaker, and a pan and tilt head. It greets people, answers questions, keeps companionship conversations going, reads reminders aloud, and for older adults who live alone it checks in and raises an alert when something looks wrong. It sits in a living room, a bedroom, or a kitchen, and the people it serves are not engineers.
The prompt sounds like a chatbot with a body. It is not. A chatbot can be slow, wrong, or unavailable, and the user sees a bad answer. A companion carries three obligations a chatbot does not. It must never move in a way that hurts someone. It must never send a room's audio or video somewhere the household did not agree to. It must keep doing something useful when the internet is down.
What makes this hard
Four constraints collide. The human side is fast: conversational turns are separated by about 200 ms on average, a figure Stivers and colleagues measured across ten languages and published in 2009, so a robot that waits two seconds before its first word already feels distant. The best dialogue models are large and run in data centers, while the most sensitive data is raw audio and video that should never leave the home. The device must survive a hostile network with Wi-Fi drops, cellular failover, and power cuts. And the fleet must be upgraded, monitored, and supported for years, which means over-the-air (OTA) updates, certificate rotation, and per-household data that outlives any single firmware release.
The four loops
The design splits into four loops that run at different speeds. The real-time local loop handles wake word detection, voice activity, on-device speech recognition, face and pose detection, motor limits, and the emergency stop. Its budget is tens to hundreds of milliseconds and it never waits on the network. The dialogue loop sends short text turns to a hosted language model and streams the reply back, with a budget measured in seconds. The caregiver loop turns on-device events into alerts, schedules, and summaries, with budgets of seconds to minutes. The fleet loop covers provisioning, OTA rollouts, certificates, and health telemetry, with budgets of hours to days.
The most common mistake is drawing one arrow from the robot to the cloud and calling everything else a detail. The interviewer is checking whether you know which loop each decision belongs to.
Scale assumptions
The hypothetical product has no published fleet measurements, so every capacity number in this answer is a labelled assumption. At year three we assume one million registered companions, 40 percent of them daily active (400,000 devices), and 25 voice turns per active device per day. That is 10 million dialogue turns per day, an average of about 116 turns per second and an evening peak of roughly 460 turns per second at a four times multiplier. Section 7 carries these numbers through the estimate.
What a strong answer proves
A strong answer names the loops, puts the safety and privacy boundary on the device, uses the cloud for language and fleet services, and states a latency budget for each path. It also says what the robot does when each dependency disappears. The rest of this answer builds that structure one layer at a time, beginning with the questions to ask before drawing anything.
Unless explicitly attributed to published material, every workload count, hardware size, target, timing threshold, retention period, cohort size, and unit price in this answer is an assumption for the hypothetical design. They are inputs to validation, not measured product performance or certified safety limits.
Key Highlights
- •Four loops with different budgets: local real-time (tens to hundreds of ms), dialogue (seconds), caregiver (seconds to minutes), fleet (hours to days).
- •Human conversational turn gaps average about 200 ms (Stivers et al., 2009), so the cloud path must acknowledge within 250 ms.
- •Assumed year-three scale: 1M registered companions, 400K daily active, 10M dialogue turns per day, about 460 turns per second at peak.
- •Raw audio and camera frames stay on the device by default; the cloud receives text turns and derived events.
Section Rescue Kit
Buzzwords to use:
Safe statements:
- "Before I draw anything, let me separate what must work with no network from what can wait for the cloud."
- "Let me name the loops in this design, because each one has a different latency budget and failure behavior."
- "I want to state the privacy boundary early, since it decides where every data flow lands."