Skip to main content

Hybrid Method for Short Text Topic Modeling

  • Conference paper
  • First Online:
Recent Challenges in Intelligent Information and Database Systems (ACIIDS 2023)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 1863))

Included in the following conference series:

  • 547 Accesses

Abstract

The rise in social media’s popularity has led to a significant increase in user-generated content across various topics. Extracting information from these data can be valuable for different domains, however, due to the nature of the vast volume it is not possible to extract information manually. Different aspects of information extraction have been introduced in literature including identifying what topic is discussed in the text. The challenge becomes even bigger when the text is short, such as found in social media. Various methods for topic modeling have been proposed in the literature that could be generally categorized as unsupervised and supervised learning. However, unsupervised topic modeling methods have some shortcomings, such as semantic loss and poor explanation, and are sensitive to the choice of parameters, such as the number of topics. While supervised machine learning methods based on deep learning can achieve high accuracy they need data annotated by humans, which is time-consuming and costly. To overcome the above mentioned disadvantages this work proposes a hybrid topic modeling method that combines the advantages of both unsupervised and supervised methods. We built a hybrid model by combining Latent Dirichlet Allocation (LDA) and deep learning built on top of the Bidirectional Encoder Representations from the Transformers (BERT) model. LDA is used to identify the optimal number of topics and topic-relevant keywords where the only need for human input, with the aid of ChatGPT, is to identify associated topics based on topic-specific keywords. This annotation is used to train and fine-tune the BERT model. In the experimental evaluation of posts related to climate change, we show that the proposed concept is applicable for predicting topics from short text without the need for lengthy and costly annotation.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://openai.com/blog/chatgpt.

  2. 2.

    https://pypi.org/project/gensim/.

  3. 3.

    https://chat.openai.com/.

  4. 4.

    http://jalammar.github.io/illustrated-bert/.

References

  1. Albalawi, R., Yeap, T.H., Benyoucef, M.: Using topic modeling methods for short-text data: a comparative analysis. Front. Artif. Intell. 3, 42 (2020)

    Article  Google Scholar 

  2. Becken, S., Friedl, H., Stantic, B., Connolly, R.M., Chen, J.: Climate crisis and flying: social media analysis traces the rise of ‘flightshame’. J. Sustain. Tourism 29, 1450–1469 (2021)

    Article  Google Scholar 

  3. Blei, D., Carin, L., Dunson, D.: Probabilistic topic models. IEEE Signal Process. Mag. 27(6), 55–65 (2010)

    Google Scholar 

  4. Blei, D.M., Lafferty, J.D.: A correlated topic model of science (2007)

    Google Scholar 

  5. Blei, D.M., Ng, A.Y., Jordan, M.I.: Latent dirichlet allocation. J. Mach. Learn. Res. 3(Jan), 993–1022 (2003)

    Google Scholar 

  6. Chen, J., Stantic, B., Chen, J.: Age prediction of social media users: case study on robots in hospitality. In: Jo, J., et al. (eds.) Robot Intelligence Technology and Applications 7, RiTA 2022. Lecture Notes in Networks and Systems, vol. 642, pp. 426–437. Springer, Cham (2023). https://doi.org/10.1007/978-3-031-26889-2_39

    Chapter  Google Scholar 

  7. Chong, W., Blei, D., Li, F.F.: Simultaneous image classification and annotation. In: IEEE Conference on Computer Vision and Pattern Recognition, pp. 1903–1910 (2009)

    Google Scholar 

  8. Devlin, J., Chang, M.W., Lee, K., Toutanova, K.: BERT: pre-training of deep bidirectional transformers for language understanding. In: Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. NAACL-HLT, pp. 4171–4186 (2019)

    Google Scholar 

  9. Ding, K., Choo, W.C., Ng, K.Y., Ng, S.I., Song, P.: Exploring sources of satisfaction and dissatisfaction in Airbnb accommodation using unsupervised and supervised topic modeling. Front. Psychol. 12, 659481 (2021)

    Article  Google Scholar 

  10. Goutte, C., Gaussier, E.: A probabilistic interpretation of precision, recall and F-score, with implication for evaluation. In: Losada, D.E., Fernández-Luna, J.M. (eds.) ECIR 2005. LNCS, vol. 3408, pp. 345–359. Springer, Heidelberg (2005). https://doi.org/10.1007/978-3-540-31865-1_25

    Chapter  Google Scholar 

  11. Jedrzejowicz, J., Zakrzewska, M.: Text classification using LDA-W2V hybrid algorithm. In: Czarnowski, I., Howlett, R.J., Jain, L.C. (eds.) Intelligent Decision Technologies 2019. SIST, vol. 142, pp. 227–237. Springer, Singapore (2020). https://doi.org/10.1007/978-981-13-8311-3_20

    Chapter  Google Scholar 

  12. Landauer, T.K., Foltz, P.W., Laham, D.: An introduction to latent semantic analysis. Discourse Process. 25(2–3), 259–284 (1998)

    Article  Google Scholar 

  13. Ma, D., Rao, L., Wang, T.: An empirical study of SLDA for information retrieval. In: Salem, M.V.M., Shaalan, K., Oroumchian, F., Shakery, A., Khelalfa, H. (eds.) AIRS 2011. LNCS, vol. 7097, pp. 84–92. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-25631-8_8

    Chapter  Google Scholar 

  14. Mandal, R., Chen, J., Becken, S., Stantic, B.: Tweets topic classification and sentiment analysis based on transformer-based language models. Vietnam J. Comput. Sci. 10, 117–134 (2022)

    Article  Google Scholar 

  15. Mcauliffe, J., Blei, D.: Supervised topic models. In: Advances in Neural Information Processing Systems, vol. 20 (2007)

    Google Scholar 

  16. Ramage, D., Hall, D., Nallapati, R., Manning, C.D.: Labeled LDA: a supervised topic model for credit attribution in multi-labeled corpora. In: Conference on Empirical Methods in Natural Language Processing, pp. 248–256 (2009)

    Google Scholar 

  17. Song, W., Park, S.C.: A novel document clustering model based on latent semantic analysis. In: Third International Conference on Semantics, Knowledge and Grid (SKG 2007), pp. 539–542. IEEE (2007)

    Google Scholar 

  18. Steyvers, M., Griffiths, T.: Probabilistic topic models. In: Handbook of Latent Semantic Analysis, pp. 439–460. Psychology Press (2007)

    Google Scholar 

  19. Wang, X., Yang, Y.: Neural topic model with attention for supervised learning. In: Conference on Artificial Intelligence and Statistics, pp. 1147–1156 (2020)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bela Stantic .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Chen, J., Stantic, B. (2023). Hybrid Method for Short Text Topic Modeling. In: Nguyen, N.T., et al. Recent Challenges in Intelligent Information and Database Systems. ACIIDS 2023. Communications in Computer and Information Science, vol 1863. Springer, Cham. https://doi.org/10.1007/978-3-031-42430-4_13

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-42430-4_13

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-42429-8

  • Online ISBN: 978-3-031-42430-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics