Discovering Latent Emotional Stages in Heartbreak-Related Social Media Texts via Unsupervised Representation Learning
Abstract
This study presents an unsupervised computational framework for discovering latent emotional stages from large-scale heartbreak-related social media texts. The proposed approach leverages representation learning to identify stage structures directly from real-world textual data. A total of 12,908 comments were collected, and 10,675 valid samples were retained after preprocessing. Text representations were extracted using BERT embeddings, followed by UMAP for dimensionality reduction and K-means clustering for stage partitioning. The optimal number of clusters was determined using the silhouette coefficient. Experimental results demonstrate clear structural separability (silhouette = 0.411) and significant inter-stage differences in emotional intensity (F = 364.24, p < 0.001, η² = 0.064), as well as systematic variations in temporal expression patterns. These findings indicate that unsupervised representation learning can effectively uncover psychologically interpretable stage structures from large-scale social media texts.
References
- E. Kübler-Ross, On Death and Dying. New York, NY, USA: Macmillan, 1969.
- Duck, Steve. "A topography of relationship disengagement and dissolution." Personal relationships 4 (1982): 1-30.
- De Choudhury, Munmun, et al. "Predicting depression via social media." Proceedings of the international AAAI conference on web and social media. Vol. 7. No. 1. 2013.
- Chancellor, Stevie, Jessica L. Feuston, and Jayhyun Chang. "Contextual gaps in machine learning for mental illness prediction: The case of diagnostic disclosures." Proceedings of the ACM on Human-Computer Interaction 7.CSCW2 (2023): 1-27.
- Devlin, Jacob, et al. "BERT: Pre-training of deep bidirectional transformers for language understanding." Proceedings of the 2019 conference of the North American chapter of the Association for Computational Linguistics: Human Language Technologies, volume 1 (long and short papers). 2019.
- Cui, Yiming, et al. "Revisiting pre-trained models for Chinese natural language processing." Findings of the Association for Computational Linguistics: EMNLP 2020. 2020.
- Reimers, Nils, and Iryna Gurevych. "Sentence-bert: Sentence embeddings using siamese bert-networks." Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP). 2019.
- Calvo, Rafael A., and Sidney D'Mello. "Affect detection: An interdisciplinary review of models, methods, and their applications." IEEE Transactions on Affective Computing 1.1 (2010): 18-37.
- Abdullah, Tariq, and Ahmed Ahmet. "Deep learning in sentiment analysis: Recent architectures." ACM Computing Surveys 55.8 (2022): 1-37.
- McInnes, Leland, John Healy, and James Melville. "UMAP: Uniform manifold approximation and projection for dimension reduction." arXiv preprint arXiv: 1802.03426 (2018).
- Rousseeuw, Peter J. "Silhouettes: a graphical aid to the interpretation and validation of cluster analysis." Journal of computational and applied mathematics 20 (1987): 53-65.
- MacQueen, J. "Some methods for classification and analysis of multivariate observations." Proceedings of the 5th Berkeley Symposium on Mathematical Statistics and Probability/University of California Press. 1967.
- Tahir, Waleed Bin, et al. "Depression detection in social media: A comprehensive review of machine learning and deep learning techniques." IEEE Access 13 (2025): 12789-12818.
- Aggarwal, Charu C., and ChengXiang Zhai. "A survey of text clustering algorithms." Mining text data. Boston, MA: Springer US, 2012. pp. 77–128.
- Zhu, Zhengzhong, et al. "Matrix contrastive learning for short text clustering." International Conference on Neural Information Processing. Singapore: Springer Nature Singapore, 2023.