Efficient Online ML API Selection for Multi-Label Classification Tasks
Lingjiao Chen, Matei Zaharia, James Zou

TL;DR
This paper introduces FrugalMCT, an efficient online framework for selecting multi-label prediction APIs that balances cost and accuracy, outperforming existing methods especially in complex tasks like OCR.
Contribution
It proposes a novel, computationally efficient online API selection method for multi-label tasks, with strong performance guarantees and practical validation across multiple providers.
Findings
Achieves over 90% cost reduction in experiments.
Matches or exceeds the accuracy of the best API.
Effective across diverse multi-label classification tasks.
Abstract
Multi-label classification tasks such as OCR and multi-object recognition are a major focus of the growing machine learning as a service industry. While many multi-label prediction APIs are available, it is challenging for users to decide which API to use for their own data and budget, due to the heterogeneity in those APIs' price and performance. Recent work shows how to select from single-label prediction APIs. However the computation complexity of the previous approach is exponential in the number of labels and hence is not suitable for settings like OCR. In this work, we propose FrugalMCT, a principled framework that adaptively selects the APIs to use for different data in an online fashion while respecting user's budget. The API selection problem is cast as an integer linear program, which we show has a special structure that we leverage to develop an efficient online API selector…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsText and Document Classification Technologies · Web Data Mining and Analysis · Sentiment Analysis and Opinion Mining
Methodstravel james
