Objective: Health recommendation systems suggest behavioral modifications to improve quality of life. However, current approaches do not facilitate the generation or examination of such recommendations considering the multifeature longitudinal evolution of behaviors. This paper proposes the use of a deep learning transformer-based model that allows the analysis of recommendations for behavior changes. Methods: We adapted a prediction approach, namely Behavior Sequence Transformer (BST), which analyzes temporal human routines and patterns, generating inductive outcomes. The evaluation relied on a case study that employed the behavioral history and profile of the English Longitudinal Study of Ageing (ELSA) participants (n = 2682), predicting their psychological mood (normal, pre-depressed, depressed) according to input recommendations for behavioral changes. Root mean squared error (RMSE) and learning curves were used to track the recommendation accuracy evolution and possible overfitting problems. Results: Experiments demonstrated lower RMSE values for the multifeature model (0.28/0.03) when compared to its single-feature versions (marital status, 0.59/0.001), (high pressure, 0.357/0.04), (diabetes, 0.36/0.01), (sleep quality, 0.57/0.02), (level of physical activity, 0.57/0.01). Conclusions: The results demonstrate the architecture's capability to analyze multifeatured longitudinal data, supporting the generation of suggestions for concurrent modifications across multiple input features. Moreover, these suggestions align with findings in specialized literature.
Keywords: Healthy behavior; deep learning; inductive reasoning; recommendations.