An Attention-Based Deep Learning Approach to Knee Injury Classification from MRI Images
Abstract
Knee injuries are among the most common musculoskeletal conditions, with accurate diagnosis critical for effective treatment planning. Traditional diagnosis methods rely heavily on manual interpretation of MRI scans by radiologists, which can be time-consuming and subject to inter-observer variability. This paper presents an attention-based deep learning approach to automatically classify knee injuries from MRI images with improved accuracy and interpretability.
Our proposed model integrates attention mechanisms into a convolutional neural network (CNN) architecture, enabling the network to focus on the most relevant anatomical regions for injury classification. The attention module learns to weight different spatial locations in the MRI images, effectively highlighting areas such as the anterior cruciate ligament (ACL), menisci, and cartilage that are most informative for diagnosis. This not only improves classification performance but also provides visual explanations of the model's decision-making process.
We evaluate our approach on a comprehensive dataset of knee MRI scans, demonstrating superior performance compared to baseline CNN models without attention mechanisms. The attention-based model achieves high accuracy in classifying various knee injuries including ACL tears, meniscal tears, and cartilage abnormalities. Experimental results show that the integration of attention mechanisms leads to more robust and interpretable predictions, making the model more suitable for clinical deployment. The visualization of attention maps provides valuable insights for clinicians, potentially serving as a decision support tool in radiological practice.
Methodology
Attention Mechanism Architecture
Our proposed attention-based deep learning model integrates spatial attention mechanisms into a convolutional neural network backbone. The attention module learns to assign importance weights to different regions of the MRI image, allowing the network to focus on anatomically relevant features for injury classification.
Figure 1: Attention mechanism prioritizing critical regions in knee MRI for injury detection
Model Components
- Backbone Network: Deep CNN architecture for feature extraction from MRI images
- Attention Module: Spatial attention layer that generates importance weights for different image regions
- Feature Fusion: Weighted combination of attention-modulated features
- Classification Head: Fully connected layers for multi-class injury prediction
Datasets
We conducted experiments on two complementary datasets to evaluate our attention-based approach across different classification tasks: binary ACL tear detection and multi-class knee injury classification.
Dataset Statistics
| Dataset | Task | Classes | Training Samples | Validation Samples | Test Samples | Total |
|---|---|---|---|---|---|---|
| Dataset 1 | Binary Classification | 2 (Healthy, ACL Tear) | 800 | 200 | 200 | 1,200 |
| Dataset 2 | Multi-class Classification | 5 (ACL, Meniscus, Cartilage, Multi-injury, Healthy) | 1,500 | 375 | 375 | 2,250 |
Dataset 1: Binary classification samples
Dataset 2: Multi-class injury samples
Data Preprocessing
- Image resizing to 224×224 pixels
- Intensity normalization to [0, 1] range
- Data augmentation: rotation (±15°), horizontal flip, zoom (0.9-1.1×)
- Train-validation-test split: 66.7% / 16.7% / 16.7%
Experimental Results
Model Comparison
We compared our attention-based model against five baseline approaches including standard CNNs and pre-trained architectures. The results demonstrate consistent improvements across multiple evaluation metrics.
Figure 2: Performance comparison of 6 different model architectures
Binary Classification Results (Dataset 1)
| Model | Accuracy (%) | Precision (%) | Recall (%) | F1-Score (%) | AUC |
|---|---|---|---|---|---|
| Standard CNN | 85.2 | 83.5 | 84.8 | 84.1 | 0.891 |
| ResNet-50 | 88.5 | 87.2 | 88.9 | 88.0 | 0.923 |
| VGG-16 | 86.8 | 85.6 | 87.2 | 86.4 | 0.908 |
| DenseNet-121 | 89.3 | 88.5 | 89.7 | 89.1 | 0.931 |
| EfficientNet-B0 | 90.1 | 89.3 | 90.5 | 89.9 | 0.942 |
| Attention-Based Model (Ours) | 93.4 | 92.8 | 93.7 | 93.2 | 0.967 |
Multi-class Classification Results (Dataset 2)
| Model | Overall Accuracy (%) | Macro F1-Score (%) | Weighted F1-Score (%) | Parameters (M) |
|---|---|---|---|---|
| Standard CNN | 76.3 | 74.5 | 75.8 | 12.4 |
| ResNet-50 | 81.7 | 80.2 | 81.1 | 25.6 |
| VGG-16 | 78.9 | 77.3 | 78.4 | 138.4 |
| DenseNet-121 | 83.2 | 81.8 | 82.7 | 8.1 |
| EfficientNet-B0 | 84.6 | 83.1 | 84.2 | 5.3 |
| Attention-Based Model (Ours) | 88.9 | 87.4 | 88.5 | 14.2 |
Per-Class Performance (Multi-class Task)
| Class | Precision (%) | Recall (%) | F1-Score (%) | Support |
|---|---|---|---|---|
| Healthy | 91.5 | 93.2 | 92.3 | 85 |
| ACL Tear | 89.7 | 88.4 | 89.0 | 78 |
| Meniscal Tear | 86.3 | 85.9 | 86.1 | 71 |
| Cartilage Damage | 84.8 | 83.5 | 84.1 | 68 |
| Multi-injury | 87.2 | 86.1 | 86.6 | 73 |
| Macro Average | 87.9 | 87.4 | 87.6 | 375 |
Key Findings
- Superior Performance: Our attention-based model achieved 93.4% accuracy on binary classification and 88.9% on multi-class tasks, outperforming all baseline models
- Improved Generalization: Consistent performance across different injury types demonstrates robust feature learning
- Interpretability: Attention maps provide visual explanations highlighting anatomically relevant regions
- Efficiency: Competitive parameter count (14.2M) compared to larger architectures like VGG-16 (138.4M)
- Clinical Relevance: High precision and recall metrics make the model suitable for clinical decision support
Prediction Visualizations
The following visualizations demonstrate our model's predictions on test samples, along with attention maps showing which regions the model focused on for each classification decision.
Binary Classification Predictions
Figure 3: Test predictions on binary dataset with attention visualization highlighting ACL region
Multi-class Classification Predictions
Figure 4: Multi-class predictions demonstrating accurate classification across five injury categories
Attention mechanism architecture for knee injury classification from MRI images.
Comprehensive comparison of 6 different model architectures including our attention-based approach, showing superior performance in knee injury classification tasks.
Dataset 1: Binary classification dataset for ACL tear detection with balanced samples of healthy and injured knee MRI scans.
Dataset 2: Multi-class classification dataset covering various knee injury types including ACL, meniscal, and cartilage abnormalities.
Test predictions on binary dataset showing high accuracy in distinguishing between healthy and ACL-injured knees with attention visualization.
Multi-class predictions demonstrating the model's capability to classify five different knee injury categories with attention-based feature localization.
Paper
BibTeX
@inproceedings{debanath2023attention,
title={An Attention-Based Deep Learning Approach to Knee Injury Classification from MRI Images},
author={Debanath, K. and Rahman, A.F.M.M. and Hossain, M.A.},
booktitle={2023 26th International Conference on Computer and Information Technology (ICCIT)},
pages={1--6},
year={2023},
organization={IEEE},
address={Cox's Bazar, Bangladesh},
doi={10.1109/ICCIT60459.2023.10441340}
}