BoneAge AI β Pediatric Bone Age Prediction
Overview
BoneAge AI is a deep learning-based project that estimates bone age from pediatric hand X-ray images using a convolutional neural network and demographic information.
The model uses ResNet50 for image feature extraction and an additional branch to process the patient's sex information. The extracted features are combined and passed through a regression head to predict bone age in months.
Model Architecture
- Image feature extractor: Pretrained ResNet50
- Demographic feature branch: Fully connected layer processing sex information
- Feature fusion: Concatenation of image and demographic features
- Regression head: Fully connected layers with ReLU activation and dropout
- Output: Predicted bone age in months
Total parameters: approximately 24.04 million.
Dataset
The model was trained using the RSNA Pediatric Bone Age dataset.
- Training samples: 12,611
- Training split: 10,088 images
- Validation split: 2,523 images
- Input image size: 224 Γ 224 pixels
- Image preprocessing: Grayscale conversion, square padding, resizing and ImageNet normalization.
The validation set was held out from training using a stratified split based on age groups and sex.
Training Configuration
- Framework: PyTorch
- Architecture: ResNet50
- Optimizer: AdamW
- Learning rate: 0.0001
- Weight decay: 0.0001
- Loss function: Mean Squared Error (MSE)
- Batch size: 16
- Training epochs: 15
- Learning rate scheduler: ReduceLROnPlateau
- Hardware: NVIDIA Tesla T4 GPU
- Mixed precision training: Enabled
Validation Performance
The best validation performance was achieved at epoch 12.
| Metric | Result |
|---|---|
| Mean Absolute Error (MAE) | 7.53 months |
| Root Mean Squared Error (RMSE) | 9.94 months |
| Median Absolute Error | 5.91 months |
These metrics were calculated on the held-out validation split, not the official RSNA test dataset.
Intended Use
This model is developed for educational and research purposes, demonstrating deep learning-based regression on medical images.
Limitations and Disclaimer
- This model has not undergone clinical validation.
- Predictions may vary across age groups and image acquisition conditions.
- Performance on external datasets has not been established.
- It must not be used as a replacement for professional radiological assessment.
- It is not intended for clinical diagnosis or medical decision-making.
Technologies Used
Python, PyTorch, Torchvision, ResNet50, OpenCV, NumPy and Pandas.