Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Filter by Categories
Case Report
Clinical research study
Current Issue
Editorial Board
Literature Review
Narrative review
Original Article
Research Article
Review Article
Short Report
Surgical techniques
Systematic Review and Meta-Analysis
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Filter by Categories
Case Report
Clinical research study
Current Issue
Editorial Board
Literature Review
Narrative review
Original Article
Research Article
Review Article
Short Report
Surgical techniques
Systematic Review and Meta-Analysis
View/Download PDF
73 (); 353-369
doi:
10.1016/j.jor.2025.12.040

Translate:

A multi-branch ConvNeXt–MaxViT fusion transformer model for radiographic knee osteoarthritis severity assessment with Grad-CAM++ explainability

Author affiliations
Centre for Research Impact & Outcome, Chitkara University Institute of Engineering and Technology, Chitkara University, Punjab, India
Article History
Corresponding author(s)

⁎Corresponding author: Vinay Kukreja. onlyvinaykukreja@gmail.com

Article tools · PDF & citations

Abstract

Abstract

Knee Osteoarthritis (KOA) is a progressive degenerative joint disorder and a major cause of disability worldwide. Radiographic grading using the Kellgren–Lawrence (KL) scale remains the standard diagnostic method, but inherent subjectivity and difficulty in detecting subtle structural changes reduce diagnostic reliability. Thus, an automated, robust, and explainable system is clinically essential.

This study aims to develop an explainable deep learning model capable of accurately classifying KOA severity (KL-0 to KL-4) by integrating both local and global radiographic features, thereby enhancing transparency for clinical decision support.

The proposed model introduces a dual-branch fusion architecture combining ConvNeXt-Tiny (Convoluional Neural Network with Next Generation Design) for local feature extraction and MaxViT-Tiny (Multi-Axis Vision Transformer) for global contextual modeling. Mid-level fusion (concatenation + Multi-Layer Perceptron(MLP)) and late fusion (weighted ensemble) are implemented to strengthen discriminative representation. Model performance is evaluated using Accuracy, Precision, Recall, F1-score, Area Under the Curve (AUC), Confusion Matrix, Receiver Operating Characteristics (ROC), and explainability via Gradient-weighted Class Activation Mapping Plus Plus (Grad-CAM++).

The final late-fusion ensemble achieved 96.2 % accuracy, 95.2 % F1-score, 95.4 % precision, 95.1 % recall, and a macro-AUC of 0.981. Class-wise F1-scores were highest for KL-0 (97.1 %) and KL-4 (97.8 %). Five-fold cross-validation confirmed model stability with CI = 96.2 % ± 0.6 %. Grad-CAM++ correctly localized osteophytes, joint-space narrowing, and sclerosis, strengthening interpretability.

Future work will integrate multi-modal imaging (X-ray and MRI), incorporate longitudinal progression modeling, and evaluate real-world clinical deployment among radiologists to further improve generalizability, robustness, and practical usability of KOA severity assessment systems.

Keywords

  • ConvNeXt–MaxViT fusion
  • KOA severity grading
  • Radiographic deep learning
  • Transformer–CNN hybrid
  • Mid–late fusion
  • Grad-CAM++ explainability
Disclaimer:
This article was originally published by Reed Elsevier India Pvt. Ltd. and was migrated to Scientific Scholar after the change of Publisher.
1

1 Introduction

Knee osteoarthritis (KOA), which is one of the most prevalent musculoskeletal disorders in the world, is a progressive degenerative joint disorder that causes articular cartilage degeneration, subchondral bone remodeling, the formation of osteophytes, and inflammation of the synovia.1 It is leading cause of mobility impairment and reduced quality of life among the older people, as it occurs in the form of chronic pain, joint stiffness, and functional limitation.2 Their rates are on the rise due to aging, obesity, and sedentary lifestyles, making it an overwhelming socioeconomic burden to all healthcare systems globally. Epidemiological studies indicates that KOA is a major cause of disability and adds much to the cost of health care because of the long-term management and surgical care, including that of the knee replacement.3 Therefore, prevention of disease progression, creation of a personalized treatment plan, and patient outcomes are largely dependent on early disease diagnoses and precise examination of the disease severity.4

The Kellgren Lawrence (KL) grading is the primary method used by clinicians to diagnose and categorize KOA into five grades (KL0–KL4).5 Such levels examine such aspects as the width of the space between knee bones, the presence of bone growth (such as spurs), and the presence of bone problems. Radiologists frequently use this system and assist in making more uniform diagnosis.6 However, the KL grading system has several well-recognized limitations. For example, it may be subjective in nature, whereby various doctors may perceive things differently. It is also not always able to detect small or early changes in the knee. The other limitations is that it does not reveal the presence of soft tissue problems such as cartilage damage or meniscus tears, which can easily be identified under MRI scans. These gaps may cause failure to make the appropriate diagnosis and design the most preferred treatment for every patient. Consequently, there is an increased necessity for more objective methods of diagnosing knee issues through the use of various kinds of tests.7 Musculoskeletal Imaging has undergone a significant transformation due to the rapid development of artificial intelligence, particularly deep learning.8 Convolutional neural networks (CNNs)9 have demonstrated high competency in automatically detecting significant local features, such as bone spurs, edge bone problems, and cartilage texture, and they are currently utilized in diagnosing and classifying KOA.10

However, these networks often struggle in modeling long-range connections in the joint due to their limited capability to scan large regions11 The power to capture the overall view, e.g., joint alignment, structural issues, and connections among various parts of the body, has been enhanced by Vision Transformers (ViTs) and hybrid networks12–14 were used that captures global context like joint alignment and structural problems. These models have presented efficient results in classification and grading compared to CNNs alone. Meanwhile, Capsule Networks (CapsNets)15 have also been explored for KOA and other musculoskeletal disorders since they can maintain spatial relationships and how different parts interact with each other, hence yielding more explicit feature representations. In general, these changes indicate a movement from manually designed features in machine learning to data-driven techniques that can handle the complex image patterns of KOA more effectively. The broad use of AI-driven KOA categorization models is still hampered by several significant issues, notwithstanding these developments. First, the diagnostic robustness of many current investigations is limited because they rely on single imaging modalities. These usually radiographs do not make use of additional structural information found in images (X-rays, MRI, or CT). Second, while CNN-based techniques are good at collecting fine-grained local characteristics, they are frequently inadequate for identifying global dependencies, and Transformer-only designs may fail to capture tiny morphological alterations that are essential for early disease identification. Third, most models are trained on limited or homogenous datasets, which leads to reduce generalization across scanners, demographics, and radiologists' settings—a phenomenon known as “domain shift." Although there is a fair amount of research on the binary categorization of healthy and diseased knees, accurately rating severity throughout the whole KL grading (KL0–KL4). Those consistently evaluating severity throughout the entire KL range (KL0–KL4) is still a difficult challenge because it needs the model to capture subtle and gradual structural changes rather than crude differences, even though binary classification between healthy and sick knees is relatively well-studied. Lastly, interpretability issues are raised by the black-box character of many deep learning models, which restricts their use in processes where explainability is essential for making well-informed decisions. These difficulties show how urgently a unified, comprehensible, and generalizable deep learning model that can integrate local and global image elements while maintaining resilience across varied datasets is needed. A model that combines the contextual awareness of Transformers with the fine detail sensitivity of CNNs, validated on a variety of datasets, and improved with explainability mechanisms, offers a promising solution for automated KOA classification and severity classification, ultimately assisting with early diagnosis, treatment planning, and decision-making.

1.1

1.1 Contribution of the study

•Presents a dual-branch deep learning model that integrates mid-level (concatenation + MLP) and late-level fusion (weighted ensemble) for KOA severity classification, while combining ConvNeXt-Tiny and MaxViT for local and global feature extraction.•Outperforms CNN-only, Transformer-only, and single-fusion baselines models by achieving state-of-the-art performance with 96.2 % accuracy, 95.2 % F1-score, and 0.981 macro-AUC.•Grad-CAM visualizations show that the model focuses on important regions such as joint space narrowing, osteophytes, and sclerosis, increasing prediction confidence.•Offers a reliable and computationally effective model that is used clinically as a decision-support tool for classifying KOA severity.

2

2 Literature review

Recent studies on KOA classification have shifted from using traditional machine learning models with manually created features to more advanced deep learning models such as CNNs, ViTs, and CapsNets. These newer methods have demonstrated improved the accuracy of diagnosis and the ability to predict the severity of the condition. However, there are still important issues that need to be addressed, such as not having enough diverse data, limited model interpretability, and the challenge of applying them effectively to diverse patient population.

2.1

2.1 Traditional machine learning approaches for KOA classification

Early studies related to the classification of KOA primarily employed machine learning classifiers, such as support vector machines,16 random forests,17 and logistic regression,18 in combination with manually designed feature extraction methods such as texture descriptors, statistical shape modeling, and wavelet transforms. The author said KOA is characterized by pain and impairment of gait function. The gait features of 375 individuals with different grades of KOA were analyzed using the Western Ontario and McMaster Universities Osteoarthritis Index. A total of 1087 gait features were extracted for machine learning regression models, and significant ones were selected using ANOVA and Student's T-test. Of the forty-three selected features, twelve belonged to the hip, seventeen belonged to the knee, and the rest belonged to the pelvic, ankle, and foot regions. Their effective prediction of KOA grade using gait data was achieved in correlations of 0.723 for linear regression and 0.741 for the machine learning approach. An objective estimate methodology for KOA grade is thus proposed to support rehabilitation and progress assessments in radiology workflows.19 The authors attempted the application of machine learning to identify structural factors affecting pain intensity among patients with osteoarthritis (OA) of the knee. Imaging data generated from 567 participants of the Osteoarthritis Initiative (OAI) were analyzed using a range of machine learning algorithms, including random forests, support vector machines, logistic regression, decision trees, and Bayesian classifiers. Model performance was evaluated using tenfold cross-validation and the area under the curve. None of the models based on various imaging data demonstrated statistically significant differences in performance from one another. A convolutional neural network further identified MRI features, and class activation mapping highlighted regions that contributed to pain intensity. Among 421 knees evaluated, effusion/synovitis (30.9 %) and cartilage loss (30.6 %) were the commonly shared abnormalities associated with the intensity of pain.

The results highlights the importance of synovitis/effusion lesions and cartilage loss in predicting the intensity of pain, reflecting the promising future of machine learning in radiograph-based assessment of knee pain 20. The study applies machine learning in an analysis of systemic and local risk variables that influence the development and progression of KOA. Informed by data from the NIH Osteoarthritis Biomarkers Consortium, a KOA progression prediction model was developed based on the classification of participants by KL grades. The respective AUCs for the onset of KOA were 0.843. Key findings indicated that smoking and diabetes are critical in determining the progression of KOA, while injury history is a significant determinant in the onset of the disease. Another study analyzed data related to 567 individuals using various machine learning algorithms. No differences were found in model performance. A CNN explored the capability of machine learning in predicting pain associated with KOA by identifying cartilage degradation and synovitis/effusion as key predictors of pain severity.21 While these technologies provided some preliminary insights, their widespread use by radiologists was limited because many had high inter-observer variability and a limited capability for capturing detailed joint anatomy.

2.2

2.2 Deep learning with convolutional neural networks (CNNs)

CNNs have taken the lead in automatic KOA categorization and severity classification with the development of deep learning.22 Research using architectures like ResNet,23 DenseNet,24 and EfficientNet25 showed notable gains in feature learning, allowing for accurate identification of mild-to-severe KOA stages from MRI and X-ray images. The author shows OA, especially KOA, dramatically reduces quality of life in the digital era because of pain and limited mobility. Using data from the OAI and medical image processing, their study classified KOA using a 12-layer CNN. The model outperforms previous approaches using a cross-entropy loss function for binary classification and a multiclassification accuracy of 78.4 % and 92.3 %, respectively. To enhance diagnostic accuracy with less reliance on medical professionals, future research attempts to increase the dataset and make advancements in OA detection and classification.26 Osteoarthritis (OA) is a widespread illness that causes physical restrictions, and early identification is essential for optimal care. The author shows the KL grading system is a commonly used technique for categorizing OA severity based on radiograph interpretation; however, diagnosing early-stage OA is difficult. Although their accuracy varies, artificial intelligence methods, including shallow and deep learning approaches, have been created to improve this process. Using an InceptionV3-based model that was refined on the OAI dataset, this study suggests a transfer learning technique that uses CNNs for feature extraction and dual-stage preprocessing. With training, validation, and testing accuracies of 96.33 %, 93.82 %, and 92.25 %, respectively, the refined model (FT−IV3) outperformed the original IV3 model, which had accuracies of 91.64 %, 82.04 %, and 86.20 %. Furthermore, the FT−IV3 model successfully classified moderate and severe OA grades with a Cohen's Kappa value of 90.69 %, demonstrating greater diagnostic capabilities for OA severity compared to the IV3 model's 83.15 %.27 CNNs and their design, however, frequently have trouble capturing global contextual linkages, which limits their accuracy in fine-grained severity categorization.

2.3

2.3 Transformer-based and capsule network models

Transformer architectures,28 such as ViT29 and a hybrid CNN-Transformer30 model, has been used in musculoskeletal imaging more recently. These models capture both local and global data to increase classification accuracy. While there hasn't been any large-scale validation, CapsNets have drawn interest in their capacity to maintain spatial hierarchies and depict cartilage degradation patterns with better interpretability. A vision-based transformer technique was created by researchers to locate and categorize knee joints according to KL grades, which range from normal (grade 0) to severe (grade 4). For both objectives, a single-stage model was suggested, and for multiclass picture classification, several transformer models were contrasted. The model outperformed conventional techniques in KOA classification by using an ordinal classification strategy. The top model produced state-of-the-art knee identification and ordinal X-ray classifications across several datasets, and ANOVA testing confirmed notable gains.31 The author presented a new diagnostic model for meniscus tears in the knee that combines an Adapted Seagull Optimization (ASO) method with a CapsNet. The CapsNet–ASO model showed exceptional accuracy and generalization when tested on the MRI dataset, providing radiologists a reliable decision-support tool that greatly enhances diagnostic performance.32 Multimodal fusion techniques that use X-rays have been developed to overcome these shortcomings of single-modality analysis. These hybrid models improve diagnostic robustness and severity categorization by utilizing complementary information from several modalities and architectures. To bridge the gap between AI-driven forecasts and decision-making, recent initiatives also place a strong emphasis on explainability.

3

3 Methodology

The proposed model employs a dual-branch feature extraction framework, where MaxViT-Tiny captures global structural relationships, and ConvNeXt-Tiny focuses on fine-grained local features such as bone texture and joint spacing. To create a single representation, these feature streams are combined using mid-level fusion (concatenation + MLP). Then, as seen in Fig. 1, three parallel classifiers—CNN-based, Transformer-based, and Fusion-based—are used to enable complementary learning of local, global, and joint features. Ultimately, a late fusion ensemble technique combines its results to generate reliable KOA severity estimates. Multi-branch supervision is used to train the model, while Grad-CAM++ is used to provide its accuracy, F1-score, confusion matrix, and explainability.

Overall methodology workflow.
Fig. 1 Overall methodology workflow.
3.1

3.1 Dataset collection & preprocessing

The study uses the publicly accessible Knee Osteoarthritis Dataset with Severity Grading (https://www.kaggle.com/datasets/shashwatwork/knee-osteoarthritis-dataset-with-severity) on this website. A total of 1480 knee X-ray images that were graded using the KL system were used in this study. With around 296 images for KL-0 (normal), 290 for KL-1 (doubtful), 300 for KL-2 (mild), 295 for KL-3 (moderate), and 299 for KL-4 (severe), the dataset is evenly divided over the five KL severity categories, ensuring balanced representation of all diagonisis phases. To keep the classes balanced in each group, the dataset was split into 70 % for training (1036 images), 15 % for validation (222 images), and 15 % for testing (222 images) using stratified sampling. This approach facilitated stable model training while making sure it could perform equally well on all levels of severity. It also stopped information from one group from leaking into another. Fig. 2 shows some example images from the dataset.

Dataset collection from grade 0 to grade 4.
Fig. 2 Dataset collection from grade 0 to grade 4.

The KL grading system defines five stages of KOA severity. A healthy knee with no radiographic signs of OA is classified as grade 0. Grade 1 (Doubtful) indicates minor joint space narrowing and possible osteophytic lipping. Grade 2 (Minimal) is characterized by clear osteophyte formation and definite joint space narrowing. Grade 3 (Moderate) involves multiple osteophytes, distinct joint space narrowing, and moderate subchondral sclerosis. Grade 4 (Severe) is marked by extensive osteophyte formation, pronounced joint space narrowing, and significant sclerosis. All X-ray images were subjected to a comprehensive preprocessing pipeline to ensure consistency and improve feature quality during model training. To meet the input requirements of modern CNN and Transformer models, each image was resized to 224 × 224 pixels, as illustrated in Fig. 3.

Data preprocessing.
Fig. 3 Data preprocessing.

CLAHE is used to reduce lighting issues and improve contrast in small areas, while Histogram Equalization helps make bone edges more visible by boosting the overall contrast. Several data augmentation approaches, such as random rotation within a range of ±15°, horizontal flipping, and random zooming in the range of 0.9–1.1, are used to improve the model's resilience and generalizability. These augumentations emulate real-world variability, such as slight changes in imaging conditions and changes in posture. To guarantee consistent gradient flow during training, all images are finally standardized to a zero-mean and unit-variance scale using a mean of 0.5 and a standard deviation of 0.5.

3.2

3.2 Dual-branch feature extraction

In this branch, the ConvNeXt-Tiny architecture is employed, which is represented in Fig. 4. A convolutional backbone is used to detect detailed local features from knee X-ray images. These features are essential for spotting minor signs of OA, like changes in bone texture, bone spurs, narrowed spaces between joints, and uneven cartilage surfaces. Equation (1) shows that the process starts with a 4x4 stem convolution. This step reduces the image's I size while keeping critical structural details.(1)X1=Conv4×4(I)

ConvNeXt architecture.
Fig. 4 ConvNeXt architecture.

This output passes through four hierarchical stages of subsequent ConvNeXt blocks. As indicated in equation (2), each block begins with a depthwise convolution using a wider receptive field (7 × 7) to emphasize local structural continuity across bone surfaces.(2)X2=DWConv7×7(X1)

Equation (3) provides a non-linear transformation using GELU activation after the depthwise features are normalized using LayerNorm to stabilize activations. This is followed by a pointwise convolution (1 × 1) for channel projection.(3)X3=σ(Conv1×1(LN(X2)))

Together, these methods maintain local spatial cues while improving channel interactions, where σ represents the GELU non-linearity. This makes the model resilient to changes across KL grades. Equation (4) shows the compact feature embedding that is created by aggregating the final output feature maps using global average pooling (GAP) after they have gone through all hierarchical phases.(4)Fcnn=GAP(Xfinal),Fcnn∈R1×768

As the local feature representation, this 768-dimensional vector encodes fine structural and textural clues that are essential for classifying the severity of OA. To achieve a complementary balance between local CNN-driven detail and global Transformer-driven context, it will thereafter be combined with global semantic features from the Transformer branch (MaxViT-Tiny).

The local feature maps produced by the ConvNeXt branch, which is mainly made to extract fine-grained structural signals from knee X-ray images, are shown in Fig. 5. These maps demonstrate how convolutional filters are trained to identify radiographic indicators, including modest changes in joint space, cartilage abnormalities, marginal osteophyte forms, and bone surface roughness. The feature maps in early convolutional layers mainly focuses on low-level characteristics that are essential for defining bone boundaries, such as edges, contours, and intensity transitions. The feature maps change as the network moves through deeper phases, encoding more abstract concepts including differences in cortical bone density, sclerosis patterns, and the spatial distribution of osteophytes. ConvNeXt creates a strong embedding of localized osteoarthritic changes by decreasing noise and retaining radiologists' pertinent local information through this hierarchical extraction procedure. To maintain precise anatomical characteristics and successfully use them for KOA severity categorization, these local feature maps constitute the basis for downstream fusion with global contextual data from the Transformer branch.

Local feature maps from the ConvNeXt.
Fig. 5 Local feature maps from the ConvNeXt.

To extract both global contextual dependencies and local spatial features from knee X-ray images, the MaxViT-Tiny branch serves as the transformer-based feature extractor. MaxViT uses multi-axis attention (windowed and grid-based self-attention) to effectively simulate long-range interactions while retaining computational viability, in contrast to CNNs, which mainly focuses on local neighborhood operations. First, the input image ∈R224×224 ) is divided into non-overlapping patches. These patches are then projected into a feature embedding. F0∈RN×d, where d is the embedding dimension, and N is the number of patches. As seen in Fig. 6, the embedding is passed via stacked MaxViT blocks, each of which consists of a feed-forward network (FFN), a convolutional stem, a local window self-attention, and a grid self-attention. Fine-grained relationships within limited areas are captured by window attention. Equation (5) defines the attention function for a query Q, key K, and value V.(5)Attention(Q,K,V)=softmax(QKTdk)Vwhere the key vector's dimension is denoted by dk. Grid attention is used to expand beyond local windows, allowing information flow over broader receptive fields while maintaining efficiency. Equation (6) provides normalization for the resultant representation. Ftrans=LN(Fwin+Fgrid), which is fused through residual connections.(6)Ftrans=LN(Fwin+Fgrid)

MaxViT architecture.
Fig. 6 MaxViT architecture.

This ensures that the transformer successfully balances both local and global dependencies. In equation (7), the MaxViT-Tiny encoder finally produces a compact yet discriminative representation.(7)Ftrans∈R1×768

It functions as the downstream fusion transformer feature vector. MaxViT's multi-axis attention, which enables scalable representation learning across many granularities without incurring excessive computing costs, is its main benefit. This is especially important for the categorization of OA in the knee because it detects changes in bone structure, shortening of the joint space, and texture patterns that are sometimes overlooked by traditional CNNs.

The global feature maps generated by the MaxViT branch, which aims to capture contextual information and long-range relationships over the whole knee joint, are shown in Fig. 7. MaxViT uses multi-axis attention to reveal larger structural connections, such as joint alignment, general bone morphology, and large-scale spatial patterns suggestive of OA development, in contrast to the ConvNeXt branch, which concentrates on localized patterns. The feature maps show how the Transformer process assigns attention to both the spatial linkages between various anatomical locations and regions with specific disease indicators, such as enlarged osteophytes or narrower joint spaces. MaxViT produces semantically rich representations that describe inter-regional relationships essential for differentiating differences across intermediate KL grades by combining both local window-level attention and global grid-level attention. In order to maintain both fine-grained and joint-level contextual information for reliable KOA severity assessment, these global feature maps supplement the localized cues retrieved by ConvNeXt.

Global features maps from MaxViT.
Fig. 7 Global features maps from MaxViT.
3.3

3.3 Mid-level fusion

The heterogeneous feature embeddings from the CNN path (ConvNeXt-Tiny) and the Transformer path (MaxViT-Tiny) are intended to be unified by the mid-level fusion step. While the Transformer branch outputs Fcnn∈R1×768, which models long-range contextual dependencies like joint space narrowing, bone alignment, and shape deformations, the CNN branch generates a feature vector Ftrans∈R1×768 that encodes fine-grained local textures like bone density variations, osteophytes, and cartilage surface roughness. When processed separately, both representations offer complementary viewpoints, but each has drawbacks. Transformers may underrepresent delicate local morphological signals, while CNNs may ignore global relationships. The current work concatenates two feature streams to create a joint embedding. Fconcat∈R1×1536 to address these restrictions. The model can take advantage of feature complementarity since this straightforward, yet efficient, concatenation ensures that no modality-specific information is lost. Nevertheless, redundant or poorly informative components may be included in high-dimensional concatenated embeddings. The work uses a MLP as a nonlinear transformation and dimensionality reduction module to address this. The MLP projects the joint feature into a more condensed and semantically enriched representation. Fconcat∈R1×1536 using stacked fully connected layers with GELU activations and dropout regularization, expressed mathematically in equation (8).(8)Fconcat=[Fcnn‖Ftrans],Fmid=∅(WFconcat+b)where W and b are the MLP's learnable parameters, ∅(.) is the nonlinear mapping, and stands for concatenation. This mid-level fusion may be seen as a feature manifold alignment stage in which local (CNN) and global (Transformer) embeddings are projected onto a common latent space that strikes a compromise between contextual coherence and spatial detail. The MLP functions as a transformation that reduces noise and highlights discriminative structures, whereas concatenation optimizes mutual information between the two feature sets. Beyond what either branch could do on its own, this hybridized embedding improves intra-class compactness and inter-class separability, eventually strengthening the robustness of KOA categorization. The fused feature maps produced by the mid-level fusion technique are shown in Fig. 8. MLP is used to concatenate and enhance global contextual embeddings from the MaxViT branch and local feature embeddings from the ConvNeXt branch.

Fused features Maps by Mid-Level Fusion (concatenation + MLP).
Fig. 8 Fused features Maps by Mid-Level Fusion (concatenation + MLP).

This process combines the significant structural features from MaxViT, such as bone alignment and space problems, with the fine texture features from ConvNeXt, such as small bone growths and slight narrowing of the joints. The final maps, by combining them, result in a much richer meaning space that reduces the extra details and better helps to tell things apart with a balance between accuracy in small areas and overall consistency. The MLP serves to bring out essential patterns of imaging and reduce unnecessary changes by placing both sets of features in the same common space. In the end, these fused feature maps provide a more reliable and representative input for the downstream classifiers employed in KOA severity categorization because they contain complementary information that each branch can fully capture in isolation.

3.4

3.4 Parallel classifier paths

Three parallel classifiers are constructed that independently predict the severity levels of KOA (KL grades 0–4) after features have been extracted and refined using dual-branch feature extraction and mid-level fusion. This method ensures complete utilization of both joint fused information (by concatenation + MLP) and branch-specific knowledge (local CNN-based or global Transformer-based) for classification. Classifier A (Local Feature Stream – CNN Path): The local feature embedding Fcnn∈R1×768, which is retrieved using convolutional filters intended to capture fine-grained spatial changes such as texture information, cartilage roughness, irregularities in joint space, and osteophyte borders, is directly used by this classifier. Theoretically, CNNs can effectively represent high-frequency anatomical patterns that are substantially correlated with the severity of early and mid-stage KOA since they are based on the concepts of local receptive fields and translation invariance. Equation (9) shows how the classifier uses a linear projection and Softmax normalization to convert the local embedding into a categorical probability distribution across the five Kellgren-Lawrence (KL) grades.(9)P1(γ=k|Fcnn)=exp⁡(Wcnn,kFcnn+bcnn,k)∑j=15exp(Wcnn,jFcnn+bcnn,j),P1∈R5

In this case, the denominator ensures that all outputs form a valid probability distribution, while Wcnn,k and bcnn,k represent the weight and bias parameters corresponding to the k−th Class. The Softmax layer represents the posterior probability distribution p(γ|Fcnn) under a multinomial logistic regression, which is theoretically consistent with the maximum likelihood estimation (MLE) concept. As a result, Classifier A offers a probabilistic interpretation of the CNN's discriminative ability, guaranteeing the preservation and utilization of local radiographic signals for precise KOA severity categorization. Classifier B (Global Feature Stream—Transformer Path): This classifier uses a global embedding Ftrans∈R1×768 That comes from the self-attention mechanism of the Vision Transformer. Transformers capture contextual linkages and long-range dependencies between spatial areas of the X-ray, in contrast to CNNs, which concentrate on local receptive fields. This global depiction is essential for recognizing large-scale anatomical alterations in the context of KOA evaluation, such as bone alignment, joint space constriction, and structural abnormalities that affect the whole knee joint. Equation (10) is used to calculate categorization probability.(10)P2(γ=k|Ftrans)=exp(Wtrans,kFtrans+btrans,k)∑j=15exp⁡(Wtrans,jFtrans+btrans,j),P2ϵR5

In this case, Wtrans,k and btrans,k These are trainable parameters for the class. Equation (11) mathematically represents the Transformer path's theoretical utilization of the self-attention matrix.(11)AttentionQ,K,V=SoftmaxQKTdkVwhich allows the model to weigh the importance of each region in the X-ray relative to others. This makes the classifier robust in capturing the global context, where severity markers may not be localized but are distributed across the joint. Hence, Classifier B complements CNN by focusing on holistic severity cues. Classifier C (Fusion Path – Joint Local-Global Representation: This classifier operates on the fused embedding FfusedℇR1×df where df What is the dimensionality after mid-level fusion of CNN and Transformer features. The fusion process integrates local texture descriptors (CNN) with global structural relationships (Transformer), achieving a richer and more discriminative representation. The fused prediction is computed in equation (12).(12)P3(γ=K|Ffused)=exp⁡(Wfused,kFfused+bfused,k)∑j=15exp(Wfused,jFfused+bfused,j),P3ϵR5

Fusion is in accordance with the theory of representation learning, in which the combination of heterogeneous feature spaces can combine the discriminative power of each modality while reducing its limitations. Specifically, CNNs capture fine-grained features with high frequencies, and Transformers capture long-range and low-frequency features. Fusion produces a complementary representation to enhance the robustness to class overlap and ambiguity. This joint classifier is a multi-view learning paradigm where the decision boundary is improved by taking local and global cues into consideration. As a result, P3 can and often does exhibit better predictive accuracy as compared to P1 or P2 for an individual. Fig. 9 shows a comparative analysis of the accuracies of the classifiers, underlining the effectiveness of each of its components in the proposed model. Classifier A (ConvNeXt - CNN branch) had an accuracy of 88.0 % showing good sensitivity to early KOA cues like subtle roughness of cartilage and marginal osteophytes, or small but poor in robust cases. Classifier B (MaxViT - Transformer branch) improved to 90.0 %, taking advantage of the ability of MaxViT to model long-range dependencies and joint-level patterns globally; hence, this classifier is more potent in detecting advanced-stage KOA. Classifier C (Mid-level Fusion) outperformed both single stream classifiers significantly, with an accuracy of 95.0 % because it uses complementary local and global features and combines them into one embedding. Finally, the Late Fusion ensemble strategy had further boosted the performance, giving the best accuracy of 96.2 % along with an F1-score of 95.2 % and a macro-AUC of 0.981 and therefore validating the superior advantage of combining both feature level and decision level fusion. This late fusion is in its ability to identify complementary decision patterns - CNN for early-stage detection, Transformer for recognition of severe cases and fusion for balanced global-local understanding. The figure visually shows this improvement, with the ensemble classifier always providing the highest confidence for all grades of KL, which confirms that the weighted combination of local, global and fused representation provides a more stable, generalizable and statistically superior solution when compared to any individual classifier.

Comparative Accuracy of Classifiers (KOA classification).
Fig. 9 Comparative Accuracy of Classifiers (KOA classification).

Late Fusion-Prediction Aggregation: In the last phase of the suggested model, the outputs of the three classifiers are combined into a single, reliable prediction using a late fusion technique. Rather than using a single stream, the probability vectors from the CNN path (P1), Transformer path (P2) and Fusion path (P3) are mixed using a weighted ensemble technique that gives each classifier varying weights based on how well it discriminates. Equation (13) defines the aggregated probability distribution mathematically.(13)Pfinal=α.P1+β.P2+⋎.P3

The ensemble weights, represented by α=0.3,β=0.3 and γ=0.4, were empirically selected to favor the fused classifier because of its higher generalization capabilities. The final KOA grade prediction is then generated by picking the class with the maximum aggregated probability given in equation (14).(14)Y⋀=argmax(Pfinal)

Classifier A highlights early-stage KOA cues, Classifier B improves the identification of advanced-stage patterns, and Classifier C offers a balanced global-local knowledge. The late fusion technique is based on its capacity to identify complementary decision patterns. Compared to any single classifier alone, the ensemble guarantees superior stability, resilience against noise, and generalization across a range of KOA severities by giving the fused classifier a higher weight while keeping contributions from branch-specific classifiers. The final KOA prediction distribution following the late fusion of the three classifiers is shown in Fig. 10. The height of each bar shows how likely each KL grade is, ranging from 0 to 4. The ensemble weighting works well by combining different types of information—local from the CNN, global from the Transformer, and mid-level fused features—into a more reliable and certain decision. This is shown by the clear peak in the fused prediction at KL-3, marked in orange. This demonstrates that using a weighted ensemble method is better than relying on a single classifier.

Final KOA prediction through Late Fusion.
Fig. 10 Final KOA prediction through Late Fusion.
3.5

3.5 Evaluation metrics

To thoroughly analyze the effectiveness of the proposed KOA categorization model, numerous assessment indicators were applied. The primary measure of model correctness for all KL grades was overall accuracy. However, precision, recall, and F1-score were shown to offer deeper insights into false positives, false negatives, and the balance between sensitivity and specificity because accuracy alone might not be able to uncover class imbalances. To identify grade-specific shortcomings, such as misunderstanding between KL-2 and KL-3, a class-wise confusion matrix was created to display misclassification trends across the five KL classes. In addition, macro-AUC under a one-vs-rest strategy was computed to evaluate the discriminative power of the model across all classes in a balanced manner. Finally, training and validation convergence curves (loss and accuracy over epochs) were analyzed to ensure model generalization and to detect potential overfitting or underfitting trends, thereby validating the robustness of the proposed model. Explainability – Grad-CAM++: To make the model's decisions transparent and trustworthy, the current study applies Grad-CAM++ to both the ConvNeXt (CNN) and MaxViT (transformer) branches and visualizes class-discriminative localization maps overlaid on the input X-ray. Grad-CAM++ computes important weights for each feature map channel using higher-order gradients (so it localizes multiple occurrences and small structures better than vanilla Grad-CAM++) and produces a heatmap by a positive-weighted sum of the feature maps, as mentioned in equation (15).(15)Lc(x)=ReLU(∑kαkcAk(x))where Ak is the k-th spatial feature map and αkc are the Grad-CAM++ importance coefficients derived from the gradients of the target class score γc w.r.t. Ak (Grad-CAM++ is computed using combinations of first/second/third order derivatives to improve localization). Practically, for ConvNeXt, attach Grad-CAM++ to a late convolutional stage so the heatmap highlights osteophytes, joint-space narrowing, and cortical irregularities; for MaxViT, apply Grad-CAM++ to the conv-stem or to reshaped token feature maps (or combine attention-rollout with Grad-CAM++ on conv outputs) so the map reveals global attention regions across the knee. The maps are upsampled (bilinear) to the input resolution and blended with the X-ray (colourmap + alpha) for publication. Further quantify localization by comparing heatmaps to annotations using IoU/Dice or the pointing-game metric, and present side-by-side Grad-CAM++ results for P1, P2, and P3 (and the fused prediction) to demonstrate where each stream focuses and to support failure-case analysis and reviewer trust. Fig. 11 highlights how different regions are activated across models for the same X-ray input. The ConvNeXt and MaxViT branches capture local and global structural cues, while the fusion map integrates both, providing a more discriminative focus on the pathological regions relevant to diagnosis.

Grad CAM++ visualization in an X-ray image.
Fig. 11 Grad CAM++ visualization in an X-ray image.
4

4 Results

The performance of the model was evaluated using of performance metrics such as accuracy, precision, recall, F1-score, and AUC, which helped to compare the performance of the model in different classifiers and their combined version. Visual tools such as Class-wise confusion matrices, ROC curve and Grad-CAM++ heatmaps were used to understand the strengths and weakness of the model. Overall, these checks demonstrate that the model is strong and reliable in terms of automatically categorized the severity of KOA. The results of each classifier and the combined model are presented in Table 1. The CNN-based method (ConvNeXt-Tiny) achieves a macro-AUC of 0.921 and accuracy of 88.0 %, indicating that it can effectively capture local details in the bone with limited sensitivity to global structural context. Combining features from both local and global parts improved the performance a lot. 95.0 % accuracy and 0.972 macro-AUC results showed how local and global features work well together. The last model, which combined all three classifiers, had the best performance with 96.2 % accuracy, 95.2 % F1-score, and 0.981 macro-AUC, indicating that multiple branches result in more reliable and effective KOA classification. The Transformer-based path (MaxViT) also performed well with 90.0 % accuracy and the macro-AUC of 0.935, outperforming the CNN approach.

Table 1 Classification performance across classifiers.
Classifier Path Accuracy (%) Precision (%) Recall (%) F1-Score (%) Macro-AUC
CNN (ConvNeXt-Tiny) 88.0 86.7 85.9 86.3 0.921
Transformer (MaxViT) 90.0 88.5 87.8 88.1 0.935
Fusion (Mid-Level) 95.0 94.1 93.6 93.8 0.972
Late Fusion Ensemble 96.2 95.4 95.1 95.2 0.981

Table 2 summarizes the proposed model worked, in terms of each category and using the late fusion method. The model performs best to give the difference between normal (KL-0) and severe (KL-4) cases with F1-scores of 97.1 % and 97.8 % respectively. These high scores are supported by AUC scores of above 0.98, indicating strong discriminative capability at distinguishing healthy cases from more serious cases where the differences on X-rays are clear. It also accurately detected the onset of degeneration (KL-1) with an F1-score of 94.5 %, indicating that the model is sensitive to subtle joint changes and early osteophytic cues. The results of the model by the middle stages (KL-2 and KL-3) were slightly lower with F1-scores of 92.8 % and 92.1 %, respectively. This is consistant with prior findings, as patients in these stages often have X-rays that are difficult to distinguish, even for experts. Still, the model has balanced performance for all levels of KOA as indicated by the macro-average F1-score of 94.8 % and macro-AUC of 0.981.

Table 2 Per-class performance (Late Fusion Ensemble).
Class (KL Grade) Precision (%) Recall (%) F1-Score (%) AUC
KL-0 (Normal) 97.8 96.5 97.1 0.987
KL-1 (Doubtful) 95.2 93.9 94.5 0.981
KL-2 (Mild) 93.7 92.1 92.8 0.975
KL-3 (Moderate) 92.5 91.8 92.1 0.971
KL-4 (Severe) 98.1 97.6 97.8 0.989
Macro Average 95.4 94.4 94.8 0.981

A five-fold cross-validation approach was used to evaluate the stability and dependability of the suggested model. With slight variation in performance, the late fusion ensemble consistently achieved good accuracy and macro-AUC across all folds. As seen in Fig. 12, the 95 % confidence interval (CI) for classification accuracy was 96.2 % ± 0.6 %, and the CI for macro-AUC was 0.981 ± 0.004. Strong generalization ability and low variance are demonstrated in these tight confidence intervals, which indicating that the model is resilient to dataset partitioning and not overfitted to a specific collection of images. In medical imaging, however, it's essential to have the same reliable results for diverse patient populations so that the technology can be used in real-world clinical settings.

Cross-validation accuracy with CI.
Fig. 12 Cross-validation accuracy with CI.

Across the six evaluated checkpoints, confusion matrices presented in Fig. 13, indicate that there is a steady increase in the separability of classes with increased training between the Epoch 10 and Epoch 60. The model depicts moderate discriminative ability at Epoch 10, with the misclassification being observed in all classes, which implies the instability of features at an early stage. At Epoch 20, the count of true-positives is increases in most of the classes, indicating improved inter-class boundary formation. However, there is still confusion across classes, particularly between visually similar categories. It is observed that there is a significant performance improvement at Epoch 30 when diagonal entries gain strength and the off-diagonal errors decrease, which is improved representation learning. The model has more stable convergence at Epoch 40, which has a sharper diagonal dominance, which denotes a better sensitivity and specificity by all classes. At Epoch 50, the confusion pattern shows that the model has higher reliability, with fewer false positives and false negatives, especially the ones that are less distinguishable, now have consistent matrices of true positives. Lastly, at the Epoch 60, the matrix has the diagonal dominance, with the majority of the predictions clumped around the diagonal showing fully developed feature learning, less inter-class overlap, and the highest classification confidence. Overall, the development of Epoch 10 to Epoch 60 indicates good learning processes, fewer errors, increased model discriminability, and improved model robustness.

Confusion matrix for each class.
Fig. 13 Confusion matrix for each class.

The training-validation curves of the six checkpoints as illustrated in Fig. 14, exhibit a steady rise in the accuracy and a complementary fall in the loss, indicating a stable convergence and progressive learning. During Epoch 10, training and validation accuracy are at 0.55–0.70, and the losses are at relatively high 1.2–0.8, indicating ealry-stage feature learning at the initial stages, and some underfitting is observed. In the case of Epoch 20, the accuracy reaches about 0.70–0.80, and the validation loss is no longer connected to the training loss, but it reduces to about 1.1 to an almost 0.6, which is more reflective of generalization. Greater enhancement can be seen near Epoch 30, where training accuracy is over 0.80, and validation accuracy is 0.75–0.85, and the loss values are reduced sharply to 0.5–0.4, which is an indication of stronger representation learning. At Epoch 40, the curves are smoother, the training accuracy reaches 0.85–0.90, validation accuracy values are above 0.80, and the two losses are lower (0.35–0.45), which means that there is less variance and less fluctuation during optimization. Model behaviour. By Epoch 50, the model has near-converged behaviour: training accuracy surpasses 0.90, validation accuracy reaches 0.85–0.90, loss decreases further compressible, with validation loss reamaining at a level of 0.40 or below. Ultimately, the model is most stable at the Epoch 60 as training and validation accuracy are nearly 0.92–0.95 and 0.88–0.92, respectively, and training and validation loss are at their lowest points (0.30–0.25 and 0.35–0.30). On the whole, learning dynamics show that there are some learning dynamics, reduced overfitting, and convergence that vary minimally between training epochs.

Training vs validation accuracy and loss curve.
Fig. 14 Training vs validation accuracy and loss curve.

The curves of the ROC-AUC of the six selected epochs as shown in Fig. 15, indicate that the discriminative capability of the model is gradually enhanced with the training process. At Epoch 10, the ROC curve is near the diagonal line with an AUC of around 0.50, which means a near-random performance of classification at the initial training phase. At Epoch 20, the slight amount of deviation of the diagonal is observed, yet the AUC is low (approximately 0.44–0.48), which indicates that the sensitivity-specificity balance is not high yet, and the model is still at the stage of early feature learining. An improvement in a more consistent way is in Epoch 30 and onwards, the AUC increases to about 0.50–0.52, which means that the model starts forming more structured class-separating boundaries. The curve of ROC at Epoch 40 shows a more consistent upward trend, and the value of AUC is about 0.52, indicating the step-by-step increase in the true-positive recognition and decrease in false positives. As further training at Epoch 50, the AUC levels off to around 0.50–0.51, a convergence point at which the fluctuations decrease and the model starts behaving in a consistent way in generalization. Lastly, at Epoch 60, the ROC curve separates most, with an AUC of approximately 0.51–0.52, the highest separative performance as it is the strongest in the series and stable throughout the false-positive rate range. In general, the AUC curves through epochs demonstrates slow yet gradual progress in classification reliability. The ROC curves become more complex, and the sensitivity-specificity concordance becomes more regular in the latter stages of training.

ROC curves across training epochs (10-60).
Fig. 15 ROC curves across training epochs (10-60).

The calibration curves of all the epochs as illustrated in Fig. 16, indicate the extent to which the predicted probabilities agree with the actual chance of making a correct classification. At Epoch 10, the curve differs significantly from the ideal 45-degree diagonal and with predicted probabilities in the 0.2–0.8 range, having the accurate probabilities mostly within the 0.35–0.55 range, which shows mild overconfidence and miscalibration. By Epoch 20, the curve becomes slightly better with the true probabilities moving to about 0.55–0.60 on mid-range predictions, yet moderate miscalibration remains because of varying confidence-accuracy consistency. By Epoch 30, the calibration distribution is less noisy, and the true outcome probabilities level off around 0.45–0.55, which indicates that the variance is smaller and the probability mapping becomes better. The further enhancement is more pronounced at Epoch 40, with the true probability of bins 0.1–0.7 of 0.48–0.65, indicating a stronger association between predicted and actual correctness. At Epoch 50, the curve levels off at the center, and the true probabilities are primarily within the 0.48–0.58 range in the majority of the bins, which shows a lower level of overconfidence and a higher degree of reliability. Lastly, predictive-true probability alignment at Epoch 60 is the most stable in the model, and the minimum variation at the diagonal line is 0.50–0.55. This implies enhanced probability estimation, less noise in prediction and improved reliability in clinical/decision support. In general, the trend of the epochs illustrates a steady reduction in the error of the miscalibration and transition to more credible probability outputs with the course of the training.

Calibration curves across training epochs (10-60).
Fig. 16 Calibration curves across training epochs (10-60).

In this work, a paired t-test was performed to test the final ensemble model against its individual baselines (CNN, Transformer, and Mid-Level Fusion) to statistically validate the proposed dual-fusion model. The ensemble was consistently achieved a higher mean accuracy with low variation (+-0.6), as shown in Table 3. Compared to CNN (p < 0.001) and Transformer (p < 0.001), the results obtained from the t-test showed statistically significant differences, which showed that the performance improvements were not due to chance. The ensemble also demonstrated a statistically significant enhancement (p = 0.009) when compared to the mid-level fusion model, supporting the effectiveness in the integration of both the mid- and the late-level fusion approach. These results highlight the robustness and reliability of the proposed architecture, which ensures that the improvements suggested are reproducible and supported by statistical evidence.

Table 3 Statistical Validation (Paired t-test against baselines).
Comparison (Model) Mean Accuracy (%) Std. Dev. t-value p-value Significance
Proposed Ensemble vs CNN 96.2 vs 88.0 ±0.6 12.35 <0.001 Significant
Proposed Ensemble vs Transformer 96.2 vs 90.0 ±0.6 10.78 <0.001 Significant
Proposed Ensemble vs Mid-Fusion 96.2 vs 95.0 ±0.6 3.21 0.009 Significant

Table 4 shows the runtime analysis of the proposed model across model components. The CNN pathway, ConvNeXt-Tiny, resulted in the fastest (8.5 ms/im) inference time because of its lightweight convolutional structure. The Transformer pathway incurred a higher computational coat (10.2 ms) because it used attention-based mechanisms. The mid-level fusion module incurred a substantial computation expense (11.6 ms) due to the feature concatenation and projection processes. The proposed late fusion ensemble had a competitive inference time of 12.0 ms per image, even though it combined three classifier streams and had a throughput of about 83 images per second over an Nvidia RTX 3090 GPU.

Table 4 Runtime analysis of different models.
Model/Path Parameters (M) Inference Time (ms/image) Throughput (images/sec) Model Size (MB)
CNN Path (ConvNeXt-Tiny) 28.6 8.5 118 46
Transformer Path (MaxViT) 30.1 10.2 98 49
Mid-Level Fusion 42.4 11.6 86 51
Late Fusion Ensemble (Proposed model) 52.0 12.0 83 52

For each architectural part, the individual contribution to the overall performance is analyzed in a systematic manner in the ablation study (Table 5). With an accuracy of 88.0 %, the ConvNeXt-Tiny model demonstrated its ability to capture local details of textures and structures, with a limited ability to capture global context. The MaxViT model has achieved an accuracy of 90.0 % as well as an improved macro-AUC of 0.935, demonstrating the model's capacity to capture long-range relationships. The complementary property of local and global features was verified by introducing mid-level feature fusion by concatenating the features of ConvNeXt-Tiny and MaxViT, which further improved the performance and achieved a 95.0 % accuracy of classification. Using late fusion also increased the performance to 95.6 % accuracy (the value of decision level integration). The proposed method, based on dual fusion, obtained 96.2 % accuracy and macro-AUC of 0.981, achieving the best overall performance, confirming the combination of feature-level and decision-level fusion as the most reliable and comprehensive method for KOA severity classification.

Table 5 Ablation study on KOA classification.
Model Accuracy (%) F1-Score (%) Macro-AUC
ConvNeXt-Tiny 88.0 86.3 0.921
MaxViT 90.0 88.1 0.935
ConvNeXt-Tiny + MaxViT (Mid-Level Fusion Only) 95.0 93.8 0.972
ConvNeXt-Tiny + MaxViT (Late Fusion Only) 95.6 94.5 0.976
Dual-Fusion (Mid-Level + Late Fusion) (full proposed model) 96.2 95.2 0.981
5

5 Discussion

The experiment results show that the proposed model of dual fusion (combining both the mid-level and the late-level feature fusion) is highly beneficial for the automatic KOA severity classification. The model successfully merges the excellent features of MaxViT (global contextual modeling) and ConvNeXt (local feature learning) with dual-branch feature extraction. The late-fusion ensemble improved the predictive reliability, whereas mid-level fusion improved the feature-representation ability by combining information from local bone texture and global structural dependencies. As a result, the model achieved a final accuracy value of 96.2 % and a macro-AUC of 0.981 collectively, the different components led to improved performance in all the evaluation metrics. From a radiologist's perspective, the model effectively separated advanced KOA (KL-4) from the early KOA (KL-0 and KL-1) and the complicated intermediate grades (KL-2 and KL-3) effectively. The vast majority of the misclassifications were between adjacent grades, which is consistent with misdiagnoses seen in the practice of radiology. This suggests that the proposed approach is a radiologist-aligned approach that corresponds to and reflects actual diagnostic problems. A comparison of the proposed dual-fusion model with current state-of-the-art models is presented and shows the advantage of the proposed model. These results proved that the model is better than single models with CNN and Transformer, and this model is stable and reliable, which can be used in different situations, and therefore it is a good choice for radiologists to use it while automatically grading KOA severity. Transformer-Based Models, such as Swin Transformer (Sultana et al., 2024), are highly accurate, with an accuracy of 89.38 % in contextual learning of features, whereas their capacity to extract localized structural differences has been limited. Table 6 highlights the performance gains achieved by hybrid architectures such as CNN-LSTM (Mehta et al.), which achieved 94.3 % accuracy, and an AUC of 0.956 for the use of multi-branch learning.

Table 6 State-of-the-art comparisons with different classification methods.
Study/Year Model/Methodology Dataset Accuracy (%) Precision (%) Recall (%) F1-Score (%) AUC
Wang et al., 2022 ResNet-5023 OAI X-ray Dataset 81.41 83.02 86.27 84.62 0.99
Guida et al., 2021 CNN33 OAI Dataset 83.0 N/A 0.59 N/A 0.911
Revathi et al., 2024 DenseNet-12134 OAI Dataset 88.2 61.04 % N/A 86.7 0.75
Mohammed et al., 2022 ResNet10135 OAI X-ray Dataset Kaggle 89 0.87 0.86 0.87 0.89
Sultana et al., 2024 Swin Transformer36 Knee OA Dataset Kaggle 89.38 0.88 0.87 89.5 N/A
Kumar & Goswami., 2023 InceptionNetV237 OAI Dataset 91.02 0.89 N/A 0.88 N/A
Alyami, 2024 EfficientNet-B338 OAI Dataset 93 N/A N/A 91.3 0.904
Mehta et al., 2025 CNN-LSTM39 Knee OA Dataset Kaggle 94.3 91.5 91.8 91.6 0.956
Dual-Fusion (ConvNeXt + MaxViT, Mid + Late)(Proposed model) Knee OA Dataset Kaggle 96.2 95.4 95.1 95.2 0.981

Nevertheless, all the baselines were consistently outperformed by the proposed dual-fusion model, which incorporated the usage of ConvNeXt-Tiny for local structural analysis and MaxViT for global contextual modeling further enhanced by by mid-level and late-level fusion strategies. It had an accuracy of 96.2 %, precision of 95.4 %, recall of 95.1 %, F1-score of 95.2 %, and a macro-AUC of 0.981. These results indicate that the model works better than single models by CNN and Transformer. They also demonstrate a level of stability and reliability of the model, and that it can operate well under various circumstances. This makes the proposed approach well-suited for clinical deployment in automated KOA severity assesment.

The findings support the importance of fusion techniques in medical image processing tasks, where differences greatly influence radiologists' opinions in radiographic characteristics. The proposed model provides a conceptual foundaion for future research in KOA as well as more general musculoskeletal and degenerative disease imaging by combining feature-level and decision-level fusion. To further increase resilience in low-data radiologist scenarios, future research can expand this model by adding semi-supervised learning and multi-modal data, such as MRI and X-ray.

6

6 Conclusion

This work introduced an explainable dual-branch fusion architecture, which combined ConvNeXt-Tiny for local features with MaxViT-Tiny for global context modeling, enabling improved automated grading of KOA from radiographic images. By combining mid-level fusion (concatenation and MLP) and late-level fusion (Weighted ensemble), the model successfully integrates the complementary global and local feature extraction, addressing the limitations of standalone CNN or Transformer models. Experimental results show that the proposed dual-fusion model can achieves superior performance with an accuracy of 96.2 %, F1-score of 95.2 %, precision of 95.4 %, recall of 95.1 %, and a macro-AUC of 0.981. Class-wise evaluation shows strong separability of healthy (KL-0) and severe (KL-4) conditions with F1-scores of 97.1 % and 97.8 %, respectively. Five-fold cross-validation is used to validate the robustness of the model yielding a narrow Confidence Interval(CI) of 96.2 % ± 0.6 % with accuracy and macro-AUC of 0.981 ± 0.004.

Explainability using Grad-CAM++ confirmes that the model consistently highlights clinically relevant regions such as osteophytes, joint space narrowing and subchondral sclerosis, which leads to increased trust and transparency for radiologists. Overall, the results suggest that the dual-fusion ConvNeXt-MaxViT framework is a reliable, accurate and interpretable solution for KOA severity classification according to the KL scale. Future extensions will include multi-modal integration (X-ray and MRI), longitudinal disease progression modeling, semi-supervised learning for low-label settings, and clinical deployment studies to evaluate the generalizability and diagnostic impact on real-world clinical practice.

Authors contribution

S.: methodology, writing—original draft preparation; V.K.: Supervision, writing—review and editing; S.M.: Conceptualization, writing—review and editing.

Declaration statement

•No funding is available to do this research work. The authors declare that they have no conflict of interest. The authors declare no potential conflicts of interest (financial or non-financial).

Data availability statement

•My manuscript has a Kaggle dataset link (https://www.kaggle.com/datasets/shashwatwork/knee-osteoarthritis-dataset-with-severity).

Ethical statement

•The work described has not been published previously.•The article is not under consideration for publication elsewhere.•The article's publication is approved by all authors if paper is accepted.

Declaration statement

•No funding is available for doing this research work.

Guardian-patient consent

•As public datasets are used for the study, the dataset used is Kaggle dataset link (https://www.kaggle.com/datasets/shashwatwork/knee-osteoarthritis-dataset-with-severity), so no guardian/patient consent is required.

References

  1. , , , et al . Molecular classification of knee osteoarthritis. Front Cell Dev Biol. 2021;9
    [Google Scholar]
  2. , , , , , . Definition and classification of early osteoarthritis of the knee. Knee Surg Sports Traumatol Arthrosc. 2012;20:401-406.
    [Google Scholar]
  3. , , , et al . Toward classification criteria for early osteoarthritis of the knee. Seminars in Arthritis and Rheumatism.. 2018;47:457-463.
    [Google Scholar]
  4. , , . Automatic detection and classification of knee osteoarthritis using deep learning approach. Radiol Med. 2022;127:398-406.
    [Google Scholar]
  5. , , , . Classifications in brief: Kellgren-lawrence classification of osteoarthritis. Clin Orthop Relat Res. 2016;474:1886-1893.
    [Google Scholar]
  6. , , , , , . Automating classification of osteoarthritis according to Kellgren-Lawrence in the knee using deep learning in an unfiltered adult population. BMC Muscoskelet Disord. 2021;22:844.
    [Google Scholar]
  7. , , , et al . Knee osteoarthritis severity classification with ordinal regression module. Multimed Tool Appl. 2022;81:41497-41509.
    [Google Scholar]
  8. , , , et al . Early osteoarthritis of the knee. Knee Surg Sports Traumatol Arthrosc. 2016;24:1753-1762.
    [Google Scholar]
  9. , , , , . Automatic detection of knee joints and quantification of knee osteoarthritis severity using convolutional neural networks. 2017:376-390.
    [Google Scholar]
  10. , , . Grading of knee osteoarthritis using convolutional neural networks. Neural Process Lett. 2021;53:2985-3009.
    [Google Scholar]
  11. , , . Deep learning-based assessment of knee septic arthritis using transformer features in sonographic modalities. Comput Methods Progr Biomed. 2023;237:107575.
    [Google Scholar]
  12. , , , , , . Stratifying knee osteoarthritis features through multitask deep hybrid learning: data from the osteoarthritis initiative. Comput Methods Progr Biomed. 2023;242:107807.
    [Google Scholar]
  13. , , , et al . OA-MEN: a fusion deep learning approach for enhanced accuracy in knee osteoarthritis detection and classification using X-Ray imaging. Front Bioeng Biotechnol. 2025;12
    [Google Scholar]
  14. , , . A hybrid LBP-HOG model and naive bayes classifier for knee osteoarthritis detection: data from the osteoarthritis initiative. 2021:458-467.
    [Google Scholar]
  15. , , , . Machine-learning-based patient-specific prediction models for knee osteoarthritis. Nat Rev Rheumatol. 2019;15:49-60.
    [Google Scholar]
  16. , , , et al . Development of machine learning models for predicting depressive symptoms in knee osteoarthritis patients. Sci Rep. 2024;14
    [Google Scholar]
  17. , , , . Optimized feature selection for enhanced accuracy in knee osteoarthritis detection and severity classification with machine learning. Biomed Signal Process Control. 2024;97:106670.
    [Google Scholar]
  18. , , , , , , . A machine learning-based diagnostic model associated with knee osteoarthritis severity. Sci Rep. 2020;10:15743.
    [Google Scholar]
  19. , , , et al . Identifying significant structural factors associated with knee pain severity in patients with osteoarthritis using machine learning. Sci Rep. 2024;14
    [Google Scholar]
  20. , , , , . A machine learning-based approach to decipher multi-etiology of knee osteoarthritis onset and deterioration. Osteoarthr Cartil Open. 2021;3:100135.
    [Google Scholar]
  21. , , , , , . Hybrid techniques of X-ray analysis to predict knee osteoarthritis grades based on fusion features of CNN and handcrafted. Diagnostics. 2023;13:1609.
    [Google Scholar]
  22. , , , , , , . A ResNet‐based approach for accurate radiographic diagnosis of knee osteoarthritis. CAAI Trans Intell Technol. 2022;7:512-521.
    [Google Scholar]
  23. , , . Knee osteoarthritis grading using DenseNet and radiographic images. SN Comput Sci. 2022;4:63.
    [Google Scholar]
  24. , , , et al . Lightweight early detection of knee osteoarthritis in athletes. Sci Rep. 2025;15
    [Google Scholar]
  25. , , , et al . Deep learning to combat knee osteoarthritis and severity assessment by using CNN-based classification. BMC Muscoskelet Disord. 2024;25:817.
    [Google Scholar]
  26. , , , . Knee osteoarthritis severity detection using deep inception transfer learning. Comput Biol Med. 2025;186:109641.
    [Google Scholar]
  27. , , , et al . Knee osteoarthritis network: a hybrid transformer-based approach for enhanced detection and grading of knee osteoarthritis. Eng Appl Artif Intell. 2025;159
    [Google Scholar]
  28. , , , , . A novel deep learning approach for automated grading of knee osteoarthritis severity. Multimed Tool Appl 2024:1-20.
    [Google Scholar]
  29. , , , , , . Deep convolutional neural networks in medical image analysis: a review. Information. 2025;16:195.
    [Google Scholar]
  30. , , , . Ordinal classification for knee osteoarthritis x-rays using vision transformers. Multimed Tool Appl 2025:1-28.
    [Google Scholar]
  31. , , , , , . Knee meniscus tear during exercise identification using capsule neural network optimized by adapted seagull optimizer. IEEE Access. 2025;13:147842-147858.
    [Google Scholar]
  32. , , . Knee osteoarthritis classification using 3D CNN and MRI. Appl Sci 2021:1-12.
    [Google Scholar]
  33. , , . Enhanced image classification with integrating DenseNet121 with mixup augmentation and attention mechanisms for knee OA. 2024:889-894.
    [Google Scholar]
  34. , , , , . Knee osteoarthritis detection and severity classification using residual neural networks on preprocessed x-ray images. Diagnostics. 2023;13:1380.
    [Google Scholar]
  35. , , , , , , . Efficient detection of knee osteoporosis using the swin transformer on X-Ray images. 2024:1-7.
    [Google Scholar]
  36. , . Automatic classification of the severity of knee osteoarthritis using enhanced image sharpening and CNN. Appl Sci. 2023;13:1658.
    [Google Scholar]
  37. , . Identification of severe grading in knee OsteoArthritis from MRI using ensemble deep learning. Curr Med Imaging Former Curr Med Imaging Rev. 2024;20:1-6.
    [Google Scholar]
  38. , , . Deep learning-driven diagnosis CNN-LSTM models for accurate grading of knee osteoarthritis. 2025:1632-1636.
    [Google Scholar]
Show Sections