# HairSentinel: a time-aware anomaly detection framework for forecasting hairfall trends using temporal fusion transformers

**Authors:** A. Anny Leema, T. Saktheshwaran, G. Reena Sri, P. Balakrishnan

PMC · DOI: 10.3389/frai.2025.1649740 · 2025-10-14

## TL;DR

HairSentinel uses advanced models to detect unusual hairfall trends over time, helping identify health risks early.

## Contribution

HairSentinel introduces a time-aware anomaly detection framework using Temporal Fusion Transformers for forecasting hairfall trends.

## Key findings

- The Temporal Fusion Transformer (TFT) model achieved 97.5% accuracy and 97.4% precision in detecting hairfall anomalies.
- The framework enables proactive detection of sudden changes in hairfall linked to hormonal fluctuations.
- The model helps identify health risks early and suggests dietary plans based on detected anomalies.

## Abstract

Hairfall is a primary concern for many individuals worldwide today. Hair strands may fall due to various conditions such as hereditary factors, scalp health issues, nutritional deficiencies, hormonal fluctuations, or irregular sleep cycles. Our study presents a novel approach to detecting hairfall trends over time. While traditional methods infer hairfall rates using CNN and SVM models—classifying types of hairfall based on high-resolution images and complex techniques—this study addresses the issue by analyzing user-provided data through simple, straightforward questions, maintaining ease of use. Each attribute is collected using a time-centric approach on a daily or weekly basis. For time series anomaly detection, we utilize LSTM, Random Forest, and the Temporal Fusion Transformer (TFT) to model hairfall fluctuations and compare them with the ARIMAX model across various metrics to identify the most suitable one. The TFT model is selected as the most suitable, with 97.5% accuracy and 97.4% precision over other models supporting anomaly detection. This allows us to establish normal margins of deviation from typical hair shedding cycles. This study enables the proactive detection of anomalies, indicating sudden increases or decreases in hairfall due to hormonal fluctuations. The results support the early identification of potential health risks before they become intensified and help suggest appropriate dietary plans.

## Full-text entities

- **Diseases:** nutritional deficiencies (MESH:D044342)

## Figures

19 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12558974/full.md

---
Source: https://tomesphere.com/paper/PMC12558974