paper-with-me

홈 › Papers

Automatic and Efficient Customization of Neural Networks for ML Applications

2023-10-07 · YuHan Liu, Chengcheng Wan, Kuntai Du, Henry Hoffmann, Junchen Jiang, Shan Lu, Michael Maire

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%.

📄 PDF Abstract BibTeX arXiv:2310.04685

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Ontology - Based Dynamic Business Process Customization

2014-01-09 · V. Karthikeyan, V. J. Vijayalakshmi, P. Jeyakumar

The interaction between business models is used in consumer centric manner instead of using a producer centric approach for customizing the business process in cloud environment. The knowledge based human semantic web is…

Wiki-En-ASR-Adapt: Large-scale synthetic dataset for English ASR Customization

2023-09-29 · Alexandra Antonova

We present a first large-scale public synthetic dataset for contextual spellchecking customization of automatic speech recognition (ASR) with focus on diverse rare and out-of-vocabulary (OOV) phrases, such as proper name…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition

PositionIC: Unified Position and Identity Consistency for Image Customization

2025-07-18 · Junjie Hu, Tianyang Han, Kai Ma, Jialin Gao 외 arxiv

Recent subject-driven image customization excels in fidelity, yet fine-grained instance-level spatial control remains an elusive challenge, hindering real-world applications. This limitation stems from two factors: a sca…

DALC: Distributed Automatic LSTM Customization for Fine-Grained Traffic Speed Prediction

2020-01-24 · Ming-Chang Lee, Jia-Chun Lin

Over the past decade, several approaches have been introduced for short-term traffic prediction. However, providing fine-grained traffic prediction for large-scale transportation networks where numerous detectors are geo…

PredictionTraffic Prediction

Tailoring with Targeted Precision: Edit-Based Agents for Open-Domain Procedure Customization

2023-11-16 · Yash Kumar Lal, Li Zhang, Faeze Brahman, Bodhisattwa Prasad Majumder 외

How-to procedures, such as how to plant a garden, are now used by millions of users, but sometimes need customizing to meet a user's specific needs, e.g., planting a garden without pesticides. Our goal is to measure and …