SELGApr 12, 2023

SmartChoices: Augmenting Software with Learned Implementations

MIT
arXiv:2304.13033v32 citationsh-index: 26
Originality Incremental advance
AI Analysis

This addresses the challenge for software engineers of safely integrating ML into production systems, though it is incremental as it builds on existing contextual bandits methods with a focus on deployment.

The paper tackles the problem of costly and risky deployment of machine learning to replace heuristics in production software by introducing SmartChoices, a framework that reduces deployment costs and enables non-experts to implement ML solutions, resulting in improved latency, throughput, and click-through rates in applications like caches and UI layouts.

In many software systems, heuristics are used to make decisions - such as cache eviction, task scheduling, and information presentation - that have a significant impact on overall system behavior. While machine learning may outperform these heuristics, replacing existing heuristics in a production system safely and reliably can be prohibitively costly. We present SmartChoices, a novel approach that reduces the cost to deploy production-ready ML solutions for contextual bandits problems. SmartChoices' interface cleanly separates problem formulation from implementation details: engineers describe their use case by defining datatypes for the context, arms, and feedback that are passed to SmartChoices APIs, while SmartChoices manages encoding & logging data and training, evaluating & deploying policies. Our implementation codifies best practices, is efficient enough for use in low-level applications, and provides valuable production features off the shelf via a shared library. Overall, SmartChoices enables non-experts to rapidly deploy production-ready ML solutions by eliminating many sources of technical debt common to ML systems. Engineers have independently used SmartChoices to improve a wide range of software including caches, batch processing workloads, and UI layouts, resulting in better latency, throughput, and click-through rates.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes