journal article·2017-08-17Open access

Learning Word Embeddings with Chi-Square Weights for Healthcare Tweet Classification

Sicong Kuang, Brian Davison

Applied Sciences· Volume 7· Issue 8

Abstract

Twitter is a popular source for the monitoring of healthcare information and public disease. However, there exists much noise in the tweets. Even though appropriate keywords appear in the tweets, they do not guarantee the identification of a truly health-related tweet. Thus, the traditional keyword-based classification task is largely ineffective. Algorithms for word embeddings have proved to be useful in many natural language processing (NLP) tasks. We introduce two algorithms based on an existing word embedding learning algorithm: the continuous bag-of-words model (CBOW). We apply the proposed algorithms to the task of recognizing healthcare-related tweets. In the CBOW model, the vector representation of words is learned from their contexts. To simplify the computation, the context is represented by an average of all words inside the context window. However, not all words in the context window contribute equally to the prediction of the target word. Greedily incorporating all the words in the context window will largely limit the contribution of the useful semantic words and bring noisy or irrelevant words into the learning process, while existing word embedding algorithms also try to learn a weighted CBOW model. Their weights are based on existing pre-defined syntactic rules while ignoring the task of the learned embedding. We propose learning weights based on the words’ relative importance in the classification task. Our intuition is that such learned weights place more emphasis on words that have comparatively more to contribute to the later task. We evaluate the embeddings learned from our algorithms on two healthcare-related datasets. The experimental results demonstrate that embeddings learned from the proposed algorithms outperform existing techniques by a relative accuracy improvement of over 9%.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Topic Modeling · Text and Document Classification Technologies · Advanced Text Analysis Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science and Engineering, Lehigh University, 19 Memorial Dr. West, Bethlehem, PA 18015, USA

References (44)

Show source-provided references
1. Detecting influenza epidemics using search engine query data10.1038/nature07634 ↗
2. When Google got flu wrong10.1038/494155a ↗
3. Lamb, A., Paul, M.J., and Dredze, M. (2013, January 9–15). Separating Fact from Fear: Tracking Flu Infections on Twitter. Proceedings of the HLT-NAACL, Atlanta, GA, USA.
4. Wang, T., Brede, M., Ianni, A., and Mentzakis, E. (2017, January 6–10). Detecting and Characterizing Eating-Disorder Communities on Social Media. Proceedings of the Tenth ACM International Conference on Web Search and Data Mining (WSDM), Cambridge, UK.10.1145/3018661.3018706 ↗
5. Signorini, A., Segre, A.M., and Polgreen, P.M. (2011). The use of Twitter to track levels of disease activity and public concern in the US during the influenza A H1N1 pandemic. PLoS ONE, 6.10.1371/journal.pone.0019467 ↗
6. Paul, M.J., and Dredze, M. (2011, January 17–21). You are what you Tweet: Analyzing Twitter for public health. Proceedings of the AAAI International Conference on Weblogs and Social Media (ICWSM), Barcelona, Spain.
7. Huang, X., Smith, M.C., Paul, M.J., Ryzhkov, D., Quinn, S.C., Broniatowski, D.A., and Dredze, M. (2017, January 4–5). Examining Patterns of Influenza Vaccination in Social Media. Proceedings of the AAAI Joint Workshop on Health Intelligence (W3PHIAI), San Francisco, CA, USA.
8. Ali, A., Magdy, W., and Vogel, S. (August, January 28). A tool for monitoring and analyzing healthcare tweets. Proceedings of the ACM SIGIR Workshop on Health Search & Discovery, Dublin, Ireland.
9. Mikolov, T., Sutskever, I., Chen, K., Corrado, G.S., and Dean, J. (2013, January 5–10). Distributed representations of words and phrases and their compositionality. Proceedings of the Advances in Neural Information Processing Systems (NIPS), Lake Tahoe, NV, USA.
10. Pennington, J., Socher, R., and Manning, C.D. (2014, January 25–29). GloVe: Global Vectors for Word Representation. Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1162 ↗
11. Liu, Q., Ling, Z.H., Jiang, H., and Hu, Y. (arXiv, 2016). Part-of-Speech Relevance Weights for Learning Word Embeddings, arXiv.
12. Natural language processing (almost) from scratch
13. Tang, D., Wei, F., Yang, N., Zhou, M., Liu, T., and Qin, B. (2014, January 23–25). Learning Sentiment-Specific Word Embedding for Twitter Sentiment Classification. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, Baltimore, MD, USA.10.3115/v1/P14-1146 ↗
14. Ling, W., Dyer, C., Black, A., and Trancoso, I. (June, January 31). Two/too simple adaptations of word2vec for syntax problems. Proceedings of the 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Denver, CO, USA.10.3115/v1/N15-1142 ↗
15. Chen, Y., Perozzi, B., Al-Rfou, R., and Skiena, S. (2013, January 16). The Expressive Power of Word Embeddings. Proceedings of the ICML 2013 Workshop on Deep Learning for Audio, Speech, and Language Processing, Atlanta, GA, USA.
16. Levy, O., and Goldberg, Y. (2014, January 23–25). Dependency-Based Word Embeddings. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics, Baltimore, MD, USA.10.3115/v1/P14-2050 ↗
17. Qiu, L., Cao, Y., Nie, Z., Yu, Y., and Rui, Y. (2014, January 27–31). Learning Word Representation Considering Proximity and Ambiguity. Proceedings of the AAAI, Québec City, QC, Canada.10.1609/aaai.v28i1.8936 ↗
18. Comparing explicit and predictive distributional semantic models endowed with syntactic contexts10.1007/s10579-016-9357-4 ↗
19. Howell, D.C. (2011). Chi-square test: Analysis of contingency tables. International Encyclopedia of Statistical Science, Springer.10.1007/978-3-642-04898-2_174 ↗
20. A model for mining public health topics from Twitter
21. Latent dirichlet allocation
22. Distributional structure10.1080/00437956.1954.11659520 ↗
23. Firth, J.R. (1957). A synopsis of linguistic theory 1930–1955. Studies in Linguistic Analysis (Special Volume of the Philological Society), Blackwell.
24. Clark, S. (2014). Vector space models of lexical meaning. Handbook of Contemporary Semantics, University of Cambridge Computer Laboratory.10.1002/9781118882139.ch16 ↗
26. A solution to Plato’s problem: The latent semantic analysis theory of acquisition, induction, and representation of knowledge10.1037/0033-295X.104.2.211 ↗
27. Singular value decomposition and least squares solutions10.1007/BF02163027 ↗
28. Similarity of semantic relations10.1162/coli.2006.32.3.379 ↗
29. Dependency-based construction of semantic space models10.1162/coli.2007.33.2.161 ↗
30. A neural probabilistic language model
31. Tian, F., Dai, H., Bian, J., Gao, B., Zhang, R., Chen, E., and Liu, T.Y. (2014, January 23–29). A Probabilistic Model for Learning Multi-Prototype Word Embeddings. Proceedings of the 25th Annual Conference on Computational Linguistics (COLING), Dublin, Ireland.
32. Finkelstein, L., Gabrilovich, E., Matias, Y., Rivlin, E., Solan, Z., Wolfman, G., and Ruppin, E. (2001, January 1–5). Placing search in context: The concept revisited. Proceedings of the 10th International Conference on World Wide Web, Hong Kong, China.10.1145/371920.372094 ↗
33. Trask, A., Michalak, P., and Liu, J. (arXiv, 2015). Sense2vec—A Fast and Accurate Method for Word Sense Disambiguation in Neural Word Embeddings, arXiv.
34. Zhang, Z., Brewster, C., and Ciravegna, F. (2008, January 28–30). A Comparative Evaluation of Term Recognition Algorithms. Proceedings of the Sixth International Conference on Language Resources and Evaluation (LREC 2008), Marrakech, Morocco.
35. Kholghi, M., Vine, L.D., Sitbon, L., Zuccon, G., and Nguyen, A.N. (2016, January 5–7). The Benefits of Word Embeddings Features for Active Learning in Clinical Information Extraction. Proceedings of the Australasian Language Technology Association Workshop 2016, Caulfield, Australia.
36. Choi, Y., Chiu, C.Y.I., and Sontag, D. (2016, January 21–24). Learning low-dimensional representations of medical concepts. Proceedings of the AMIA Summits on Translational Science, San Francisco, CA, USA.
37. Kotz, S., and Johnson, N.L. (1992). On the Criterion that a given system of deviations from the probable in the case of a correlated system of variables is such that it can be reasonably supposed to have arisen from random sampling. Breakthroughs in Statistics: Methodology and Distribution, Springer.
38. Manning, C.D., Surdeanu, M., Bauer, J., Finkel, J., Bethard, S.J., and McClosky, D. (2014, January 22–27). The Stanford CoreNLP Natural Language Processing Toolkit. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics: System Demonstrations, Baltimore, MD, USA.10.3115/v1/P14-5010 ↗
39. Understanding inverse document frequency: On theoretical arguments for IDF10.1108/00220410410560582 ↗
40. Support-vector networks10.1007/BF00994018 ↗
41. LIBLINEAR: A library for large linear classification
42. Kim, Y. (2014, January 25–29). Convolutional neural networks for sentence classification. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha, Qatar.10.3115/v1/D14-1181 ↗
43. Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G.S., Davis, A., Dean, J., and Devin, M. (2017, June 16). TensorFlow: Large-Scale Machine Learning on Heterogeneous Systems. Available online: tensorflow.org.
44. Buitinck, L., Louppe, G., Blondel, M., Pedregosa, F., Mueller, A., Grisel, O., Niculae, V., Prettenhofer, P., Gramfort, A., and Grobler, J. (2013, January 23–27). API design for machine learning software: Experiences from the scikit-learn project. Proceedings of the ECML/PKDD Workshop: Languages for Data Mining and Machine Learning, Prague, Czech Republic.