Cargando…
Improving Human Happiness Analysis Based on Transfer Learning: Algorithm Development and Validation
BACKGROUND: Happiness refers to the joyful and pleasant emotions that humans produce subjectively. It is the positive part of emotions, and it affects the quality of human life. Therefore, understanding human happiness is a meaningful task in sentiment analysis. OBJECTIVE: We mainly discuss 2 facets...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
JMIR Publications
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8380587/ https://www.ncbi.nlm.nih.gov/pubmed/34383680 http://dx.doi.org/10.2196/28292 |
_version_ | 1783741227037884416 |
---|---|
author | Yu, Lele Zhang, Shaowu Zhang, Yijia Lin, Hongfei |
author_facet | Yu, Lele Zhang, Shaowu Zhang, Yijia Lin, Hongfei |
author_sort | Yu, Lele |
collection | PubMed |
description | BACKGROUND: Happiness refers to the joyful and pleasant emotions that humans produce subjectively. It is the positive part of emotions, and it affects the quality of human life. Therefore, understanding human happiness is a meaningful task in sentiment analysis. OBJECTIVE: We mainly discuss 2 facets (Agency/Sociality) of happiness in this paper. Through analysis and research on happiness, we can expand on new concepts that define happiness and enrich our understanding of emotions. METHODS: This paper treated each happy moment as a sequence of short sentences, then proposed a short happiness detection model based on transfer learning to analyze the Agency and Sociality aspects of happiness. First, we utilized the unlabeled training set to retrain the pretraining language model Bidirectional Encoder Representations from Transformers (BERT) and got a semantically enhanced language model happyBERT in the target domain. Then, we got several single text classification models by fine-tuning BERT and happyBERT. Finally, an improved voting strategy was proposed to integrate multiple single models, and “pseudo data” were introduced to retrain the combined models. RESULTS: The proposed approach was evaluated on the public dataset happyDB. Experimental results showed that our approach significantly outperforms the baselines. When predicting the Agency aspect of happiness, our approach achieved an accuracy of 0.8653 and an F1 score of 0.9126. When predicting Sociality, our approach achieved an accuracy of 0.9367 and an F1 score of 0.9491. CONCLUSIONS: By evaluating the dataset, the comparison results demonstrated the effectiveness of our approach for happiness analysis. Experimental results confirmed that our method achieved state-of-the-art performance and transfer learning effectively improved happiness analysis. |
format | Online Article Text |
id | pubmed-8380587 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | JMIR Publications |
record_format | MEDLINE/PubMed |
spelling | pubmed-83805872021-09-02 Improving Human Happiness Analysis Based on Transfer Learning: Algorithm Development and Validation Yu, Lele Zhang, Shaowu Zhang, Yijia Lin, Hongfei JMIR Med Inform Original Paper BACKGROUND: Happiness refers to the joyful and pleasant emotions that humans produce subjectively. It is the positive part of emotions, and it affects the quality of human life. Therefore, understanding human happiness is a meaningful task in sentiment analysis. OBJECTIVE: We mainly discuss 2 facets (Agency/Sociality) of happiness in this paper. Through analysis and research on happiness, we can expand on new concepts that define happiness and enrich our understanding of emotions. METHODS: This paper treated each happy moment as a sequence of short sentences, then proposed a short happiness detection model based on transfer learning to analyze the Agency and Sociality aspects of happiness. First, we utilized the unlabeled training set to retrain the pretraining language model Bidirectional Encoder Representations from Transformers (BERT) and got a semantically enhanced language model happyBERT in the target domain. Then, we got several single text classification models by fine-tuning BERT and happyBERT. Finally, an improved voting strategy was proposed to integrate multiple single models, and “pseudo data” were introduced to retrain the combined models. RESULTS: The proposed approach was evaluated on the public dataset happyDB. Experimental results showed that our approach significantly outperforms the baselines. When predicting the Agency aspect of happiness, our approach achieved an accuracy of 0.8653 and an F1 score of 0.9126. When predicting Sociality, our approach achieved an accuracy of 0.9367 and an F1 score of 0.9491. CONCLUSIONS: By evaluating the dataset, the comparison results demonstrated the effectiveness of our approach for happiness analysis. Experimental results confirmed that our method achieved state-of-the-art performance and transfer learning effectively improved happiness analysis. JMIR Publications 2021-08-06 /pmc/articles/PMC8380587/ /pubmed/34383680 http://dx.doi.org/10.2196/28292 Text en ©Lele Yu, Shaowu Zhang, Yijia Zhang, Hongfei Lin. Originally published in JMIR Medical Informatics (https://medinform.jmir.org), 06.08.2021. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work, first published in JMIR Medical Informatics, is properly cited. The complete bibliographic information, a link to the original publication on https://medinform.jmir.org/, as well as this copyright and license information must be included. |
spellingShingle | Original Paper Yu, Lele Zhang, Shaowu Zhang, Yijia Lin, Hongfei Improving Human Happiness Analysis Based on Transfer Learning: Algorithm Development and Validation |
title | Improving Human Happiness Analysis Based on Transfer Learning: Algorithm Development and Validation |
title_full | Improving Human Happiness Analysis Based on Transfer Learning: Algorithm Development and Validation |
title_fullStr | Improving Human Happiness Analysis Based on Transfer Learning: Algorithm Development and Validation |
title_full_unstemmed | Improving Human Happiness Analysis Based on Transfer Learning: Algorithm Development and Validation |
title_short | Improving Human Happiness Analysis Based on Transfer Learning: Algorithm Development and Validation |
title_sort | improving human happiness analysis based on transfer learning: algorithm development and validation |
topic | Original Paper |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8380587/ https://www.ncbi.nlm.nih.gov/pubmed/34383680 http://dx.doi.org/10.2196/28292 |
work_keys_str_mv | AT yulele improvinghumanhappinessanalysisbasedontransferlearningalgorithmdevelopmentandvalidation AT zhangshaowu improvinghumanhappinessanalysisbasedontransferlearningalgorithmdevelopmentandvalidation AT zhangyijia improvinghumanhappinessanalysisbasedontransferlearningalgorithmdevelopmentandvalidation AT linhongfei improvinghumanhappinessanalysisbasedontransferlearningalgorithmdevelopmentandvalidation |