Choosing Evaluation Metrics for Multiclass Classification
The business metric is the high-level goal an application serves, and model choices should be judged by their business impact on that goal.
A Single Score That Looks Too Good
A common first instinct when evaluating a classifier is to report one number, the fraction of predictions it gets right, and treat a high number as proof that the model is good. The instinct feels reasonable, and it is often exactly where an evaluation goes wrong. This article examines the belief that a single accuracy score is always the right way to judge a model, and what should replace it. The source material develops these ideas using binary classification, where each example is either in a positive class or a negative class. The principles it describes are the foundation for choosing metrics in any classification setting.
What do you think happens?
A model labels every image as negative, meaning no pedestrian is present, and it is tested on a labeled set where only about 1 in 100 images actually contains a pedestrian. What accuracy does it score, and is that a good sign?
Reveal answer
Around 99%, which looks excellent but hides a complete failure.
The model is right on every negative image, and negatives make up about 99% of the set, so accuracy is about 99%. But it finds none of the positive cases, which is the one job that mattered. The source describes a model like this scoring 99% accuracy while failing completely at the one job that mattered.
What a Business Metric Measures
Before choosing a metric, the starting question is what the application is actually for. A machine learning model is rarely the end product. Its predictions feed into a larger decision-making process, so the real interest lies in what those decisions achieve in the world. The high-level purpose of the application is called the business metric. It names the outcome an organization cares about, not the mathematical score used to check a model.
Business metrics come in many forms. Depending on the application, the goal might be avoiding traffic accidents, reducing the number of hospital admissions, attracting more visitors to a website, or getting shoppers to spend more money. Each of these goals describes a result that matters outside the model. The model is valuable only to the extent that it moves that result in the right direction.
The business metric is the high-level goal an application serves. Model choices should be judged by their business impact on that goal, meaning the consequences of choosing one algorithm over another for the outcome the organization cares about.
The consequences of picking one particular algorithm for an application are called the business impact. Choosing a model or setting its parameters should favor the option that has the most positive effect on the business metric. The difficulty is that the business impact of a model is often measurable only after it has been deployed in a real system. That is usually the most expensive and risky point at which to discover whether the choice was a good one.
Why Teams Use Surrogate Metrics
During early development, and whenever a model is being tuned, it is often impractical to deploy it to the real world just to see how it performs. When the possible harm is high, such as a safety failure or a serious financial loss, testing in production is simply not an option. The usual answer is a surrogate evaluation procedure: an evaluation that uses a metric which is easier to compute than the business metric, and which serves as a stand-in for it.
Consider the pedestrian-avoidance capability of a self-driving car. The business goal is that pedestrians are not hurt. One way to check this would be to let the car drive around and watch what happens, but a faulty model would endanger people during that test. A safer surrogate is to test whether the model can classify images as containing a pedestrian or not, and to measure its accuracy on a labeled set of such images. That number is far easier to obtain, and it does not require anyone to stand near a moving car.
When Accuracy Misleads
Binary classification is arguably the most common and conceptually simple application of machine learning, and it is where accuracy's weakness shows up most clearly. Accuracy counts every correct prediction equally, whether it was a rare positive case or one of the many easy negatives. When the positive class is rare, the negatives dominate the count, and a model can score highly while missing every positive case. The accuracy figure is correct as arithmetic but can be misleading as a measure of usefulness.
Tracing an always-negative classifier
A pedestrian detector is evaluated on a labeled set where only about 1 in 100 images contains a pedestrian. The detector labels every image as negative. Is its accuracy a reliable sign that it is safe to use?
- 1Count the correct predictions
Every image labeled negative is correct when the image has no pedestrian. Those are about 99 out of every 100 images, so the classifier is right on about 99% of the set.
- 2Count the positive cases found
The model never predicts positive, so it finds none of the roughly 1 image in 100 that contains a pedestrian.
- 3Compare against the business goal
The business goal is that pedestrians are not hurt. A detector that finds none of the pedestrians cannot serve that goal, no matter how high the accuracy number looks.
- 4Judge the metric
The accuracy figure is arithmetically correct, but it is a poor measure of usefulness here. A metric that also reflects how many positive cases are found would reveal the failure.
The 99% accuracy is real arithmetic but misleading. The model fails completely at the one job that mattered, so accuracy alone should not be used to declare it good.
Choosing the Surrogate Closest to the Goal
A surrogate is only a stand-in, so it deserves care. The guidance is to find the metric that comes as close as possible to the original business goal while still being feasible to evaluate. Whenever it can be used, that closest feasible metric should be the one used for model evaluation and selection. The flow below shows how the business goal narrows down to the metric that drives the model choice.
The outcome of such an evaluation also need not be a single number. An algorithm might bring in ten percent more customers while each one spends fifteen percent less. The evaluation should still reflect the expected business impact of choosing one model over another, which means the metric must account for both effects rather than collapsing them into one figure that hides the trade-off.
Mistakes Teams Make With Metrics
Common mistake Treating a high accuracy score as proof that the model is good
What it looks likeA model scores 99% on a set where only about 1% of cases are positive, yet it finds none of them.
Why it failsAccuracy counts all predictions equally, so the many easy negatives can dominate the score while the rare positive cases are missed.
Do this insteadAsk whether the model performs the job that matters, and check the metric against the business goal rather than the arithmetic alone.
Common mistake Choosing a surrogate that is easy to compute but far from the business goal
What it looks likeJudging a pedestrian detector only on a number that has little to do with whether pedestrians are protected.
Why it failsA surrogate is a stand-in. If it drifts from the business goal, optimizing it can improve the number while the real outcome does not improve.
Do this insteadPick the metric that comes as close as possible to the business goal while still being feasible to evaluate.
Common mistake Forcing the whole evaluation into one number
Why it failsA single number may not capture the full expected business impact. Gains in one dimension can be offset by losses in another.
Do this insteadLet the evaluation reflect the consequences that matter to the application, even when that requires more than one measure.
Trade-Offs in a Single Evaluation Number
The evaluation should reflect the consequences that matter to the application. Consider a model that brings in ten percent more customers while each one spends fifteen percent less. Whether that model is better depends on how the business weighs the two effects together. A single headline figure may look like a verdict while quietly ignoring one side of the trade-off, which is why the source treats a single number as possibly insufficient.
Applying the Method to a New Classifier
An application uses a classifier to flag fraudulent transactions, and fraud is rare. A teammate proposes reporting only accuracy to show the model is ready. Using the ideas in this article, describe what the business goal is, why accuracy alone could mislead, and which surrogate metric you would choose and why it stays close to the goal.
Hints
- Start by naming the outcome the organization cares about, not the score.
- Ask what happens to the accuracy number when the positive class is rare.
- Choose a metric that is feasible to compute but still reflects whether the rare, important cases are caught.
Key Takeaways
- The business metric is the high-level goal an application serves, and model choices should be judged by their business impact on that goal rather than by a score alone.
- When measuring business impact directly is risky or infeasible, a surrogate evaluation uses a metric that is easier to compute and stays as close to the business goal as possible.
- Accuracy can mislead in binary classification, especially when the positive class is rare, because a model can score highly while missing every positive case.
- A single number may not capture the full expected business impact, so evaluation should reflect the consequences that matter to the application.