Optimizing preoperative planning for total hip arthroplasty using random forest models to predict stem size and compatibility.
Authors
Affiliations (4)
Affiliations (4)
- Department of Orthopaedic Surgery, Yamaguchi University Graduate School of Medicine, Ube, 755-8505, Japan.
- Department of Orthopaedic surgery, Yamaguchi Prefectural Grand Medical Centre, Hofu, Yamaguchi, JP, Japan.
- Department of Systems Bioinformatics, Graduate School of Medicine, Yamaguchi University, Yamaguchi, Japan.
- Department of Orthopaedic Surgery, Yamaguchi University Graduate School of Medicine, Ube, 755-8505, Japan. [email protected].
Abstract
Preoperative planning is essential for optimal outcomes post-total hip arthroplasty (THA). Appropriate stem size and compatibility with femoral dimensions are essential in THA to prevent distal fixation. Previous studies have proposed deep learning-based models with image recognition for preoperative planning to determine the best-fit stem; however, whether size and compatibility are adequately optimized remains unclear. This study developed methods that may assist surgeons in preoperative planning to estimate the stem size and compatibility using supervised machine learning models. Two Random Forest (RF) models were developed to estimate the best-fit stem size and stem compatibility with the femoral geometry. Femoral size information measured at 10 locations from computed tomography images of 320 hips was used to train the models. The training data included the sizes and compatibility information as the target variables for supervised learning provided by a simulation software currently used in clinical practice to determine the optimal stem. As part of feature engineering, ratios derived from combinations of the 10 measured values were used as learning data. The size estimation model was designed as a seven-class classification model, whereas the compatibility estimation model was a binary classification model, predicting whether the stem will exclusively fit distally or not. Both models were tested using data from 109 hips of patients who underwent THA. The model performances were assessed using accuracy, F1 score, precision, and recall. Each parameter's impact was determined using feature importance analysis. The size and compatibility estimation models trained without ratio information showed accuracies of 89.0% (exact-match: 46.8%) and 85.3%, respectively. When it was included, the models' performance improved, with the size and compatibility estimation accuracies increasing to 92.7% (exact-match: 39.4%) and 87.2%, respectively. Feature importance analysis highlighted that distal medullary cavity diameter is key in size estimation, while overall femoral dimensions are vital for compatibility estimation. This study developed models that estimate the two critical factors in stem selection: size and compatibility. These models may support preoperative planning for THA using the Accolade II stem, although further validation is required to establish applicability to other implant systems.