Reinforcement Learning for Machine Learning Model Deployment: Evaluating Multi-Armed Bandits in ML Ops Environments
S. Aaron McClendon, Vishaal Venkatesh, Juan Morinelli
TL;DR
The paper addresses robust model deployment in ML Ops under distribution shift by evaluating reinforcement-learning-based strategies, specifically multi-armed bandits, against naïve, validation-based, and A/B testing approaches. It implements and compares epsilon-greedy, UCB, and Thompson Sampling in a dynamic, chunked simulation over Census wage and fraud datasets, using tailored reward functions and metrics. Key findings show RL methods can match or exceed traditional baselines, with epsilon-greedy often delivering strong overall performance and helping automate adaptation to drift, particularly in imbalanced domains. The work highlights practical implications for automating real-time deployment decisions and outlines future directions for scaling, regression tasks, and drift-aware reward shaping to further reduce manual monitoring in production systems.
Abstract
In modern ML Ops environments, model deployment is a critical process that traditionally relies on static heuristics such as validation error comparisons and A/B testing. However, these methods require human intervention to adapt to real-world deployment challenges, such as model drift or unexpected performance degradation. We investigate whether reinforcement learning, specifically multi-armed bandit (MAB) algorithms, can dynamically manage model deployment decisions more effectively. Our approach enables more adaptive production environments by continuously evaluating deployed models and rolling back underperforming ones in real-time. We test six model selection strategies across two real-world datasets and find that RL based approaches match or exceed traditional methods in performance. Our findings suggest that reinforcement learning (RL)-based model management can improve automation, reduce reliance on manual interventions, and mitigate risks associated with post-deployment model failures.
