Preprint
Article

This version is not peer-reviewed.

Patient-Aware Self-Supervised Contrastive Learning for Passive Assessment of Patient-Reported Knee Osteoarthritis Pain from Wearable Free-Living Activity Counts

Submitted:

20 November 2026

Posted:

24 November 2026

You are already at the latest version

Abstract
Accurate assessment of knee osteoarthritis (KOA) pain is critical to inform treatments. KOA pain affects physical activity (PA) and daily movement, offering opportunities for objective assessment. However, limited availability of well-annotated pain data and substantial variability between patients’ daily activity patterns remain barriers to machine learning for PA-based pain assessment. Large-scale, unlabeled PA sensor data are abundant, presenting an opportunity for self-supervised learning. In this paper, we propose Col-KOApain, a patient-aware, self-supervised contrastive learning framework for patient-reported KOA pain-status classification from wearable accelerometer activity counts. To improve pain-status classification, Col-KOApain encourages consistency between complementary time–frequency augmented representations of the same activity signal. Col-KOApain employs a hybrid Transformer–CNN encoder, patient-aware regularization, and a fusion-based time–frequency contrastive loss while preserving within-patient multi-day structure. Col-KOApain was evaluated using Osteoarthritis Initiative (OAI: 3,318 visit records) and National Health and Nutrition Examination Survey (NHANES: 392 participants) datasets, with KOOS Pain-derived labels in OAI and self-reported knee-pain labels in NHANES. Binary Macro-F1 scores reached 86.9%, 83.5%, and 79.8% under within-cohort, temporal-transfer, and cross-dataset settings, respectively. We also evaluated 3-class and exploratory 4-class pain-status tasks. Our results highlight Col-KOApain’s potential for KOA pain-status assessment in real-world scenarios with limited labeled data.
Keywords: 
;  ;  ;  ;  ;  ;  ;  
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.