Analyzing Generation Z's Sentiment on Working Hours and Mental Health Using IndoBERT: Evidence from TikTok Discussions


Authors

  • Alfilia Hilda Rahmatika Telkom University Purwokerto, Purwokerto, Indonesia
  • Bella Okta Sari Miranda Telkom University Purwokerto, Purwokerto, Indonesia
  • Imam Adiyana Telkom University Purwokerto, Purwokerto, Indonesia
  • Isyiffah Falujjah Anugrah Putri Telkom University Purwokerto, Purwokerto, Indonesia

DOI:

https://doi.org/10.47065/bulletincsr.v6i5.1292

Keywords:

BERT-base Multilingual; Generation Z; Mental Health; Sentiment Analysis; Working Hours

Abstract

Working hours exceeding recommended limits may increase burnout, psychological stress, and sleep disturbances, particularly among Generation Z, who highly value mental health and work-life balance. Although public opinions on this issue are increasingly expressed on social media, most existing studies rely on conventional machine learning methods or lexicon-based labeling, which are less effective at capturing contextual meaning and linguistic nuance in informal social media text. To address this gap, this study proposes a transformer-based sentiment analysis framework that employs a fine-tuned BERT-based Multilingual model as the primary sentiment classifier, rather than merely as an automatic labeling tool, to analyze Generation Z's sentiment toward working hours and mental health based on TikTok comments. A total of 2,203 comments were collected through web scraping and processed using cleaning, normalization, tokenization, and BERT-based zero-shot sentiment labeling before being used to fine-tune the classification model. The model was evaluated using accuracy, precision, recall, and F1-score. The results indicate that negative sentiment dominated the dataset (41.13%), followed by positive (37.49%) and neutral (21.38%) sentiments. Frequently occurring terms, such as working hours, work, and resigning, suggest that users' concerns mainly relate to long working hours and the intention to leave their jobs. The fine-tuned model achieved excellent classification performance, although a gap between training and validation performance indicates the need for improved generalization. These findings demonstrate that BERT-based sentiment analysis can provide valuable insights for organizations, policymakers, and human resource practitioners in developing more flexible working-hour policies and mental health support programs tailored to Generation Z.

Downloads

Download data is not yet available.

References

W. H. O. World Health Organization, WHO Guidelines on Mental Health at Work. Geneva: World Health Organization (WHO), 2022. [Online]. Available: https://www.ncbi.nlm.nih.gov/books/NBK586384/

I. L. O. International Labour Organization, Working Time and Work-Life Balance Around the World, First edit. International Labour Organization (ILO), 2023. [Online]. Available: https://www.ilo.org/publications/working-time-and-work-life-balance-around-world

S. U. Baek, Y. M. Lee, J. H. Yoon, and J. U. Won, “Long Working Hours, Work-life Imbalance, and Poor Mental Health: A Cross-sectional Mediation Analysis Based on the Sixth Korean Working Conditions Survey, 2020–2021,” J. Epidemiol., vol. 34, no. 11, pp. 535–542, 2024, doi: 10.2188/jea.JE20230302.

A. S. Rivera, M. Akanbi, L. C. O’Dwyer, and M. McHugh, “Shift Work and Long Work Hours and their Association with Chronic Health Conditions: A systematic Review of Systematic Reviews with Meta-Analyses,” PLoS One, vol. 15, no. 4, p. e0231037, Apr. 2020, doi: 10.1371/journal.pone.0231037.

X. Niu, C. Li, and Y. Xia, “How does working time impact perceived mental disorders? New insights into the U-shaped relationship,” Front. Public Heal., vol. 2, 2024, doi: https://doi.org/10.3389/fpubh.2024.1402428.

X. Chen, M. Masukujjaman, A. Al Mamun, J. Gao, and Z. K. M. Makhbul, “Modeling the significance of work culture on burnout, satisfaction, and psychological distress among the Gen-Z workforce in an emerging country,” Humanit. Soc. Sci. Commun., vol. 10, no. 1, p. 828, Nov. 2023, doi: 10.1057/s41599-023-02371-w.

A. S. George, “The " Anti-Hustle " Ethos Among Generation Z Workers?: An Investigation into Shifting Attitudes Towards Work-Life Balance Partners Universal Innovative Research Publication ( PUIRP ),” no. October, pp. 96–109, 2024, doi: 10.5281/zenodo.13993431.

B. P. S. Badan Pusat Statistik, “Keadaan Pekerja di Indonesia Agustus 2025,” Jakarta, 2025. [Online]. Available: https://www.bps.go.id/id/publication/2025/12/23/5fe58c9723acafc73fb95bff/keadaan-pekerja-di-indonesia-agustus-2025.html

E. Codd, “World Mental Health Day 2025: Gen Zs and millennials on mental well-being at work,” Deloitte, 2025. [Online]. Available: https://www.deloitte.com/global/en/issues/work/world-mental-health-day.html

Z. Xueyun, A. Al Mamun, M. Masukujjaman, M. K. Rahman, J. Gao, and Q. Yang, “Modelling the significance of organizational conditions on quiet quitting intention among Gen Z workforce in an emerging economy,” Sci. Rep., vol. 13, no. 1, p. 15438, Sep. 2023, doi: 10.1038/s41598-023-42591-3.

D. Listiorini, F. Feriandy, and W. Ningsih, “Work Life Balance and Mental Health Being of Generation Z in the Digital Industry,” Int. J. Asian Bus. Manag., vol. 4, no. 2, pp. 285–294, Apr. 2025, doi: 10.55927/ijabm.v4i2.170.

I. Falujjah, A. Putri, A. H. Rahmatika, B. Okta, and S. Miranda, “Understanding Generation Z ’ s Mental Health in Relation to Working Hours?: A TikTok Sentiment Analysis Approach,” Multi Data Palembang Student Conf., vol. 5, no. 1, pp. 252–262, 2026.

M. D. Al Fahreza, A. Luthfiarta, M. Rafid, and M. Indrawan, “Analisis Sentimen: Pengaruh Jam Kerja Terhadap Kesehatan Mental Generasi Z,” J. Appl. Comput. Sci. Technol., vol. 5, no. 1, pp. 16–25, Feb. 2024, doi: 10.52158/jacost.v5i1.715.

N. Z. Farsya, A. Luthfiarta, Z. N. Maharani, and S. P. Ganiswari, “Optimizing Sentiment Analysis of Working Hours Impact on Generation Z’s Mental Health Using Backpropagation,” J. MEDIA Inform. BUDIDARMA, vol. 8, no. 3, p. 1555, Jul. 2024, doi: 10.30865/mib.v8i3.7827.

M. M. Hossain, Sanjara, M. S. Hossain, S. Chaki, M. S. Rahman, and A. B. M. S. Ali, “Revolutionizing Mental Health Sentiment Analysis With BERT-Fuse: A Hybrid Deep Learning Model,” IEEE Access, vol. 13, no. May, pp. 85428–85446, 2025, doi: 10.1109/ACCESS.2025.3568340.

H.-L. Lin and W.-H. Liu, “The Impact of Night Shifts, Tobacco Dependence, Health Awareness, and Depression Risk on Chronic Disease Risk Among Generation Z Overtime Workers During the COVID-19 Pandemic,” Healthcare, vol. 13, no. 5, p. 569, Mar. 2025, doi: 10.3390/healthcare13050569.

A. M. Matilda, A. I. W. B. Prisca, and D. Darmanto, “UNDERSTANDING GEN Z’S MENTAL HEALTH CHALLENGES,” Phenom. Multidiscip. J. Sci. Res., vol. 3, no. 1, pp. 38–52, Feb. 2025, doi: 10.62668/phenomenon.v3i1.1402.

F. Koto, A. Rahimi, J. H. Lau, and T. Baldwin, “IndoLEM and IndoBERT: A Benchmark Dataset and Pre-trained Language Model for Indonesian NLP,” 2020, doi: https://doi.org/10.48550/arXiv.2011.00677.

J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” in Proceedings of the 2019 Conference of the North, 2019, pp. 4171–4186. doi: 10.18653/v1/N19-1423.

S. K. Khatri and A. Srivastava, “Using Sentimental Analysis in Prediction of Stock Market Investment,” in 2016 5th International Conference on Reliability, Infocom Technologies and Optimization (Trends and Future Directions) (ICRITO), Sep. 2016, pp. 566–569. doi: 10.1109/ICRITO.2016.7785019.

A.-M. Iddrisu, S. Mensah, F. Boafo, G. R. Yeluripati, and P. Kudjo, “A sentiment Analysis Framework to Classify Instances of Sarcastic Sentiments Within the Aviation Sector,” Int. J. Inf. Manag. Data Insights, vol. 3, no. 2, p. 100180, Nov. 2023, doi: 10.1016/j.jjimei.2023.100180.

M. Isnan, G. N. Elwirehardja, and B. Pardamean, “Sentiment Analysis for TikTok Review Using VADER Sentiment and SVM Model,” Procedia Comput. Sci., vol. 227, pp. 168–175, 2023, doi: 10.1016/j.procs.2023.10.514.

L. Zhang, S. Wang, and B. Liu, “Deep Learning for Sentiment Analysis: A Survey,” WIREs Data Min. Knowl. Discov., vol. 8, no. 4, Jul. 2018, doi: 10.1002/widm.1253.

N. Darraz, I. Karabila, A. El-Ansari, N. Alami, and M. El Mallahi, “Integrated Sentiment Analysis with BERT for Enhanced Hybrid Recommendation Systems,” Expert Syst. Appl., vol. 261, p. 125533, Feb. 2025, doi: 10.1016/j.eswa.2024.125533.

A. S. Talaat, “Sentiment analysis classification system using hybrid BERT models,” J. Big Data, vol. 10, no. 1, p. 110, Jun. 2023, doi: 10.1186/s40537-023-00781-w.

R. Obiedat, D. Al-Darras, E. Alzaghoul, and O. Harfoushi, “Arabic Aspect-Based Sentiment Analysis: A Systematic Literature Review,” IEEE Access, vol. 9, pp. 152628–152645, 2021, doi: 10.1109/ACCESS.2021.3127140.

K. Chakraborty, S. Bhattacharyya, R. Bag, and L. Mrši?, “Sentiment Analysis on Labeled and Unlabeled Datasets Using BERT Architecture,” Soft Comput., vol. 28, no. 15–16, pp. 8623–8640, Aug. 2024, doi: 10.1007/s00500-023-08876-5.

J. Cui, Z. Wang, S.-B. Ho, and E. Cambria, “Survey on Sentiment Analysis: Evolution of Research Methods and Topics,” Artif. Intell. Rev., vol. 56, no. 8, pp. 8469–8510, Aug. 2023, doi: 10.1007/s10462-022-10386-z.

B. Wan, P. Wu, C. K. Yeo, and G. Li, “Emotion-cognitive Reasoning Integrated BERT for Sentiment Analysis of Online Public Opinions on Emergencies,” Inf. Process. Manag., vol. 61, no. 2, p. 103609, Mar. 2024, doi: 10.1016/j.ipm.2023.103609.

M. P. Geetha and D. Karthika Renuka, “Improving the Performance of Aspect Based Sentiment Analysis Using Fine-Tuned Bert Base Uncased Model,” Int. J. Intell. Networks, vol. 2, pp. 64–69, 2021, doi: 10.1016/j.ijin.2021.06.005.

C. H. Miranda, G. Sanchez-Torres, and D. Salcedo, “Exploring the Evolution of Sentiment in Spanish Pandemic Tweets: A Data Analysis Based on a Fine-Tuned BERT Architecture,” Data, vol. 8, no. 6, p. 96, May 2023, doi: 10.3390/data8060096.

N. J. Prottasha et al., “Transfer Learning for Sentiment Analysis Using BERT Based Supervised Fine-Tuning,” Sensors, vol. 22, no. 11, p. 4157, May 2022, doi: 10.3390/s22114157.

A. Borg and M. Boldt, “Using VADER Sentiment and SVM for Predicting Customer Response Sentiment,” Expert Syst. Appl., vol. 162, p. 113746, Dec. 2020, doi: 10.1016/j.eswa.2020.113746.

A. Iqbal, R. Amin, J. Iqbal, R. Alroobaea, A. Binmahfoudh, and M. Hussain, “Sentiment Analysis of Consumer Reviews Using Deep Learning,” Sustainability, vol. 14, no. 17, p. 10844, Aug. 2022, doi: 10.3390/su141710844.


Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Analyzing Generation Z's Sentiment on Working Hours and Mental Health Using IndoBERT: Evidence from TikTok Discussions

Dimensions Badge

ARTICLE HISTORY

Published: 2026-08-09

Abstract View: 2 times
PDF Download: 0 times

How to Cite

Rahmatika, A. H., Miranda, B. O. S., Adiyana, I., & Putri, I. F. A. . (2026). Analyzing Generation Z’s Sentiment on Working Hours and Mental Health Using IndoBERT: Evidence from TikTok Discussions. Bulletin of Computer Science Research, 6(5), 1909-1918. https://doi.org/10.47065/bulletincsr.v6i5.1292

Issue

Section

Articles

Most read articles by the same author(s)