Transformer-Based Model for the Prediction of Sedentary Behavior Patterns Using Deep Learning models
Abstract
Sedentary behavior continues to be a major health concern, particularly as it correlates with various chronic conditions. While previous studies have focused on utilizing deep learning models, such as stacked LSTMs and CNNs, for predicting sedentary behavior patterns, these approaches face limitations in handling long-range dependencies and providing interpretability in predictions. This research proposes the application of transformer networks, known for their superior ability to capture temporal dependencies through self-attention mechanisms, to predict sedentary behavior more accurately and efficiently. The proposed model builds on previous approaches by integrating enhanced prediction capabilities, reducing error metrics such as MSE, RMSE, and MAPE, and offering improved sensitivity and specificity in classifying sedentary and active periods. Additionally, the attention mechanism offers greater interpretability, enabling the identification of key behavioral patterns and providing actionable insights for health interventions. Experimental results demonstrate an improvement in prediction accuracy, achieving 99.5% accuracy—surpassing previous models—and a 30-40% increase in computational efficiency. The approach is also validated with real-time feedback integration for continuous posture monitoring. This study represents a significant step forward in using deep learning techniques to mitigate sedentary health risks, offering a robust, scalable solution for health monitoring systems in both personal and workplace environments.DOI:
https://doi.org/10.31449/inf.v49i27.7855Downloads
Published
How to Cite
Issue
Section
License
Authors retain copyright in their work. By submitting to and publishing with Informatica, authors grant the publisher (Slovene Society Informatika) the non-exclusive right to publish, reproduce, and distribute the article and to identify itself as the original publisher.
All articles are published under the Creative Commons Attribution license CC BY 3.0. Under this license, others may share and adapt the work for any purpose, provided appropriate credit is given and changes (if any) are indicated.
Authors may deposit and share the submitted version, accepted manuscript, and published version, provided the original publication in Informatica is properly cited.







