Which Model Shall I Choose? Cost/Quality Trade-offs for Text Classification Tasks

Shi Zong, Josh Seltzer, Jiahua, Pan, Kathy Cheng +1 more
1/17/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Industry practitioners always face the problem of choosing the appropriate model for deployment under different considerations, such as to maximize a metric that is crucial for production, or to reduce the total cost given financial concerns. In this work, we focus on the text classification task and present a quantitative analysis for this challenge. Using classification accuracy as the main metric, we evaluate the classifiers' performances for a variety of models, including large language models, along with their associated costs, including the annotation cost, training (fine-tuning) cost, and inference cost. We then discuss the model choices for situations like having a large number of samples needed for inference. We hope our work will help people better understand the cost/quality trade-offs for the text classification task.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zong2023which,
  title  = {Which Model Shall I Choose? Cost/Quality Trade-offs for Text Classification Tasks},
  author = {Shi Zong and Josh Seltzer and Jiahua and Pan and Kathy Cheng and Jimmy Lin},
  year   = {2023},
  eprint = {2301.07006},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.07006v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.07006.svg)](https://codeofpaper.com/paper/2301.07006)

Discussion