{"id":"2011.12715","title":"Resonance: Replacing Software Constants with Context-Aware Models in Real-time Communication","authors":["Jayant Gupchup","Ashkan Aazami","Yaran Fan","Senja Filipi","Tom Finley","Scott Inglis","Marcus Asteborg","Luke Caroll","Rajan Chari","Markus Cozowicz","Vishak Gopal","Vinod Prakash","Sasikanth Bendapudi","Jack Gerrits","Eric Lau","Huazhou Liu","Marco Rossi","Dima Slobodianyk","Dmitri Birjukov","Matty Cooper","Nilesh Javar","Dmitriy Perednya","Sriram Srinivasan","John Langford","Ross Cutler","Johannes Gehrke"],"categories":["cs.AI","cs.LG","cs.NI","cs.SE"],"primary_category":"cs.AI","first_posted":"2020-11-23","updated":"2020-11-23","url":"https://arxiv.vip/abs/2011.12715","arxiv_url":"https://arxiv.org/abs/2011.12715","pdf_url":"https://arxiv.org/pdf/2011.12715","comment_count":0,"abstract":"Large software systems tune hundreds of 'constants' to optimize their runtime performance. These values are commonly derived through intuition, lab tests, or A/B tests. A 'one-size-fits-all' approach is often sub-optimal as the best value depends on runtime context. In this paper, we provide an experimental approach to replace constants with learned contextual functions for Skype - a widely used real-time communication (RTC) application. We present Resonance, a system based on contextual bandits (CB). We describe experiences from three real-world experiments: applying it to the audio, video, and transport components in Skype. We surface a unique and practical challenge of performing machine learning (ML) inference in large software systems written using encapsulation principles. Finally, we open-source FeatureBroker, a library to reduce the friction in adopting ML models in such development environments","arxiv_comments":"Workshop on ML for Systems at NeurIPS 2020, Accepted","journal_ref":"ML for Systems, NeurIPS 2020","doi":null,"license":"http://creativecommons.org/licenses/by/4.0/","versions":1,"discussion_url":"https://arxiv.vip/abs/2011.12715#discussion"}