Design on-device photo classification with privacy and compression trade-offs

HardML design45 minMLEPro outline

The question

Design a system that tags a user's photo library with categories such as beach, food or documents. Decide what runs on the device and what, if anything, runs on a server, given privacy, battery and model size limits.

Cover the model, compression, when indexing runs, and how you improve the model over time without collecting user photos.

What the interviewer is looking for

  • Keeps photos and inference on device by default and explains why
  • Chooses an efficient backbone and a compression plan
  • Schedules indexing when charging and idle
  • Improves the model with public or licensed data and privacy-preserving signals
  • Defines evaluation and rollout across device generations

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Apple (Machine Learning / AIML) question type: Design an Apple product ML system (App Store recommendations, Siri inference, Photos classification) with privacy, on-device vs server and compression trade-offs.

Reported in: spacecomplexity.ai, datainterview.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Apple (Machine Learning / AIML) question.