Transfer Learning for Keypoint Detection in Low-Resolution Thermal TUG Test Images

Wei‐Lun Chen, Chia-Yeh Hsieh, Yu-Hsiang Kao, Kai-Chun Liu, Sheng-Yu Peng, Yu Tsao · DOI

Abstract

This study presents a novel approach to human keypoint detection in low-resolution thermal images using transfer learning techniques. We introduce the first application of the Timed Up and Go (TUG) test in thermal image computer vision, establishing a new paradigm for mobility assessment. Our method leverages a MobileNetV3-Small encoder and a ViTPose decoder, trained using a composite loss function that balances latent representation alignment and heatmap accuracy. The model was evaluated using the Object Keypoint Similarity (OKS) metric from the COCO Keypoint Detection Challenge. The proposed model achieves better performance with AP, AP50, and AP75 scores of 0.861, 0.942, and 0.887 respectively, outperforming traditional supervised learning approaches like Mask R-CNN and ViTPose-Base. Moreover, our model demonstrates superior computational efficiency in terms of parameter count and FLOPS. This research lays a solid foundation for future clinical applications of thermal imaging in mobility assessment and rehabilitation monitoring.

Introduction

Hospitals and care facilities increasingly require non-intrusive methods to monitor patient mobility, assess fall risks, and track rehabilitation progress. Low-resolution thermal cameras offer a compelling solution: they are cost-effective, operate in total darkness, and inherently protect patient privacy by obscuring identifiable facial features. However, the resulting low-resolution thermal "blobs" are difficult for human caregivers to interpret directly.

Overlaying skeletal keypoints onto these images enhances readability and provides quantitative biomechanical data for clinical analysis. The primary challenge lies in training accurate keypoint detection models for such low-information domains, which typically requires massive amounts of hand-annotated thermal data and significant computational resources. This paper introduces an efficient transfer-learning-based model that addresses these challenges, specifically applied to the clinical Timed Up and Go (TUG) test.

Methodology

To circumvent the need for a massive labeled thermal dataset, we employ a student-teacher transfer learning approach. The process begins with a Faster R-CNN model that detects the human bounding box to crop and resize the subject, ensuring the keypoint model focuses only on relevant pixels.

The core architecture consists of a "teacher" model (a pre-trained RGB vision model, ViTPose-Base) and a "student" model. The student utilizes a lightweight MobileNetV3-Small encoder paired with the frozen ViTPose decoder from the teacher. During training, only the student encoder learns, optimized by a composite loss function:

  1. Latent Representation Alignment ($L_{latent}$): Forces the thermal encoder to produce latent features matching those of the RGB teacher.
  2. Heatmap Accuracy ($L_{heatmap}$): Uses Adaptive Wing Loss to fine-tune the spatial accuracy of the predicted keypoints.

A hyperparameter ($\beta$) controls the trade-off between these two components, allowing the model to balance abstract feature alignment with fine-grained spatial refinement.

The student-teacher architecture facilitates transfer learning from high-resolution RGB data to low-resolution thermal data.

Experimental Setup

The model was evaluated using a custom dataset focused on the Timed Up and Go (TUG) test, a standard clinical assessment for mobility and balance. Data was captured using synchronized MIR8060B1 thermal cameras (80×60 resolution) and RGB cameras (1024×576 resolution) at 8 frames per second. The study involved 10 individuals with normal mobility performing the test five times each. Evaluation was conducted using a leave-one-subject-out cross-validation approach, marking the first application of the TUG test in thermal computer vision.

Key Insights

  • Latent Alignment is Critical: Training solely on heatmap output (setting $\beta=0$) results in poor performance. Forcing the thermal encoder to mimic the teacher's latent space is essential for success in low-resolution domains.
  • Optimal Loss Weighting: A balanced loss function ($\beta=0.4$) yields the best results, indicating that the model requires both high-level feature alignment and spatial heatmap refinement.
  • Efficiency vs. Capacity: Surprisingly, the lightweight MobileNetV3 encoder outperformed the heavier ResNet-50 encoder. This suggests that in low-resolution thermal domains, massive model capacity can be less effective than efficient feature extraction.

Results and Discussion

The proposed model achieved exceptional accuracy, significantly outperforming traditional supervised learning baselines. As shown in the table below, the MobileNetV3-based approach reached an Average Precision (AP) of 0.861, compared to just 0.214 for Mask R-CNN and 0.043 for a standard ViTPose-Base model.

Beyond accuracy, the model is highly efficient. It requires only 4.398 million parameters and 5.696 GFLOPs, making it suitable for deployment on edge AI platforms in resource-constrained hospital environments.

Performance comparison of the proposed model against standard supervised learning baselines.

Conclusion

This research demonstrates that transfer learning can effectively bridge the gap between high-resolution RGB data and low-resolution thermal imagery for clinical mobility assessment. While the current study is limited by a small sample size of healthy individuals, it establishes a robust foundation for future work. Next steps include validating the model on patients with mobility impairments, integrating additional clinical tests, and deploying the system for real-time, privacy-preserving monitoring in clinical settings.

Summary updated

BibTeX
@misc{chen2025transfer,
  author = {Wei‐Lun Chen and Chia-Yeh Hsieh and Yu-Hsiang Kao and Kai-Chun Liu and Sheng-Yu Peng and Yu Tsao},
  title = {{Transfer Learning for Keypoint Detection in Low-Resolution Thermal TUG Test Images}},
  year = {2025},
  eprint = {2501.18453},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.18453},
}
Figure