Wearable technology enables the unsupervised recording of electrocardiogram (ECG) signals. Analyzing these high-dimensional ECG data poses challenges regarding statistical approaches and explainability. This work investigates the feasibility of medically explainable anomaly detection through disentangled representational learning of ECGs and personalization to mitigate inter-subject variations. Five open-source ECG datasets were converted into a set of denoised one-second traces of lead I signal, each covering individual features such as wave morphologies and pathologies. A beta total correlation variational autoencoder was optimized on four of these datasets for 68 systematic parameterization variants. The best-performing model revealed disentanglement in the 12-dimensional embedding space, specifically between atrial- and ventricular features. Within the embedding space, a k-nearest neighbor classifier was evaluated on a left-out test set tailored for anomaly detection. The result is a F1 score of 0.94 for the binary prediction of sinus rhythm and the pathological classes: Left bundle branch block, right bundle branch block, myocardial infarction, and AV block (1st degree). The 90.94% accuracy in anomaly detection falls within the range of established detectors (89.38%-99.77%) but offers the advantage of being explainable and largely unsupervised. Model fine-tuning for each of 100 randomly sampled individuals of the Icentia11k dataset mitigated inter-subject variations. The associated F1 score for predicting normal, premature atrial contraction, and premature ventricular contraction from the embedding space was 0.93. The distribution plots of pathologies along the explainable axis were reasonably consistent with medical expertise. The results suggest the presented disentangled variational autoencoder as a robust method for explainable ECG representation.
Computer-vision-based frameworks enable markerless human motion capture on consumer-grade devices in real-time. They open up new possibilities for application, such as in the health and medical sector. So far, research on mobile solutions has been focused on 2-dimensional motion capture frameworks. 2D motion analysis is limited by the viewing angle of the positioned camera. New frameworks enable 3-dimensional human motion capture and can be supported through additional smartphone sensors such as LiDAR. 3D motion capture promises to overcome the limitations of 2D frameworks by considering all three movement planes independent of the camera angle. In this study, we performed a laboratory experiment with ten subjects, comparing the joint angles in eight different body-weight exercises tracked by Apple ARKit, a mobile 3D motion capture framework, against a gold-standard system for motion capture: the Vicon system. The 3D motion capture framework exposed a weighted Mean Absolute Error of 18.80° ± 12.12° (ranging from 3.75° ± 0.99° to 47.06° ± 5.11° per tracked joint angle and exercise) and a Mean Spearman Rank Correlation Coefficient of 0.76 for the whole data set. The data set shows a high variance of those two metrics between the observed angles and performed exercises. The observed accuracy is influenced by the visibility of the joints and the observed motion. While the 3D motion capture framework is a promising technology that could enable several use cases in the entertainment, health, and medical area, its limitations should be considered for each potential application area.
Background: Federated unsupervised learning offers a promising approach to leveraging decentralized data stored on consumer devices, addressing concerns about privacy and lack of annotation. Single-lead electrocardiograms (ECGs) captured on consumer devices are of particular interest due to the global prevalence of cardiovascular disease. The combination of federated and unsupervised learning on biomedical data in a cross-device environment raises questions regarding feasibility and accuracy, especially when considering heterogeneous data. Methods: A randomly selected subset of the Icentia11k open-source dataset containing mobile ECG recordings was used for this study. Heartbeats are labeled as normal, unknown or the pathological classes: premature atrial contraction and premature ventricular contraction. A linear autoencoder model was used as a method to predict the pathological cases using the embedding space and reconstruction error. The model was integrated into a mobile application that supports ECG data recording, preprocessing into heartbeat segments, and participation in a federated learning pipeline as a client node. The autoencoder was trained collaboratively using federated learning with twenty mobile devices, followed by an additional ten epochs of on-device fine-tuning to account for personalization. Results: The approach yielded a sensitivity of 0.87 and a specificity of 0.8 when the predicted anomalies were compared with the ground truth in a binary fashion. Specifically, the detection rate for premature ventricular contraction was excellent with a sensitivity of 0.97. Conclusion: Overall, the approach proved to be feasible in implementation and competitive in accuracy, specifically when the model was fine-tuned to the subject’s data.
There is a growing consensus in the global health community that the use of communication technologies will be an essential factor in ensuring universal health coverage of the world’s population. New technologies can only be used profitably if their accuracy is sufficient. Therefore, we explore the feasibility of using Apple’s ARKit technology to accurately measure the distance from the user’s eye to their smartphone screen. We developed an iOS application for measuring eyes-to-phone distances in various angles, using the built-in front-facing-camera and TrueDepth sensor. The actual position of the phone is precisely controlled and recorded, by fixing the head position and placing the phone in a robotic arm. Our results indicate that ARKit is capable of producing accurate measurements, with overall errors ranging between 0.88% and 9.07% from the actual distance, across various head positions. The accuracy of ARKit may be impacted by several factors such as head size, position, device model, and temperature. Our findings suggest that ARKit is a useful tool in the development of applications aimed at preventing eye damage caused by smartphone use.