On-Device and Edge ML Questions
Running models on resource-constrained and privacy-sensitive devices. Covers model optimization for mobile and embedded hardware, on-device inference and privacy architecture, and dedicated neural accelerators. Focuses on the size, latency, power, and privacy tradeoffs of moving inference off the server and onto the edge.
You need to deploy a gradient-boosted model to heterogeneous edge devices with strict memory (<50MB) and latency (<50ms) constraints. Propose concrete optimization techniques (tree pruning, quantization, model compilation, distillation), explain trade-offs between accuracy and size/latency, and describe testing strategies to validate correctness and performance across devices.
Architect a federated learning system for mobile devices that preserves user privacy, supports heterogeneous device capabilities, and enables periodic global model aggregation. Discuss client selection, communication strategy, secure aggregation techniques, local personalization vs global model trade-offs, handling stragglers, and approaches to detect and mitigate poisoned or malicious client updates.
System-design: you're asked to build an on-device real-time object detection pipeline for a mobile app with constraints: 30 FPS on mobile CPU, model <50MB, and P95 latency <33ms. Propose an architecture (model family and specific variants), optimizations (quantization, pruning, operator fusion), and a deployment/validation plan. Discuss offline vs online components and fallback behavior.
That is every published On-Device and Edge ML question for Applied Scientist so far. Browse the other topics in this category, or practice this one interactively.