mlsanityData to 7 Oct 2026

Automatic and Efficient Customization of Neural Networks for ML Applications

arXiv 2310.04685 ↗First posted 7 Oct 2023cs.SE cs.AI cs.NIcited by 0

Not on the map. Why?

Abstract (arXiv)

ML APIs have greatly relieved application developers of the burden to design and train their own neural network models -- classifying objects in an image can now be as simple as one line of Python code to call an API. However, these APIs offer the same pre-trained models regardless of how their output is used by different applications. This can be suboptimal as not all ML inference errors can cause application failures, and the distinction between inference errors that can or cannot cause failures varies greatly across applications. To tackle this problem, we first study 77 real-world applications, which collectively use six ML APIs from two providers, to reveal common patterns of how ML API output affects applications' decision processes. Inspired by the findings, we propose ChameleonAPI, an optimization framework for ML APIs, which takes effect without changing the application source code. ChameleonAPI provides application developers with a parser that automatically analyzes the application to produce an abstract of its decision process, which is then used to devise an application-specific loss function that only penalizes API output errors critical to the application. ChameleonAPI uses the loss function to efficiently train a neural network model customized for each application and deploys it to serve API invocations from the respective application via existing interface. Compared to a baseline that selects the best-of-all commercial ML API, we show that ChameleonAPI reduces incorrect application decisions by 43%.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 75 references that are in the map. First posted on arXiv 7 Oct 2023.

Builds on

23 of 75 references.

References · 23

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  3. 2018The Open Images Dataset V4: Unified image classification, object detection, and visual relationship detection at scalecited by 542
  4. 2020Asymmetric Loss For Multi-Label Classificationcited by 379
  5. 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
  6. 2020The Multilingual Amazon Reviews Corpuscited by 142
  7. 2020Serving DNNs like Clockwork: Performance Predictability from the Bottom Upcited by 119
  8. 2018Online Model Distillation for Efficient Video Inferencecited by 60
  9. 2018BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analyticscited by 41
  10. 2017Google's Cloud Vision API Is Not Robust To Noisecited by 37
  11. 2020FrugalML: How to Use ML Prediction APIs More Accurately and Cheaplycited by 33
  12. 2022GEMEL: Model Merging for Memory-Efficient, Real-Time Video Analytics at the Edgecited by 32
11 more
  1. 2018PRETZEL: Opening the Black Box of Machine Learning Prediction Serving Systemscited by 22
  2. 2018Physical Representation-based Predicate Optimization for a Visual Analytics Databasecited by 19
  3. 2016Fast Video Classification via Adaptive Cascading of Deep Modelscited by 17
  4. 2019Salus: Fine-Grained GPU Sharing Primitives for Deep Learning Applicationscited by 17
  5. 2021Did the Model Change? Efficiently Assessing Machine Learning API Shiftscited by 13
  6. 2021THIA: Accelerating Video Analytics using Early Inference and Fine-Grained Query Planningcited by 8
  7. 2020Video Monitoring Queriescited by 7
  8. 2017Optimization Beyond the Convolution: Generalizing Spatial Relations with End-to-End Metric Learningcited by 4
  9. 2022Cost Effective MLaaS Federation: A Combinatorial Reinforcement Learning Approachcited by 3
  10. 2019A Study of Data Pre-processing Techniques for Imbalanced Biomedical Data Classificationcited by 1
  11. 2021Pool of Experts: Realtime Querying Specialized Knowledge in Massive Neural Networkscited by 1

Built on by

Not cited yet.