Artificial intelligence for diagnosis and Gleason grading of prostate cancer: the PANDA challenge

Nat Med 2022 Digital Pathology 7 Explanations View Original
Original Paper (PDF)

Unable to display PDF. Download it here or view on PMC.

Plain-English Explanations
Pages 1-2
The Gleason Grading Problem: High Stakes and High Variability

Gleason grading is the cornerstone of prostate cancer pathology. After biopsy, a pathologist examines tissue under the microscope and classifies tumor growth patterns into Gleason patterns -- numerical grades from 1 to 5 reflecting how closely the cancer resembles normal tissue. Based on the dominant patterns, each biopsy is assigned an ISUP Grade Group (GG) from 1 to 5, which directly informs treatment decisions ranging from active surveillance to aggressive therapy.

Despite its clinical importance, Gleason grading is inherently subjective. Multiple studies have documented significant inter- and intra-pathologist variability -- the same biopsy can receive different grades from different pathologists, or even from the same pathologist at different times. This variability leads to both undergrading (missing aggressive cancers) and overgrading (triggering unnecessary treatment of indolent disease).

The consequences are real for patients. Undergraded tumors may be managed with watchful waiting when immediate treatment is needed, while overgraded benign or low-grade cases may receive unnecessary surgery, radiation, or hormone therapy with significant side effects. A more consistent, reproducible grading tool could meaningfully reduce these harms.

AI algorithms have shown promise for automated Gleason grading but prior published results came from isolated studies developed and validated by the same research teams -- a setup that creates risk of unconscious bias and limits evidence that the algorithms will work in different hospitals, countries, or laboratory settings. The field lacked rigorous independent, cross-continental validation.

TL;DR: Gleason grading of prostate biopsies is subjective and highly variable between pathologists, leading to under- and overtreatment -- AI offers a potential solution but prior validation was limited to siloed, non-independent studies.
Pages 1-2
Why an AI Competition Was the Right Approach

Medical AI competitions have successfully accelerated progress in image analysis tasks, but they have historically suffered from key limitations: validation performed only on internal competition data by the same developers, lack of independent reproduction of results, and no follow-up validation on international cohorts outside the competition design. These gaps leave uncertain whether winning solutions solve the clinical problem or are simply optimized for the specific competition dataset.

The PANDA (Prostate cANcer graDe Assessment) challenge was designed to address these weaknesses directly. It was preregistered before data collection, used blinded evaluation where developers had no access to validation results, required full algorithm reproduction by independent parties, and included external validation on intercontinental cohorts -- all in a single rigorously designed study.

The competition ran on the Kaggle platform from April to July 2020. The development dataset -- the largest publicly released prostate biopsy collection ever at the time -- was made available to all participants, lowering the data access barrier that has historically concentrated AI development in a small number of well-resourced institutions.

The study also released the full 10,616-biopsy development dataset publicly for non-commercial research use, recognizing that data availability is the primary driver of rapid progress in medical AI and that open datasets enable iterative community improvement of algorithms over time.

TL;DR: The PANDA challenge was designed with preregistration, blinded evaluation, and independent algorithm reproduction to overcome the limitations of prior medical AI competitions and provide genuine evidence of cross-continental generalizability.
Pages 2, 3, 11
Scale and Structure: 1,290 Developers, 65 Countries, 10,616 Biopsies

A total of 1,010 teams comprising 1,290 developers from 65 countries participated in the competition, submitting 34,262 algorithm versions and generating over 32 million individual predictions. The development dataset contained 10,616 digitized prostate biopsies from two European institutions -- Radboud University Medical Center (Netherlands) and Karolinska Institutet (Sweden). A separate tuning set of 393 biopsies allowed teams to estimate their algorithm's performance during development.

After competition close, 15 top-performing teams were selected to join the PANDA consortium for the validation phase. Their algorithms were fully reproduced on two independent computing platforms (Google Cloud and a Finnish supercomputing cluster) by researchers separate from the algorithm developers. The reproduction step verified that submitted solutions were technically stable and produced consistent outputs outside the original team's environment.

The reference standard for validation sets was established by panels of specialist uropathologists with 18 to 34 years of post-residency experience. For the US external validation set, each case was reviewed by two uropathologists independently, with a third reviewing disagreements. High inter-rater agreement among uropathologists (Cohen's kappa above 0.90) confirmed that the reference standard itself was reliable, ensuring that any algorithm failures reflected genuine performance gaps rather than noisy labels.

External validation used two fully independent datasets -- a US set of 741 cases from three American medical laboratories and a European set of 330 cases from a Swedish university hospital. Both external datasets were histologically prepared and digitally scanned by laboratories different from those that produced the training data, ensuring true generalization testing across scanner hardware, staining protocols, and clinical populations.

TL;DR: The PANDA challenge enrolled 1,290 developers from 65 countries developing algorithms on 10,616 biopsies, with 15 top algorithms independently reproduced and validated on cross-continental external datasets by expert uropathologist-graded reference standards.
Pages 2-3
Common Algorithm Strategies: What the Top Teams Shared

All selected algorithms used deep learning, with most adopting a patch-based approach: each whole-slide image (WSI) -- a digital scan of an entire biopsy at high resolution -- was divided into hundreds of small image patches. A convolutional neural network processed these patches and combined their features to predict the ISUP grade group for the entire specimen. This approach enables end-to-end training using only the specimen-level grade label, without requiring pixel-level annotations of where cancer appears in the tissue.

A key innovation adopted by several teams was automated label cleaning: the algorithm detected training cases where the pathologist's grade differed substantially from the model's prediction, and either excluded or relabeled those cases. This process addressed the known problem of label noise in pathology data caused by the inherent subjectivity of Gleason grading, and it was applied iteratively as model performance improved during training.

All 15 consortium teams used model ensembles -- combining predictions from multiple independently trained models rather than relying on a single neural network. Ensembles reduce variance and improve robustness by averaging out individual model errors. Despite differences in specific architectures, preprocessing strategies, and training procedures across teams, ensembling consistently produced comparable levels of performance.

The weakly supervised paradigm demonstrated by the competition teams is clinically significant: it means high-quality AI grading models can be trained without requiring pathologists to annotate the location of cancer within each biopsy -- only the overall grade is needed. This drastically reduces the annotation burden required to create new training datasets and makes the approach scalable to larger collections.

TL;DR: Top-performing teams used patch-based deep learning with end-to-end training, automated label denoising to handle pathologist subjectivity, and model ensembles -- all working at the whole-slide level without requiring detailed cancer region annotations.
Pages 3-4
Results: Algorithms Reach and Exceed Pathologist-Level Performance

On the internal validation set, the selected algorithms achieved an average agreement with uropathologists of quadratically weighted kappa 0.931 -- a very high level of concordance. The representative algorithm (selected as the median performer) achieved sensitivity of 99.7% and specificity of 92.9% for detecting cancer-containing biopsies, meaning it missed fewer than 1 in 300 cancers while correctly clearing most benign cases.

On the US external validation set, algorithms maintained high performance with kappa of 0.862 -- comparable to the agreement general US pathologists showed with the uropathologist reference standard (0.820, p = 0.53 for difference). On cancer detection, algorithms achieved sensitivity of 98.6%, compared to pathologists at 91.9% -- the algorithms missed only 1.9% of cancers versus 7.3% missed by pathologists.

On the European external validation set, algorithms achieved kappa of 0.868 with similar patterns. Across both external sets, algorithms outperformed general pathologists on sensitivity but showed lower specificity -- the main error mode was classifying benign tissue as low-grade (ISUP GG 1) cancer. Pathologists showed the opposite tendency, particularly undergrading high-grade cancers.

Comparing the first team to achieve kappa above 0.90 (within the first 10 days of the competition) with the median team performance exceeding 0.85 by day 33 illustrates how rapidly the global community converged toward expert-level performance once a large curated dataset became available. This trajectory demonstrates the disproportionate role of data availability in accelerating medical AI development.

TL;DR: PANDA algorithms achieved kappa of 0.93 on internal validation and 0.86 on cross-continental external validation, reaching pathologist-level grading concordance while detecting significantly more cancers than general pathologists (1.9% missed vs 7.3% missed).
Pages 4-6
Error Patterns and Clinical Operating Points

The primary failure mode of the algorithms in external validation was overdiagnosis: classifying benign tissue as ISUP GG 1 (lowest-grade cancer). This occurs partly due to distribution shift -- the ratio of benign to malignant biopsies may differ between training and external datasets, causing the model to apply a threshold optimized for one population to another. Calibrating the model's decision threshold on a small sample from the target institution could reduce this problem in clinical deployment.

Pathologists showed the opposite error pattern: they tended to undergrade high-grade cancers, particularly misclassifying GG 4 cases as GG 3. This finding has direct clinical implications -- undergraded aggressive cancers may receive inadequate treatment. The combination of AI (which tends to overestimate grade) with pathologist review (which tends to underestimate grade) could produce synergistic improvement in grading accuracy when AI assists rather than replaces the pathologist.

The appropriate operating threshold for a clinical AI system depends on its intended use. For prescreening -- where the goal is to identify cases that can safely be triaged without full pathologist review -- high sensitivity is prioritized to minimize missed cancers. For diagnostic support -- where the AI grades alongside the pathologist -- higher specificity to avoid overdiagnosis of benign tissue becomes important. The PANDA framework allows flexible calibration for different clinical contexts.

The study also showed that the algorithms were less affected than human pathologists by the difference between internal European reference standards and external US reference standards. High cross-continental consistency among expert uropathologists (kappa above 0.93) confirmed that the reference standards themselves were reliable, and algorithm performance drops in external validation reflected genuine generalization challenges rather than inconsistent grading references.

TL;DR: Algorithms tended to overdiagnose benign tissue as low-grade cancer while pathologists tended to undergrade high-grade cancers -- the complementary error patterns suggest AI assistance could improve grading accuracy more than either alone.
Pages 5-6
Limitations, Open Science, and Path to Clinical Trials

The competition evaluated algorithms on individual biopsies rather than the full patient-level diagnostic workup, where multiple biopsy cores from the same patient are assessed together. Future studies should evaluate patient-level performance, incorporating all cores and sections to generate the final diagnostic impression -- the standard clinical context for prostate biopsy interpretation.

The study focused on the most common cancer subtype, acinar adenocarcinoma, and did not systematically assess algorithm performance on rarer cancer variants, precancerous lesions, or histological pitfalls such as severe inflammation or benign mimickers. Understanding algorithm behavior on difficult edge cases is essential before clinical deployment, and the authors call for targeted evaluation of common error-provoking tissue patterns.

The participating countries were predominantly white, and demographic characteristics were not available for all datasets. Algorithm performance should be validated in more demographically diverse settings to ensure equitable performance across different patient populations before widespread clinical implementation.

Despite these limitations, the PANDA results represent the most rigorous large-scale validation of AI for prostate cancer grading performed to date, and the authors conclude the evidence warrants evaluation of AI-based Gleason grading in prospective clinical trials. The full 10,616-biopsy dataset remains publicly available, enabling the research community to continue advancing and testing new approaches on a standardized benchmark.

TL;DR: Limitations include individual-biopsy (not patient-level) evaluation and predominantly white study populations, but the PANDA results provide the strongest evidence yet that AI Gleason grading is ready for prospective clinical trial evaluation.
Citation: Open Access, . Available at: PMC8799467.