Abstract
Objective
Accurate pathology reports are crucial for the diagnosis and treatment planning of cancer patients. However, these reports are prone to errors due to time pressures, subjective interpretation, and inconsistencies among professionals. Addressing these errors is vital for improving oncology care outcomes. Artificial intelligence (AI) systems, such as GPT-4, offer the potential to enhance diagnostic accuracy and efficiency.
Methods
A total of 700 malignant tumor pathology reports were collected from four hospitals. Of these, 350 reports had deliberate errors introduced by a senior pathologist, mimicking real-world reporting challenges. Error detection performance was evaluated by comparing GPT-4 to six human pathologists (two seniors, two attending pathologists, and two residents). Key metrics included error detection rates with Wilson confidence intervals and processing time per report.
Results
GPT-4 detected 88% of errors (350/400; 95% CI: [84, 91]), compared to a 95% detection rate by the top senior pathologist (382/400; 95% CI: [93, 97]). GPT-4 significantly reduced the average processing time to 4.03 seconds per report, compared to 65.64 seconds for the fastest human pathologist. However, GPT-4 exhibited a higher rate of false positives (2.3%; 95% CI: [1.52, 3.01]) compared to the best-performing senior pathologist (0.3%; 95% CI: [0.01, 0.91]).
Conclusions
GPT-4 demonstrates substantial potential in improving the efficiency and accuracy of pathology error detection, which could accelerate clinical workflows and enhance cancer diagnostics. However, its higher false-positive rate emphasizes the need for human oversight to ensure safe implementation in clinical practice.
Keywords: Large language model, pathology report error detection, artificial intelligence in oncology, diagnostic accuracy, cancer diagnostics workflow
Introduction
In modern oncology, pathology reports play a pivotal role in the accurate diagnosis, staging, and treatment planning for cancer patients. However, errors in these reports can lead to misdiagnoses, inappropriate treatment strategies, and potentially harmful patient outcomes, highlighting the critical need for precise and reliable reporting. 1 Common challenges include clerical errors, data misinterpretation, and inconsistencies resulting from subjective judgment and workload pressures.2–4 As the volume of pathology reports continues to rise, particularly in oncology where timely and accurate diagnoses are crucial, the risk of human error escalates, especially under time constraints.2–5
Given these challenges, efficient methods for error detection in pathology reports are urgently needed. Traditional error detection approaches, though thorough, are labor-intensive, time-consuming, and prone to variability due to their reliance on manual review by pathologists.6–8 Recent advancements in artificial intelligence (AI), particularly the development of large language models (LLMs) like GPT-4, offer promising solutions to these challenges by automating error detection and improving the accuracy of medical documentation.9–11
GPT-4, with its advanced natural language understanding and generation capabilities, is capable of processing complex medical texts and identifying discrepancies within pathology reports. Its ability to recognize and correct errors, such as clerical mistakes and incorrect terminology, has significant potential to enhance diagnostic accuracy in cancer care.12,13 However, the effectiveness of GPT-4 can vary depending on the type of prompts used. While this study primarily employs zero-shot prompting, exploring alternative strategies such as one-shot or chain-of-thought prompting could further optimize its performance and reduce the incidence of false positives.12–14
The adaptability of GPT-4 across diverse medical contexts makes it a versatile tool for detecting errors in oncology-related pathology reports. Nevertheless, it is essential to benchmark its performance against traditional error detection methods to fully assess its capabilities and limitations. By integrating AI technologies with domain-specific medical expertise, this research aims to develop an efficient, accurate, and scalable approach to automating error detection, ultimately enhancing the reliability of cancer diagnostics.15,16
Furthermore, the use of GPT-4 for error detection could alleviate the workload of oncologists and pathologists, offering significant time savings while also serving as an educational tool for medical trainees. By identifying and correcting errors in real-time, AI technologies like GPT-4 could support faster and more accurate cancer diagnoses, contributing to improved patient outcomes.17–19
The primary objective of this study is to evaluate the efficacy of GPT-4 in detecting errors within oncology pathology reports and to explore its potential for integration into clinical practice. Through this work, we seek to contribute to the advancement of AI-driven solutions in cancer diagnostics, aiming to improve both the precision and efficiency of medical reporting, thereby positively impacting patient care outcomes.
Materials and methods
Prompt engineering
The study primarily utilized zero-shot prompts, where GPT-4 received instructions without prior examples to guide its error detection process. This approach was selected because it reflects a realistic clinical deployment scenario, especially where domain-specific annotated data are unavailable. Testing GPT-4 in its unmodified form allows for an unbiased evaluation of its baseline performance.
We recognize that this is one of several possible prompting strategies. Future studies should explore and compare other methods—such as few-shot prompting, chain-of-thought reasoning, or lightweight fine-tuning—to further enhance performance.
GPT-4 model configuration and training data
GPT-4, developed by OpenAI, is a large-scale language model used in this study. The specific version accessed via the OpenAI API was the default model available during the research period.
Model Configuration:
Architecture: GPT-4 is based on the Transformer architecture, consisting of multiple layers of self-attention and feed-forward networks. While OpenAI has not disclosed the exact number of parameters, GPT-4 is among the largest models available, with billions of parameters contributing to its robust language understanding capabilities.
Input Configuration: The input consisted of pathology reports divided into sections such as “Macroscopic findings” and “Pathological diagnosis,” formatted for consistency. A zero-shot prompting approach was employed, with explicit instructions tailored for error detection.
Training Data:
Pretraining: GPT-4 was pretrained on a diverse text corpus from the internet, covering various domains, languages, and styles, enabling it to develop a broad understanding of language and contextual relationships.
Domain Adaptation: Although no specific fine-tuning for pathology was conducted, GPT-4's general knowledge base includes medical literature, which aids in recognizing and understanding medical terminology and concepts relevant to this study.
Fine-Tuning Procedures:
Zero-Shot Approach: GPT-4 was used in a zero-shot manner, with responses generated based on its pre-existing knowledge without further adaptation or training on the dataset used in this study.
Limitations and Implications for Reproducibility:
Model Reproducibility: While GPT-4's performance offers valuable insights, exact replication may vary due to updates to the GPT-4 model and API configurations. Researchers aiming to replicate this study should use the same version of GPT-4 and meticulously document model configurations and prompts.
Data collection and preprocessing
This was a retrospective, multi-center validation study conducted across four hospitals in China: Guizhou Provincial People's Hospital, the Third Affiliated Hospital of Sun Yat-sen University, the Third Xiangya Hospital of Central South University, and Jiangxi Cancer Hospital. The data collection took place between October and December 2023. All pathology reports were originally written in Chinese. A total of 700 original pathology reports on malignant tumors from 14 different organs were collected from these hospitals. These reports were randomized using a freeware research data randomization tool and divided into two equal groups: 350 correct reports and 350 manipulated reports.
In the manipulated group, a total of 400 errors were deliberately introduced by a senior pathology expert, with up to three errors per report (Figure 1). These errors were designed to reflect common real-world pathology reporting issues, with each of the five error categories—clerical errors, improper use of terminology, missing information, interpretation or diagnostic errors, and data inconsistency—represented by 80 instances, ensuring a balanced assessment across different error types (Figure 1). All reports were anonymized prior to analysis, and written informed consent was obtained from all patients or their legal guardians.
Figure 1.
Study flowchart. (A) Initially, 700 original pathology reports from 14 organs were selected. (B) These were then randomized into two sets: a correct set and an incorrect set, each containing 350 pathology reports. Within the incorrect set, 400 errors across five categories (Clerical errors, Improper use of terminology, Missing information, explain or diagnose errors, Data inconsistency) were deliberately introduced, with a maximum of three errors per case. (C) GPT-4 and six doctors were tasked with evaluating each pathology report to identify potential errors, allowing for a comparative analysis of their performance.
Error categorization and definition
The introduced errors were categorized based on existing literature and real-world pathology practices into five main categories2–4:
Clerical errors: This category comprises the most common errors, such as typos, punctuation errors, misspellings of words, etc. For instance, the term “carcinoma” may be incorrectly transcribed as “cardinoma.” Additionally, inaccuracies may arise from improper copying and pasting of previous reports, leading to the inclusion of irrelevant or incorrect information in the report.
Improper use of terminology: Pathologists may inaccurately employ technical terms or use inappropriate language when describing histological features. An example of this would be incorrectly labeling a “benign” lesion as “malignant,” which could lead to incorrect treatment decisions.
Missing information: Pathology reports may omit crucial diagnostic details, such as tumor size, grade, stage, etc., which are pivotal for subsequent treatment planning. For instance, failing to mention the margin status of a resected tumor could result in inadequate patient management.
Interpretation or diagnostic errors: This type of error may stem from misinterpretation of tissue samples or inadequate understanding of pertinent clinical information. An example would be incorrectly diagnosing a benign lesion as malignant, or vice versa, based on histopathological findings.
Data inconsistency: The data within the report may not align with information present in laboratory records or other medical documentation. For example, a pathology report might list the wrong patient demographic information, or there could be discrepancies between the reported findings and the documented clinical history.
These categories were defined to capture the most common and clinically significant types of errors that occur in pathology reports. To ensure clarity and consistency, these error categories were consistently referenced throughout the study, with specific examples provided to enhance understanding. The role of the senior pathology expert was crucial in both the introduction and categorization of these errors to ensure they accurately represented realistic challenges faced in pathology reporting (Table 1).
Table 1.
Comparative proofreading examples by GPT-4 and the human readers.
| # | Pathology Report | Error and Error Type (s) | Error Detection | |
|---|---|---|---|---|
| Error 1 | Error 2 | |||
| 1 | Macroscopic findings: Specimen: Posterior segment of right upper lobe of lung. A piece of lung tissue attached with a staple, measuring 9.5 × 5 × 1.5 cm, staple length 9.5 cm. At 2.7 cm from the staple edge, and 0.5 cm from the visceral pleura, there is a series of incised gray-white nodules, measuring 1 × 0.8 × 0.4 cm, with unclear boundaries with the surrounding tissue, and a gray-white solid cut surface, of medium consistency, while the remaining lung tissue is gray-red, solid, and soft. Pathological diagnosis: Specimen: Lung segmentectomy; Tumor macroscopic type: Peripheral type; Solitary; Tumor location: Posterior segment of upper right lung lobe; Tumor size: 1 × 0.8 × 0.4 mm; Histological type: Invasive adenocarcinoma, non-mucinous type (predominantly lepidic growth pattern, approximately 80%, acinar growth pattern approximately 20%); Histological grade: Well-differentiated; IASLC new staging: Stage 1; Pleural invasion: PL0; Airway spread (STAS): Not observed; Vascular invasion: Not observed; Neural invasion: Not observed; Lung parenchymal margin: Negative; Distance of lung margin from tumor: 2.7 cm. |
Error: 1. The “Macroscopic finding” described the nodule size as 1 × 0.8 × 0.4 cm, while ‘Pathological diagnosis’ described the nodule size as 1 × 0.8 × 0.4 mm. 2. “Posterior segment of right upper lobe of lung” in “Pathological diagnosis” described as “Posterior segment of upper right lung lobe” Error type (s): 1. Clerical errors (cm vs. mm). 2. Improper use of terminology (Posterior segment of right upper lobe of lung vs. Posterior segment of the upper right lung lobe). |
GPT-4: Yes Seniors: R1: Yes R2: Yes Attendings: R3: Yes R4: Yes Residents: R5: Yes R6: Yes |
GPT-4: Yes Seniors: R1: Yes R2: Yes Attendings: R3: Yes R4: Yes Residents: R5: Yes R6: Yes |
| 2 | Macroscopic findings: Specimen: Right Temporal Lobe Mass. One pile of gray-white tissue, measuring 3 × 3 × 0.4 cm. Pathological diagnosis: (Right temporal lobe mass) Adult diffuse low-grade glioma, with areas of microvascular proliferation and necrosis. Histological diagnosis: Astrocytoma/Diffuse glioma. CNS WHO grade: Grade 4. This case shows negative immunohistochemistry for IDH1, molecular testing shows negative IDH1 mutation, molecular subtype: Glioblastoma, IDH wild type. Immunohistochemistry results (slide 3): IDH-1 (+), ATRX (+), IDH2 (+), GFAP (+), H3K27 M (−), H3K27Me3 (+), P53 (+), S100 (+), Olig-2 (partially +), NeuN (−), Syn (+), Ki67 (approximately 30%+). IDH1/2 gene mutation detection (PCR-fluorescence probe method): No IDH1 gene R132H mutation detected; No IDH2 gene R172 K/R172G/R172 M/R172 W/R172S mutations detected. |
Error: 1. According to the WHO grade described in the report, the case should be adult diffuse high-grade glioma. 2. The report is clearly described as IDH1 immunohistochemical negative, but the “immunohistochemical result” is expressed as IDH (+). Error type (s): 1. Explain or diagnose errors (Adult diffuse high-grade glioma vs. Adult diffuse low-grade glioma) 2. Data inconsistency (IDH-1 (−) vs. IDH-1 (+)). |
GPT-4: Yes Seniors: R1: Yes R2: Yes Attendings: R3: Yes R4: Yes Residents: R5: Yes R6: Yes |
GPT-4: Yes Seniors: R1: Yes R2: Yes Attendings: R3: Yes R4: Yes Residents: R5: No R6: Yes |
Note. The Table showed incorrect pathology reports with the respective errors and error types and the corresponding proofreading results. R1 = Senior 1, R2 = Senior 2, R3 = Attending 1, R4 = Attending 2, R5 = Resident 1, R6 = Resident 2.
Role of pathologists in the study
Three experienced pathologists (Z.Y., J.Y.J., and S.R.N.B., with 20, 20, and 12 years of experience, respectively) were involved in the validation and classification of the errors. Initially, each pathologist independently verified the reports to ensure that their evaluations were unbiased and not influenced by the others’ judgments. After these independent assessments, the pathologists convened to discuss any discrepancies in their findings. Each pathology report's final error classification was determined through consensus among these three pathologists, and any disagreements during this process were resolved through thorough discussion until consensus was reached, ensuring consistency in error categorization.
Error detection process using GPT-4
Human readers: Four board-certified pathologists with varying levels of clinical experience participated in the evaluation process. The team comprised two seasoned senior pathologists (Z.Y. and J.Y.J., each with 20 years of experience), two attending pathologists (Z.J.C. and B.S.R.N., with 10 and 12 years of experience, respectively), and two resident trainees (Y.Z.H. and D.L.Y., with 5 years of experience each). Each pathology report was assessed for potential errors, and the time taken for evaluation was recorded using a digital stopwatch.
GPT-4: GPT-4, accessed via the OpenAI API (https://platform.openai.com/docs/api-reference/introduction), was employed for the error detection process. Reports were fed into the GPT-4 model individually through a Python script (version 3.12; Python Software Foundation). Similar to human readers, GPT-4 was tasked with evaluating each pathology report for potential errors using a zero-shot prompting approach. This method involved providing GPT-4 with a specific instruction without any follow-up modifications. The prompt used was: “In the following, I will provide you with a pathology report, divided into ‘Macroscopic findings’ and ‘Pathological diagnosis’ sections. Please evaluate the report for mistakes and assess and validate the consistency between the ‘Macroscopic findings’ and the ‘Pathological diagnosis’ sections, highlighting any discrepancies or notable points.”.
The time taken by GPT-4 to correct each pathology report was measured from the moment the prompt was sent to when the final response was received. This duration was assessed for 70 randomly selected reports of varying lengths.
Statistical analysis
All analyses were conducted using software including R software (version 4.3.2) and Python (version 3.12). Outcome measures included the number of correctly detected errors, precision, recall, F1-score, Wilson confidence intervals, and time taken per report.
To compare the performance of GPT-4 with that of the pathologists, confidence intervals were the primary formal inferential tool used, supplemented by McNemar's test for paired comparisons. Wilson confidence intervals were calculated for all proportion estimates due to their better performance compared to Wald intervals, especially with smaller sample sizes. This approach ensures more accurate interval estimates for the error detection rates.
Precision, recall, and F1-score were calculated to provide a more comprehensive understanding of GPT-4's performance, each accompanied by their respective confidence intervals to assess the range of expected performance. Precision was calculated as the number of true positive errors detected by GPT-4 divided by the sum of true positives and false positives. Recall was calculated as the number of true positive errors detected by GPT-4 divided by the sum of true positives and false negatives. The F1-score, which balances precision and recall, was calculated as the harmonic mean of precision and recall.
The performance of GPT-4 and the pathologists was summarized using 95% Wilson confidence intervals (CIs) for the detection rates, precision, recall, and F1-score. Comparisons between GPT-4 and the pathologists were primarily descriptive, focusing on confidence intervals to provide insight into the reliability and precision of the results, rather than relying heavily on p-values.
The average time to process a GPT-4–corrected pathology report was compared with those of the pathologists using paired-sample t-tests. Bonferroni correction was applied to adjust for multiple comparisons (Corrected α = 9/0.05 = 0.0056). A two-sided significance level of P < .05 was considered statistically significant. The effect size for differences in processing time was assessed using Cohen's d, with values of 0.2, 0.5, and 0.8 indicating small, medium, and large effects, respectively. 20 Interrater agreement was evaluated using Cohen's κ, categorized as follows: 0.01–0.20, none to slight; 0.21–0.40, fair; 0.41–0.60, moderate; 0.61–0.80, substantial; and 0.81–1.00, almost perfect agreement. 21 Due to the nature of the research and the absence of prior effect sizes for comparison, no power analysis was conducted.
Results
Performance of GPT-4 and human pathologists in error detection
GPT-4 demonstrated strong performance in detecting errors within pathology reports, with a detection rate of 88% [350 of 400; 95% CI: 84, 91], a precision of 0.975, recall of 0.875, and F1-score of 0.922 (Tables 1 and 5). McNemar's test results were considered supplementary to the primary focus on confidence intervals, which provide a more comprehensive understanding of the variability in error detection rates between GPT-4 and each pathologist. In comparison, the best-performing senior pathologist achieved a higher detection rate of 95% [382 of 400; 95% CI: 93, 97], highlighting the expertise of experienced human pathologists (Table 1). The resident pathologists had the lowest detection rates, with the worst-performing resident achieving 81% [325 of 400; 95% CI: 77, 85]. Moreover, GPT-4 exhibited a higher rate of incorrectly flagged reports at 2.3% [9 of 400; 95% CI: 1.5, 3.0], compared to the best-performing senior pathologist's rate of 0.3% [1 of 400; 95% CI: 0.01, 0.9].
Table 5.
Performance metrics of error detection in pathology reports.
| Reader | Precision (95% CI) | Recall | F1-score |
|---|---|---|---|
| Senior 1 | 0.997 (0.984, 0.999) | 0.955 (0.928, 0.973) | 0.976 |
| Senior 2 | 0.994 (0.978, 0.998) | 0.895 (0.860, 0.923) | 0.942 |
| Attending 1 | 0.994 (0.978, 0.998) | 0.883 (0.848, 0.914) | 0.935 |
| Attending 2 | 0.988 (0.968, 0.995) | 0.843 (0.804, 0.876) | 0.910 |
| Resident 1 | 0.990 (0.968, 0.997) | 0.813 (0.771, 0.849) | 0.892 |
| Resident 2 | 0.985 (0.961, 0.994) | 0.825 (0.785, 0.860) | 0.899 |
| GPT-4 | 0.975 (0.950, 0.987) | 0.875 (0.836, 0.906) | 0.922 |
Comparison of detection rates and error metrics
In the overall analysis, while GPT-4's detection rate of 88% was lower than that of the best-performing senior pathologist (95%), its performance was still notable and comparable to that of attending pathologists, with no significant difference observed (P = .29–.99) (Figure 2). McNemar's test confirmed that some of these differences were statistically significant, particularly between GPT-4 and the best-performing pathologists. These metrics were superior to those of the worst-performing resident pathologist. The statistical significance of these comparisons was evaluated using McNemar's test and chi-square tests, confirming that the differences observed were not due to chance.
Figure 2.
Bar graph shows the percentage of detected errors for GPT-4 and the doctors. The error bars are 95% CIs.
Subgroup analysis by anatomic site
In the subgroup analysis of different anatomic sites, GPT-4 detected fewer errors compared to the best-performing senior pathologist in pathology reports of the abdomen (detection rate, 88% [207 of 236; 95% CI: 85, 97] vs. 95% [224 of 236; 95% CI: 85, 97]; χ²=6.8, df = 1, P = .008). McNemar's test was applied here as well to assess the paired comparisons, confirming the significance of these findings. Conversely, GPT-4 detected more errors compared to the worst-performing resident pathologist (detection rate, 88% [207 of 236; 95% CI: 85, 97] vs. 81% [190 of 236; 95% CI: 77, 85]; χ²=4.1, df = 1, P = .04) (Table 2). Regarding errors in thorax reports, GPT-4 detected fewer errors than the best-performing senior pathologist (detected errors, 87% [95 of 109; 95% CI: 79, 93] vs. 97% [106 of 109; 95% CI: 92, 99]; χ²=4.3 df = 1, P = .04). Similarly, McNemar's test supported the findings of significant differences in these specific categories. However, there was no significant difference in the percentage of detected errors between GPT-4 and other pathologists (P = 0.56–0.99) (Table 2). Regarding errors in head and neck reports, there was no significant difference in the percentage of detected errors between GPT-4 and pathologists (P = 0.30–0.99) (Table 2). These results underscore the variability in GPT-4's performance depending on the type of pathology report.
Table 2.
Comparison of error detection rates between GPT-4 and doctors using McNemar's test.
| Reader | Total | Head and neck | ||
|---|---|---|---|---|
| Detection Rate (%) | P | Detection Rate (%) | P | |
| Senior 1 | 95 (93, 97) [382/400] | <.001 | 95 (85, 99) [52/55] | .50 |
| Senior 2 | 90 (86, 92) [358/400] | .57 | 91 (80, 97) [50/55] | .99 |
| Attending 1 | 88 (85, 91) [353/400] | .91 | 95 (85, 99) [52/55] | .50 |
| Attending 2 | 84 (80, 88) [337/400] | .21 | 84 (71, 92) [46/55] | .58 |
| Resident 1 | 81 (77, 85) [325/400] | .03 | 80 (67, 90) [44/55] | .30 |
| Resident 2 | 83 (78, 86) [330/400] | .03 | 82 (69, 91) [45/55] | .42 |
| GPT-4 | 88 (84, 91) [350/400] | 87 (76, 95) [48/55] | ||
| Thorax | Abdomen | |||
| Detection Rate (%) | P | Detection Rate (%) | P | |
| Senior 1 | 97 (92, 99) [106/109] | .04 | 95 (85, 97) [224/236] | .008 |
| Senior 2 | 90 (83, 95) [98/109] | .84 | 89 (85, 94) [211/236] | .77 |
| Attending 1 | 88 (80, 93) [96/109] | .99 | 87 (82, 91) [205/236] | .89 |
| Attending 2 | 87 (77, 91) [93/109] | .84 | 84 (79, 88) [198/236] | .37 |
| Resident 1 | 83 (75, 90) [91/109] | .56 | 81 (75, 85) [190/236] | .08 |
| Resident 2 | 87 (79, 93) [95/109] | .99 | 81 (75, 85) [190/236] | .04 |
| GPT-4 | 87 (79, 93) [95/109] | 88 (83, 92) [207/236] |
Note. Data in parentheses are 95% CIs; data in brackets are numerators/denominators.
Bonferroni correction was used to correct P values for multiple comparisons (Corrected α=9/0.05 = 0.0056).
Validation of specific error types
We further analyzed the performance of GPT-4 and pathologists across different types of introduced errors, including clerical errors, missing information, improper use of terminology, interpretation or diagnostic errors, and data inconsistency. The performance of GPT-4 in detecting ‘improper use of terminology’ was relatively weaker compared to other error categories, with a detection rate of 79% [63 of 80; 95% CI: 68, 87]. This suggests that while GPT-4 is generally effective in error detection, the identification of improper use of terminology remains a challenging area for the model, requiring further refinement. In contrast, the best-performing pathologist detected these errors with a higher rate of 91% [73 of 80; 95% CI: 83, 96], indicating a potential area where human expertise still outperforms the AI model. Regarding the other error categories, there was no significant evidence of GPT-4 detecting fewer errors compared to the pathologists (P = 0.06–0.99). The detection rates for each error type across GPT-4 and all pathologist subgroups are presented in Table 3. This analysis offers more practical insight into the specific strengths and weaknesses of GPT-4 in realistic reporting contexts.
Table 3.
Comparison of detection rates for different error types in pathology reports using McNemar's test.
| Reader | Error A | Error B | Error C | Error D | Error E | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Detection | P | Detection | P | Detection | P | Detection | P | Detection | P | |
| Rate (%) | Rate (%) | Rate (%) | Rate (%) | Rate (%) | ||||||
| Senior 1 | 100 (95, 100) | .25 | 91 (83, 96) | .06 | 90 (81, 96) | .48 | 98 (91, 100) | .02 | 99 (93, 100) | .08 |
| [80/80] | [73/80] | [72/80] | [78/80] | [79/80] | ||||||
| Senior 2 | 99 (93, 100) | .62 | 84 (74, 91) | .56 | 86 (77, 93) | .99 | 90 (81, 96) | .65 | 89 (80, 95) | .8 |
| [79/80] | [67/80] | [69/80] | [72/80] | [71/80] | ||||||
| Attending 1 | 98 (91, 100) | .99 | 83 (72, 90) | .69 | 85 (75, 92) | .99 | 89 (80, 95) | .82 | 88 (78, 94) | .63 |
| [78/80] | [66/80] | [68/80] | [71/80] | [70/80] | ||||||
| Attending 2 | 91 (83, 96) | .29 | 80 (70, 88) | .99 | 80 (70, 88) | .57 | 78 (67, 86) | .23 | 93 (84, 97) | .99 |
| [73/80] | [64/80] | [64/80] | [62/80] | [74/80] | ||||||
| Resident 1 | 89 (80, 95) | .11 | 79 (68, 87) | .99 | 78 (67, 86) | .34 | 75 (64, 84) | .12 | 86 (77, 93) | .48 |
| [71/80] | [63/80] | [62/80] | [60/80] | [69/80] | ||||||
| Resident 2 | 94 (86, 98) | .72 | 78 (67, 86) | .99 | 76 (65, 85) | .25 | 78 (67, 86) | .19 | 88 (78, 94) | .63 |
| [75/80] | [62/80] | [61/80] | [62/80] | [70/80] | ||||||
| GPT-4 | 96 (89, 99) | 79 (68, 87) | 85 (75, 92) | 86 (77, 93) | 93 (84, 97) | |||||
| [77/80] | [63/80] | [68/80] | [69/80] | [74/80] |
Note. Data in parentheses are 95% CIs; data in brackets are numerators/denominators. Bonferroni correction was used to correct P values for multiple comparisons (Corrected α=9/0.05 = 0.0056). Error A = Clerical errors; Error B = Improper use of terminology; Error C = Missing information; Error D = Explain or diagnose errors; Error E = Data inconsistency.
GPT-4's false positives
Among the 700 reports examined, GPT-4 erroneously identified nine reports as containing errors when, in fact, they did not contain any errors. In comparison to the most proficient senior pathologist, GPT-4 displayed a higher rate of incorrectly flagged pathology reports (2.3% [9 of 400; 95% CI: 1.5, 3.0] vs. 0.3% [1 of 400; 95% CI: 0.01, 0.9]; χ² = 5.0, df = 1, P = .03). While McNemar's test was not applied to false positive rates, the chi-square analysis confirmed the significance of these differences. Nevertheless, there was no statistically significant disparity between GPT-4 and other pathologists concerning incorrectly flagged pathology reports (P = .07–.42) (Table 4).
Table 4.
Comparison of incorrectly flagged pathology reports between GPT-4 and the doctors.
| Reader | Rate of Incorrectly Flagged Reports (%, Rate) | P a |
|---|---|---|
| Senior 1 | 0.25 (0.01, 0.91) [1/400] | .03 |
| Senior 2 | 0.50 (0.27, 1.36) [2/400] | .07 |
| Attending 1 | 0.50 (0.27, 1.36) [2/400] | .07 |
| Attending 2 | 0.10 (0.65, 1.75) [4/400] | .26 |
| Resident 1 | 0.75 (0.54, 1.62) [3/400] | .15 |
| Resident 2 | 1.25 (0.73, 1.87) [5/400] | .42 |
| GPT-4 | 2.25 (1.52, 3.01) [9/400] |
Note. Data in parentheses are 95% CIs; data in brackets are numerators/denominators. Bonferroni correction was used to correct P values for multiple comparisons (Corrected α=9/0.05 = 0.0056).
The number of correctly detected errors by GPT-4 was compared with the doctors by using χ2 test.
The statistical analysis supports the conclusion that GPT-4 is less effective in identifying complex errors compared to experienced human pathologists. Examples of false positives included cases where GPT-4 flagged minor inconsistencies that did not constitute actual errors, such as slight formatting deviations between sections or the use of uncommon but clinically acceptable terminology. In one instance, GPT-4 incorrectly identified the phrase “no tumor cells seen” as inconsistent due to its variation from the more common phrasing “tumor-free margins,” despite both conveying the same clinical meaning. Another example involved GPT-4 mistakenly flagging missing tumor grading when the case involved a benign lesion that did not require grading.
Interrater agreement
The interrater agreement between GPT-4 and the pathologists, as well as among the pathologists themselves, was observed to be only slight to fair, with Cohen's κ ranging from 0.01 to 0.39 (Table 6). While perfect concordance may not be ideal in this context, the variability in agreement highlights the complementary nature of GPT-4 in the error detection process. Low concordance suggests that GPT-4 could serve as a valuable supplementary tool, potentially identifying different errors that human readers might miss. This emphasizes GPT-4's role in enhancing sensitivity in error detection, making it a useful adjunct to human review rather than a replacement.
Table 6.
Interrater agreement between GPT-4 and the doctors.
| Reader | Senior 1 | Senior 2 | Attending 1 | Attending 2 | Resident 1 | Resident 2 | GPT-4 |
|---|---|---|---|---|---|---|---|
| Senior 1 | … | 0.02 | 0.02 | 0.04 | 0.05 | 0.01 | 0.03 |
| Senior 2 | 0.02 | … | 0.39 | 0.06 | 0.1 | 0.06 | 0.02 |
| Attending 1 | 0.02 | 0.39 | … | 0.03 | 0.09 | 0.08 | 0.01 |
| Attending 2 | 0.04 | 0.06 | 0.03 | … | 0.05 | 0.04 | 0.11 |
| Resident 1 | 0.05 | 0.1 | 0.09 | 0.05 | … | 0.05 | 0.06 |
| Resident 2 | 0.01 | 0.06 | 0.08 | 0.04 | 0.05 | … | 0.07 |
| GPT-4 | 0.03 | 0.02 | 0.01 | 0.11 | 0.06 | 0.07 | … |
Note. Data are Cohen κ values (0.01–0.20), none to slight agreement; 0.21–0.40, fair agreement; 0.41–0.60, moderate agreement; 0.61–0.80, substantial agreement; and 0.81–1.00, almost perfect agreement.
Comparison of Reading time
The aggregate reading time for all 700 reports by GPT-4 amounted to 0.78 h. In contrast, the swiftest pathologist completed the review of 700 reports in 12.76 h, while the slowest pathologist took 21.35 h (Figure 3 and Table 7). The mean reading time per pathology report for GPT-4 was significantly shorter compared to the fastest pathologist (mean reading time, 4.03 seconds ± 0.8 [SD] versus 65.64 seconds ± 18.63; P < .001; Cohen's d = ‒4.67), highlighting GPT-4's potential to streamline pathology workflows.
Figure 3.
Scatter diagram shows reading time per radiology report in seconds.
Table 7.
Mean reading time per pathology report.
| Reader | Per pathology report (sec) | Cohen d | P |
|---|---|---|---|
| Senior 1 | 65.64 ± 18.63 | −4.67 | <.001 |
| Senior 2 | 68.42 ± 19.41 | −4.69 | <.001 |
| Attending 1 | 82.16 ± 23.29 | −4.74 | <.001 |
| Attending 2 | 76.37 ± 21.65 | −4.72 | <.001 |
| Resident 1 | 86.52 ± 24.5 | −4.76 | <.001 |
| Resident 2 | 109.78 ± 31.04 | −4.82 | <.001 |
| GPT-4 | 4.03 ± 0.8 | … | … |
Note. Mean data are ± SDs. Cohen d was used as the effect size for the differences in reading time with d values of 0.2, 0.5, and 0.8 constituting small, medium, and large effects, respectively. The average time to process a pathology report by GPT-4 was compared with the doctors using paired-sample t tests. Bonferroni correction was used to correct P values for multiple comparisons (corrected α=9/0.05 = 0.0056).
Discussion
This study aimed to evaluate the performance of GPT-4 in detecting errors in oncology-related pathology reports, focusing on key metrics such as precision, recall, and F1-score. By using confidence intervals instead of solely relying on p-values, we were able to offer a more robust understanding of GPT-4's reliability and variability in clinical applications. Although GPT-4 was employed in a zero-shot manner without specific fine-tuning for pathology, our findings suggest that fine-tuning on pathology-specific datasets could enhance its ability to manage complex medical terminology and further reduce error rates. Future improvements in precision and recall through model fine-tuning would make GPT-4 a more reliable tool for clinical settings, particularly in oncology, where diagnostic accuracy is paramount.
Our study demonstrated that GPT-4 performs comparably to attending pathologists in error detection but was outperformed by the best senior pathologists. However, GPT-4 surpassed resident pathologists, especially in detecting clerical errors. Despite these promising results, GPT-4's higher rate of false positives raises concerns about its practical application in clinical oncology settings. False positives can lead to unnecessary diagnostic tests or treatments, adversely affecting patient care and resource management. Therefore, further refinement of GPT-4's algorithms is critical to reducing these false positives and improving its reliability in cancer diagnostics. The clinical implications of false positives—whether introduced by GPT-4 or human reviewers—warrant careful consideration. In a high-stakes environment such as oncology, unnecessary alerts or misinterpretations could lead to additional diagnostic testing, prolonged review time, or patient anxiety. While none of the false positives in this study resulted in simulated management errors, the potential for downstream impact highlights the importance of incorporating AI as a decision-support tool rather than a standalone diagnostic authority. Human oversight remains essential to contextualize AI-generated flags and ensure safe, patient-centered care.
To address these issues, future studies should conduct case-by-case analyses of false positives to identify underlying causes, whether related to medical terminology, context misinterpretation, or other factors. Understanding and mitigating these errors will be essential for GPT-4 to become a more accurate and reliable support tool for pathologists in oncology. Furthermore, the lack of consistency in error detection between GPT-4 and human pathologists, as well as variability among human pathologists themselves, warrants further investigation. These discrepancies could arise from differences in training, experience, and diagnostic interpretation. Addressing these factors is crucial to improving both AI and human performance in cancer-related pathology error detection.
The study also highlighted a noticeable lack of consistency between GPT-4 and the human pathologists in terms of error detection, as well as among the pathologists themselves. This variability warrants further attention to understand its underlying causes, which may include differences in the interpretation of pathology reports, the subjective nature of certain diagnostic decisions, and the distinct methodologies used by GPT-4 versus human readers. Addressing this variability is crucial for improving both the AI's reliability and human experts’ accuracy. Future research will focus on a more detailed analysis of these discrepancies, with the goal of identifying specific factors contributing to these differences. By exploring these causes, we aim to enhance the standardization of error detection processes across different settings, thereby reducing variability and ensuring more consistent results.
Our research builds upon prior studies that have explored the potential of LLMs like GPT-4 in medical error detection and structuring of reports.14,22 While our study primarily used zero-shot prompting, future research should explore other prompting strategies, such as one-shot or chain-of-thought prompts, which may enhance GPT-4's ability to detect nuanced errors. By refining the prompt strategies, GPT-4's performance can be more closely aligned with the expectations and judgments of human pathologists in oncology settings.
Additionally, our findings are consistent with studies like Gertz et al., who demonstrated the utility of GPT-4 in detecting errors in radiology reports. 14 This reinforces the broad applicability of LLMs across different medical fields, including oncology. Moreover, prior research has shown that integrating AI with human expertise, as done in this study, can further enhance the performance of AI models in clinical practice. Moreover, Sun et al. (2023) have shown how GPT-4 can effectively generate impressions in radiology reports, indicating a broad applicability of LLMs across different medical fields. 23 Additionally, Zhu et al. (2024) emphasized leveraging professional radiologists’ expertise to enhance LLMs’ evaluation, which parallels our approach of combining human expertise with AI in pathology. 24 Our study advances this understanding by quantifying GPT-4's performance in pathology reports, a domain characterized by highly specialized language and complex diagnostic information, and identifying specific strengths and weaknesses in its application.
The dual benefit of GPT-4 in both error detection and data structuring for future machine learning applications holds promise for the oncology field. 22 By improving the accuracy of pathology reports and ensuring more reliable data for downstream AI applications, GPT-4 has the potential to streamline oncology workflows and improve diagnostic accuracy. However, its role should be seen as complementary to human pathologists, ensuring a balance between AI's efficiency and human expertise's clinical judgment.
This study contributes to the field by highlighting the practical implications of integrating GPT-4 into clinical workflows. While previous studies focused on the ability of LLMs to process and structure large amounts of data, our research emphasizes the importance of error detection in maintaining the integrity of clinical documentation. By ensuring that errors are promptly identified and corrected, GPT-4 can support pathologists in delivering more accurate diagnoses, which is crucial for effective patient care.
Notably, GPT-4 exhibited shorter processing times compared to human readers, further highlighting its efficiency in pathology report proofreading. The findings from our study highlight specific strengths and weaknesses of GPT-4 in error detection across different categories. Notably, identifying the improper use of terminology emerged as a relative weak point for GPT-4, with a detection rate of 79%, compared to higher performance in other categories. This indicates that while GPT-4 enhances overall report accuracy and efficiency, there are areas that require further refinement to match the proficiency of human pathologists. However, its role may be best utilized as a supplementary tool to human pathologists, maximizing detection sensitivity while requiring human sign-off to ensure specificity. These results align with previous studies indicating the potential time and cost savings associated with the implementation of LLMs in pathological workflows.22,25,26 Given that errors in pathology reports are prevalent across all experience levels, the proficiency of GPT-4 underscores its suitability for real-world clinical environments.2–4 By serving as a cost-effective proofreading tool, GPT-4 offers a viable solution for enhancing pathology report generation processes.
In addition to our primary analyses based on error types, we also conducted a subgroup analysis based on anatomic sites. However, we acknowledge that this analysis has limited clinical relevance due to the artificial nature of the error distribution. These errors were uniformly introduced across different organs and do not reflect natural patterns observed in real-world pathology reporting. Therefore, this analysis was included primarily for completeness and should be interpreted with caution. Our core focus remains on performance differences across error types, which offer more practical insights into GPT-4's capabilities in real-world pathology applications.
Several limitations of our study should be acknowledged. First, GPT-4's higher rate of incorrectly flagged pathology reports highlights the need for improved specificity. These false positives, if unchecked, could lead to unnecessary interventions, impacting patient care. Maintaining human oversight is essential to mitigate these risks and ensure that AI systems enhance rather than undermine clinical judgment. Second, the variability in error detection between GPT-4 and human pathologists underscores the subjective nature of pathology interpretation. Understanding these differences is vital to improving both AI performance and human diagnostic accuracy in cancer pathology. Third, one important limitation of our study is the use of intentionally manipulated pathology reports, rather than naturally occurring reports with real-world errors. Although this design enabled us to control the type, frequency, and distribution of errors across a large sample, it may not fully capture the complexity and variability of actual reporting mistakes. In real-world settings, errors are more heterogeneous and context dependent. Therefore, future studies should incorporate prospective or retrospective analyses of naturally occurring errors to validate and extend our findings in clinical practice. It is also worth noting that the pathology reports were in Chinese, and GPT-4's performance may be affected by language-specific limitations, as the model is primarily trained on English data. Finally, while our study focused on a specific sample of 700 pathology reports, broader validation with diverse datasets is required to assess the generalizability of these findings to various clinical settings and cancer types.
Future research should prioritize the continued optimization of AI models such as GPT-4 to ensure their safety, reliability, and applicability in real-world clinical oncology settings. Collaborative efforts among AI developers, oncologists, and regulatory bodies will be essential for establishing standardized guidelines for the clinical deployment of AI technologies in cancer care. While this study focused on zero-shot prompting to assess GPT-4's baseline performance, future investigations should incorporate direct comparisons with alternative approaches, such as few-shot prompting or lightweight domain adaptation using small datasets. These strategies may enhance the model's ability to detect subtle or context-dependent errors and support more effective and reliable integration into clinical workflows.
Conclusion
GPT-4 shows considerable potential as a tool for improving the accuracy and efficiency of pathology report generation in oncology. However, the integration of AI models into clinical workflows requires careful oversight, refinement, and ongoing evaluation to ensure their reliability and safety. By combining AI's strengths in error detection with human expertise, GPT-4 can become a valuable asset in cancer diagnostics, ultimately enhancing patient care. Future research should focus on establishing robust frameworks for the continuous monitoring and improvement of AI systems like GPT-4 in clinical environments.
Declarations
Ethics approval and consent to participate
All procedures involving collection of tissue were in accordance with the ethical standards of the institutional and/or national research committee and with the 1964 Helsinki Declaration and its later amendments or comparable ethical standards. This retrospective compliance study was approved by the Ethics Review Committee of Guizhou Provincial People's Hospital (Ethics Number: 2024004), the Third Affiliated Hospital of Sun Yat-sen University (Ethics Number: B2023074), the Third Xiangya Hospital, Central South University (Ethics Number: 2024011), and Jiangxi Cancer Hospital (Ethics Number: JC2024006). Written informed consent was obtained from all participants or their legal guardians prior to data collection. Ethical approval was obtained to ensure that the study adhered to the highest standards of patient confidentiality and data protection.
To maintain patient data privacy, several measures were implemented:
Data Anonymization: All patient identifiers were removed before the data was accessed by the research team. This included the anonymization of names, dates of birth, medical record numbers, and any other potentially identifiable information. The anonymized data was assigned unique study identifiers to ensure that patient identities could not be traced.
Secure Data Storage: The anonymized data was securely stored on encrypted servers with restricted access. Only authorized personnel involved in the study had access to the data, and all data transfers were conducted using secure, encrypted channels to prevent unauthorized access.
Compliance with Ethical Standards: The study complied with all relevant regulations and guidelines regarding the use of patient data in research. Informed consent was obtained from all patients whose reports were included in the study. This consent process was conducted in accordance with the guidelines established by the IRB, ensuring that patients were fully informed about the study's purpose, procedures, and their rights.
These measures were rigorously followed to ensure that patient data was handled with the utmost care, respecting their privacy and maintaining compliance with ethical standards throughout the research process.
Acknowledgments
During the preparation of this work the authors used GPT-4 (powered by OpenAI's language model; https://chat.openai.com/) in order to generate parts of this article. After using this GPT-4, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication. Thanks to the colleagues in the department of pathology for their help in this paper, your excellent work has made our research more efficient.
Footnotes
ORCID iD: Xiongwen Yang https://orcid.org/0000-0003-4968-8953
Authors’ contributions: Xiongwen Yang contributed to conceptualization, methodology, software, validation, formal analysis, investigation, resources, data curation, and writing‒original draft. Yun Zhang contributed to validation, formal analysis, investigation, resources, data curation, and writing‒original draft. Jinyan Jiang contributed to validation, formal analysis, investigation, resources, data curation, and writing‒original draft. Zhijun Chen contributed to validation, formal analysis, investigation, resources, data curation, and writing ‒ original draft. Rinasu Bai contributed to validation, formal analysis, investigation, resources, data curation, and writing‒original draft. Zihao Yuan contributed to formal analysis, investigation, data curation, and writing‒original draft. Longyan Dong contributed to formal analysis, investigation, data curation, and writing‒original draft. Yi Xiao contributed to resources, data curation, and writing‒original draft. Di Liu contributed to validation, formal analysis, investigation, resources, data curation, and writing‒original draft. Huiyin Deng contributed to data curation and writing‒original draft. Jian Huang contributed to data curation and writing‒original draft. Huiyou Shi contributed to formal analysis, investigation, resources, data curation, and writing‒original draft. Dan Liu contributed to conceptualization and project administration. Maoli Liang contributed to conceptualization and project administration. WeiJuan Tang contributed to conceptualization, methodology, writing‒review and editing. Chuan Xu contributed to conceptualization, methodology, writing‒review and editing, visualization supervision, project administration, and funding acquisition.
Funding: This study was supported by the Talent Fund of Guizhou Provincial People's Hospital (grant number: [2014-16]), and additionally by the Basic Research Program of the Guizhou Provincial Department of Science and Technology (Qian Ke He Ji Chu) [Grant No.QKH-JC-MS (2025)492].
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Data availability: The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.
References
- 1.Ellis DW, Srigley J. Does standardised structured reporting contribute to quality in diagnostic pathology? The importance of evidence-based datasets. Virchows Arch 2016; 468: 51–59. [DOI] [PubMed] [Google Scholar]
- 2.Ahmad Z, Idrees R, Uddin N, et al. Errors in surgical pathology reports: a study from a major center in Pakistan. Asian Pac J Cancer Prev 2016; 17: 1869–1874. [DOI] [PubMed] [Google Scholar]
- 3.Huang S, Lee PV, B J. Errors encountered in the diagnostic pathway: a prospective single-institution study. J Cutan Pathol 2023; 50: 828–834. [DOI] [PubMed] [Google Scholar]
- 4.Monique Freire S, Luiz Carlos de LF. Chapter 7: Errors in surgical pathology laboratory. In: Sarwar Z G. (ed) Quality control in laboratory. Rijeka: IntechOpen, 2018, pp. 89–107. [Google Scholar]
- 5.Yang X, Chu XP, Huang S, et al. A novel image deep learning-based sub-centimeter pulmonary nodule management algorithm to expedite resection of the malignant and avoid over-diagnosis of the benign. Eur Radiol 2024; 34: 2048–2061. 20230902. [DOI] [PubMed] [Google Scholar]
- 6.Peck M, Moffat D, Latham B, et al. Review of diagnostic error in anatomical pathology and the role and value of second opinions in error prevention. J Clin Pathol 2018; 71: 995–1000. 20180801. [DOI] [PubMed] [Google Scholar]
- 7.Perkins IU. Error disclosure in pathology and laboratory medicine: a review of the literature. AMA J Ethics 2016; 18: 809–816. 20160801. [DOI] [PubMed] [Google Scholar]
- 8.Heher YK, Dintzis SM. Disclosure of harmful medical error to patients: a review with recommendations for pathologists. Adv Anat Pathol 2018; 25: 124–130. [DOI] [PubMed] [Google Scholar]
- 9.Zhou Y, Ong H, Kennedy P, et al. Erratum for: evaluating GPT-4 V (GPT-4 with vision) on detection of radiologic findings on chest radiographs. Radiology 2024; 311: e249016. [DOI] [PubMed] [Google Scholar]
- 10.Zhou Y, Ong H, Kennedy P, et al. Evaluating GPT-4 V (GPT-4 with vision) on detection of radiologic findings on chest radiographs. Radiology 2024; 311: e233270. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Yang X, Xiao Y, Liu D, et al. Enhancing physician-patient communication in oncology using GPT-4 through simplified radiology reports: multicenter quantitative study. J Med Internet Res 2025; 27: e63786. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Thirunavukarasu AJ, Ting DSJ, Elangovan K, et al. Large language models in medicine. Nat Med 2023; 29: 1930–1940. [DOI] [PubMed] [Google Scholar]
- 13.Singhal K, Azizi S, Tu T, et al. Large language models encode clinical knowledge. Nature 2023; 620: 172–180. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Gertz RJ, Dratsch T, Bunck AC, et al. Potential of GPT-4 for detecting errors in radiology reports: implications for reporting accuracy. Radiology 2024; 311: e232714. [DOI] [PubMed] [Google Scholar]
- 15.Wang Z, Guo R, Sun P, et al. Enhancing diagnostic accuracy and efficiency with GPT-4-generated structured reports: a comprehensive study. J Med Biol Eng 2024; 44: 144–153. [Google Scholar]
- 16.Oh N, Choi G-S, WY L. ChatGPT goes to the operating room: evaluating GPT-4 performance and its potential in surgical education and training in the era of large language models. astr 2023; 104: 269–273. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Guerra GA, Hofmann H, Sobhani S, et al. GPT-4 Artificial intelligence model outperforms ChatGPT, medical students, and neurosurgery residents on neurosurgery written board-like questions. World Neurosurg 2023; 179: e160–e165. [DOI] [PubMed] [Google Scholar]
- 18.Vosshenrich J, Nesic I, Cyriac J, et al. Revealing the most common reporting errors through data mining of the report proofreading process. Eur Radiol 2021; 31: 2115–2125. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Yang X, Xiao Y, Liu D, et al. Enhancing doctor-patient communication using large language models for pathology report interpretation. BMC Med Inform Decis Mak 2025; 25: 36. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Cohen J. A power primer. Psychol Bull 1992; 112: 155–159. [DOI] [PubMed] [Google Scholar]
- 21.Cohen J. A coefficient of agreement for nominal scales. Educ Psychol Meas 1960; 20: 37–46. [Google Scholar]
- 22.Truhn D, Loeffler CM, Müller-Franzes G, et al. Extracting structured information from unstructured histopathology reports using generative pre-trained transformer 4 (GPT-4). J Pathol 2024; 262: 310–319. [DOI] [PubMed] [Google Scholar]
- 23.Sun Z, Ong H, Kennedy P, et al. Evaluating GPT-4 on impressions generation in radiology reports. Radiology 2023; 307: e231259. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Zhu Q, Chen X, Jin Q, et al. Leveraging professional radiologists’ expertise to enhance LLMs’ evaluation for radiology reports. arXiv preprint arXiv:240116578 2024. [DOI] [PMC free article] [PubMed]
- 25.Ullah E, Parwani A, Baig MM, et al. Challenges and barriers of using large language models (LLM) such as ChatGPT for diagnostic medicine with a focus on digital pathology – a recent scoping review. Diagn Pathol 2024; 19: 43. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Cheng J. Applications of large language models in pathology. Bioengineering 2024; 11: 342. [DOI] [PMC free article] [PubMed] [Google Scholar]



