Skip to main content

DeepTagRec: A Content-cum-User Based Tag Recommendation Framework for Stack Overflow

  • Conference paper
  • First Online:
Advances in Information Retrieval (ECIR 2019)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 11438))

Included in the following conference series:

Abstract

In this paper, we develop a content-cum-user based deep learning framework DeepTagRec to recommend appropriate question tags on Stack Overflow. The proposed system learns the content representation from question title and body. Subsequently, the learnt representation from heterogeneous relationship between user and tags is fused with the content representation for the final tag prediction. On a very large-scale dataset comprising half a million question posts, DeepTagRec beats all the baselines; in particular, it significantly outperforms the best performing baseline TagCombine achieving an overall gain of 60.8% and 36.8% in precision@3 and recall@10 respectively. DeepTagRec also achieves 63% and 33.14% maximum improvement in exact-k accuracy and top-k accuracy respectively over TagCombine.

S. K. Maity—Most of the work was done when all the authors were at IIT Kharagpur, India. We also acknowledge Prithwish Mukherjee, Shubham Saxena, Robin Singh, Chandra Bhanu Jha for helping us in various stages of this project.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    http://del.icio.us.

  2. 2.

    http://www.flickr.com.

  3. 3.

    The codes and data are available at https://bit.ly/2HsVhWC.

  4. 4.

    Avg. length of questions is 129 words. For question length <300, we pad them with zero vectors.

References

  1. Ding, Z., Qiu, X., Zhang, Q., Huang, X.: Learning topical translation model for microblog hashtag suggestion. In: IJCAI (2013)

    Google Scholar 

  2. Fu, W.T.: The microstructures of social tagging: a rational model. In: CSCW, pp. 229–238 (2008)

    Google Scholar 

  3. Godin, F., Slavkovikj, V., De Neve, W., Schrauwen, B., Van de Walle, R.: Using topic models for Twitter hashtag recommendation, pp. 593–596 (2013)

    Google Scholar 

  4. Gong, Y., Zhang, Q., Huang, X.: Hashtag recommendation using Dirichlet process mixture models incorporating types of hashtags, pp. 401–410 (2015)

    Google Scholar 

  5. Grover, A., Leskovec, J.: node2vec: scalable feature learning for networks. In: KDD (2016)

    Google Scholar 

  6. Heymann, P., Ramage, D., Garcia-Molina, H.: Social tag prediction. In: SIGIR, pp. 531–538 (2008)

    Google Scholar 

  7. Hu, J., Wang, B., Tao, Z.: Personalized tag recommendation using social contacts. In: Proceedings of SRS 2011, in Conjunction with CSCW, pp. 33–40 (2011)

    Google Scholar 

  8. Joulin, A., Grave, E., Bojanowski, P., Mikolov, T.: Bag of tricks for efficient text classification. arXiv preprint arXiv:1607.01759 (2016)

  9. Krestel, R., Fankhauser, P., Nejdl, W.: Latent Dirichlet allocation for tag recommendation. In: RecSys, pp. 61–68 (2009)

    Google Scholar 

  10. Liu, Z., Chen, X., Sun, M.: A simple word trigger method for social tag suggestion. In: EMNLP, pp. 1577–1588 (2011)

    Google Scholar 

  11. Liu, Z., Liang, C., Sun, M.: Topical word trigger model for keyphrase extraction. In: COLING, pp. 1715–1730 (2012)

    Google Scholar 

  12. Lu, Y.T., Yu, S.I., Chang, T.C., Hsu, J.Y.J.: A content-based method to enhance tag recommendation. In: IJCAI, vol. 9, pp. 2064–2069 (2009)

    Google Scholar 

  13. Ma, Z., Sun, A., Yuan, Q., Cong, G.: Tagging your tweets: a probabilistic modeling of hashtag annotation in Twitter. In: CIKM, pp. 999–1008 (2014)

    Google Scholar 

  14. Mikolov, T., Chen, K., Corrado, G., Dean, J.: Efficient estimation of word representations in vector space. arXiv preprint arXiv:1301.3781 (2013)

  15. Nie, L., Zhao, Y.L., Wang, X., Shen, J., Chua, T.S.: Learning to recommend descriptive tags for questions in social forums. ACM TOIS 32(1), 5 (2014)

    Article  Google Scholar 

  16. Rendle, S., Schmidt-Thieme, L.: Pairwise interaction tensor factorization for personalized tag recommendation. In: WSDM, pp. 81–90 (2010)

    Google Scholar 

  17. Sen, S., et al.: Tagging, communities, vocabulary, evolution, pp. 181–190 (2006)

    Google Scholar 

  18. She, J., Chen, L.: TOMOHA: topic model-based hashtag recommendation on Twitter. In: WWW Companion, pp. 371–372 (2014)

    Google Scholar 

  19. Song, Y., et al.: Real-time automatic tag recommendation. In: SIGIR, pp. 515–522 (2008)

    Google Scholar 

  20. Wang, X.Y., Xia, X., Lo, D.: TagCombine: recommending tags to contents in software information sites. J. Comput. Sci. 30(5), 1017–1035 (2015)

    Article  Google Scholar 

  21. Weston, J., Chopra, S., Adams, K.: #TagSpace: semantic embeddings from hashtags. In: EMNLP, pp. 1822–1827 (2014)

    Google Scholar 

  22. Wu, Y., Wu, W., Li, Z., Zhou, M.: Improving recommendation of tail tags for questions in community question answering. In: AAAI (2016)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Suman Kalyan Maity .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Maity, S.K., Panigrahi, A., Ghosh, S., Banerjee, A., Goyal, P., Mukherjee, A. (2019). DeepTagRec: A Content-cum-User Based Tag Recommendation Framework for Stack Overflow. In: Azzopardi, L., Stein, B., Fuhr, N., Mayr, P., Hauff, C., Hiemstra, D. (eds) Advances in Information Retrieval. ECIR 2019. Lecture Notes in Computer Science(), vol 11438. Springer, Cham. https://doi.org/10.1007/978-3-030-15719-7_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-15719-7_16

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-15718-0

  • Online ISBN: 978-3-030-15719-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics