Back

Comparison of LSTM and Transformer Models for Activities of Daily Living Recognition using In-Home Ambient Sensors

Abdalnabi, N.; Addepalli, V. r.; Sarker, S.; Kiselica, A.; Kummerfeld, E.; Rao, P.; Lee, K.

2026-01-06 health informatics
10.64898/2026.01.06.25342431 medRxiv
Show abstract

This study evaluated Long Short-Term Memory (LSTM) and Transformer artificial intelligence (AI) models for recognizing Activities of Daily Living (ADLs) using data collected from a low-cost, non-invasive ambient in-home sensor system. Motion, temperature, luminance, and door-contact sensors were deployed in a two-participant home for 22 days, with ground truth established through volunteer logs and expert validation. Missing data were handled using Akima and linear interpolation. Models were trained using a 16/3-day train-validation split with the last three days reserved for testing to avoid temporal leakage. Performance assessments included participant-specific modeling, sequence-length variation, and hyperparameter tuning, using micro-accuracy and AUC-ROC as evaluation metrics. The Transformer consistently outperformed the LSTM, particularly for Participant 2 (AUC 0.91 vs. 0.87), and demonstrated superior adaptability to irregular time-series data. Findings underscore the feasibility of combining ambient sensing with AI for accurate ADL recognition and its potential to enable early detection of cognitive decline, reduce hospitalization risk, and alleviate caregiver burden.

Matching journals

The top 6 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.