KneeFS-Net: A Lightweight Deep Learning Model for Knee Osteoarthritis Severity Assessment with Cross-Domain External Validation
Authors: Shafqat Alam, Galib Anjum Talukder Mahi, Yeasir Rabbani Tanvir, Md. Ibrahim, Md. Shahed Hossain, Shashank Ghimire, Mahmud Hasan Mostofa Kamal, ASM Shahidul Hossain, Taufiq Hasan
Organizations: Department of Biomedical Engineering, Bangladesh University of Engineering and Technology (BUET), Dhaka, Bangladesh · Telerad Bangladesh Ltd., Dhaka, Bangladesh · Department of Radiology and Imaging, DNCC Dedicated COVID 19 Hospital, Dhaka, Bangladesh · Department of Radiology and Imaging, Bangladesh Medical University, Dhaka, Bangladesh · Center for Bioengineering Innovation and Design, Department of Biomedical Engineering, Johns Hopkins University, Baltimore, MD, USA
Knee osteoarthritis (OA) grading from radiographs using the Kellgren-Lawrence (KL) scale requires expertise that may be scarce. We present KneeFS-Net, a lightweight ordinal grader (0.8 million parameters; 0.33 GFLOPs) combining spatial, Fourier and state-space features with landmark-guided attention. On the Osteoarthritis Initiative (OAI) test set, KneeFS-Net achieved a quadratic weighted kappa (QWK) of 0.863, mean absolute error (MAE) of 0.325 and 97.2% within-one-grade accuracy, comparable to models with 9-35-fold more parameters. We evaluated cross-population generalization on two Bangladeshi cohorts, a single-center hospital cohort and a multi-center teleradiology cohort. Without further training or adaptation, the OAI-trained model achieved QWK 0.803, MAE 0.339 and 98.2% within-one-grade accuracy on its hospital cohort, declining to QWK 0.656 and MAE 0.522 on multi-center teleradiology images. Self-supervised pretraining on 6,092 unlabeled radiographs followed by joint fine-tuning achieved QWK 0.823, MAE 0.329 and 99.7% within-one-grade accuracy in cross-validation. These findings demonstrate accurate, efficient KL grading and potential adaptation to new populations with limited annotation.
Figures & tables
Figure 1: Grading errors in the three cohorts and calibration on OAI. A OAI test set ( n=826 ). B Reliability diagram on the OAI test set; bars show the number of knees per confidence bin. C BMU Cohort ( n=271 ). D Multi-District Cohort, Experiment F, out-of-fold predictions ( n=1,000 ). Confusion matrices are row-normalized, so the diagonal gives the sensitivity for each grade.
Model size and cost
OAI test set ( n=826 )
Multi-District, single split ( n=200 )
Model
Params ↓
GFLOPs (per img) ↓
Peak Mem. (MB) ↓
QWK ↑
Acc ↑
Sens. (macro) ↑
Spec. (macro) ↑
QWK ↑
Acc ↑
Sens. (macro) ↑
Spec. (macro) ↑
Part A: Established architectures
CNN-based Models
ResNet50
24,363,588
8.26
840.71
0.8493
68.16
72.81
91.39
0.8021
71.50
74.85
90.22
DenseNet121
7,547,268
5.79
434.59
0.8610
70.80
74.10
91.35
0.8112
71.50
75.21
93.27
ConvNeXt-T
28,226,788
8.97
999.52
0.7627
56.42
60.72
88.02
0.7245
67.00
70.64
84.91
Table 1: Performance and computational cost of KneeFS-Net and comparator models
Figure 2: Agreement versus model size. QWK against the number of trainable parameters (log scale). A OAI test set ( n=826 ). B Multi-District Cohort, single 200-knee split. Recreated KOA-specific models are labeled by first author; full results are in Table 1 .
Figure 3: Agreement on the Multi-District Cohort under six training strategies. QWK against the consensus on out-of-fold predictions ( n=1,000 ), with 95% CIs. Orange, no Multi-District labels used; blue, Multi-District labels used. The shaded band shows the mean inter-radiologist QWK (95% CI) for context only, and the dashed line shows KneeFS-Net on the OAI test set. Brackets mark the planned comparisons (paired bootstrap tests).
Setup/ Metric
Exp A
Exp B
Exp C
Exp D
Exp E
Exp F
Exp. Name
Direct Evaluation
Trained on MD
UDA
SSL init. + OAI fine tune
OAI + MD Joint train
SSL init. + Joint train
Train Data
OAI Train set
MD training folds
OAI Train + MD unlabeled ( n =6,092)
MD unlab. ( n =6,092) + OAI Train
OAI Train + MD training folds
OAI Train + MD training folds
QWK
0.6560
0.7067
0.7030
0.7379 ∗∗∗
0.7826
0.8234 ††‡‡‡
(0.6165–0.6942)
(0.6681–0.7389)
(0.6648–0.7394)
(0.7103–0.7639)
(0.7604–0.8034)
(0.8002–0.8451)
Accuracy
53.60
58.50
66.30
61.30 ∗∗∗
61.90
67.40 ††
(50.30–56.80)
(55.40–61.60)
(63.40–69.10)
(58.40–64.30)
(58.90–64.90)
(64.50–70.30)
Table 2: Performance of six training strategies on the Multi-District Cohort (5-fold cross-validation, n=1,000 )
BMU Cohort ( n=271 )
Multi-District Cohort ( n=1,000 )
Metric / Comparison
Estimate (95% CI)
Δ (95% CI)
Estimate (95% CI)
Δ (95% CI)
Overall model performance vs. consensus
Exact accuracy (%)
67.90 (62.36–73.06)
—
67.40 (64.50–70.30)
—
Within ±1 grade (%)
98.15 (96.31–99.63)
Differed >1 grade: 1.85% (5 knees)
99.70 (99.30–100.00)
Differed >1 grade: 0.30% (3 knees)
QWK
0.803 (0.749–0.848)
Primary metric
0.823 (0.800–0.845)
Primary metric
MAE
0.339 (0.284–0.399)
—
0.329 (0.299–0.358)
—
Table 3: Agreement of KneeFS-Net with the radiologist consensus and with individual radiologists (BMU Cohort, direct evaluation; Multi-District Cohort, Experiment F)
BUET-KOA
Characteristic
OAI
BMU Cohort
Multi-District Cohort
Age, years
Male
64.11 ± 9.74
53.04 ± 5.67
39.56 ± 19.65
Female
64.56 ± 9.27
53.01 ± 5.36
45.95 ± 16.51
Unspecified
—
—
40.67 ± 18.32
Overall
64.37 ± 9.47
53.02 ± 5.50
42.86 ± 18.31
Table 4: Demographic and clinical characteristics of the study cohorts
Figure 4: Study cohorts. Top: Selection and partitioning of the OAI (A) and BUET-KOA (B) datasets. Bottom left: Centers and radiographs of the Multi-District Cohort by administrative division. Bottom right: PCA and UMAP projections of image-noise descriptors.
Figure 5: KneeFS-Net architecture. Top: Stem, four-stage FSSE encoder, two-scale region attention and ordinal head. Bottom left: FSSE layer; the state-space branch is used in stages 3 and 4 only. Bottom right: Masked region attention.
Figure 6: Self-supervised pretraining of the FSSE encoder. The student encodes two global and four local views; the teacher, updated as an exponential moving average of the student (dashed arrow), encodes the global views only. Teacher outputs are centered per cohort, and a CORAL penalty aligns student features across cohorts (Eq. ( 3 )). The projection head is discarded after pretraining.
Cross-domain generalization studies how machine-learning models retain reliable performance when data, sensors, populations, or tasks differ from training.
Grading knee osteoarthritis (KOA) on plain radiographs is poorly reproducible across readers. A single-grade disagreement on the Kellgren-Lawrence (KL) scale can alter surgical management or redirect a patient from conservative therapy to intra-articular injection. Meanwhile, deep learning models that outperform human readers often offer no explanation for their decisions. We present Knee-xRAI, a pipeline that decomposes the grading process by mimicking clinical radiological workflows. It independently measures joint space narrowing (JSN), osteophytes, and subchondral sclerosis, then combines these findings into an explainable KL grade. Specifically, a U-Net++ architecture quantifies JSN via contour segmentation, an SE-ResNet-50 multi-task network grades osteophytes per anatomical site on the OARSI scale, and a hybrid texture-CNN detects binary sclerosis. This pipeline yields a 50-dimensional feature vector evaluated via an XGBoost-SHAP classifier (Path A, audit) and a ConvNeXt hybrid predictor (Path B, deployed). On 8,260 OAI-derived radiographs, the JSN module achieved a Dice score of 0.8909 and an mJSW ICC of 0.8674. Path A reached a QWK of 0.6294 and an AUC of 0.8046, confirming the structured feature vector carries substantial diagnostic signal. Path B achieved a QWK of 0.8436 and an AUC of 0.9017. SHAP analysis identifies JSN as the dominant feature, with osteophytes adding a consistent increment and sclerosis contributing marginally. Removing JSN evidence collapses KL3-KL4 recall while early grades remain intact, aligning with the KL diagnostic criteria. Knee-xRAI grounds every prediction in an auditable chain of measured radiographic findings, providing clinical transparency at the point of care.
Azmul A. Irfan, Nur Ahmad Khatim, Alfan Alfian Irfan +3
Orthopaedic Department, Faculty of Medicine UIN Syarif Hidayatullah Jakarta, Indonesia · Informatics Engineering, Institut Teknologi Sepuluh Nopember, Indonesia · Information Technology, Universitas Muhammadiyah Yogyakarta, Indonesia +1
Background and objective. Conventional Deep Learning (DL) approaches for Knee Osteoarthritis (KOA) grading rely on one-hot labels, which fail to capture both the ordinal uncertainty of Kellgren--Lawrence (KL) and Calcium Pyrophosphate Deposition Disease (CPPD) severity scores and the asymmetric relationship between the two scales observed in clinical practice. Methods. We retrospectively collected 2172 knee X-ray images, including 968 radiographs jointly annotated for KL and CPPD severity. An ordinal DL framework based on soft-labelling was developed for both tasks, replacing one-hot targets with unimodal probability distributions centred on the annotated grade. Four formulations were investigated: binomial, beta, triangular, and exponential. Results. All soft-labelling strategies consistently outperformed the nominal baseline. For CPPD grading, the triangular formulation achieved the highest Quadratic Weighted Kappa (QWK) and the lowest Mean Absolute Error (MAE) (QWK = 0.796; MAE = 0.438), while the beta formulation yielded the most balanced class-wise performance considering Average MAE (AMAE) and Maximum MAE (MMAE) across classes (AMAE = 0.458; MMAE = 0.573). For KL grading, the beta-based approach provided the best overall performance, achieving the highest QWK together with the lowest MAE and class-wise errors (QWK = 0.777; MAE = 0.529; AMAE = 0.523; MMAE = 0.775). Statistical analysis demonstrated significant improvements over conventional one-hot supervision (p < 0.001).
Francisco Bérchez-Moreno, Riccardo Rosati, Maria Chiara Fiorentino +6
Departamento de Ciencia de la Computación e Inteligencia Artificial, Universidad de Córdoba, Córdoba, España · Department of Political Science, Communication, and International Relations, University of Macerata, Macerata, Italy · Department of Innovative Technologies in Medicine & Dentistry, Università degli Studi "G. D’Annunzio" Chieti - Pescara, Chieti, Italy +5
Knee osteoarthritis (KOA) is among the musculoskeletal disorders that considerably restrict joint mobility, cause severe chronic pain and impact negatively on quality life. It is one of the persistent health issues worldwide. Generally, subjectivity and inter-observer variability undermine conventional practices and evaluation process that are adopted to address such health issues. Hence precise and timely diagnosis would be one of the effective ways for the assessment of its severity. This paper proposes an automated diagnostic approach for severity grading of KOA by blending a deep learning convolutional neural network (CNN) with a device-based inference platform powered by TensorFlow Lite. It proposes a model based on the ResNet-18 convolutional neural network. The designed model is trained on publicly available database. Through a transfer learning approach obtained knee images are first classified into five Kellgren-Lawrence (KL) grades. Further the developed model is optimised. During the training of the model test accuracy of 94.48% with stable convergence has been achieved. Subsequently the optimised model transformed into a lightweight TensorFlow Lite format, facilitating seamless deployment on resource-constrained devices. The designed model is capable enough to operate in the environment having no continuous internet connectivity. Also, an auxiliary Large Language Model (Gemini-2.0-flash) is applied to generate structured interpretive findings like potential symptoms, risk factors, and preventive majors etc. The LLM component functions as interface without influencing the classification process. The proposed model articulates the feasibility of an on-device, interpretable decision-support tools for early diagnosis and improve accessibility to Artificial Intelligence (AI)-assisted knee screening tool.
Dayam Nadeem, Neha, Safdar Mustafa +2
Department of Computer Science & Engineering Jamia Hamdard New Delhi ,India