1. How would you combine automatic and human evaluation for an NLP classifier?
A text classifier returns a probability distribution over mutually exclusive labels. Define an untouched evaluation population and compare cross-entropy, accuracy, and class-specific precision and recall with a human review protocol. Specify the annotation rubric, blinded sampling, multiple-rater agreement, adjudication, subgroup and error-slice analysis, confidence intervals, and the acceptance evidence needed when automatic metrics and human judgments disagree.
I would keep a representative evaluation population completely untouched, compute cross-entropy, accuracy, and per-class precision and recall, then run blinded multi-rater human review with a clear rubric and adjudication. I would compare both views with confidence intervals and subgroup analysis before making the acceptance decision.
I would evaluate the classifier from two complementary views. Automatic metrics measure performance consistently over the untouched evaluation population, while human review checks whether predictions make sense under a clear labeling rubric. Because the classifier returns probabilities over mutually exclusive labels, I would measure cross-entropy as well as accuracy and class-specific precision and recall. I would then review a blinded sample with multiple independent raters, measure agreement, adjudicate disagreements, inspect important subgroups and error slices, report confidence intervals, and require clear evidence before accepting the model.
- What population should the untouched evaluation set represent, including the important subgroups?
- Which label errors are most important, so I know which class-specific precision and recall deserve the most attention?
- Is there already an annotation rubric, or should I define label rules, examples, and edge cases?
- What acceptance criteria should be agreed before looking at the final results?
Start with the evaluation population. I would set aside a representative collection of texts that is not used for training or model selection. The diagram uses an illustrative example of 10,000 texts with true labels A, B, and C. The important point is not the number 10,000; it is that the final population stays untouched and contains the important subgroups we care about.
Next, run the classifier on every text. For each text, the model returns a probability distribution over the mutually exclusive labels. The diagram shows an example with P(A) = 0.70, P(B) = 0.20, and P(C) = 0.10, so A is the predicted class because it has the highest probability.
Then compute automatic metrics. Cross-entropy, also called log loss, uses the probability assigned to the true class. For N examples, it can be written as L = -(1/N) * sum(log(p(y_i))), where p(y_i) is the probability assigned to the true label of example i. Lower cross-entropy is better. Accuracy is the fraction of examples whose predicted class equals the true class. I would also report precision and recall separately for each class. Precision for class c is TP_c / (TP_c + FP_c), and recall for class c is TP_c / (TP_c + FN_c). Per-class metrics matter because overall accuracy can hide a weak class.
In parallel, I would create a human review protocol. I would define an annotation rubric with clear label definitions, examples, and edge cases. I would draw a random or appropriately stratified sample from the untouched evaluation population. The diagram gives 500 to 1,000 items only as an example sampling size, not as a universal requirement. Reviewers should be blinded to model predictions and unnecessary model metadata so that the model does not influence their judgment.
I would have multiple independent annotators review each sampled item. The diagram uses two to three raters as an example. For two raters, Cohen's kappa is one reasonable agreement statistic because it adjusts observed agreement for chance agreement. The diagram's kappa value of 0.78 is an illustrative result, not a claimed experiment result. If more than two raters are evaluated jointly, I would use an agreement statistic designed for multiple raters instead of treating a two-rater Cohen's kappa as the joint agreement measure.
Disagreements should go through adjudication. A senior reviewer examines the disputed cases using the same rubric and creates a final human label for the reviewed sample. I would keep the disagreement examples because they often expose ambiguous language, rubric gaps, noisy reference labels, or systematic model errors.
After adjudication, I would compare the classifier with the adjudicated human labels on the reviewed sample. I would compute the relevant metrics and report uncertainty, such as 95% confidence intervals. The values shown in the diagram, including cross-entropy 0.45, accuracy 0.82, precision for A of 0.88, recall for A of 0.81, and their intervals, are illustrative examples rather than measured results from a supplied dataset.
I would then perform subgroup and error-slice analysis. The diagram illustrates slices such as short text, long text, Domain X, and Domain Y. The real slices should come from the actual evaluation population. I would compare accuracy and per-class precision and recall across those slices and inspect recurring error types. A strong overall metric does not compensate for a severe failure in an important subgroup.
Finally, I would reconcile disagreements between automatic metrics and human judgments instead of choosing whichever result looks better. I would inspect disagreement examples, check whether the rubric or reference labels need correction, look for ambiguous inputs, and use confidence intervals or appropriate statistical tests to determine whether differences are meaningful. If the human rubric changes, I would document that change and re-evaluate rather than silently moving the target.
The acceptance rule should be agreed before examining the final results. The diagram gives illustrative criteria: overall accuracy at least 0.80 with the 95% confidence-interval lower bound at least 0.78, no subgroup having more than 10% lower recall, and a disagreement rate within an agreed acceptable range. Those numbers are examples, not universal thresholds. The real decision should require acceptable automatic metrics, credible human-review evidence, sufficient rater agreement, no unacceptable subgroup harm, and a documented explanation for meaningful disagreements. If that evidence is not strong enough, I would refine the rubric or model and evaluate again without repeatedly tuning against the untouched final population.
- Define a representative untouched evaluation population and keep it out of training and model selection.
- Run the classifier on that population and retain the complete probability distribution and predicted class for each text.
- Compute cross-entropy, overall accuracy, and precision and recall separately for each class.
- Define a human annotation rubric with label definitions, examples, and edge cases.
- Draw a blinded random or appropriately stratified review sample from the same evaluation population.
- Have multiple annotators label each sampled text independently without seeing the model prediction.
- Measure inter-rater agreement and send disagreements through adjudication to obtain final human labels for the reviewed sample.
- Compare model predictions with the adjudicated human labels and report confidence intervals for the important metrics.
- Break results down by important subgroups and error slices and inspect disagreement examples.
- If automatic and human evidence disagree, investigate label quality, ambiguity, rubric gaps, and model failure modes rather than relying on one metric alone.
- Apply predeclared acceptance criteria using automatic performance, uncertainty, human agreement, subgroup behavior, and the explanation of disagreements.
- If the evidence is insufficient, update the rubric or model as appropriate and re-evaluate without repeatedly tuning on the untouched final population.
Automatic evaluation is cheap and repeatable once predictions and labels exist, so it scales well to the full evaluation population. Human evaluation is slower and more expensive because several people may review the same item and disagreements need adjudication. A larger human sample usually gives narrower uncertainty intervals but increases annotation cost. More raters can provide stronger agreement evidence but also increase time and cost. Cross-entropy uses the full probability distribution and can expose overconfident mistakes, while accuracy only checks the final class. Per-class precision and recall expose class-specific errors that an overall score may hide. Subgroup analysis adds more comparisons, so small slices may have wide confidence intervals and need cautious interpretation.
This tests whether I can design a trustworthy final evaluation instead of relying on one score. I should understand probability-based and label-based metrics, protect an untouched evaluation population, design reproducible human annotation, measure rater agreement, examine important subgroups and error slices, quantify uncertainty, and make a defensible acceptance decision when automatic metrics and human judgments do not tell the same story.
Common mistakes are using the final evaluation population during model selection; reporting only accuracy; ignoring the probability distribution and therefore cross-entropy; reporting aggregate results without class-specific precision and recall; letting human reviewers see model predictions; using an unclear rubric; relying on one annotator; using an agreement statistic that does not match the number of raters; failing to adjudicate disputed labels; ignoring subgroup and error-slice failures; presenting example thresholds or metric values as universal requirements; omitting confidence intervals; and accepting the model simply because automatic metrics are strong when human review reveals a systematic problem.
Present this as one evidence pipeline: untouched population, automatic metrics, blinded human review, agreement and adjudication, subgroup analysis, uncertainty, then a predeclared acceptance decision. Make it explicit that the human and automatic evaluations complement each other rather than compete.







