Skip to Content
TechnologiesTechnologies
  • Article
  • Open Access

1 December 2026

19 Pages

Adding an Unseen Diagnostic Class Without Retraining: Multi-Level Fisher Correction of a Chest Radiograph Classifier

and
1
Research Center in Artificial Intelligence, Institute of Information Technologies, Mathematics and Mechanics, Lobachevsky State University of Nizhny Novgorod, Gagarin Avenue 23, 603022 Nizhny Novgorod, Russia
2
Moscow Center for Advanced Studies, 20 Kulakova Str., 123592 Moscow, Russia
*
Author to whom correspondence should be addressed.
Technologies2026, 14(12), 812;https://doi.org/10.3390/technologies14120812 
(registering DOI)
This article belongs to the Special Issue Advancements in Medical and Assistive Technologies Using Artificial Intelligence and Deep Learning Techniques—2nd Edition

Abstract

A deployed neural classifier has no output for a diagnostic category that was absent from its training labels, and retraining it risks altering decisions that are already correct. We examine whether such a category can be added post hoc, without modifying network weights, by a linear corrector operating on the network’s own hidden representations. A ResNet-50 trained on chest radiographs of three classes (normal, pneumonia, tuberculosis) was kept frozen, and COVID-19 was introduced as a new class through a Fisher discriminant corrector. The corrector uses 60,672 features pooled from the stem and all 16 bottleneck blocks, reduced to 100 whitened, ℓ 2 -normalized principal components, and was fitted with 100 COVID-19 images, with 115 separate COVID-19 validation images used for model selection; its threshold targeted at most 1% false activations on legacy-class validation data. On a 1001-image test set (655 legacy, 346 COVID-19) from a public 7135-image corpus, four-class accuracy increased from 62.74% for the uncorrected network to 90.81% (95% CI 88.86–92.45%) and Cohen’s κ from 0.477 to 0.865. COVID-19 sensitivity was 81.79% and precision 98.95%; 3 of 655 legacy images (0.46%) were redirected, and 626 of 628 previously correct legacy decisions were preserved (99.68%). Recovery was markedly lower for COVID-19 images the backbone had mapped to tuberculosis than to pneumonia (74.2% vs. 92.4%, Holm-adjusted p = 1.16 × 10 − 4 ), making COVID-19/tuberculosis confusion the dominant residual error. Both Fisher and logistic correction improved with multi-level features; their multi-level accuracies were 90.81% and 91.31%, with no significant paired difference (exact McNemar test, raw p = 0.125 , Holm-adjusted p = 0.250 ). Matched-data four-class fine-tuning reached 95.50% accuracy with 98.09% legacy retention. On 852 external COVIDGR images, AUROC was 0.620 for Fisher correction and 0.650 for four-class fine-tuning. Both systems performed worse on the external data. This comparison does not separate changes in backbone features from changes in the decision rules.

1. Introduction

Convolutional neural networks are now an established tool for chest radiograph analysis, with applications ranging from tuberculosis screening to multi-label interpretation trained on large annotated archives [1,2,3]. During the COVID-19 pandemic, numerous chest X-ray classifiers were proposed for the detection of SARS-CoV-2-related pneumonia [4,5,6]. A practical problem that such work rarely addresses directly is the emergence of a new diagnostic category after a classifier has been trained, validated and deployed. A three-class network trained to distinguish normal, pneumonia and tuberculosis images has, by construction, no output for COVID-19; every COVID-19 radiograph is forced into one of the existing categories. In clinical informatics this situation is not hypothetical: label sets evolve as new diseases appear or diagnostic criteria change.
Several families of methods are relevant. Open-set recognition and out-of-distribution scoring can flag inputs that do not belong to known classes [7,8] but do not assign them a new, named label. Class-incremental approaches that update network weights use rehearsal or regularization to mitigate catastrophic forgetting [9,10]; any retraining, however, can change previously correct decisions, a property that is undesirable for a system whose behavior on existing classes has already been validated.
Model updates raise a practical question of compatibility. Backward-compatible representation learning aims to keep new embeddings interoperable with previously computed features in visual retrieval systems [11]. For continual classification on pre-trained models, SLCA combines slow representation adaptation with classifier alignment to address progressive overfitting across incremental tasks [12]. These studies motivate explicit assessment of what an update preserves. In the present task, the relevant unit is an individual prediction. We therefore measure the fraction of previously correct legacy decisions retained after adding the new class, alongside new-class recall and overall accuracy. This makes the operational cost of extension visible even when aggregate accuracy improves.
An alternative is to leave the trained network untouched and attach an external corrector that acts on its internal representations. The theory of stochastic separation shows that, in high-dimensional feature spaces, small sets of points can be separated from large data sets by simple linear functionals with high probability [13,14,15], which justifies linear correctors for one- and few-shot learning [16]. The Fisher linear discriminant [17] is a natural choice for such a corrector because it is fitted in closed form from class means and covariances. Correctors of this kind have improved cascade object detectors [18] and recovered facial-expression labels that were deliberately withheld from the training of a deep network [19].
Recent related work includes CCSI, which synthesizes old medical classes and updates the network [20], and LayUP, which uses multi-layer representations for rehearsal-free continual learning [21]. Thus, frozen or intermediate representations are not themselves our novelty. Chest X-ray OOD detection [22] addresses rejection rather than a named new output. RanPAC uses frozen random projections and a decorrelated prototype head [23]. Our narrower focus is class extension with explicit legacy-preservation measures, a setting in which individual overrides can be audited. The contribution is the empirical protocol and error analysis. Established discriminants and multi-level representations provide its components. In particular, cross-dataset COVID-19 studies [24] also caution that this internal evaluation cannot establish clinical generalization.
The usefulness of a correction layer also depends on the information retained by the backbone under the conditions of use. In chest radiography, differences between hospitals can become visible in learned features and influence disease predictions. Zech et al. demonstrated both external performance degradation and strong predictability of the acquisition site from radiographs [25]. External COVID-19 evaluations likewise report sensitivity to the choice of dataset [24]. A class-extension experiment should therefore examine new-class recovery, preservation of existing decisions and performance on an independent source. These measurements connect the behavior of the correction rule to the representation and data distribution on which it operates.
The present study transfers this post hoc correction principle to chest radiography and asks three questions. (i) Can a frozen three-class ResNet-50 acquire an internally useful COVID-19 output from a corrector fitted on only 100 COVID-19 images? (ii) What is the cost of this extension for decisions on the original classes? (iii) Where do the residual errors of the extended system arise, and what do they reveal about the representation? We do not claim novelty of the correction principle itself; our contributions are application-specific and analytical:
  • A retrospective evaluation of multi-level Fisher correction for adding COVID-19 to a frozen chest radiograph classifier, reported with backward-compatibility measures (legacy false-activation rate, retention and harm) in addition to standard accuracy;
  • A same-test-set comparison of the uncorrected and corrected systems, including per-class one-vs-rest false-positive rates and agreement statistics;
  • An error-routing analysis showing that the corrector’s success depends on which legacy class the backbone originally assigned to a COVID-19 image, identifying COVID-19/tuberculosis confusion as the principal residual failure mode;
  • A comparison of Fisher and logistic correctors on both penultimate and multi-level features, and a prevalence-sensitivity analysis of predictive values.
Numerical findings were checked against recorded outputs and per-image predictions; the inference implementation is available in the companion repository [26], and the image source is the public Kaggle collection [27].

2. Materials and Methods

Figure 1 gives a general schematic of post hoc class extension, showing the fixed classifier, the correction branch and the development data used to estimate its parameters. Solid arrows indicate the inference path, and dashed arrows indicate parameter estimation. The following subsections describe its implementation in the present experiment and specify the disjoint data roles.
Figure 1. General architecture of post hoc class extension. A fixed backbone and prediction head produce the original label f ( x ) . Hidden features ϕ ( x ) feed a transform T and a corrector g θ , which computes the score s ( x ) . The override rule assigns the new class c new when the score reaches the calibrated threshold τ . Otherwise, it returns f ( x ) . Reference data represent the original classes. Separate validation data determine the threshold for a chosen false-activation tolerance α . Dashed arrows indicate parameter estimation.

2.1. Problem Formulation

Let Y old = { NORMAL , PNEUMONIA , TUBERCULOSIS } be the label set of a trained classifier f : X → Y old and let c new = COVID 19 be a class that did not occur in any of its training data. The goal is an extended classifier h : X → Y old ∪ { c new } that (a) recognizes c new , (b) leaves the parameters of f unchanged, (c) requires only a small number of labeled examples of c new , and (d) changes as few correct legacy decisions as possible. Requirement (d) is a backward-compatibility constraint: the extended system should behave like the original one on inputs that the original handled correctly.

2.2. Data Source and Experimental Partition

The experiment uses the Kaggle collection Chest X-Ray (Pneumonia, COVID-19, Tuberculosis) published by JtiptJ [27], comprising 7135 labeled radiographs in four categories (Table 1, Figure 2). The corpus is strongly imbalanced: pneumonia accounts for 59.89% of images and COVID-19 for 8.07%. Labels refer to images. We selected this collection because withholding COVID-19 from backbone training lets us test whether the corrector recognizes the new class while preserving decisions on normal, pneumonia and tuberculosis images.
Table 1. Composition of the image corpus and the role of each class in the experiment.
Figure 2. Class frequencies in the image corpus.
For the primary experiment, a single fixed partition was created once and retained (Table 2). Legacy-class images were divided in a stratified manner into five disjoint subsets: training of the backbone (3939 images, 60% of each legacy class), its validation, the legacy test set, and two subsets reserved for fitting and calibrating the corrector (655 images each, 10% of each class). COVID-19 images never entered any legacy subset and were divided into a corrector development pool (115), a corrector validation subset (115) and a held-out COVID-19 test set (346, 60% of the class). Of the 115 pool images, 100 were used to fit the corrector. The final evaluation set is the union of the legacy test and the COVID-19 test, i.e., 1001 images with a COVID-19 proportion of 34.57%.
Table 2. Experimental partition. All subsets are disjoint. Of the 115 images in the COVID-19 corrector pool, 100 were used to fit the corrector.
Before splitting the data, we identified 38 exact-duplicate groups (81 images) using SHA-256 and 50 groups (107 images, including exact matches) using 256-bit difference hashes (Hamming distance ≤ 4 ). We combined these matches with available filename-derived patient identifiers and assigned each of the resulting 4043 groups to a single subset. Patient identifiers inferred from filenames are available for normal/pneumonia images but absent for COVID-19/tuberculosis, so verified patient independence cannot be claimed. A separate set of 115 labeled COVID-19 images was used to select the number of retained PCA components. The 15 remaining images from the fitting pool were used only for the qualitative UMAP visualization of the development data.

2.3. Frozen Backbone and the Class-Extension Rule

The baseline classifier f is a ResNet-50 [28] initialized from ImageNet weights [29] and trained on the three legacy classes only, with RGB inputs of size 224 × 224 × 3 . After training, all network weights were frozen. For a corrector score s ( x ) and threshold τ , the extended classifier is
h ( x ) = COVID 19 , s ( x ) ≥ τ , f ( x ) , s ( x ) < τ .
Rule (1) has two structural consequences that are used in the analysis below. First, the corrector can only add COVID-19 labels; it never moves an image from one legacy class to another. Second, a COVID-19 image that is not detected retains exactly the label the backbone gave it, so residual errors of h on COVID-19 inherit the backbone’s original confusion pattern. The overall processing pipeline is shown in Figure 1.
The general scheme in Figure 1 is instantiated here with a ResNet-50 backbone, a PCA/whitening and normalization transform T, and a Fisher corrector g θ . Its two branches share one backbone forward pass. The original head computes the legacy prediction, while the correction branch pools the stored hidden activations, applies the fitted transform and evaluates a scalar discriminant score. The final rule selects the output using that score and the calibrated threshold. Fitting uses 655 legacy images for PCA and 100 COVID-19 plus 655 legacy images for the discriminant. A separate 115-image COVID-19 validation subset selects the retained PCA dimension, and 655 legacy validation images determine the threshold with tolerance α = 1 % . After these steps, inference uses the fixed transform, discriminant and threshold.

2.4. Multi-Level Hidden Representation

Hidden activations were taken from the output of the ResNet-50 stem and from the outputs of all 16 bottleneck blocks. Each feature map was reduced by 2 × 2 adaptive average pooling and the results were concatenated. Table 3 shows that this construction yields exactly the reported dimensionality of 60,672: the stem contributes 64 channels and the four residual stages contribute 3 × 256 , 4 × 512 , 6 × 1024 and 3 × 2048 channels, for a total of 15,168 channels, each represented by four pooled values. The final stage, which feeds the classification head, contributes only 40.5% of the features; the remainder carries intermediate, lower-level information that is not available to a corrector operating on the penultimate layer alone.
Table 3. Composition of the multi-level feature vector (derived from the standard ResNet-50 architecture and 2 × 2 pooling).
The pooled vector was projected onto 100 principal components [30], whitened and ℓ 2 -normalized. Whitening equalizes the variance of the retained directions and ℓ 2 normalization places the data on the unit sphere, which is the setting in which stochastic separation results are formulated [16].
PCA was fitted only on 655 legacy corrector-training images. Candidate prefixes of 10, 50 and 100 coordinates of the fitted 100-coordinate transform gave COVID-19 validation recalls of 0/115, 84/115 and 94/115, respectively, after each threshold was calibrated to 6/655 legacy validation activations. The highest validation recall selected 100; the final test was not used.

2.5. Fisher Discriminant Corrector and Threshold Selection

Let z ( x ) ∈ R 100 denote the preprocessed feature vector. The corrector is a Fisher-type linear discriminant separating COVID-19 (positive class, 100 images from the corrector pool) from legacy images (negative class, legacy corrector-training subset). In its classical form [17] the discriminant direction is
w ∝ Σ + + Σ − − 1 μ + − μ − ,
where μ ± and Σ ± are the class means and covariance matrices in the preprocessed space, and the score is s ( x ) = w ⊤ z ( x ) + b .
The implemented estimator uses sample-size-weighted pooled within-class covariance, isotropic shrinkage 0.01, a 10 − 6 I ridge term and a pseudoinverse; Equation (2) gives the classical form. Both classes contribute to the pooled covariance, including 655 legacy and 100 COVID-19 fitting images. Supplemental ablations report its condition number and shrinkage sensitivity.
The threshold τ was selected on the legacy corrector-validation subset so that the fraction of legacy images with s ( x ) ≥ τ did not exceed 1%. This choice prioritizes backward compatibility: the operating point is fixed by the tolerated cost on legacy classes rather than by sensitivity for the new class. None of the evaluation images were used for fitting, preprocessing or threshold selection.

2.6. Comparison Configuration

Fisher and logistic regression were compared on both representations. Penultimate features are the 2048-coordinate global-pooled vector before the classification head; their saved preprocessing retains 50 PCA coordinates. Multi-level preprocessing retains 100. Within each representation both correctors received identical preprocessed inputs, the same 100 COVID-19 and 655 legacy fitting images, and separate thresholds calibrated to the same 1% legacy validation-FPR target. Logistic regression used balanced class weights, C = 1 , at most 2000 iterations and seed 42. The recorded preprocessing choices were retained without a new search or test-based selection. The comparison therefore controls classifier input within each representation; across representations, both feature source and PCA dimension differ.

2.7. Evaluation Measures

AUPRC is computed as non-interpolated average precision. Performance was assessed on the 1001-image final test set. Besides four-class accuracy, balanced accuracy, macro-averaged F1 and Cohen’s κ , we report COVID-19 sensitivity (recall), precision and F1, the area under the ROC curve (AUROC) and the area under the precision–recall curve (AUPRC) of the corrector score [31,32,33]. Backward compatibility is quantified by
Legacy FPR = # { legacy test images with h ( x ) = COVID 19 } # { legacy test images } ,
Retention = # { x : f ( x ) = y ( x ) ∧ h ( x ) = y ( x ) } # { x : f ( x ) = y ( x ) } , Harm = 1 − Retention ,
where y ( x ) is the true label and both quantities are computed over legacy test images. Per-class one-vs-rest false-positive rates (“spill”) were computed before and after correction on the same 1001 images. To characterize residual errors, COVID-19 test images were stratified by the label assigned to them by the frozen backbone, and the fraction redirected to COVID-19 was computed within each stratum (error-routing analysis); the difference between strata was tested with Fisher’s exact test.
Individual proportion intervals use the 95% Wilson score method. We additionally computed 2000 class-stratified detected-group bootstrap replicates, resampling whole recorded groups with replacement within each true class. The same draws were used for paired differences between fixed fitted systems. Percentile intervals cover AUROC, AUPRC, macro-F1, balanced accuracy, κ and preservation measures. These are pointwise intervals conditional on the observed groups and fitted models. Exploratory image-level exact McNemar tests and the routing Fisher test use Holm correction across 20 reported tests. Group-level paired bootstrap differences are reported alongside them because exact image-level tests may be affected by within-group dependence. Repeated full-pipeline holdouts separately assess split and training variation. Predictive values at prevalences other than that of the test set were obtained from the observed sensitivity and legacy specificity by Bayes’ theorem.

2.8. Software Implementation

The public CovidCorrectorService repository [26] provides an inference service and serialized model assets: the legacy ResNet-50 checkpoint, the PCA-based preprocessing object and the Fisher corrector. For each image the service returns the legacy label f ( x ) , the final label h ( x ) , a correction flag, the discriminant score s ( x ) and the threshold τ , which makes every override auditable. The repository documents inference.
The original three-class training record was 922.8 s on an NVIDIA GeForce RTX 4060 GPU (NVIDIA Corporation, Santa Clara, CA, USA). New timing uses the same device, four CPU threads and a shared resized-image cache. Complete corrector construction includes feature extraction on 1525 development images, PCA and validation/calibration. Median time over three repeats was 5.34 s. Matched-data four-class fine-tuning took 86.22 s. Single-image FP32 median latency was 4.28 ms for the backbone and 6.19 ms including multi-level correction. Disk reads and initial decoding/resizing are excluded from both new construction timings. Detailed latency, GPU allocation, sampled process RSS and storage measurements are in Supplementary Tables S12 and S13.

2.9. Additional Validation and Comparison Protocol

The post-review experiments retain the original primary system and report all fixed ablation candidates. The factorial grid uses a separate 200-component randomized PCA basis per representation, fitted only to legacy corrector-training images, with 10, 50, 100 and 200 retained coordinates. Whitening and ℓ 2 normalization follow truncation. Fisher, balanced Logistic and balanced LinearSVM receive identical inputs within each cell. Further ablations vary layer groups, shrinkage, PCA removal and 25/50/100 COVID-19 fitting images over ten recorded samples. The original saved PCA transforms remain the inputs to the primary four-cell comparison.
A four-class fine-tuning comparator starts from the same frozen checkpoint, copies the three legacy head rows into a four-row head and uses exactly the same 100 COVID-19 and 655 legacy fitting images. Three head-warmup epochs precede up to 20 full-network epochs, using the original AdamW rates and early-stopping patience four. Selection uses macro-F1 on the separate 770-image corrector-validation set. We report unrestricted four-class argmax and a variant with COVID-19 probability calibrated on 655 legacy validation images to the 1% target, using the updated network’s non-COVID argmax otherwise. A four-class linear head and a 2000-coordinate random-ReLU ridge head adapted from RanPAC [23] use the same fitting labels. The latter is a ResNet adaptation with validation-selected ridge, evaluated with argmax and calibrated COVID-margin override.
External validation uses the authors’ COVIDGR-1.0 release [34], with 426 PCR-positive and 426 PCR-negative PA radiographs from one Spanish hospital. Models and thresholds fitted on the internal development data are applied directly. SHA-256 and 256-bit difference-hash screening at Hamming distance at most four found no matches to the 7135-image corpus. This checks detectable overlap, with incomplete patient metadata remaining a limitation. The external endpoint is PCR-positive versus PCR-negative. Its negative group cannot be assigned the original three disease labels. The release severity table matches 425 of 426 positive image IDs, so one severity is recorded as unavailable.
Two new class-stratified grouped partitions use seeds 43 and 44. For each, ImageNet-initialized ResNet-50 training, checkpoint selection, feature extraction, PCA fitting, 100-example COVID-19 fitting, dimension selection and legacy threshold calibration are repeated without accessing its own test labels. The original seed-42 run and these two repeats are summarized as three grouped holdouts, with overlapping underlying subjects possible across repetitions. A separate two-class backbone excludes both COVID-19 and tuberculosis and tests two independently calibrated correctors under both first-active priority orders.
The four labels describe mutually exclusive dataset folders. They encode an image-label benchmark with an incomplete clinical hierarchy. COVID-19 can manifest as pneumonia, and a single image label cannot establish whether COVID-19 pneumonia and pulmonary tuberculosis coexist in a patient. No radiologist re-adjudication, verified complete patient linkage or clinical severity metadata is available for the internal corpus. Consequently, label noise and acquisition shortcuts may affect every reported internal metric.

3. Results

3.1. Behavior of the Frozen Three-Class Network

On the 655-image legacy test set, the frozen ResNet-50 classified 628 images correctly (accuracy 95.88%, 95% CI 94.10–97.13%; balanced accuracy 0.9630; macro-F1 0.9579; weighted F1 0.959). Per-class figures are given in Table 4. Most errors were confusions between normal and pneumonia (11 normal images predicted as pneumonia and 14 pneumonia images predicted as normal), whereas all 70 tuberculosis images were recognized.
Table 4. Per-class performance of the frozen ResNet-50 on the 655-image legacy test set.
Because the network lacks a COVID-19 output, the 346 COVID-19 test images were distributed over the legacy classes: 194 (56.1%) were labeled tuberculosis, 145 (41.9%) pneumonia and 7 (2.0%) normal (Figure 3). The unseen class therefore did not behave like random noise; it was absorbed almost entirely by the two pathological classes, and predominantly by tuberculosis. On the combined 1001-image test set the uncorrected network reached an accuracy of 62.74% (628/1001) and κ = 0.477 , and the precision of its tuberculosis output fell to 0.263 (70 correct out of 266 tuberculosis predictions).
Figure 3. Confusion matrix of the frozen three-class ResNet-50: legacy test images (first three rows) and unseen COVID-19 test images (last row). Counts with row-normalized percentages.

3.2. Performance of the Extended Four-Class System

With the multi-level Fisher corrector, 909 of 1001 test images were classified correctly (accuracy 90.81%, 95% CI 88.86–92.45%), an absolute gain of 28.07 percentage points over the uncorrected network on the same images (Table 5, Figure 4). The corrector detected 283 of 346 COVID-19 images (sensitivity 81.79%) and assigned the COVID-19 label to 286 images in total, of which 283 were correct (precision 98.95%). The corresponding COVID-19 specificity on legacy images was 99.54% (652/655; 95% CI 98.66–99.84%), and the positive and negative likelihood ratios implied by these values are 178.6 and 0.183. The corrector score separated COVID-19 from legacy images with AUROC 0.995 and AUPRC 0.991.
Table 5. Test performance of the uncorrected and extended systems on the same 1001 images. Proportion intervals are 95% Wilson intervals, and remaining intervals use the detected-group bootstrap; “–” denotes an undefined quantity or an interval not estimated here.
Figure 4. Four-class confusion matrix of the frozen ResNet-50 extended with the multi-level Fisher corrector on the 1001-image test set.
Per-class results on the 1001-image test set are summarized in Table 6. Sensitivity for the legacy classes was essentially unchanged (normal 0.924 → 0.924, pneumonia 0.965 → 0.963, tuberculosis 1.000 → 0.986), while precision of the pathological classes improved substantially because COVID-19 images were removed from them: pneumonia precision rose from 0.725 to 0.949 and tuberculosis precision from 0.263 to 0.575.
Table 6. Per-class precision, sensitivity and F1 on the 1001-image test set before and after adding the COVID-19 output (derived from the confusion matrices in Figure 3 and Figure 4).

3.3. Cost of the Extension for Legacy Decisions

Only three of the 655 legacy test images activated the corrector (legacy FPR 0.46%), within the 1% target used for threshold selection, although the upper confidence limit (1.34%) does not exclude a rate slightly above the target. Because rule (1) cannot move images between legacy classes, the full effect of correction on the legacy test set can be traced image by image from the two confusion matrices. Of the three redirected images, one pneumonia image and one tuberculosis image had been classified correctly by the backbone (the two harmed decisions; retention 626/628 = 99.68%), whereas the third was a normal image that the backbone had already misclassified as tuberculosis, so this redirection exchanged one error for another. No other legacy decision changed. Consequently, legacy-only accuracy decreased from 95.88% to 95.57% and legacy balanced accuracy from 0.9630 to 0.9574.

3.4. Error-Routing Analysis of Residual COVID-19 Errors

The 63 COVID-19 test images missed by the corrector were labeled tuberculosis in 50 cases (79.4%), pneumonia in 11 cases and normal in 2 cases. Since undetected images keep the backbone’s label, these errors can be related directly to the backbone’s original assignment (Figure 5a). Among COVID-19 images that the frozen network had assigned to pneumonia, the corrector recovered 134 of 145 (92.4%, 95% CI 86.9–95.7%); among those assigned to tuberculosis, it recovered only 144 of 194 (74.2%, 95% CI 67.6–79.9%); and among the seven assigned to normal, five (71.4%). An exploratory image-level Fisher test gave odds ratio 4.23, raw p = 1.29 × 10 − 5 and Holm-adjusted p = 1.16 × 10 − 4 for the pneumonia/tuberculosis recovery difference. Thus COVID-19 radiographs that the backbone already represented as tuberculosis-like were also harder to separate in the multi-level feature space.
Figure 5. (a) COVID-19 test images grouped by the label assigned by the frozen backbone, split into images redirected to COVID-19 by the corrector and images that retained the backbone label. (b) Per-class one-vs-rest false-positive rates on the 1001-image test set before and after correction.
The same effect is visible in the one-vs-rest false-positive rates (Figure 5b). Correction reduced the pneumonia false-positive rate from 27.18% to 3.83% and the tuberculosis false-positive rate from 21.05% to 5.48%, at the price of a 0.46% false-positive rate for the new COVID-19 output. For NORMAL, false positives are 14 + 7 = 21 before and 14 + 2 = 16 after correction, among 1001 − 158 = 843 negatives, giving 2.49% and 1.90%, respectively. Residual contamination of the tuberculosis output by COVID-19 images (50 of 120 tuberculosis predictions) is the main reason why tuberculosis precision remained at 0.575 and why macro-F1 (0.8725) is lower than balanced accuracy (0.9226).

3.5. Fisher and Logistic Correction in Both Feature Spaces

Table 7 gives results from aligned per-image predictions. The three existing configurations were reproduced without changing any final label; multi-level Logistic was added with the fixed settings above. Correct predictions were 842, 860, 909 and 914 of 1001; COVID-19 detections were 217, 235, 283 and 288 of 346, respectively. Both penultimate correctors activated on 5/655 legacy images and retained 625/628 previously correct legacy decisions; the multi-level counts were 3/655 and 626/628. This expanded comparison is exploratory and uses the original partition without new model selection.
Table 7. Fisher and Logistic under fixed representation configurations. Recall and precision concern COVID-19. PCA dimensions are 50 (penultimate) and 100 (multi-level).
For the original comparison, multi-level Fisher was correct on 66 images missed by penultimate Logistic, whereas the reverse held for 17 images (exact McNemar raw p = 5.60 × 10 − 8 , Holm-adjusted p = 6.16 × 10 − 7 ). On the same multi-level inputs, Fisher alone was correct on one image and Logistic alone on six (raw p = 0.125 , Holm-adjusted p = 0.250 ); this test does not establish equivalence. Thus, the original advantage over penultimate Logistic should not be attributed specifically to the Fisher estimator. Figure 6 shows both feature configurations.
Figure 6. COVID-19 sensitivity and four-class accuracy for Fisher and Logistic in both feature configurations.

3.6. Dependence of Predictive Values on Prevalence

The observed precision of 98.95% corresponds to 34.57% COVID-19 in the test set. Holding sensitivity 283 / 346 and specificity 652 / 655 fixed gives PPV 94.0% at the corpus proportion (8.07%), 90.4% at 5% and 64.3% at 1% (Figure 7). NPV is 91.2%, 98.4% and 99.8% at the test proportion, corpus proportion and 1%, respectively. These calculations assume unchanged operating characteristics and non-COVID composition; they are not external validation. The corpus proportion is not an estimate of clinical prevalence.
Figure 7. Calculated PPV and NPV for the multi-level Fisher output versus assumed prevalence, conditional on fixed observed sensitivity and specificity.

3.7. Structure of the Hidden Feature Space

A UMAP projection [35] of the multi-level features (Figure 8) shows that COVID-19 images do not form a single compact, isolated cluster: part of the COVID-19 points lie close to the pneumonia and tuberculosis regions in both the development data and the transformed final test data. UMAP used the raw 60,672-coordinate vectors, 30 neighbors, minimum distance 0.1, cosine metric and random/transform seeds 42. It was fitted on 6134 development images; the 1001 test images were transformed afterward. This qualitative projection does not establish high-dimensional class overlap or independently explain the corrector’s performance.
Figure 8. UMAP projection of the pooled multi-level ResNet-50 features: development data used to fit the projection (left) and final test data transformed with the fitted projection (right).

3.8. Matched-Data Four-Class Comparators

Table 8 reports the tradeoff between new-class recognition and legacy preservation. Four-class fine-tuning reached 95.50% accuracy and 95.95% COVID-19 recall, with 98.09% retention and 1.68% legacy COVID-19 activations. Its calibrated variant is included separately. The uncorrected accuracy gain is a class-extension comparison, since the original head lacks COVID-19. Its exact decomposition is ( 283 − 2 ) / 1001 = 28.07 percentage points, comprising recovered COVID-19 images and harmed legacy decisions. Relative algorithm performance is assessed against systems with all four labels available.
Table 8. Four-class systems on the same 1001 test images. Values are percentages. All new heads use the same 755 fitting images. RP denotes random projection. COVID recall, legacy FPR and retention have their original definitions.

3.9. External Transfer and Repeated Partitions

On COVIDGR, the fixed multi-level Fisher output detected 372/426 PCR-positive images and activated on 290/426 PCR-negative images. Sensitivity was 87.32%, specificity 31.92%, PPV 56.19%, accuracy 59.62%, AUROC 0.6198 (95% bootstrap CI 0.5843–0.6581) and AUPRC 0.5566. Table 9 gives all four original configurations at their internal thresholds. ROC/PR curves and fixed operating points are provided in Supplementary Figure S1. The four-class fine-tuned ResNet also performed poorly on COVIDGR, with AUROC 0.6496 and specificity 3.76% under argmax, or 11.50% after internal threshold calibration (Supplementary Table S16). PCR labels alone are insufficient to evaluate the original NORMAL/PNEUMONIA/TB task. Both evaluated systems lost performance, and these results do not identify how much of the loss comes from backbone features, the corrector or calibration.
Table 9. Untuned external COVIDGR evaluation on 852 images. Sensitivity and specificity are percentages.
Across the original and two newly trained partitions, multi-level Fisher gave accuracy 90.11–91.91%, COVID-19 recall 76.01–89.88%, and legacy FPR 0.00–2.44%. The 1% calibration target therefore did not imply a 1% test bound. These three repeated grouped holdouts quantify variation within the same corpus. Full per-seed results, counts and fitting/selection procedures appear in Supplementary Table S10.

3.10. Ablations and Qualitative Checks

The 111 fixed ablation configurations are reported in Supplementary Tables S3–S8, with the 60 sample-size runs summarized over ten seeds per size and estimator. At matched PCA100, Fisher accuracy was 82.92% on penultimate and 90.81% on multi-level features. LinearSVM on multi-level PCA100 reached 92.11%. Removing PCA from the full feature space yielded 95.40% for regularized Fisher, showing that the original PCA100 configuration was not optimal on this test. These post-review comparisons are exploratory, and the original primary model is retained for the external comparison. The covariance-condition analysis and whitening/normalization ablations further separate implementation choices.
A separately trained two-class backbone was extended with both tuberculosis and COVID-19. The Fisher pair produced 249 simultaneous activations among 1001 test images. Accuracy was 91.61% with COVID-19 priority and 73.73% with tuberculosis priority. Both priority orders, recalls and combined legacy FPR appear in Supplementary Table S11. This stress test exposes substantial ordering and combined-FPR effects that require explicit management when adding several classes.
Grad-CAM [36] targets the actual Fisher score through PCA, whitening and normalization at the final bottleneck. Supplementary Figure S3 contains the first sorted image ID in each recovered/missed COVID-19 routing stratum and both harmed legacy images. These coarse qualitative maps complement UMAP. Clinical interpretation of individual errors remains dependent on radiologist adjudication.

4. Discussion

The corrector is trained on features from a fixed backbone and calibrated on separate development images. Changes in these features or in the calibration-score distribution can affect its predictions. We hypothesize that correction will work better when backbone features remain informative for the new class and the threshold is calibrated for the target conditions. High accuracy on the old classes alone is insufficient to verify this hypothesis. A separate controlled experiment is needed.
Several cross-domain effects could contribute to the COVIDGR result. Differences in exposure, contrast processing, resolution, positioning, acquisition equipment and image borders can change the backbone activations, and those changes propagate through the fitted PCA transform and discriminant. Site-related visual cues have influenced chest-radiograph predictions in previous studies [25,37]. The endpoint also changes from the internal dataset labels to PCR status, whose association with visible radiographic findings depends on disease presentation and severity. These mechanisms are plausible explanations that require acquisition metadata and additional controlled comparisons for attribution. Fisher AUROC of 0.620 and fine-tuning AUROC of 0.650 show limited external ranking performance for both systems. Adjusting a fixed score threshold changes sensitivity and specificity while preserving that ranking. Target-domain recalibration should therefore be evaluated together with representation quality.
A practical robustness study could combine multi-center backbone development with controlled exposure, contrast, blur and resolution variations, followed by evaluation on a hospital held out from development. Acquisition standardization and lung-region preprocessing are additional candidates for reducing sensitivity to image appearance and peripheral cues. The correction layer can then be fitted and calibrated on separate target-domain subsets, with retention measured alongside new-class detection. Normalization-based adaptation, as explored by Tent [38], provides another candidate for studying representation shift. Any backbone adaptation changes the feature distribution used by PCA and the discriminant, so the downstream transform, fitting and calibration should be re-evaluated on disjoint development data. Evaluation of these interventions should retain an untouched target test set and report legacy harm as well as AUROC. Their benefit for the present system remains an empirical question.
This study shows that a frozen three-class chest radiograph classifier can be extended with a fourth, previously unseen class by a linear corrector fitted on 100 examples, while altering only 2 of 628 previously correct legacy decisions. On a common 1001-image test set the extension raised four-class accuracy from 62.74% to 90.81% and κ from 0.477 to 0.865. In terms of the formulation in Section 2.1, requirements (b) and (c) are met by construction and requirement (d) is met with a harm rate of 0.32%. Earlier work demonstrated the same principle for facial expressions [19] and cascade detectors [18]; the present results indicate that it also transfers to a medical imaging domain with highly imbalanced classes and visually similar pathologies.
The operating point illustrates a deliberate asymmetry. Because the threshold was set to limit false activations on legacy classes, the system favors precision and backward compatibility over sensitivity: one in five COVID-19 test images was not detected. The calibration-threshold sweep in Supplementary Table S9 quantifies the recall/preservation tradeoff. External AUROC near 0.62 further shows that threshold adjustment alone cannot recover the internal ranking performance.
The error-routing analysis provides the most specific insight. The success of the corrector depended strongly on how the backbone had represented a COVID-19 image: images mapped to pneumonia were recovered in 92.4% of cases, images mapped to tuberculosis in only 74.2%. A plausible interpretation is that the frozen network’s representation of tuberculosis-like appearance overlaps with that of a subset of COVID-19 radiographs, and that this overlap persists in the intermediate layers used by the corrector. Practically, this suggests that (i) tuberculosis predictions of the extended system deserve particular scrutiny, as 42% of them are COVID-19 images in the test mixture, and (ii) improvements are more likely to come from additional COVID-19 examples resembling tuberculosis, or from a dedicated secondary corrector for this pair, than from uniform enlargement of the training set. Because the source images are a compilation from heterogeneous origins, the overlap may also partly reflect acquisition differences rather than radiological similarity [25,37]. The expanded comparison shows higher recall for both correctors with the multi-level configuration. Logistic was numerically slightly better than Fisher on the same multi-level input, without a significant paired difference. Feature source and retained dimension still vary together between representations, so the comparison does not isolate the contribution of intermediate layers alone.
Several limitations restrict the interpretation. The primary result uses one fixed partition. Two full-pipeline grouped holdouts and one external dataset were added in revision. Incomplete, inferred patient identifiers remain a source of uncertainty. Both the corrected system and four-class fine-tuning showed limited external discrimination, despite zero detected cross-corpus duplicates. High performance is demonstrated on the internal corpus. The present evaluation does not isolate backbone representation shift from changes in corrector scores or threshold calibration. Dataset labels were not independently re-adjudicated by radiologists, and mutually exclusive image labels need not imply mutually exclusive clinical conditions. Coarse source labels are class-derived rather than verified acquisition metadata, so pathology cannot be separated from scanner, site or preprocessing shortcuts. The risk of shortcut learning and dataset-specific artifacts in COVID-19 radiograph collections is well documented [25,37,39,40].
Future work should establish complete patient linkage, radiologist-reviewed or multilabel clinical targets, additional external centers, prospective calibration and longer class-extension sequences. A controlled comparison before and after target-domain backbone adaptation should use disjoint adaptation, corrector-fitting, calibration and test subsets to examine whether improved representations restore correction performance. The present ablations, repeated holdouts and two-corrector stress test identify measurable constraints for those studies.

5. Conclusions

A Fisher discriminant corrector acting on multi-level hidden features added a COVID-19 output to a frozen three-class ResNet-50 chest radiograph classifier using 100 COVID-19 fitting images and a separate validation subset, without modifying network weights. On a 1001-image retrospective test set, four-class accuracy increased from 62.74% to 90.81%, COVID-19 sensitivity and precision reached 81.79% and 98.95%, and 99.68% of previously correct legacy decisions were preserved, with a legacy false-activation rate of 0.46%. Residual errors were concentrated in COVID-19 images that the backbone had mapped to tuberculosis, which identifies the COVID-19/tuberculosis boundary as the main target for further improvement. Both Fisher and Logistic benefited from the multi-level configuration; no significant difference between them was found on that representation. Repeated internal holdouts support technical feasibility while showing variation in preservation. Fine-tuning achieved higher internal accuracy at a greater legacy-change cost. Both correction and four-class fine-tuning performed worse on the external data. Further evaluation should measure backbone performance, feature stability and calibration in the target domain. Whether a strong target-domain backbone supports effective correction remains to be tested.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/technologies14120812/s1, Table S1: Detected-group bootstrap intervals for the original multi-level Fisher system; Table S2: Internal four-class comparisons. All values are percentages; Table S3: Equal-dimensional factorial ablation. Performance values are percentages; Table S4: Normalization ablation on multi-level PCA100. Performance values are percentages; Table S5: Layer-group ablation with PCA100, whitening and L2 normalization; Table S6: Fisher covariance regularization ablation. Performance values are percentages; Table S7: Mean and sample SD over ten fitting samples, in percentage points; Table S8: PCA-removal ablations. Performance values are percentages; Table S9: Operating-point sweep. Targets and performance values are percentages; Table S10: Full-pipeline repeats. Performance values are percentages; Table S11: Two-class-extension stress test. Old-class FPR is the union of both activations. Performance values are percentages; Table S12: Synchronized inference timing on RTX 4060 with four CPU threads. Each mode has ten warmups and 100 timed repetitions. GPU allocation includes resident benchmark models; Table S13: Complete corrector construction on 1525 development images. RSS includes resident data, cached inputs and allocator reuse; Table S14: External bootstrap intervals. Legacy FPR here denotes activation among PCR-negative images; Table S15: External primary Fisher results by severity. Each severity AUROC uses the same 426 PCR-negative images; Table S16: External four-class fine-tuning evaluated on the PCR endpoint. Both models and calibration use internal data only; Figure S1: Internal and external ROC/PR curves for the four original configurations. Markers denote their fixed internal-development operating points. Dotted PR lines show each evaluation mixture’s positive fraction; Figure S2: Representation/dimension sensitivity, fitting-sample variability and threshold tradeoff. The operating-point sweep uses internal legacy calibration thresholds only; Figure S3: Original images, overlays and normalized Grad-CAM maps for eight deterministically selected cases. Each group of three panels represents one image. The accompanying supplement also includes an unnumbered table reporting exploratory exact paired tests and routing test with one Holm family.

Author Contributions

Conceptualization, S.V.S.; methodology, S.V.S. and A.A.L.; software, A.A.L.; validation, S.V.S. and A.A.L.; formal analysis, S.V.S. and A.A.L.; investigation, A.A.L. and S.V.S.; resources, A.A.L. and S.V.S.; data curation, A.A.L. and S.V.S.; writing—original draft preparation, S.V.S. and A.A.L.; writing—review and editing, S.V.S. and A.A.L.; visualization, A.A.L.; supervision, S.V.S.; project administration, S.V.S.; funding acquisition, S.V.S. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Ministry of Economic Development of the Russian Federation (grant No. 139-15-2025-004 dated 17 April 2025, agreement identifier 000000C313925P3X0002).

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The dataset used for the experiment is JtiptJ’s Chest X-Ray (Pneumonia, COVID-19, Tuberculosis) on Kaggle, Kaggle dataset page https://www.kaggle.com/datasets/jtiptj/chest-xray-pneumoniacovid19tuberculosis (accessed on 21 October 2026) [27]. The companion inference service and source code are in the GitHub repository https://github.com/AndreyLebedev1/CovidCorrectorService (accessed on 21 October 2026) [26].

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Lakhani, P.; Sundaram, B. Deep Learning at Chest Radiography: Automated Classification of Pulmonary Tuberculosis by Using Convolutional Neural Networks. Radiology 2017, 284, 574–582. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Irvin, J.; Rajpurkar, P.; Ko, M.; Yu, Y.; Ciurea-Ilcus, S.; Chute, C.; Marklund, H.; Haghgoo, B.; Ball, R.; Shpanskaya, K.; et al. CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparison. Proc. AAAI Conf. Artif. Intell. 2019, 33, 590–597. [Google Scholar] [CrossRef] [Scilit]
  3. Johnson, A.E.W.; Pollard, T.J.; Berkowitz, S.J.; Greenbaum, N.R.; Lungren, M.P.; Deng, C.-Y.; Mark, R.G.; Horng, S. MIMIC-CXR, a De-Identified Publicly Available Database of Chest Radiographs with Free-Text Reports. Sci. Data 2019, 6, 317. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Wang, L.; Lin, Z.Q.; Wong, A. COVID-Net: A Tailored Deep Convolutional Neural Network Design for Detection of COVID-19 Cases from Chest X-ray Images. Sci. Rep. 2020, 10, 19549. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Rahman, T.; Khandakar, A.; Qiblawey, Y.; Tahir, A.; Kiranyaz, S.; Kashem, S.B.A.; Islam, M.T.; Al Maadeed, S.; Zughaier, S.M.; Khan, M.S.; et al. Exploring the Effect of Image Enhancement Techniques on COVID-19 Detection Using Chest X-ray Images. Comput. Biol. Med. 2021, 132, 104319. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Chowdhury, M.E.H.; Rahman, T.; Khandakar, A.; Mazhar, R.; Kadir, M.A.; Bin Mahbub, Z.; Islam, K.R.; Khan, M.S.; Iqbal, A.; Al Emadi, N.; et al. Can AI Help in Screening Viral and COVID-19 Pneumonia? IEEE Access 2020, 8, 132665–132676. [Google Scholar] [CrossRef] [Scilit]
  7. Bendale, A.; Boult, T.E. Towards Open Set Deep Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 1563–1572. [Google Scholar] [CrossRef] [Scilit]
  8. Hendrycks, D.; Gimpel, K. A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks. In Proceedings of the International Conference on Learning Representations, Toulon, France, 24–26 April 2017; Available online: https://arxiv.org/abs/1610.02136 (accessed on 10 September 2026).
  9. Rebuffi, S.-A.; Kolesnikov, A.; Sperl, G.; Lampert, C.H. ICaRL: Incremental Classifier and Representation Learning. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 5533–5542. [Google Scholar] [CrossRef] [Scilit]
  10. Kirkpatrick, J.; Pascanu, R.; Rabinowitz, N.; Veness, J.; Desjardins, G.; Rusu, A.A.; Milan, K.; Quan, J.; Ramalho, T.; Grabska-Barwinska, A.; et al. Overcoming Catastrophic Forgetting in Neural Networks. Proc. Natl. Acad. Sci. USA 2017, 114, 3521–3526. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Shen, Y.; Xiong, Y.; Xia, W.; Soatto, S. Towards Backward-Compatible Representation Learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Virtual Conference, 14–19 June 2020; pp. 6368–6377. Available online: https://openaccess.thecvf.com/content_CVPR_2020/html/Shen_Towards_Backward-Compatible_Representation_Learning_CVPR_2020_paper.html (accessed on 24 November 2026).
  12. Zhang, G.; Wang, L.; Kang, G.; Chen, L.; Wei, Y. SLCA: Slow Learner with Classifier Alignment for Continual Learning on a Pre-trained Model. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 2–6 October 2023; pp. 19148–19158. [Google Scholar] [CrossRef] [Scilit]
  13. Gorban, A.N.; Golubkov, A.; Grechuk, B.; Mirkes, E.M.; Tyukin, I.Y. Correction of AI Systems by Linear Discriminants: Probabilistic Foundations. Inf. Sci. 2018, 466, 303–322. [Google Scholar] [CrossRef] [Scilit]
  14. Grechuk, B.; Gorban, A.N.; Tyukin, I.Y. General Stochastic Separation Theorems with Optimal Bounds. Neural Netw. 2021, 138, 33–56. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Gorban, A.N.; Grechuk, B.; Tyukin, I.Y. Stochastic Separation Theorems: How Geometry May Help to Correct AI Errors. Not. Am. Math. Soc. 2023, 70, 25–33. [Google Scholar] [CrossRef] [Scilit]
  16. Gorban, A.N.; Grechuk, B.; Mirkes, E.M.; Stasenko, S.V.; Tyukin, I.Y. High-Dimensional Separability for One- and Few-Shot Learning. Entropy 2021, 23, 1090. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Fisher, R.A. The Use of Multiple Measurements in Taxonomic Problems. Ann. Eugen. 1936, 7, 179–188. [Google Scholar] [CrossRef] [Scilit]
  18. Kovalchuk, A.V.; Lebedev, A.A.; Shemagina, O.V.; Nuidel, I.V.; Yakhno, V.G.; Stasenko, S.V. Enhancing Cascade Object Detection Accuracy Using Correctors Based on High-Dimensional Feature Separation. Technologies 2025, 13, 593. [Google Scholar] [CrossRef] [Scilit]
  19. Lebedev, A.A.; Kazantsev, V.B.; Stasenko, S.V. Post Hoc Error Correction for Missing Classes in Deep Neural Networks. Technologies 2026, 14, 8. [Google Scholar] [CrossRef] [Scilit]
  20. Ayromlou, S.; Tsang, T.; Abolmaesumi, P.; Li, X. CCSI: Continual Class-Specific Impression for Data-Free Class Incremental Learning. Med. Image Anal. 2024, 97, 103239. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Ahrens, K.; Lehmann, H.H.; Lee, J.H.; Wermter, S. Read Between the Layers: Leveraging Multi-Layer Representations for Rehearsal-Free Continual Learning with Pre-Trained Models. Transactions on Machine Learning Research. 2024. Available online: https://openreview.net/forum?id=ZTcxp9xYr2 (accessed on 24 November 2026).
  22. Chen, W.; Feng, C.; Ke, A.; Xie, X.; Zhou, S.K. Out-of-Distribution Detection for Learning-Based Chest X-Ray Diagnosis. In Proceedings of the ICASSP 2024, Seoul, Republic of Korea, 14–19 April 2024; pp. 1816–1820. [Google Scholar] [CrossRef] [Scilit]
  23. McDonnell, M.D.; Gong, D.; Parvaneh, A.; Abbasnejad, E.; van den Hengel, A. RanPAC: Random Projections and Pre-trained Models for Continual Learning. In Proceedings of the Advances in Neural Information Processing Systems, New Orleans, LA, USA, 10–16 December 2023; Volume 36, pp. 12022–12053. [Google Scholar] [CrossRef] [Scilit]
  24. Haynes, S.C.; Johnston, P.; Elyan, E. Generalisation Challenges in Deep Learning Models for Medical Imagery: Insights from External Validation of COVID-19 Classifiers. Multimed. Tools Appl. 2024, 83, 76753–76772. [Google Scholar] [CrossRef] [Scilit]
  25. Zech, J.R.; Badgeley, M.A.; Liu, M.; Costa, A.B.; Titano, J.J.; Oermann, E.K. Variable Generalization Performance of a Deep Learning Model to Detect Pneumonia in Chest Radiographs: A Cross-Sectional Study. PLoS Med. 2018, 15, e1002683. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  26. Lebedev, A.A. CovidCorrectorService: ResNet-50 Inference Service with a Post Hoc COVID-19 Fisher Corrector; Source-Code Repository. GitHub. 2026. Available online: https://github.com/AndreyLebedev1/CovidCorrectorService (accessed on 21 October 2026).
  27. JtiptJ. Chest X-Ray (Pneumonia, Covid-19, Tuberculosis); Chest Radiograph Image Dataset. Kaggle. Available online: https://www.kaggle.com/datasets/jtiptj/chest-xray-pneumoniacovid19tuberculosis (accessed on 21 October 2026).
  28. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep Residual Learning for Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar] [CrossRef] [Scilit]
  29. Deng, J.; Dong, W.; Socher, R.; Li, L.-J.; Li, K.; Fei-Fei, L. ImageNet: A Large-Scale Hierarchical Image Database. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Miami, FL, USA, 20–25 June 2009; pp. 248–255. [Google Scholar] [CrossRef] [Scilit]
  30. Jolliffe, I.T.; Cadima, J. Principal Component Analysis: A Review and Recent Developments. Philos. Trans. R. Soc. A 2016, 374, 20150202. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Fawcett, T. An Introduction to ROC Analysis. Pattern Recognit. Lett. 2006, 27, 861–874. [Google Scholar] [CrossRef] [Scilit]
  32. Davis, J.; Goadrich, M. The Relationship between Precision–Recall and ROC Curves. In Proceedings of the 23rd International Conference on Machine Learning, Pittsburgh, PA, USA, 25–29 June 2006; pp. 233–240. [Google Scholar] [CrossRef] [Scilit]
  33. Saito, T.; Rehmsmeier, M. The Precision–Recall Plot Is More Informative Than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets. PLoS ONE 2015, 10, e0118432. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  34. Tabik, S.; Gómez-Ríos, A.; Martín-Rodríguez, J.L.; Sevillano-García, I.; Rey-Area, M.; Charte, D.; Guirado, E.; Suárez, J.L.; Luengo, J.; Valero-González, M.A.; et al. COVIDGR Dataset and COVID-SDNet Methodology for Predicting COVID-19 Based on Chest X-Ray Images. IEEE J. Biomed. Health Inform. 2020, 24, 3595–3605. Available online: https://github.com/ari-dasci/OD-covidgr/releases/tag/1.0 (accessed on 9 November 2026). [CrossRef] [Scilit] [PubMed]
  35. McInnes, L.; Healy, J.; Melville, J. UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction. arXiv 2018, arXiv:1802.03426. [Google Scholar] [CrossRef] [Scilit]
  36. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization. Int. J. Comput. Vis. 2020, 128, 336–359. [Google Scholar] [CrossRef] [Scilit]
  37. DeGrave, A.J.; Janizek, J.D.; Lee, S.-I. AI for Radiographic COVID-19 Detection Selects Shortcuts over Signal. Nat. Mach. Intell. 2021, 3, 610–619. [Google Scholar] [CrossRef] [Scilit]
  38. Wang, D.; Shelhamer, E.; Liu, S.; Olshausen, B.; Darrell, T. Tent: Fully Test-Time Adaptation by Entropy Minimization. In Proceedings of the International Conference on Learning Representations, Virtual Conference, 3–7 May 2021. [Google Scholar] [CrossRef] [Scilit]
  39. Roberts, M.; Driggs, D.; Thorpe, M.; Gilbey, J.; Yeung, M.; Ursprung, S.; Aviles-Rivero, A.I.; Etmann, C.; McCague, C.; Beer, L.; et al. Common Pitfalls and Recommendations for Using Machine Learning to Detect and Prognosticate for COVID-19 Using Chest Radiographs and CT Scans. Nat. Mach. Intell. 2021, 3, 199–217. [Google Scholar] [CrossRef] [Scilit]
  40. Wynants, L.; Van Calster, B.; Bonten, M.M.J.; Collins, G.S.; A Debray, T.P.; De Vos, M.; Haller, M.C.; Heinze, G.; Moons, K.G.M.; Riley, R.D.; et al. Prediction Models for Diagnosis and Prognosis of COVID-19: Systematic Review and Critical Appraisal. BMJ 2020, 369, m1328. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.