Classification Task

A classification task is a machine learning job in which a model assigns each item, such as a study abstract or a patient, to one of a set of categories.

Status
Published, version 1.0.0
Last reviewed
10 Nov 2026, by Dr Darrin Baines
Report a problem
Tell us if something is wrong or out of date

Concept Architecture

Classification Task in AI Methods for Evidence

A classification task is the kind of machine learning job where the answer for each item is a category instead of a number. In evidence work for health technology assessment the items are usually records, such as an abstract to be marked include or exclude, or a study report to be labelled as a randomised trial or not. NICE ECD20 (2026), the NICE framework on AI methods for evidence, treats screening and data extraction as classification tasks and asks that AI used for them be judged with metrics that match the task, starting from the confusion matrix. Naming the task correctly decides which errors are possible and which one matters most when the output feeds a systematic review or a health economic model.

Items, classes and the positive class

A classification task is fixed by the unit being classified, the classes it can fall into and the reference labels used to judge the model. James and colleagues call a variable qualitative when it takes one of K classes, and call problems with a qualitative response classification problems, as opposed to regression problems where the response is a number. The predictors, often called features or covariates, may be words in an abstract or codes in a patient record.

In a binary task one of the two classes is named the positive class. In abstract screening it is normally a relevant record, so a false negative is a relevant record screened out and a false positive is an irrelevant record kept in. ECD20 defines these errors against a reference standard such as expert human judgement, so the labels in the evaluation set are part of the task.

Some tasks have more than two classes, such as labelling study design as randomised trial, non-randomised study or other. James and colleagues warn that coding unordered classes as 1, 2 and 3 for a linear regression imposes an order and spacing the classes do not have. Zhang and Zhou define a multi-label task as one where each example carries a set of labels at once, as when a trial report is tagged with every outcome it measures, and the simplest approach splits it into one binary task per label.

Evidence tasks that NICE frames as classification

ECD20 asks that AI uses be evaluated, where possible, by the predictive task underneath them. It names screening and data extraction as classification tasks to be assessed with confusion matrices, while it assigns text metrics such as BLEU or ROUGE to summarisation and non-generative extraction tasks and measures such as mean absolute error to regression tasks.

Title and abstract screening is the clearest case. ECD20 notes that screening asks for a binary decision and no new content, and it suggests prompts that limit a large language model to single-character answers for include, exclude or unsure. Because relevant records are few and a missed study can change the evidence base, ECD20 makes the false negative rate, or equivalently the true positive rate, its main screening measure. Summary measures such as the F-score, accuracy and the Matthews correlation coefficient may help developers but should not replace those two rates in reporting.

Study design filtering has a longer track record. Thomas and colleagues trained the Cochrane RCT Classifier, an ensemble of support vector machines, on 280,620 Embase records labelled by Cochrane Crowd, of which 20,454 (7.3%) reported a randomised controlled trial. They set the score threshold on a separate calibration dataset so that recall reached at least 99%, as Cochrane's information retrieval methodologists required, accepting there a precision of 8.3% with 58% of records discarded. On the included studies of 4,296 Cochrane reviews of randomised trials it identified 43,783 of the 44,007 studies with enough text for machine classification (99.5%), the other 14,276 being left to people. In 2018 it spared Cochrane Crowd from checking 185,039 of 449,480 records, and ECD20 names it as a validated tool for finding certain study types.

Data extraction fits the frame less neatly, since ECD20 counts any AI output outside the predefined extraction fields as a false positive, including hallucinated values, yet makes overall concordance, the share of extracted elements that agree with the source, the primary metric. An odds ratio with one wrong confidence limit counts as one error or as one of three, depending on how the extraction table defines the element.

ECD20 also lists identifying patient cohorts among AI uses in primary evidence generation, where a model assigns patients in real-world data to a group. Classifiers of patients, with their risk thresholds and calibration, are the subject of classification methods.

Trained classifiers and language models given the same job

A supervised model learns the boundary between classes from records already labelled by people, as the Cochrane classifier learned from crowd labels and as Cohen and colleagues in 2006 trained a voting perceptron on the reference files of 15 drug class reviews. ECD20 notes that a large language model can screen without training data specific to the review, and that both routes have shown performance comparable with human reviewers in published evaluations. Validation in either case needs independent data, and ECD20 accepts a separate collection or resampling such as holdout or cross-validation.

Either route usually yields a score that a threshold turns into a class. Thomas and colleagues note that a higher threshold raises precision among the records kept but discards more true trials. ECD20 suggests that semi-automated and automated screening may turn a likelihood score into a decision with a predefined threshold, tuned and validated, but says that scores should not set an exclusion threshold when AI only supports human screeners. It also states that a system failure should never cause automatic exclusion and should default to inclusion or human review.

Choosing the threshold by the cost of each error

James and colleagues show that the Bayes classifier, which assigns each item to its most probable class under the true class probabilities, gives the lowest possible overall error rate, which in a two-class task means a threshold of 0.5. Lowering the threshold cuts errors in the class that matters most at the price of more errors in the other, and they conclude that the choice rests on knowledge of what each error costs. In evidence synthesis the costly error is a missed relevant study, so ECD20 and Cochrane both put the true positive rate ahead of any saving in workload.

TPR=TPTP+FN,FNR=FNTP+FN=1−TPRTPR = \frac{TP}{TP + FN}, \quad FNR = \frac{FN}{TP + FN} = 1 - TPR

where TPTP is the number of relevant records the classifier keeps, FNFN is the number of relevant records it excludes, TPRTPR is the true positive rate (also called recall or sensitivity) and FNRFNR is the false negative rate.

Cohen and colleagues measured workload as work saved over sampling (WSS), which credits a classifier only for records screened out beyond what random sampling would save at the same recall.

WSS=TN+FNN−(1−R)WSS = \frac{TN + FN}{N} - (1 - R)

where TNTN is the number of irrelevant records excluded, FNFN is the number of relevant records excluded, NN is the number of records screened and RR is the recall. At a recall of 0.95 their average across 15 drug review topics was 23.43%.

Worked example of an unsure answer in screening 1,000 abstracts

All numbers here are illustrative. A team screens 1,000 abstracts for a review that will supply the treatment effect for a cost-effectiveness model. Two independent human screeners with adjudication, the reference standard, find 50 relevant records, a prevalence of 5%. A language model answers include, unsure or exclude for each record.

Reference labelIncludeUnsureExcludeTotal
Relevant444250
Irrelevant9060800950
Total134648021,000

1. Rule A sends unsure records to a human. TP = 44 + 4 = 48, FN = 2, FP = 90 + 60 = 150 and TN = 800, so 198 records are kept. The true positive rate is 48/50 = 0.96 and the false negative rate 2/50 = 0.04.

2. Rule B treats unsure as exclude. TP = 44, FN = 2 + 4 = 6, FP = 90 and TN = 800 + 60 = 860, so 134 records are kept. The true positive rate is 44/50 = 0.88 and the false negative rate 6/50 = 0.12.

3. Work saved. Under rule A, WSS = (800 + 2)/1000 − (1 − 0.96) = 0.802 − 0.04 = 0.762. Under rule B, WSS = (860 + 6)/1000 − (1 − 0.88) = 0.866 − 0.12 = 0.746.

4. Accuracy. The share classified correctly is (48 + 800)/1000 = 0.848 under rule A and (44 + 860)/1000 = 0.904 under rule B, so classification accuracy prefers the rule that loses more relevant studies.

5. Interpretation. Rule B saves 198 − 134 = 64 abstract reads, about 32 minutes at an illustrative 30 seconds each, and triples the false negative rate, since 0.12/0.04 = 3. If one of the four extra lost records were a large trial, the pooled effect in the meta-analysis and the cost-effectiveness ratio built on it could move. The ECD20 primary metric points to rule A, and WSS agrees because it charges for lost recall.

Classification beside regression, generation and test accuracy

A Regression Task predicts a number, such as a patient's annual cost, and is judged by the size of its errors. James and colleagues note that logistic regression is a classification method despite its name, though because it estimates class probabilities it can also be seen as regression analysis. Generation tasks such as Abstractive Summarisation produce new text, which ECD20 judges with overlap metrics such as Recall-Oriented Understudy for Gisting Evaluation and with human review.

Binary classification shares its arithmetic with diagnostic test accuracy, and Thomas and colleagues note that recall and precision are the information retrieval names for sensitivity and positive predictive value. Confusion Matrix, False Negative Rate, False Positive Rate, F-Score and Matthews Correlation Coefficient each summarise classification results in a different way. Misclassification is a separate idea about wrong categories in analysis data, though a classifier that defines an outcome in real-world data passes its errors on as misclassification.

Where the classification frame misleads

ECD20 warns that a screening model can do much worse in a new review, and that one validated only on randomised trials may fail when other designs are in scope. Thomas and colleagues found that recall fell to 94% when records with little text were classified by machine, that older reports were more often misclassified and that training on almost only English-language records may not carry over to other languages.

The reference labels are imperfect too. ECD20 warns against treating human screeners as error-free and that an earlier review's included studies should not be assumed to be a complete reference standard, so each disagreement needs checking before it is charged to the model. When a language model explains a label, ECD20 cautions that the stated reasoning may not be the real reason for the classification.

Sources

  • Cohen AM, Hersh WR, Peterson K, Yen PY. Reducing workload in systematic review preparation using automated citation classification. Journal of the American Medical Informatics Association. 2006;13(2):206-219. https://doi.org/10.1197/jamia.M1929
  • James G, Witten D, Hastie T, Tibshirani R, Taylor J. An Introduction to Statistical Learning with Applications in Python. Cham: Springer; 2023. Sections 2.1.5, 2.2.3, 4.2 and 4.4.2. https://www.statlearning.com/
  • National Institute for Health and Care Excellence. AI methods for evidence framework (ECD20). Published 9 November 2026. Principles, primary evidence generation and evidence synthesis chapters, and Appendix A. https://www.nice.org.uk/corporate/ecd20
  • Thomas J, McDonald S, Noel-Storr A, Shemilt I, Elliott J, Mavergames C, Marshall IJ. Machine learning reduced workload with minimal risk of missing studies: development and evaluation of a randomized controlled trial classifier for Cochrane Reviews. Journal of Clinical Epidemiology. 2021;133:140-151. https://doi.org/10.1016/j.jclinepi.2020.11.003
  • Zhang ML, Zhou ZH. A review on multi-label learning algorithms. IEEE Transactions on Knowledge and Data Engineering. 2014;26(8):1819-1837. https://doi.org/10.1109/TKDE.2013.39

Library

Publications

7
  • Journal article

    The Use of Generative Artificial Intelligence in Systematic Literature Reviews: A Rapid Review of the Literature — Fleurence RL, Qureshi R, Aggarwal R, et al, Online first 2026 ed., 2026 (Value in Health)

    Rapid review of how generative AI has been used in systematic literature reviews and how well it performed.

  • Journal article

    RobotReviewer: evaluation of a system for automatically assessing bias in clinical trials — Marshall IJ, Kuiper J, Wallace BC, Vol. 23, No. 1, pp. 193-201 ed., 2016 (Journal of the American Medical Informatics Association)

    Evaluates RobotReviewer for automated risk of bias assessment of trials, an early non-generative AI tool.

  • Guidance

    Guidance for using artificial intelligence for title and abstract screening while conducting knowledge syntheses — Hamel C, Hersi M, Kelly SE, et al, Vol. 21, No. 1, Article 285 ed., 2021 (BMC Medical Research Methodology)

    Practical guidance on when and how machine learning screening can be used in a knowledge synthesis without losing relevant studies.

  • Journal article

    Machine learning reduced workload with minimal risk of missing studies: development and evaluation of a randomized controlled trial classifier for Cochrane Reviews — Thomas J, McDonald S, Noel-Storr A, et al, Vol. 133, pp. 140-151 ed., 2021 (Journal of Clinical Epidemiology)

    Shows a trained RCT classifier cut Cochrane screening workload while missing very few relevant studies.

  • Journal article

    An open source machine learning framework for efficient and transparent systematic reviews — van de Schoot R, de Bruin J, Schram R, et al, Vol. 3, No. 2, pp. 125-133 ed., 2021 (Nature Machine Intelligence)

    Introduces ASReview, an open source active learning screener widely used to cut screening time.

  • Journal article

    Toward systematic review automation: a practical guide to using machine learning tools in research synthesis — Marshall IJ, Wallace BC, Vol. 8, No. 1, Article 163 ed., 2019 (Systematic Reviews)

    Practical guide to which machine learning tools can help at each step of a review, written before LLMs arrived.

  • Journal article

    Using text mining for study identification in systematic reviews: a systematic review of current approaches — O'Mara-Eves A, Thomas J, McNaught J, et al, Vol. 4, No. 1, Article 5 ed., 2015 (Systematic Reviews)

    Much-cited review of text mining to find studies for systematic reviews, on which later AI screening work builds. The publisher has issued an erratum to this article.

Frequently Asked Questions (6)

  • What is Classification Task?

    A classification task is a machine learning job in which a model assigns each item, such as a study abstract or a patient, to one of a set of categories.

    Source: NICE ECD20 (2026)

  • Which metrics does NICE ECD20 ask for when AI performs a classification task such as title and abstract screening?

    NICE ECD20 asks that AI uses be judged, where possible, by the predictive task underneath them, and it treats screening and data extraction as classification tasks assessed with confusion matrices. In title and abstract screening the relevant record is the positive class, and the false negative rate, or equivalently the true positive rate, is the main measure because relevant records are few and a missed study can change the evidence base. Summary scores such as the F-score and accuracy may help developers but should not replace those two rates in reporting. Data extraction uses overall concordance with the source as its primary metric instead.

    Source: NICE ECD20 (2026)

  • How well did the Cochrane RCT Classifier perform as a classification task for finding randomised trials?

    Thomas and colleagues trained the Cochrane RCT Classifier, an ensemble of support vector machines, on 280,620 Embase records labelled by Cochrane Crowd, of which 7.3% reported a randomised controlled trial. Its score threshold was set on separate calibration data so that recall reached at least 99%, accepting a precision of 8.3% on that dataset while 58% of records were discarded. Among the included studies of 4,296 Cochrane reviews it identified 43,783 of the 44,007 studies with enough text for machine classification, or 99.5%. In 2018 it spared Cochrane Crowd from checking 185,039 of 449,480 records.

    Source: Thomas et al. 2021

  • How should the decision threshold be set when a classification task screens studies for a review that informs an economic model?

    Many classifiers return a score or probability, and a threshold turns it into a class. James and colleagues show that assigning each item to its most probable class, which in a two-class task means a threshold of 0.5 on a true or well-calibrated probability, gives the lowest overall error rate, but that rule counts every error as equally costly. Lowering the threshold cuts errors in the class that matters most at the price of more errors in the other, so the choice rests on knowledge of what each error costs. In screening for a review that supplies a treatment effect to a cost-effectiveness model, a missed relevant study usually costs far more than an extra abstract read.

    Source: James et al. 2023

  • How does a classification task differ from a regression task in machine learning?

    James and colleagues call a response qualitative when it takes one of a set of classes and call problems with such a response classification problems, while problems with a numeric response are regression problems. A classifier might label an abstract include or exclude, whereas a regression model might predict a patient's annual cost and be judged by the size of its errors. Coding unordered classes as numbers for a linear regression imposes an order and spacing that the classes do not have. Logistic regression is a classification method despite its name, although its class probabilities let it be seen as a regression method as well.

    Source: James et al. 2023

  • How is work saved over sampling used to judge a classification task that screens citations for a systematic review?

    Cohen and colleagues proposed work saved over sampling (WSS) to measure how much reading a citation classifier saves at a given recall. It takes the share of records the classifier screens out, true negatives plus false negatives over all records screened, and subtracts the share that random sampling would save at the same recall, which is one minus recall. A classifier therefore earns credit only for savings beyond chance, and relevant studies it loses lower the score. Across 15 drug class review topics their voting perceptron system averaged a WSS of 23.43% at a recall of 0.95.

    Source: Cohen et al. 2006

Trust Record

Verified by Dr Darrin Baines

British health economist

Professional identity: darrinbaines.org

Verification date: 10 Nov 2026

Content version: 1.0.0

Canonical Identity

Term code
HS-HP-DH-073

Stable URI · Machine-readable · Resolvable · CC BY 4.0

This article is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).

Author: Dr Darrin Baines · Publisher: Intelligent Parameters Ltd · Identifier: https://healtheconomics.wiki/concept/classification-task