Measure, Don't Guess: Choosing Confidence Thresholds for Decision Models
A decision model picks an answer from a fixed list instead of writing free-form text. The input might be a support ticket, and the allowed answers the queues it can go to. The model returns one of those answers, so every response is something a downstream system can act on. Classification, routing, tagging, and yes/no policy checks all fit this shape.
Measuring a decision model works the same way as measuring any classifier: run it on examples where the correct answer is already known and count how often it agrees. That kind of comparison is also how to choose between decision models in the first place.
Decision models may be useful when cost and latency matter, and they return a confidence score with their choice. This post evaluates label agreement and thresholding, not cost or latency. The score gives us a way to accept some decisions automatically while sending less-confident ones to review. But where should the cutoff be?
For example, a threshold of 0.8 could decide whether to accept the model's answer, but why 0.8? Without measurements on the workload, that cutoff is arbitrary. It tells us nothing about how many wrong answers get accepted or how much work goes to review.
The cutoff should come from the data and use case. How many mistakes are acceptable, and how much work can the review team handle? Answering that takes examples of the work the model will receive, along with the expected answers.
For this post, I used financial complaint descriptions from the Consumer Financial Protection Bureau (CFPB) and Snowflake Decision, which is in private preview. The experiment used 300 complaints to look at the scores, 300 to choose a cutoff, and 3,000 separate complaints to test that cutoff without changing it.
For eligible open-weight models, Snowflake ML's Model Registry with Snowpark Container Services may provide a separate deployment path, as shown in Decisions Are All You Need. Eligibility depends on the model's dependencies, hardware requirements, and license. The experiment below used Snowflake Decision, but the framework for choosing the confidence threshold is model agnostic.
The complaint routing task
The model reads a complaint and picks one of seven categories: credit reporting, debt collection, mortgage, credit card, bank account, student loan, or money transfer.
Atlan's Decision Bench includes a related complaint-routing task. I used it as a starting point for the question and categories. The experiment below used a separate, larger CFPB complaint sample, because choosing and testing a cutoff needed more examples than the benchmark task provides.
How answers were scored:
- Each model answer was compared with the complaint's
Productfield, with the product values grouped into those seven categories. - The recorded CFPB categories serve as reference labels for this experiment. They were not independently validated, so the results measure agreement with those labels, not independently verified accuracy.
- An error means the model chose a different category.
- Complaints that fit more than one category need a clear rule in a live workflow. If either route is acceptable, the evaluation should count either as a match.
The CFPB archive
The source was a saved archive of a historical copy of the CFPB data, using the files with written complaint descriptions. In that archive, 1,627,887 of 1,689,573 records fit the seven categories and span March 2015 through February 2024. These counts reflect the archive and the grouping described here, not the CFPB's current database. The other 61,686 were excluded because their products were outside this task. The archive combines credit cards and prepaid cards in some records, so the card category includes both.
The CFPB also cautions that these complaints aren't a statistical sample of all consumer experiences. They may differ from what a particular bank receives, and some public complaints may have appeared in the model's training data.
Separate samples for choosing and testing the cutoff
Improving the prompt and cutoff on the same examples can produce something that only works well on those examples. The experiment kept four sets separate:
- Development: write the question, describe the categories, and decide how to handle unclear complaints.
- Score exploration: look at how the confidence score relates to agreement with the labels.
- Threshold selection: choose the cutoff for accepting an answer automatically.
- Final test: check the selected rule without changing it.
Repeated or lightly edited complaints could make those sets look separate when they aren't. Standardizing the text removed 375,179 repeats, leaving a pool for a repeatable sample of 18,000 candidates. Within that sample, the duplicate check compared overlapping five-word phrases and treated complaints with at least 85% similarity as variations of the same complaint. That search removed another 513 records. Keeping one complaint from each detected group prevented repeated complaints from getting extra weight.
The sample reserved 50 early records for development and split the rest by date. The score-exploration set spans April 2015 to October 2019, cutoff selection spans October 2019 to July 2022, and the final test spans July 2022 to February 2024. Within the first two ranges, a fixed ordering based on the request text selected 300 complaints from each range's 3,000-record candidate sample. The final test used 3,000 previously unscored complaints in the original seeded sampling order, without using their labels to choose them.
The categories weren't made equal in size. Equal-sized groups could help with studying a rare category, but the calculations would then need adjusting to describe the actual mix of work.

Credit-reporting complaints grew from 98 of 300 examples in the first set to 1,820 of 3,000 in the test, or from 32.7% to 60.7%. Leaving that change in place tested the cutoff on a different mix of complaints.
Saved model responses
Every request used the same routing question and category descriptions, with only the complaint text changing. The prompt left out Product, Sub-product, Issue, Sub-issue, company responses, and expected answers. Those fields could give away the answer or include information unavailable when the complaint first arrived.
Each of the 3,600 responses was saved alongside its recorded category, set, and request identifier before analysis. All responses contained an allowed answer and a probability for each of the seven categories. The model matched the recorded category on 258/300 score-exploration examples, 248/300 selection examples, and 2,638/3,000 test examples.
Reusing the saved answers makes it possible to compare cutoffs without also changing the model's response.
Confidence scores and label agreement
A confidence score of 0.8 doesn't automatically mean that an answer has an 80% chance of being right. Snowflake Decision returns a probability for each option and a confidence value. In this experiment, I evaluated how that value related to agreement with the recorded labels. We still need examples to see how that score relates to actual results.
The chart groups the first 300 answers into score ranges and shows how often they matched the labels, along with the number of examples in each range.

In the highest-score range, 138 of 141 answers matched the labels. The lower ranges had fewer examples and a less consistent pattern. That was enough reason to try using the score to decide which answers to accept.
Choosing the confidence cutoff
On the 300 selection examples, each distinct confidence score was tested as a cutoff. Answers at or above it were accepted automatically, and answers below it went to review. Answers with the same score were accepted or deferred together rather than using their labels to keep only the matches.
Each cutoff was compared on three measures:
- Share automated: accepted answers divided by all complaints included in the task.
- Error rate among accepted answers: accepted answers that don't match their labels divided by all accepted answers.
- Share sent to review: complaints not accepted automatically divided by all complaints included in the task.
For example, the selected cutoff accepted 131 of 300 complaints, automating 43.7% of the work. Six were errors, giving an error rate of 4.58%, while the other 169 complaints went to review.
Failed requests and invalid answers also go to review, so they stay in the total when calculating the share automated.
Before comparing cutoffs, I set two requirements: at least 100 accepted examples and no more than 5% measured error among them. The selected cutoff accepted the most work while meeting both.
| Score used | Selected cutoff | Accepted / total | Errors | Share automated | Error rate among accepted answers |
|---|---|---|---|---|---|
| Model confidence score | 0.905787 | 131 / 300 | 6 | 43.7% | 4.58% |

The resulting cutoff was about 0.905787, rounded here for readability but kept at full precision in the test.
The same cutoff applied across all seven categories.
The final test kept the model setting, question, categories, cutoff, and accept-or-review behavior unchanged.
Results on 3,000 test complaints
The test size was fixed at 3,000 complaints before scoring. The requirement this time was a 95% upper limit on the error rate below 5%, allowing for uncertainty rather than checking only the measured rate. The full set was evaluated once, without stopping early or changing the cutoff. All responses were valid, so none had to go to review because of a failed request or invalid answer.
| Rule | Accepted | Errors | Share automated | Error rate among accepted answers | 95% upper limit on error rate |
|---|---|---|---|---|---|
| Illustrative 0.8 cutoff | 2,340 | 158 | 78.0% | 6.75% | 7.67% |
| Selected cutoff | 1,524 | 55 | 50.8% | 3.61% | 4.50% |
The selected cutoff accepted 1,524 complaints and sent 1,476, or 49.2%, to review. There were 55 errors among the accepted answers, a rate of 3.61%. The upper limit was 4.50%, so the test met the below-5% requirement under the assumptions in the next section.
At 0.8, the rule would accept 816 more complaints, including 103 more errors. It would automate 78.0% of the work, but the error rate would rise to 6.75%, above the target.
Splitting each rule's answers by whether they matched the label shows where the errors go:

The selected cutoff sends 307 of the 362 wrong answers to review instead of 204, at the cost of reviewing 713 more correct ones.
Test size and uncertainty
For sample size, what matters is how many answers the rule accepts, not just how many complaints go to the model. The closer the expected error rate is to the limit, the more accepted examples it takes to tell them apart. Dividing that number by the expected share automated gives an estimate of the total test size. The choice of 3,000 complaints aimed to collect roughly 1,400 accepted answers. That size was fixed before scoring, rather than adding examples until the result passed. The 55 errors among 1,524 accepted answers gave a one-sided 95% upper limit of 4.50%, calculated with the exact Clopper-Pearson method (method="beta" in statsmodels proportion_confint, with alpha=0.10). The same method gives 7.67% for the 0.8 cutoff.
That calculation assumes each example provides independent evidence from the same underlying workload. The 95% describes how reliably the method covers the true error rate across repeated samples, not how often individual answers are right. The CFPB categories were consumer-selected and weren't independently reviewed here, so the reported errors depend on treating those labels as correct. Sampling by date, duplicate removal, and a different mix of complaints in your workload can all change these results, which apply to this dataset, prompt, and model configuration.
This content is provided as is, and is not maintained on an ongoing basis. It may be out of date with current Snowflake instances