Wiki: How we built a scalable end-to-end architecture for real-life machine learning
For agents: Markdown version · Wiki index · Explore
- Speaker: Eilon Reshef
- Event: Reversim Summit 2019
- Video: https://www.youtube.com/watch?v=hR8zRnIocwY
- Transcript: /transcripts/2019/24-hR8zRnIocwY.md
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: Security, DevOps, Infrastructure, Machine Learning
Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.
Summary
The speaker shares insights and best practices on building a scalable end-to-end architecture for real-world machine learning systems. The presentation covers challenges in managing multiple production models, establishing stable data sets for reproducible research, and ensuring robust data security and isolation. Additionally, the speaker details a containerized deployment strategy using Java runners and Python Docker images to bridge the gap between research and engineering. The audience learns practical frameworks for bridging ML research with enterprise-grade production infrastructure.
Key points
- 4:26 Managing multiple machine learning models in production requires a systematic approach rather than ad-hoc deployments.
- 7:33 Using stable, frozen data sets is essential for reproducible machine learning research and accurate performance comparison.
- 9:48 Strict security and network isolation between research and production environments are critical to protecting sensitive customer data.
- 11:55 A dedicated cloud account and bastion hosts help prevent data leakage and enforce strict access control.
- 15:10 The organization differentiates between static models and dynamic models that learn continuously from fresh production data.
- 16:19 Python-based machine learning code is packaged into Docker containers using a custom YAML-based domain-specific language.
- 19:25 A Java-based runner executes Docker containers sequentially as command-line executables to handle heavy workloads and avoid microservice complexity.
- 22:48 Operations research and input validation ensure that models are only executed on data meeting specific quality thresholds.
Takeaways
- Isolate research data from production using separate cloud accounts and secure bastion hosts.
- Freeze specific data sets to ensure machine learning experiments are reproducible.
- Package Python-based machine learning models inside Docker containers to streamline deployments.
- Define clear operating boundaries and quality thresholds for when machine learning models should execute.
Questions this talk answers
- How can you manage and deploy multiple machine learning models to production without relying on complex microservices?
- What is the best way to maintain data security and privacy while giving researchers access to production data?
- How do you handle reproducible experiments when your production data changes constantly?
Technologies
Python, Java, Docker, TensorFlow, AWS
Tags
data security, docker, machine learning, mlops, reproducible research, scalable architecture