Skip to main content
Bone & Joint Research logoLink to Bone & Joint Research
. 2025 Sep 2;14(9):760–768. doi: 10.1302/2046-3758.149.BJR-2024-0505.R1

Development and evaluation of deep learning models for detecting and classifying various bone tumours in full-field limb radiographs using automated object detection models

Masashi Yamana 1,2, Ryoma Bise 2, Makoto Endo 1,✉, Tomoya Matsunobu 3, Nokitaka Setsu 4, Nobuhiko Yokoyama 1, Yasuharu Nakashima 1, Seiichi Uchida 2
PMCID: PMC12401592  PMID: 40889784

Abstract

Aims

We aim to develop a fully automated deep-learning model to detect and classify benign/malignant bone tumours in full-field limb radiographs using an object detection model. The secondary aim is to identify differences in classification characteristics between the developed automated model, three orthopaedic oncologists, and three general orthopaedic surgeons.

Methods

This retrospective analysis included 642 limb bone tumours with 40 diagnoses confirmed pathologically from three institutions (378 benign, 264 malignant including intermediate types). We employed end-to-end object Detection with transformers with Improved deNoising anchOr boxes (DINO) and You Only Look Once (YOLO) models. We performed five-fold cross validation on the collected radiographs, using the training data to train the models, validation data to optimize the models’ parameters, and independent test data for final performance evaluation. Firstly, we confirmed DINO achieves a higher detection rate than YOLO. Secondly, we compared the classification performance of DINO with those of doctors, using various metrics such as accuracy, sensitivity, specificity, precision, and F-measure.

Results

The DINO model achieved a higher mean tumour detection rate (85.7% (95% CI 81.5 to 89.8)) than the YOLO model (80.1% (95% CI 77.2 to 82.9)). For the evaluation of classification performance, we used 113 cases that DINO detected out of 128 randomly selected cases as the evaluation test set. The accuracy and sensitivity of the DINO model, as a superior model, were significantly higher than those of general orthopaedic surgeons. The DINO model correctly classified 78.6% (22 out of 28 cases) of the challenging cases that two or more doctors misclassified. However, DINO’s diagnostic errors primarily occurred with tumours that were diagnostically challenging for orthopaedic oncologists or present in unusual sites.

Conclusion

The DINO model automatically detects bone tumours better than the YOLO model, and may assist doctors in detecting tumours and classifying malignant/benign bone tumours in clinical practice.

Cite this article: Bone Joint Res 2025;14(9):760–768.

Keywords: Bone tumour, Medical imaging, Deep learning, Diagnosis, Sarcoma, bone tumours, Radiography, general orthopaedic surgeons, orthopaedic oncologists, malignant bone tumours, benign bone tumours, retrospective analysis, malignant tumours, orthopaedic surgeons, primary malignant bone tumours

Article focus

  • Developing a deep learning model to detect and classify bone tumours in limb radiographs automatically.

  • Comparing transformer-based and convolutional neural network (CNN)-based object detection models in bone tumour detection.

  • Evaluating the model’s diagnostic accuracy through comparison with three orthopaedic oncologists and three general orthopaedic surgeons.

Key messages

  • The transformer-based Detection with transformers with Improved deNoising anchOr boxes (DINO) model demonstrated superior performance over the CNN-based You Only Look Once (YOLO) model in bone tumour detection on limb radiographs.

  • The model achieved diagnostic accuracy exceeding all general orthopaedic surgeons and some orthopaedic oncologists in tumour classification.

  • This AI system has demonstrated potential as a clinical decision support tool to reduce misdiagnosis of bone malignancies.

Strengths and limitations

  • The study demonstrated the superiority of the transformer-based DINO model in bone tumour detection and classification.

  • This study validated the results using state-of-the-art object detection models on the same bone tumour dataset. Furthermore, the proposed method demonstrated a statistically significant superiority compared to the other approach.

  • The study was limited by its relatively small sample size of 642 cases and the exclusion of non-tumour conditions such as degenerative diseases.

Introduction

Early and precise identification of bone tumours markedly impacts the prognostic outcome. Osteosarcoma, the most common primary malignant bone tumour, has a five-year survival rate of 60% to 80% in patients without pulmonary metastasis at initial diagnosis.1-3 Although osteosarcoma and Ewing’s sarcoma are treated with chemotherapy,4 surgical resection is essential for the curative treatment of malignant bone tumours.5 The prognosis of patients who are difficult to resect is inferior.6

Orthopaedic surgeons must not overlook a malignant tumour in a radiograph. Radiography is initially performed as a simple screening test, and can provide information on the presence or absence of tumours and the classification of benign or malignant.7,8 However, it is difficult for general orthopaedic surgeons to classify bone tumours because there are many types,9 and primary malignant bone tumours are rare, accounting for only 0.2% of all tumours.10-12 In addition, the rarity and diversity of these make it difficult for general orthopaedic surgeons to gain sufficient experience.

Automated bone tumour diagnostic models using AI have been developed to classify benign and malignant bone tumours using radiographs.13-16 In particular, several papers have reported that their methods outperformed the accuracy of radiologists, general orthopaedic surgeons, and orthopaedic oncologists.13,14 However, in many studies on deep learning models for bone tumours, the images used were limited to specific radiographs (e.g. only knee or hip) or manually cropped images of the tumours.13,14,16,17 To solve these limitations, AI-based object detection models, such as Detectron2 and You Only Look Once (YOLO) models, were used for automatically detecting and classifying bone tumours on full-field radiographs of various body parts.18,19 The YOLO model was promising because of its higher detection accuracy than other models such as Detectron2. However, even the YOLO model did not perform well in classifying malignant tumours. This performance limitation arises from its model architecture; specifically, YOLO is based on a convolutional neural network (CNN), which is a popular AI model for image classification and is also widely used for medical images.20-26 CNN extracts local features and aggregates them to make its classification or detection without evaluating the relationship among distant local parts.27 In contrast, the bone tumour detection and classification task requires more contextual (i.e. non-local) information, which is available by observing and evaluating the relationship among distant parts in full-field radiograph images.

To overcome these limitations, we propose a new automatic bone tumour detection and classification model. The model is based on end-to-end object Detection with transformers with Improved deNoising anchOr boxes (DINO),28 which is a state-of-the-art object detection model. DINO employs a Transformer architecture. Unlike CNN, the Transformer has an attention mechanism that evaluates the relationship among distant image parts,27,29 and may be able to learn whole bone shapes, such as those in limb radiographs. Since tumour locations and types are often dependent on bone types and their whole shapes, the Transformer architecture is expected to be useful in detecting a bone tumour and classifying whether the bone tumour is malignant or benign.

In this paper, using radiographs of patients with various bone tumours from three institutions with bone tumour departments, we first show that our DINO-based model can detect bone tumours more accurately than YOLO. We then show that our model can classify bone tumours with accuracy that is comparable to or even higher than orthopaedic oncologists or general orthopaedic surgeons. These positive results prove that both tumour detection and classification tasks need wider views to capture non-local relationships in each full-field radiograph image.

Methods

Dataset

The Institutional Review Board of Kyushu University Hospital (No.22316-00, No.22089-00) approved this study. Cases with a radiograph of the limb with a visible bone tumour at the initial visit and with a definitive pathological diagnosis were included in our dataset (cases with multiple bone tumours were excluded). The cases were collected from three tertiary referral centres that have departments specializing in bone tumour treatment because these cases included a wide range of bone tumours, including both common and rare types. The patient population encompasses various age groups, tumour locations, and disease severities, ensuring the representativeness of the general population of bone tumour patients requiring treatment in Japan. Table I shows the details of the dataset. We divided this dataset into five subsets for five-fold cross-validation in the later experiment. This table also details the evaluation test set; we compare the classification performance of an object detection model with those of orthopaedic oncologists and general orthopaedic surgeons.

Table I.

Patients’ characteristics.

Characteristic All cases Evaluation test set
Benign 378 62
Mean age, yrs (SD) 28 (19)
Sex (female), n (%) 168 (44)
Tumour types, n (%)
Enchondroma 98 (25.9) 16
Osteochondroma 60 (15.9) 7
Simple bone cyst 47 (12.4) 10
Osteoid osteoma 40 (10.6) 6
Fibrous dysplasia 31 (8.2) 9
Non-ossifying fibroma 22 (5.8) 4
Chondroblastoma 19 (5.0) 5
Intraosseous ganglion 9 (2.4) 1
Bizarre parosteal osteochondromatous proliferation 8 (2.1)
Osteofibrous dysplasia 7 (1.9) 2
Langerhans cell histiocytosis 7 (1.9) 2
Lipoma of bone 6 (1.6)
Periosteal chondroma 6 (1.6)
Subungual exostosis 5 (1.3)
Aneurysmal bone cyst 5 (1.3)
Chondromyxoid fibroma 3 (0.8)
Haemangioma of bone 2 (0.5)
Epidermoid cyst 2 (0.5)
Glomus tumour 1 (0.3)
Intermediate 62 15
Mean age, yrs (SD) 38 (19)
Sex (female), n (%) 34 (55)
Tumour types, n (%)
Giant cell tumour of bone 56 (90.3) 12
Osteoblastoma 3 (4.8) 1
Desmoplastic fibroma 2 (3.2) 1
Fibrocartilaginous mesenchymoma 1 (1.6) 1
Malignant 202 36
Mean age, yrs (SD) 45 (24)
Sex (female), n (%) 87 (42)
Tumour types, n (%)
Osteosarcoma 70 (34.7) 13
Metastatic bone tumour 60 (29.7) 12
Chondrosarcoma 20 (9.9) 5
Malignant lymphoma 11 (5.4) 1
Malignant giant cell tumour of bone 7 (3.5) 1
Leiomyosarcoma of bone 5 (2.5) 1
Ewing's sarcoma 5 (2.5) 2
Dedifferentiated chondrosarcoma 5 (2.5) 1
Plasmacytoma of bone 5 (2.5)
Mesenchymal chondrosarcoma 3 (1.5)
Periosteal chondrosarcoma 3 (1.5)
Adamantinoma 2 (1.0)
Undifferentiated pleomorphic sarcoma 2 (1.0)
Malignant myoepithelioma 1 (0.5)
Epithelioid hemangioendothelioma 1 (0.5)
Clear cell chondrosarcoma 1 (0.5)
Undifferentiated small round cell sarcoma 1 (0.5)

This retrospective study included 642 cases that underwent biopsy or surgical resection from three hospitals, comprising 40 bone tumour types (19 benign, four intermediate, and 17 malignant) based on pathological diagnoses: Kyushu University Hospital (Fukuoka, Japan), Kyushu Rosai Hospital (Kitakyushu, Japan), and the National Hospital Organization Kyushu Cancer Center (Fukuoka, Japan). The pathological diagnosis was established by experienced musculoskeletal pathologists (see Acknowledgements) following WHO classification criteria.9 Only cases with conclusive pathological diagnoses were included in the study. Kyushu University Hospital provided 432 cases (252 benign, 38 intermediate, and 142 malignant) between February 2006 and December 2022. The National Hospital Organization Kyushu Cancer Center provided 64 cases (22 benign, 20 intermediate, and 22 malignant) from January 2006 to November 2021. Kyushu Rosai Hospital provided 146 cases (104 benign, four intermediate, 38 malignant) between April 2016 and December 2022. The cases were categorized into 378 benign and 264 malignant. The intermediate types were included in the malignant types because a biopsy is clinically required. We obtained 1,129 radiographs from these cases. The radiographs included the referring hospital’s radiographs, radiographs at the initial visit, and preoperative radiographs.

In this study, to detect the tumour’s location and accurately classify the tumour, it was necessary to correctly annotate each identified lesion by labelling a bounding box (a rectangular frame surrounding the entire tumour) and assigning the appropriate benign or malignant classification. First, one orthopaedic surgeon (MY, 10 years of experience) labelled the bounding boxes on the radiographs using LabelMe (an open-source image-labelling programme based on Python).30 Second, two experienced orthopaedic oncologists (TH (see Acknowledgements) and ME; 13 and 23 years of experience, respectively) checked and revised the bounding boxes. These annotators were independent of the orthopaedic oncologists (AN and SI (see Acknowledgements), NY) and general orthopaedic surgeons (ET, RH, KM (see Acknowledgements for all)) who later participated in the performance comparison study between DINO and doctors. Third, for each identified tumour, the binary ground truth (benign or malignant) was assigned based on pathological diagnoses of specimens obtained through surgical resection or biopsy.

Object detection models and training procedure

Figure 1 illustrates this method’s overview. As preprocessing, the input images were resized to 512 by 512 pixels, and the left-side images were flipped to the right, except for the hip images. The images were then fed into the object detection models. The models automatically detected tumours as bounding boxes and classified them as benign or malignant. The DINO model28 and the YOLO-v8x model31 were used to detect and classify tumours because the models are object detection models with excellent performance. Both DINO and YOLO models are open-source frameworks that are freely available for implementation via GitHub. These models were selected to address two clinical challenges: the difficulty orthopaedic surgeons face in detecting subtle bone tumours on radiographs, and the limited experience many general orthopaedic surgeons have in differentiating between benign and malignant tumours. The DINO model is based on the so-called Transformer,29 which employs the attention mechanism. Roughly speaking, the attention mechanism can calculate (adaptively weighted) spatial correlation over the whole input image and thus captures its global image features.32 Consequently, the DINO model has a potential of recognizing age-related bone structure variations and tumour predilection sites by analyzing relationships between local tumour features and distant anatomical landmarks. In contrast, the YOLO model is based on a CNN, which employs layered convolution operations to aggregate local information and therefore is suitable for extracting local features.27 “v8x” is the recent version of YOLO models used in related studies and other medical field studies.19,33-35 By training these models on full-field radiographs, we developed systems that align with clinical practice to assist doctors in making faster and more accurate diagnostic decisions. For training and evaluating these object detection models, we implemented a five-fold cross-validation. The 642 cases in the dataset were randomly divided into five subsets (Fold0-Fold4), ensuring no overlap across the different subsets. Next, each subset was used as a test dataset, and the cases in the other four subsets were randomly divided into validation (20%) and training (80%) sets. Each test dataset included only radiographs obtained at the initial visit. For each fold of five-fold cross-validation, we trained the models using training data, optimized the models’ hyper-parameters (especially, training epochs, that is, the timing to stop training) using validation data, and performed the final evaluation using test data. Through this cross-validation process, performance results were obtained from five different model evaluations. The details of the number of cases and images used are shown in Supplementary Figure a. We used data augmentation (cropping and rotation) during training to compensate for the limited data and variations in bone positioning and angular differences during radiological imaging. Examples of image rotation and cropping for data augmentation are shown in Supplementary Figure b. For technical details on object detection models, see Supplementary Methods.30,31,36-38

Fig. 1.

Bone image is resized and flipped, then processed by an object detection model. The output highlights a malignant region with a red box labeled "malignant." The figure illustrates the workflow for detecting malignant regions in bone images using an object detection model. It begins with an input image of a bone, which undergoes preprocessing steps including resizing to 512×512 pixels and flipping the left side. This processed image is then passed into an object detection model, symbolized by a neural network icon. The resulting output image displays a red bounding box labeled "malignant," indicating the detected cancerous region.

Overview of object detection models.

Evaluation methods of differences in performance between DINO and YOLO

The detection performance of the DINO model was compared with that of the YOLO-v8x to confirm its superiority to the YOLO-v8x. We used several metrics to evaluate the tumour detection performance: overall detection rate, those for benign and malignant tumours, and mean Intersection over Union (IoU). For each input image, the models output candidate bounding boxes, their classes (benign or malignant), and their corresponding confidence scores. We selected the bounding box with the highest confidence score as the final estimation result of the models. The detection rate was then calculated as the percentage of cases that were successfully detected in the test dataset. We considered the detection successful if the IoU exceeded a threshold of 0.1. This threshold was used because a 10% overlap with the actual region is sufficient for orthopaedic surgeons to localize the proper area.

Evaluation methods of differences in performance between DINO and doctors

To quantify the clinical efficacy of the DINO model, we compared its tumour classification performance with those of three experienced orthopaedic oncologists (Dr. SA, Dr. SB, and Dr. SC; 17, 12, and 18 years of experience, respectively) and three general orthopaedic surgeons (Dr. GA, Dr.GB, and Dr. GC; 10 years of experience).

We used several metrics to evaluate tumour classification performance: accuracy, sensitivity, specificity, precision, and F-measure, which were calculated using scikit-learn.39 Note that these metrics were assessed using the evaluation test set, which included the successful detection cases of the superior model’s Fold1-test set. This set was used because the superior model achieved a slightly better tumour detection rate among the five subsets. Accuracy is calculated as the number of correct classifications divided by the number of evaluated cases. Sensitivity is the rate of tumours predicted to be malignant out of the total number of malignant tumours. Specificity is the rate of tumours predicted to be benign out of the total number of benign tumours. Precision is the rate of tumours that are actually malignant out of the tumours predicted to be malignant. F-measure is the harmonic mean between precision and sensitivity.

Statistical analysis

The statistical tests of the evaluation metric scores were performed using the JMP ver.17 (SAS Institute, USA). A Mann-Whitney U test or paired t-test were used to analyze the difference in continuous variables of tumour sizes and the models’ detection rates. The McNemar test was used to compare the classification performance. The level of significance was set at p < 0.05.

Results

Detection performance evaluations of DINO versus YOLO

Table II shows the tumour detection rates achieved by the object detection models. The DINO model showed better detection performance than the YOLO model (85.7% (95% CI 81.5 to 89.8) vs 80.1% (95% CI 77.2 to 82.9); p = 0.014, paired t-test). In particular, the DINO model outperformed the YOLO model in the detection rate of malignant tumours in all folds. Figure 2 shows the results of the successfully detected and classified tumours by the DINO model. Figure 3 illustrates examples of the unsuccessfully detected results predicted by the DINO model.

Table II.

DINO and YOLO models' detection rates for all test sets.

Tumour type DINO model YOLO model
Fold 0 Fold 1 Fold 2 Fold 3 Fold 4 Mean Fold 0 Fold 1 Fold 2 Fold 3 Fold 4 Mean
All 87.6%
(113/129)
88.3% (113/128) 88.3% (113/128) 81.3% (104/128) 82.9% (107/129) 85.7% (550/642) 81.4% (105/129) 78.9% (101/128) 76.6% (98/128) 82.0% (105/128) 81.4% (105/129) 80.1% (514/642)
Benign 84.4%
(65/77)
83.8%
(62/74)
85.5% (65/76) 81.3%
(61/75)
81.6% (62/76) 83.3% (315/378) 84.4% (65/77) 74.3% (55/74) 76.3% (58/76) 78.7% (59/75) 82.9% (63/76) 79.4% (300/378)
Malignant 92.3%
(48/52)
94.4%
(51/54)
92.3%
(48/52)
81.1%
(43/53)
85.0%
(45/53)
89.0% (235/264) 76.9% (40/52) 85.2% (46/54) 76.9% (40/52) 86.8% (46/53) 79.2% (42/53) 81.1% (214/264)
Mean IoU 0.56 0.55 0.57 0.55 0.52 0.55 0.58 0.53 0.52 0.57 0.57 0.55

DINO, Detection with transformers with Improved deNoising anchOr boxes; IoU, Intersection over Union; YOLO, You Only Look Once.

Fig. 2.

Four panels (a–d) show paired radiographs with boxes labeled "benign" or "malignant" and confidence scores. Boxes in right images indicate comparison regions. The figure contains four panels (a–d), each showing paired radiograph images with annotated regions. Panels (a) and (b) highlight benign conditions in hands and forearms, respectively, with boxes labeled "benign" and confidence scores. Panels (c) and (d) show malignant regions in hips and forearms, marked with boxes labeled "malignant" and corresponding confidence scores. Boxes also appear in the right images of each panel, indicating comparative or alternative annotations.

Correct predictions by the Detection with transformers with Improved deNoising anchOr boxes (DINO) model. The blue bounding box is a ground-truth bounding box, and the red bounding box is a predicted bounding box. a) Periosteal chondroma case (79-year-old female), b) non-ossifying fibroma case (12-year-old male), c) giant cell tumour of bone case (53-year-old male), and d) Ewing’s sarcoma case (17-year-old male). All radiographs were anteroposterior views obtained at the initial visit.

Fig. 3.

Pelvis and foot radiographs show annotated benign regions. Boxes labeled "benign_0.19" and "benign_0.18" indicate low-confidence findings; other boxes mark comparative benign areas. The figure displays radiological images with annotated benign findings. (a) Pelvis radiograph shows two regions on the right femur: a box labeled "benign_0.19" and another box labeled "benign". (b) Foot radiograph shows two regions on the second toe: a box labeled "benign_0.18" and another box labeled "benign".

Incorrect predictions by the DINO model. The blue bounding box is a ground-truth bounding box, and the red bounding box is a predicted bounding box. a) Osteoid osteoma case (32-year-old female), b) subungual exostosis case (13-year-old male). All radiographs were anteroposterior views obtained at the initial visit.

The object detection models had a mean detection rate for benign tumours that was inferior to that for malignant tumours. The bounding box area% of benign tumours was significantly smaller than that of malignant tumours (p < 0.001, Mann-Whitney U test). The term “bounding box area %” is the area ratio of the ground-truth bounding box of a tumour over the whole image.

Classification performance evaluations

Table III shows classification results for the DINO model, as a superior model, three orthopaedic oncologists, and three general orthopaedic surgeons. The classification performance of the DINO model was higher than those of general orthopaedic surgeons and comparable to those of oncologists. The DINO model showed significantly higher accuracy than Dr. GA and Dr. GC of general orthopaedic surgeons (77.0% vs 65.5% and 63.7%; p = 0.016 and 0.031). The sensitivity of the DINO model was significantly higher than that of Dr. SA of the orthopaedic oncologists and Dr. GA, Dr. GB, and Dr. GC of the general orthopaedic surgeons (84.3% vs 58.8%, 49.0%, 64.7%, and 62.7%; p = 0.003, < 0.001, 0.012, and 0.018, McNemar test). There were no statistically significant differences between the specificity of the DINO model and that of Dr. SA-C and Dr. GA-C (71.0% vs 83.9%, 82.3%, 74.2%, 79.0%, 74.2%, and 64.5%; p = 0.059, 0.109, > 0.999, 0.467, 0.827, and 0.414, McNemar test). The DINO scored the second highest in F-measure (76.8% for the DINO model and 79.3% for Dr. SC, an orthopaedic oncologist), surpassing all general orthopaedic surgeons.

Table III.

Classification performance of the DINO model, three orthopaedic oncologists, and three general orthopaedic surgeons in the evaluation test set.

Evaluation metric DINO Dr. SA Dr. SB Dr. SC Dr. GA Dr. GB Dr. GC
Accuracy 77.0% (87/113) 72.6% (82/113) 77.0% (87/113) 79.6% (90/113) 65.5% (74/113) 69.9% (79/113) 63.7% (72/113)
Sensitivity 84.3% (43/51) 58.8% (30/51) 70.6% (36/51) 86.3% (44/51) 49.0% (25/51) 64.7% (33/51) 62.7% (32/51)
Specificity 71.0% (44/62) 83.9% (52/62) 82.3% (51/62) 74.2% (46/62) 79.0% (49/62) 74.2% (46/62) 64.5% (40/62)
Precision 70.5% (43/61) 75.0% (30/40) 76.6% (36/47) 73.3% (44/60) 65.8% (25/38) 67.3% (33/49) 59.3% (32/54)
F-measure 76.8% 65.9% 73.5% 79.3% 56.2% 66.0% 61.0%

SA, SB, SC: orthopaedic oncology specialists; GA, GB, GC: general orthopaedic surgeons.

DINO, Detection with transformers with Improved deNoising anchOr boxes.

In some challenging malignant tumours that were incorrectly classified by two or more doctors, the DINO model correctly classified such problematic cases, achieving a correct classification rate of 78.6% (22 out of 28 tumours) (Supplementary Table i). The DINO model also correctly classified 62.5% (5 out of 8) of the malignant tumours misclassified by all general orthopaedic surgeons. Furthermore, the DINO model correctly classified 75.0% (18 out of 24) of malignant tumours that were misclassified by one or more orthopaedic oncologists. In contrast, the DINO model was incorrect in only one of the cases, even though all the doctors made the correct malignant classification.

Discussion

In this study, we first developed deep learning models for bone tumour detection and classification of benign and malignant tumours using the Transformer-based object detection models. This is the first study to establish the Transformer-based model to detect and classify malignant/benign bone tumours and to compare the accuracy of different architecture-based object detection models. Due to the Transformer’s ability to extract features by considering the relationships across the entire image, the DINO model had significantly higher detection rates than the YOLO-v8x model (85.7% vs 80.1%; p = 0.014). The DINO model obviously showed higher detection rates, especially for malignant tumours (89.0% vs 81.1%).

Notably, the DINO model’s classification accuracy score surpassed those of all general orthopaedic surgeons. Misdiagnosis of malignant tumours is disadvantageous to patients, but the DINO model showed a significantly higher sensitivity than that of one orthopaedic oncologist and three general orthopaedic surgeons. Additionally, the F-measure score of the DINO was the second highest among the model and all six doctors. Interestingly, the DINO model correctly classified some challenging cases that two or more doctors misclassified. Furthermore, only two cases were misclassified by the DINO, with all doctors getting them right. Thus, the DINO model may assist doctors in diagnosing tumours and reduce the risk of misclassification by them.

Although DINO demonstrated superior performance, we also investigated its limitations. The model’s misclassifications primarily occurred in cases involving challenging tumours that were diagnostically difficult for orthopaedic oncologists or located in unusual sites. Of the seven malignant tumours misclassified by both DINO and at least one doctor, three were misdiagnosed by all three orthopaedic oncologists. Additionally, three tumours were located in atypical sites: giant cell tumours in the fibula and calcaneus and Ewing’s sarcoma in the radius. These findings indicate the need for further research focusing on cases that are difficult to diagnose on radiographs and tumours occurring in atypical sites.

Few related studies have reported on deep-learning models for the fully automated detection and classification of benign and malignant bone tumours using full-field bone radiographs of various body parts.18,19 Although the data used were different, we compared the accuracies reported in their studies with those obtained in our study and discussed the differences between their datasets and ours in the following section. A previous report on tumour detection and classification using the Detectron2 showed a tumour detection rate of 82.0% (91 of 111, IoU > 0.0), classification accuracy of 80.2% (89 out of 111 tumours), and classification sensitivity of 62.9% (22 out of 35 tumours).18 Another report on tumour detection and classification using the YOLO-v5 model showed a high tumour detection rate and classification sensitivity of 74.6% (47/63 cases) when intermediate-type tumours were classified as malignant tumours.19 However, the tumour types included in the reports were limited to 16 and 29. Regarding the latter report, approximately 43.9% (65/148 cases) of the benign tumours of test data were osteochondroma, which may have increased detection rates and classification accuracy. Although this study included 40 types of bone tumours, the mean detection rate was relatively high (85.7%). Furthermore, the sensitivity of the DINO model was 84.3%, indicating its high capability for classifying malignant tumours. Although bone tumours are rare, our sample size was comparable to those in related studies and is sufficient for conducting a meaningful analysis.

The DINO model is based on a Transformer and understands a whole image’s local and global features. In addition, it has been shown that the prediction error of the Transformer is more consistent with that of humans than that of CNN.27,40,41 Therefore, the DINO model may classify tumours more accurately than CNN-based models such as YOLO.

This study has some limitations. First, although this was unavoidable considering the rarity of bone tumours, 642 cases, the number of cases studied, needed to be sufficiently large compared to studies on common cancers. Second, the input image size was limited to 512 × 512 pixels due to Graphics Processing Unit (GPU) memory capacity constraints. Future studies will require increased GPU memory capacity to process higher-resolution images. Third, the cases studied were limited to instances of limbs and did not include vertebrae, pelvis, or ribs. Evaluating these trunk bones is expected to be difficult using radiography alone, so additional studies using other imaging methods are needed. Fourth, the current model cannot detect and classify targets other than bone tumours. The models were not trained on images without tumour lesions or with fractures or degenerative diseases. Future studies should include those images to make clinical applications more feasible. Furthermore, it could be a future option to take into account clinical findings such as pain, sex, age and blood test results, in addition to imaging to classify malignant/benign bone tumours more precisely.

In summary, the Transformer-based DINO model automatically detects bone tumours in full-field limb radiographs more accurately than the CNN-based YOLO model. This model could serve as a valuable support tool in daily clinical practice, particularly assisting general orthopaedic surgeons who may be less familiar with bone tumours. While radiological review by doctors remains essential, especially for complex cases, the model’s high-accuracy diagnostic capabilities could help reduce doctor workload through automated tumour detection and classification, particularly in avoiding misdiagnosing malignant tumours as benign ones. Future studies are warranted to make clinical applications more feasible.

Author contributions

M. Yamana: Conceptualization, Data curation, Formal analysis, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft, Writing – review & editing

R. Bise: Conceptualization, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Supervision, Validation, Writing – review & editing

M. Endo: Conceptualization, Data curation, Funding acquisition, Investigation, Methodology, Project administration, Resources, Supervision, Validation, Writing – review & editing

T. Matsunobu: Conceptualization, Resources, Writing – review & editing

N. Setsu: Conceptualization, Resources, Writing – review & editing

N. Yokoyama: Conceptualization, Resources, Validation, Writing – review & editing

Y. Nakashima: Conceptualization, Resources, Supervision, Validation, Writing – review & editing

S. Uchida: Conceptualization, Formal analysis, Investigation, Methodology, Project administration, Supervision, Validation, Writing – review & editing

Funding statement

The author(s) disclose receipt of the following financial or material support for the research, authorship, and/or publication of this article: this work was supported in part by JSPS KAKENHI (grant numbers JP 23K18509 and JP 23K08700; reported by R. Bise and M. Endo, respectively) and research funds from the Graduate School of Medical Sciences, Kyushu University (reported by M. Endo).

ICMJE COI statement

R. Bise and M. Endo report funding from JSPS KAKENHI (grant numbers JP 23K18509 and JP 23K08700, respectively), and M. Endo reports funding from research funds from the Graduate School of Medical Sciences, Kyushu University, all related to this study. No patient or public involvement was carried out in this research's design, conduct, reporting, or dissemination.

Data sharing

The data that support the findings for this study are available to other researchers from the corresponding author upon reasonable request.

Acknowledgements

The authors thank Akira Maekawa and Masato Yoshimoto for sharing their datasets. The authors thank Shin Ishihara, Takeshi Hirose, Akira Nabeshima, Eiji Tashiro, Ryota Hirose, and Kazuki Miyama for helping validate the bone tumour classification. We also thank Junji Kishimoto for his invaluable advice on the statistical analyses. We are grateful to Yoshinao Oda, Kosuke Makihara, Kenichi Taguchi and members of the pathology department for their contributions to pathological diagnosis. Additionally, we thank all members of Kyushu United for Exploration of Sarcoma Treatment (KUEST). This multi-institutional collaboration study was conducted as the KUEST-4 study. Finally, we want to thank Editage for the English language review.

Ethical review statement

The study was approved by the Institutional Review Board of Kyushu University Hospital (No.22316-00, No.22089-00). Informed consent was obtained in the form of an opt-out on the website, and those who rejected it were excluded.

Open access funding

The authors report that they received open access funding for their manuscript from JSPS KAKENHI (Grant Number JP 23K08700).

Supplementary material

Text describing the deep learning object detection models, dataset, image preprocessing, and model's training used in the study. Table showing malignant tumours misclassified by one or more doctors in the evaluation test set. Figures showing overview of five-fold cross-validation and distribution of cases and images, and examples of image rotation and cropping for preprocessing. TRIPOD+AI checklist is also included.

© 2025 Yamana et al. This is an open-access article distributed under the terms of the Creative Commons Attribution Non-Commercial No Derivatives (CC BY-NC-ND 4.0) licence, which permits the copying and redistribution of the work only, and provided the original author and source are credited. See https://creativecommons.org/licenses/by-nc-nd/4.0/

Contributor Information

Masashi Yamana, Email: myamana1988@gmail.com.

Ryoma Bise, Email: bise@ait.kyushu-u.ac.jp.

Makoto Endo, Email: endo.m.a40@m.kyushu-u.ac.jp.

Tomoya Matsunobu, Email: matsunob.orth-k@kyushuh.johas.go.jp.

Nokitaka Setsu, Email: sets0rockandsnow@gmail.com.

Nobuhiko Yokoyama, Email: hariganenock@gmail.com.

Yasuharu Nakashima, Email: nakashima.yasuharu.453@m.kyushu-u.ac.jp.

Seiichi Uchida, Email: uchida@ait.kyushu-u.ac.jp.

Data Availability

The data that support the findings for this study are available to other researchers from the corresponding author upon reasonable request.

References

  • 1. Iwamoto Y, Tanaka K, Isu K, et al. Multiinstitutional phase II study of neoadjuvant chemotherapy for osteosarcoma (NECO study) in Japan: NECO-93J and NECO-95J. J Orthop Sci. 2009;14(4):397–404. doi: 10.1007/s00776-009-1347-6. [DOI] [PubMed] [Google Scholar]
  • 2. Mthethwa PG, Marais LC, Aldous CM. Prognostic factors for overall survival of conventional osteosarcoma of the appendicular skeleton. Bone Jt Open. 2024;5(3):210–217. doi: 10.1302/2633-1462.53.BJO-2023-0159.R1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Khal AA, Aiba H, Righi A, et al. Diagnostic challenges in low-grade central osteosarcoma. Bone Joint J. 2024;106-B(1):99–106. doi: 10.1302/0301-620X.106B1.BJJ-2023-0531.R1. [DOI] [PubMed] [Google Scholar]
  • 4. Casali PG, Bielack S, Abecassis N, et al. Bone sarcomas: ESMO-PaedCan-EURACAN clinical practice guidelines for diagnosis, treatment and follow-up. Ann Oncol. 2018;29(Suppl 4):iv79–iv95. doi: 10.1093/annonc/mdy310. [DOI] [PubMed] [Google Scholar]
  • 5. Lee SH, Kim W, Lee JS. What are the resection accuracy and guide-fitting errors associated with 3D-printed, patient-specific resection guides for bone tumour resections? Bone Joint J. 2023;105-B(2):190–197. doi: 10.1302/0301-620X.105B2.BJJ-2022-0585.R2. [DOI] [PubMed] [Google Scholar]
  • 6. Malik AT, Alexander JH, Mayerson JL, Khan SN, Scharschmidt TJ. Is surgical resection of the primary site associated with an improved overall survival for patients with primary malignant bone tumors who have metastatic disease at presentation? Clin Orthop Relat Res. 2020;478(10):2284–2295. doi: 10.1097/CORR.0000000000001361. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Lodwick GS. The bone and joints In Hodes PJ. ed Atlas of tumor radiology Chicago, Illinois: Year Book Medical Publishers; 1971. 1 82 [Google Scholar]
  • 8. Picci P, Manfrini M, Fabbri N, Gambarotti M, Vanel D. General Principles of Imaging In Atlas of Musculoskeletal Tumors and Tumorlike Lesions: The Rizzoli Case Archive First ed Cham: Springer; 2014. 9 12 10.1007/978-3-319-01748-8 [DOI] [Google Scholar]
  • 9.WHO Classification of Tumours Editorial Board . Soft tissue and bone tumours: WHO classification of tumours. Fifth ed. Lyon: International Agency for Research on Cancer (IARC); 2020. [Google Scholar]
  • 10. Siegel RL, Miller KD, Fuchs HE, Jemal A. Cancer statistics, 2022. CA Cancer J Clin. 2022;72(1):7–33. doi: 10.3322/caac.21708. [DOI] [PubMed] [Google Scholar]
  • 11. Ferguson JL, Turner SP. Bone cancer: diagnosis and treatment principles. Am Fam Physician. 2018;98(4):205–213. [PubMed] [Google Scholar]
  • 12. Kurisunkal V, Morris G, Kaneuchi Y, et al. Accuracy of MRI scans in predicting intra-articular joint involvement in high-grade sarcomas around the knee. Bone Joint J. 2023;105-B(6):696–701. doi: 10.1302/0301-620X.105B6.BJJ-2022-0068.R2. [DOI] [PubMed] [Google Scholar]
  • 13. He Y, Pan I, Bao B, et al. Deep learning-based classification of primary bone tumors on radiographs: a preliminary study. EBioMedicine. 2020;62:103121. doi: 10.1016/j.ebiom.2020.103121. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14. Park C-W, Oh S-J, Kim K-S, et al. Artificial intelligence-based classification of bone tumors in the proximal femur on plain radiographs: system development and validation. PLoS One. 2022;17(2):e0264140. doi: 10.1371/journal.pone.0264140. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Sharma A, Yadav DP, Garg H, Kumar M, Sharma B, Koundal D. Bone cancer detection using feature extraction based machine learning model. Comput Math Methods Med. 2021;2021:7433186. doi: 10.1155/2021/7433186. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Breden S, Hinterwimmer F, Consalvo S, et al. Deep learning-based detection of bone tumors around the knee in X-rays of children. J Clin Med. 2023;12(18):5960. doi: 10.3390/jcm12185960. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Do N-T, Jung S-T, Yang H-J, Kim S-H. Multi-level Seg-Unet model with global and patch-based X-ray images for knee bone tumor detection. Diagnostics (Basel) 2021;11(4):691. doi: 10.3390/diagnostics11040691. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 18. von Schacky CE, Wilhelm NJ, Schäfer VS, et al. Multitask deep learning for segmentation and classification of primary bone tumors on radiographs. Radiology. 2021;301(2):398–406. doi: 10.1148/radiol.2021204531. [DOI] [PubMed] [Google Scholar]
  • 19. Li J, Li S, Li X, et al. Primary bone tumor detection and classification in full-field bone radiographs via YOLO deep learning model. Eur Radiol. 2023;33(6):4237–4248. doi: 10.1007/s00330-022-09289-y. [DOI] [PubMed] [Google Scholar]
  • 20. Cabitza F, Locoro A, Banfi G. Machine learning in orthopedics: a literature review. Front Bioeng Biotechnol. 2018;6:75. doi: 10.3389/fbioe.2018.00075. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 21. Lisacek-Kiosoglous AB, Powling AS, Fontalis A, Gabr A, Mazomenos E, Haddad FS. Artificial intelligence in orthopaedic surgery. Bone Joint Res. 2023;12(7):447–454. doi: 10.1302/2046-3758.127.BJR-2023-0111.R1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22. Joo MW, Ko T, Kim MS, et al. Development and validation of a convolutional neural network model to predict a pathologic fracture in the proximal femur using abdomen and pelvis CT images of patients with advanced cancer. Clin Orthop Relat Res. 2023;481(11):2247–2256. doi: 10.1097/CORR.0000000000002771. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Shah RF, Bini SA, Martinez AM, Pedoia V, Vail TP. Incremental inputs improve the automated detection of implant loosening using machine-learning algorithms. Bone Joint J. 2020;102-B(6_Supple_A):101–106. doi: 10.1302/0301-620X.102B6.BJJ-2019-1577.R1. [DOI] [PubMed] [Google Scholar]
  • 24. Zhang S-C, Sun J, Liu C-B, Fang J-H, Xie H-T, Ning B. Clinical application of artificial intelligence-assisted diagnosis using anteroposterior pelvic radiographs in children with developmental dysplasia of the hip. Bone Joint J. 2020;102-B(11):1574–1581. doi: 10.1302/0301-620X.102B11.BJJ-2020-0712.R2. [DOI] [PubMed] [Google Scholar]
  • 25. Castagno S, Gompels B, Strangmark E, et al. Understanding the role of machine learning in predicting progression of osteoarthritis. Bone Joint J. 2024;106-B(11):1216–1222. doi: 10.1302/0301-620X.106B11.BJJ-2024-0453.R1. [DOI] [PubMed] [Google Scholar]
  • 26. Fontalis A, Zhao B, Putzeys P, et al. Is it feasible to develop a supervised learning algorithm incorporating spinopelvic mobility to predict impingement in patients undergoing total hip arthroplasty? Bone Jt Open. 2024;5(8):671–680. doi: 10.1302/2633-1462.58.BJO-2024-0020.R1. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27. Shamshad F, Khan S, Zamir SW, et al. Transformers in medical imaging: a survey. Med Image Anal. 2023;88:102802. doi: 10.1016/j.media.2023.102802. [DOI] [PubMed] [Google Scholar]
  • 28.Zhang H, Li F, Liu S, et al. DINO: DETR with improved DeNoising anchor boxes for end-to-end object detection (arXiv:2203.03605v4) arxiv.org. 2022. [1 August 2025]. https://arxiv.org/abs/2203.03605 date last. accessed.
  • 29.Vaswani A, Shazeer N, Parmar N, et al. Attention Is All You Need (arXiv:1706.03762v7) arXiv.org. 2017. [13 August 2025]. https://arxiv.org/pdf/1706.03762 date last. accessed.
  • 30.Wada K.Labelme: Image Polygonal Annotation with Python [Computer software] 2023. [21 August 2025]. https://github.com/labelmeai/labelme date last. accessed.
  • 31.Jocher G, Qiu J, Chaurasia A.Ultralytics YOLO (Version 8.0.0) [Computer software] 2023. [21 August 2025]. https://github.com/ultralytics/ultralytics date last. accessed.
  • 32. Al-Hammuri K, Gebali F, Kanan A, Chelvan IT. Vision transformer architecture and applications in digital health: a tutorial and survey. Vis Comput Ind Biomed Art. 2023;6(1):14. doi: 10.1186/s42492-023-00140-9. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 33. Chen J-L, Cheng L-H, Wang J, et al. A YOLO-based AI system for classifying calcifications on spot magnification mammograms. Biomed Eng Online. 2023;22(1):54. doi: 10.1186/s12938-023-01115-w. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 34. Haq I, Mazhar T, Asif RN, et al. YOLO and residual network for colorectal cancer cell detection and counting. Heliyon. 2024;10(2):e24403. doi: 10.1016/j.heliyon.2024.e24403. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35. Davri A, Birbas E, Kanavos T, et al. Deep learning for lung cancer diagnosis, prognosis and prediction using histological and cytological images: a systematic review. Cancers (Basel) 2023;15(15):3981. doi: 10.3390/cancers15153981. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Zhang H, Li F, Liu S, et al. DINO: DETR with improved DeNoising anchor boxes for end-to-end object detection. 2023. [21 August 2025]. https://github.com/IDEA-Research/DINO date last. accessed.
  • 37. Ying X. An overview of overfitting and its solutions. J Phys: Conf Ser. 2019;1168:022022. doi: 10.1088/1742-6596/1168/2/022022. [DOI] [Google Scholar]
  • 38.Kingma DP, Ba J.Adam: a method for stochastic optimization (arXiv:14126980v9) arXiv.org. 2017. [1 August 2025]. https://arxiv.org/abs/1412.6980 date last. accessed.
  • 39. Pedregosa F, Varoquaux G, Gramfort A, et al. Scikit-learn: Machine Learning in Python. J Mach Learn Res. 2011;12:2825–2830. [Google Scholar]
  • 40.Naseer M, Ranasinghe K, Khan S, Hayat M, Khan FS, Yang MH.Intriguing properties of vision transformers (arXiv:2105.10497v3) arxiv.org. 2021. [1 August 2025]. https://arxiv.org/abs/2105.10497 date last. accessed.
  • 41.Geirhos R, Narayanappa K, Mitzkus B, et al. Partial success in closing the gap between human and machine vision. arxiv.org. 2021. [1 August 2025]. https://arxiv.org/abs/2106.07411 date last. accessed.

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

The data that support the findings for this study are available to other researchers from the corresponding author upon reasonable request.


Articles from Bone & Joint Research are provided here courtesy of British Editorial Society of Bone and Joint Surgery

RESOURCES