Manuel B. Garcia

Manuel B. Garcia serves as the Senior Director for Educational Technology and Digital Learning at FEU Institute of Technology, Manila, Philippines. Read More

Contact Info

1607, FEU Tech Building,
P. Paredes St, Sampaloc,
Manila, Philippines
mbgarcia@feutech.edu.ph

Follow Me

Should AI Provide Confidence Scores for Research Coding Decisions?

AI confidence scores may help researchers prioritize uncertain coding decisions, but a reported confidence of 90% does not necessarily mean a 90% probability of correctness. Learn how to interpret, calibrate, and evaluate confidence scores before using them to guide human review.

392
AI Coding Confidence Scores Guide 392 of 1196
01 · The Question

Should AI Tell You How Confident It Is About Each Research Code?

You ask generative AI to classify 2,000 open-ended survey responses using a research codebook. Alongside each assigned code, the model provides a confidence score: 98%, 85%, 62%, or another number.

The scores seem useful. You could review low-confidence assignments and accept high-confidence ones, potentially reducing the amount of manual checking required.

But what does a confidence score actually measure? If AI reports 95% confidence, does that mean its classification has a 95% chance of being correct? And can researchers use these numbers to decide which coding decisions deserve human attention?

02 · The Short Answer

Confidence Scores Can Help, but Only When Their Meaning Is Established

In Brief

AI confidence scores can be useful for prioritizing research coding decisions that require human review, but a model's reported confidence should not automatically be interpreted as the probability that its assigned code is correct. Confidence measures must be evaluated and, when appropriate, calibrated against independently reviewed coding decisions.

Different confidence methods measure different aspects of model behavior. Self-reported percentages, model-generated probabilities, and uncertainty estimates are not interchangeable, and even high-confidence classifications may contain systematic errors.

03 · What You Need to Know

What AI Confidence Scores Mean During Research Data Coding

What Is an AI Coding Confidence Score?

A confidence score is a numerical or categorical indication associated with an AI-generated coding decision. Depending on the system, it may represent a model-generated judgment of certainty, a probability derived from model outputs, or a score produced by a separate uncertainty-estimation procedure.

Suppose a researcher uses three categories to classify students' comments about online learning: internet connectivity, platform usability, and instructor communication.

For the response "My internet disconnects whenever I attend a live lecture," the model might assign "internet connectivity" and report confidence of 0.97.

That number appears precise, but its interpretation depends on how it was obtained. If the researcher simply asked the model to provide a confidence percentage, the number is a generated response rather than an independently established probability of correctness.

Researchers should therefore ask how the score was produced before deciding what it means.

Are All AI Confidence Scores Calculated the Same Way?

No. Several approaches are used to estimate uncertainty in language-model outputs.

Confidence Approach How It Works Important Limitation
Self-reported confidence The model is prompted to state how certain it is about an assignment. The generated number is not automatically calibrated to actual correctness.
Model probability-based scoring Probabilities associated with model outputs are used to construct a classification score. Token probabilities do not automatically equal probabilities that research codes are correct.
Repeated-output agreement The same response is classified repeatedly, and variation among assignments is examined. Stable outputs can reproduce the same systematic error.
External or calibrated confidence model A separate procedure estimates the relationship between model scores and observed coding correctness. Performance may change when the dataset, model, or coding framework changes.

These methods should not be compared as though they measure identical quantities. A researcher using confidence scores must identify the specific method and its intended interpretation.

Does 90% AI Confidence Mean a 90% Chance of Correct Coding?

Not necessarily. A confidence score of 90% only has that probabilistic interpretation when the scoring procedure has been appropriately calibrated and evaluated for the intended task.

Calibration concerns the relationship between reported confidence and observed correctness. For example, if a system assigns approximately 90% confidence to many classifications, a well-calibrated system would be expected to classify approximately 90% of those cases correctly, under the conditions for which calibration holds.

Calibration is generally assessed across groups of predictions rather than established from one individual score.

Uncalibrated confidence A score whose relationship to actual classification correctness has not been adequately established.
Calibrated confidence A score supported by evaluation showing that reported probabilities correspond reasonably to observed correctness under specified conditions.

Even a calibrated model can make incorrect high-confidence predictions. Calibration does not guarantee that any individual classification is correct.

How Can Researchers Check Whether Confidence Scores Are Calibrated?

For structured classification tasks, researchers can compare reported confidence with correctness against an independently reviewed reference dataset.

One straightforward approach is to group predictions into confidence ranges and calculate the proportion of correct classifications within each group.

Reported Confidence Observed Accuracy Interpretation
50%–59% 55% Broadly aligned with the reported range.
70%–79% 61% Confidence appears higher than observed correctness.
90%–99% 76% Substantial overconfidence in this group.

These figures are hypothetical. In practice, the number of observations within each range, uncertainty in the estimates, category distribution, and representativeness of the evaluation data must also be considered.

If high-confidence assignments frequently turn out to be incorrect, the researcher should not use the scores to exempt those assignments from review.

What Is the Difference Between Confidence and Accuracy?

Confidence describes a system's estimated certainty about a decision. Accuracy describes how often classifications match an appropriate reference.

A model may be confident but inaccurate, uncertain but correct, or reasonably calibrated overall while performing poorly on a particular category.

For example, a model might confidently classify sarcastic complaints as positive experiences. Repeating the classification could produce the same answer each time, creating both high reported confidence and high apparent stability without valid interpretation.

Researchers should distinguish confidence from coding consistency and validity. None of these properties automatically establishes the others.

Can Confidence Scores Help Identify Ambiguous Responses?

Potentially. A model may assign lower confidence when a response contains insufficient information, overlapping categories, or several plausible interpretations.

Consider the statement "The university should have provided more support." If the codebook distinguishes technical support, administrative support, and instructor support, the response may not provide enough evidence to select one.

A low confidence score could help identify the case for review. However, the model might instead select one category with high confidence, particularly if its learned associations favor that interpretation.

Consequently, researchers should not assume that all ambiguous cases receive low scores. The effectiveness of AI ambiguity detection must be evaluated using independently reviewed examples.

Should Researchers Use Confidence Thresholds to Decide Which Responses to Review?

A confidence threshold is a rule that determines which predictions receive additional review. For example, a researcher might initially consider reviewing assignments with scores below 0.80.

However, 0.80 is not a universally appropriate threshold. Its usefulness depends on the scoring method, observed error rates, coding task, and consequences of incorrect assignments.

A defensible threshold should be selected using evaluation data and assessed against the review workload and the number of errors it fails to capture.

Watch Out

Do not use an arbitrary confidence threshold to classify all higher-scoring responses as correct. A threshold can reduce review workload while systematically overlooking confidently incorrect classifications, particularly in underrepresented categories or unfamiliar linguistic contexts.

Researchers should also examine a separate sample of high-confidence assignments. Otherwise, the evaluation may focus exclusively on errors the model already suspects.

What Is Selective Classification?

Selective classification allows a system to make predictions for some cases while abstaining from others. In research coding, the model might assign a category when specified criteria are met and return "requires review" when they are not.

Two quantities are relevant: coverage, which describes the proportion of cases receiving an automated classification, and selective risk, which describes the error rate among those accepted classifications.

Lowering coverage may reduce error rates if the system successfully identifies difficult cases. However, this relationship must be demonstrated rather than assumed.

For example, a system that automatically codes 70% of responses with acceptable performance may be more useful than one that codes 95% while making consequential errors. The appropriate trade-off depends on the study and the resources available for review.

Selective classification is not equivalent to removing difficult responses from the research dataset. Cases requiring review should remain traceable and be resolved or reported according to the study's analytical design.

Can Repeated AI Coding Produce More Trustworthy Confidence Estimates?

Repeated classifications can provide information about output stability. If the same response receives different labels across runs, that variation may indicate sensitivity to model behavior or coding conditions.

However, repeated agreement is not a calibrated confidence estimate by itself. A model can repeatedly make the same incorrect inference.

Researchers should also consider whether repeated calls use identical instructions, model versions, and processing contexts. Without such controls, variation may reflect changes in the workflow rather than uncertainty about the response.

The implications of rerunning the same coding prompt should therefore be examined separately from confidence calibration.

What Does Research Say About LLM Confidence and Calibration?

Kadavath and colleagues (2022), in the research paper "Language Models (Mostly) Know What They Know," examined whether language models could estimate the probability that their answers were correct. Their results demonstrated that some forms of self-evaluation can provide useful information, although the findings were specific to the evaluated models and tasks.

Guo and colleagues (2017) showed that modern neural networks can be poorly calibrated, establishing an important distinction between predictive accuracy and confidence reliability.

More directly relevant to language models, Kuhn, Gal, and Farquhar (2023) examined semantic uncertainty by considering the meanings of generated responses rather than relying exclusively on token-level probabilities. Their work illustrates why uncertainty estimation for language generation requires attention to semantic equivalence.

These studies support investigating confidence measures rather than treating model-generated percentages as self-validating. They do not establish that any particular confidence method is sufficiently reliable for a specific qualitative coding task.

Are Confidence Scores Appropriate for Every Qualitative Methodology?

No. Numerical confidence is more straightforward to evaluate when coding involves explicit categories and a defensible reference classification.

In interpretive approaches such as reflexive thematic analysis, different researchers may develop different but analytically defensible interpretations. Treating one code as the uniquely correct answer may be inconsistent with the methodology.

A confidence score could still describe a model's behavior, but its meaning should not be confused with the validity of an interpretive reading.

Researchers should determine whether their analytical approach supports probability-based classification evaluation before adopting numerical confidence as a quality indicator.

04 · A Practical Example

Testing Whether AI Confidence Scores Can Guide Human Review

Hypothetical Example

Evaluating 500 AI-Coded Survey Responses

A researcher uses AI to classify 500 open-ended responses about online learning challenges. Each response receives one category and a confidence score between 0 and 1.

An independently reviewed reference set is available for evaluating the assignments. The researcher wants to determine whether confidence scores can help prioritize manual checking.

Step 1: Compare Confidence With Observed Correctness

The researcher groups the 500 responses according to reported confidence and compares the AI classifications with the reference decisions.

Confidence Range Responses Correct Assignments Observed Accuracy
Below 0.70 100 65 65%
0.70–0.89 200 170 85%
0.90–1.00 200 180 90%

The model performs better among higher-scoring assignments. However, 20 of the 200 highest-confidence classifications are still incorrect.

Step 2: Evaluate a Proposed Review Threshold

Suppose the researcher considers reviewing only responses with confidence below 0.70.

This would direct attention to 100 responses, representing 20% of the dataset. Those responses contain 35 incorrect classifications.

Across the entire dataset, there are 85 incorrect classifications: 35 in the lowest-confidence group, 30 in the middle group, and 20 in the highest-confidence group.

Errors Captured by the Review Rule
Error capture rate = (Incorrect classifications selected for review ÷ All incorrect classifications) × 100
The numerator counts incorrect assignments included in the review group. The denominator counts all incorrect assignments identified against the reference set.
Hypothetical result: (35 ÷ 85) × 100 = 41.2%. Reviewing the lowest-confidence 20% would capture approximately 41% of observed errors, but leave approximately 59% outside the review group.

The threshold identifies a group with a relatively high error rate, but it does not capture most of the errors.

Step 3: Investigate High-Confidence Errors

The researcher examines the 20 incorrect assignments in the highest-confidence group. Several involve sarcastic responses and indirect complaints.

This suggests that confidence alone may be insufficient to identify particular error types. The researcher may need additional review criteria targeting linguistic complexity or categories associated with consequential mistakes.

Step 4: Develop a More Defensible Review Procedure

Instead of relying exclusively on a single threshold, the researcher considers combining confidence-based prioritization with review of ambiguous cases, category-specific checks, and an independent sample of higher-confidence assignments.

The procedure is evaluated on separate data before being used operationally.

The practical lesson is that confidence scores may help locate errors, but their usefulness must be measured by the errors they actually identify, not by how precise the numbers appear.

05 · What Researchers Often Get Wrong

Misconceptions About AI Coding Confidence Scores

Misconception

Does 95% Confidence Mean a 95% Probability of Correct Coding?

Not without appropriate calibration evidence. A self-reported confidence percentage is a model-generated output whose relationship to actual correctness may be unknown.

Misconception

Are High-Confidence AI Classifications Safe to Accept Automatically?

No. High-confidence errors can occur, particularly when a model systematically misunderstands certain expressions or applies an unsuitable category definition.

Misconception

Does Low Confidence Always Mean the Research Response Is Ambiguous?

No. Low confidence may reflect model limitations, unfamiliar terminology, or poor instructions. A response can be clear to a knowledgeable researcher while remaining difficult for the model.

Misconception

Can Researchers Use the Same Confidence Threshold for Every Study?

No. Threshold selection depends on the scoring method, task, category distribution, observed performance, and consequences of errors. A threshold established for one dataset may not transfer to another.

Misconception

Does Repeated Agreement Between AI Runs Establish High Confidence?

Not necessarily. Repeated agreement demonstrates output stability under the tested conditions. It does not independently establish correctness or calibrated confidence.

Misconception

Can a Confidence Score Replace Human Evaluation?

No. Confidence can support review prioritization, but researchers still need evidence that the scoring procedure identifies consequential errors and that the underlying classifications are methodologically appropriate.

06 · What This Means for You

When Should You Use Confidence Scores in AI-Assisted Coding?

Confidence scores are most useful when they support a specific decision, such as determining which structured classifications require additional review. Their value should be established through observed performance rather than assumed from their numerical appearance.

A simple decision framework

If your AI tool simply generates a confidence percentage when asked
Treat the number as an unvalidated self-assessment until its relationship to correctness has been evaluated.
If you have independently reviewed reference classifications
Examine whether confidence predicts errors and whether calibration is adequate for the intended use.
If you want to reduce manual review workload
Evaluate candidate thresholds against error capture, review coverage, and the consequences of missed mistakes.
If errors concentrate in particular categories or response types
Add targeted review criteria rather than relying on confidence alone.
If your analysis is primarily interpretive
Consider whether numerical confidence is methodologically meaningful before using it to judge coding quality.

Researchers should also distinguish confidence-based prioritization from the broader question of how much AI-coded material requires manual checking. A review strategy should consider the reliability of its selection mechanism as well as the consequences of undetected errors.

If confidence scores cannot be validated adequately, researchers may be better served by explicit ambiguity flags, independent sampling, and systematic examination of known difficult categories.

07 · A Quick Checklist

Before Using AI Confidence Scores to Guide Coding Decisions

Before relying on confidence scores, check:
Identify how the AI system produces its confidence scores.
Determine whether the scores are intended to represent probabilities of correctness or another quantity.
Evaluate confidence against independently reviewed coding decisions.
Examine calibration and category-specific error patterns where appropriate.
Test proposed review thresholds rather than selecting arbitrary cutoffs.
Investigate confidently incorrect classifications and their potential consequences.
Include an independent check of higher-confidence assignments.
Document the scoring method, threshold selection, evaluation results, and review decisions.
08 · Frequently Asked Questions

Frequently Asked Questions About AI Coding Confidence

Can ChatGPT provide confidence scores for qualitative coding?

Yes. ChatGPT can be prompted to generate confidence values alongside coding decisions. However, those values should not automatically be interpreted as calibrated probabilities of correctness.

What does 0.90 confidence mean in AI coding?

Its meaning depends on how the score was produced. If appropriately calibrated as a probability of correctness, predictions assigned approximately 0.90 confidence should be correct about 90% of the time under comparable conditions. An unvalidated model-generated score does not establish that interpretation.

Should I manually review every response below 80% confidence?

Not automatically. An 80% threshold is arbitrary unless supported by evaluation. Researchers should determine how well the threshold identifies errors and how many consequential mistakes remain outside the review group.

Can AI be highly confident and still assign the wrong code?

Yes. A model may confidently misunderstand sarcasm, cultural expressions, or category boundaries. High confidence does not guarantee correct classification.

Is confidence calibration the same as coding accuracy?

No. Accuracy measures how often classifications are correct relative to a reference. Calibration measures whether reported confidence corresponds to observed correctness. A model can have relatively high accuracy while remaining poorly calibrated.

Can confidence scores help reduce manual coding work?

Potentially. They may help prioritize responses more likely to contain errors, but the benefit depends on their demonstrated ability to identify those errors. Researchers should also examine higher-confidence assignments and important categories.

Are confidence scores necessary for publishing AI-assisted qualitative research?

No universal requirement makes confidence scores necessary. Their relevance depends on the coding task, methodology, validation design, and applicable reporting requirements. Transparent documentation of AI use and appropriate evaluation remain important.

09 · The Bottom Line

Confidence Scores Are Useful Only When They Predict Something Meaningful

The Bottom Line

AI confidence scores may help researchers identify coding decisions that deserve review, but the numbers should not be trusted as probabilities of correctness without appropriate evaluation and calibration.

Use confidence as one possible source of evidence, not as a substitute for examining coding quality. A score becomes useful when researchers can demonstrate what it predicts, how reliably it performs, and which errors it may still overlook.

10 · Sources and Further Reading

Research and Methodological References

11 · Cite this Guide

How to Cite This Guide

This guide is intended to be read, shared, and used in research, teaching, and academic work. If you draw on its ideas, explanations, or other content, please acknowledge the source by citing the guide. Doing so gives appropriate credit and helps your readers locate the original resource.

Has the Field Guide helped your research?

If a guide helped clarify a question, inform a research decision, or move your work forward, I would love to hear about your experience. Your story may also help other researchers discover the Field Guide.

Share Your Experience
Takes only a few minutes