ABSTRACTNail‐biting (NB) or onychophagia is a compulsive disorder that affects millions of people in both children and adults. It has several health complications and negative social effects. Treatments include surgical interventions, pharmacological medications, or additionally, it can be treated using behavioral modification therapies that utilize positive reinforcement and periodical reminders. Although it is the least invasive, such therapies still depend on manual monitoring and tracking which limits their success. In this work, we propose a novel approach for automatic real‐time NB detection and alert on a smartwatch that does not require surgical intervention, medications, or manual habit monitoring. It addresses two key challenges: First, NB actions generate subtle motion patterns at the wrist that lead to a high false‐positives (FP) rate even when the hand is not on the face. Second, is the challenge to run power‐intensive applications on a power‐constrained edge device like a smartwatch. To overcome these challenges, our proposed approach implements a pipeline of three convolutional neural networks (CNN) models instead of a single model. The first two models are small and efficient, designed to detect face‐touch (FT) actions and hand movement away (MA) from the face. The third model is a larger and deeper CNN model dedicated to classifying hand actions on the face and detecting NB actions. This separation of tasks addresses the key challenges: decreasing FPs by ensuring NB model is activated only when the hand on the face, and optimizing power usage by ensuring the larger NB model runs only for short periods while the efficient FT model runs most of the time. In addition, this separation of tasks gives more freedom to design, configure, and optimize the three models based on each model task. Lastly, for training the main NB model, this work presents further optimizations including developing NB dataset from start through a dedicated data collection application, applying data augmentation, and utilizing several CNN optimization techniques during training. Results show that the model pipeline approach minimizes FPs significantly compared with the single model for NB detection while improving the overall efficiency.
Read full abstract