Skip to main content
Top
Published in: BMC Medical Informatics and Decision Making 1/2019

Open Access 01-12-2019 | Allergic Rhinitis | Research Article

Deep learning for pollen allergy surveillance from twitter in Australia

Authors: Jia Rong, Sandra Michalska, Sudha Subramani, Jiahua Du, Hua Wang

Published in: BMC Medical Informatics and Decision Making | Issue 1/2019

Login to get access

Abstract

Background

The paper introduces a deep learning-based approach for real-time detection and insights generation about one of the most prevalent chronic conditions in Australia - Pollen allergy. The popular social media platform is used for data collection as cost-effective and unobtrusive alternative for public health monitoring to complement the traditional survey-based approaches.

Methods

The data was extracted from Twitter based on pre-defined keywords (i.e. ’hayfever’ OR ’hay fever’) throughout the period of 6 months, covering the high pollen season in Australia. The following deep learning architectures were adopted in the experiments: CNN, RNN, LSTM and GRU. Both default (GloVe) and domain-specific (HF) word embeddings were used in training the classifiers. Standard evaluation metrics (i.e. Accuracy, Precision and Recall) were calculated for the results validation. Finally, visual correlation with weather variables was performed.

Results

The neural networks-based approach was able to correctly identify the implicit mentions of the symptoms and treatments, even unseen previously (accuracy up to 87.9% for GRU with GloVe embeddings of 300 dimensions).

Conclusions

The system addresses the shortcomings of the conventional machine learning techniques with manual feature-engineering that prove limiting when exposed to a wide range of non-standard expressions relating to medical concepts. The case-study presented demonstrates an application of ’black-box’ approach to the real-world problem, along with its internal workings demonstration towards more transparent, interpretable and reproducible decision-making in health informatics domain.
Appendix
Available only for authorised users
Footnotes
1
’Until date’ parameter excludes tweets posted on that date, of which the authors have been unaware (therefore the end-of-week gaps). It has been realised and corrected from October onwards.
 
Literature
1.
go back to reference Australian Institute of Health and Welfare (AIHW). Allergic rhinitis (’hay fever’). 2016. https://www.aihw.gov.au/reports/chronic-respiratory-conditions/allergic-r%hinitis-hay-fever/contents/ allergic-rhinitis-by-the-numbers. Accessed 30 Jan 2019. Australian Institute of Health and Welfare (AIHW). Allergic rhinitis (’hay fever’). 2016. https://​www.​aihw.​gov.​au/​reports/​chronic-respiratory-conditions/​allergic-r%hinitis-hay-fever/​contents/​ allergic-rhinitis-by-the-numbers. Accessed 30 Jan 2019.
2.
go back to reference Vigo M, Hassan L, Vance W, Jay C, Brass A, Cruickshank S. Britain breathing: using the experience sampling method to collect the seasonal allergy symptoms of a country. J Am Med Informa Assoc. 2017; 25(1):88–92.CrossRef Vigo M, Hassan L, Vance W, Jay C, Brass A, Cruickshank S. Britain breathing: using the experience sampling method to collect the seasonal allergy symptoms of a country. J Am Med Informa Assoc. 2017; 25(1):88–92.CrossRef
3.
go back to reference D’Amato G, Holgate ST, Pawankar R, Ledford DK, Cecchi L, Al-Ahmad M, Al-Enezi F, Al-Muhsen S, Ansotegui I, Baena-Cagnani CE, et al. Meteorological conditions, climate change, new emerging factors, and asthma and related allergic disorders. a statement of the world allergy organization. World Allergy Org J. 2015; 8(1):1. D’Amato G, Holgate ST, Pawankar R, Ledford DK, Cecchi L, Al-Ahmad M, Al-Enezi F, Al-Muhsen S, Ansotegui I, Baena-Cagnani CE, et al. Meteorological conditions, climate change, new emerging factors, and asthma and related allergic disorders. a statement of the world allergy organization. World Allergy Org J. 2015; 8(1):1.
4.
go back to reference Xia L, Wang GA, Fan W. A deep learning based named entity recognition approach for adverse drug events identification and extraction in health social media. In: International Conference on Smart Health. Hong Kong: Springer: 2017. p. 237–48. Xia L, Wang GA, Fan W. A deep learning based named entity recognition approach for adverse drug events identification and extraction in health social media. In: International Conference on Smart Health. Hong Kong: Springer: 2017. p. 237–48.
5.
go back to reference Nikfarjam A, Sarker A, O’connor K, Ginn R, Gonzalez G. Pharmacovigilance from social media: mining adverse drug reaction mentions using sequence labeling with word embedding cluster features. J Am Med Informa Assoc. 2015; 22(3):671–81. Nikfarjam A, Sarker A, O’connor K, Ginn R, Gonzalez G. Pharmacovigilance from social media: mining adverse drug reaction mentions using sequence labeling with word embedding cluster features. J Am Med Informa Assoc. 2015; 22(3):671–81.
6.
go back to reference Sarker A, Gonzalez G. Portable automatic text classification for adverse drug reaction detection via multi-corpus training. J Biomed Informa. 2015; 53:196–207.CrossRef Sarker A, Gonzalez G. Portable automatic text classification for adverse drug reaction detection via multi-corpus training. J Biomed Informa. 2015; 53:196–207.CrossRef
7.
go back to reference Patki A, Sarker A, Pimpalkhute P, Nikfarjam A, Ginn R, O’Connor K, Smith K, Gonzalez G. Mining adverse drug reaction signals from social media: going beyond extraction. Proc BioLinkSig. 2014; 2014:1–8. Patki A, Sarker A, Pimpalkhute P, Nikfarjam A, Ginn R, O’Connor K, Smith K, Gonzalez G. Mining adverse drug reaction signals from social media: going beyond extraction. Proc BioLinkSig. 2014; 2014:1–8.
8.
go back to reference Jonnagaddala J, Jue TR, Dai H-J. Binary classification of twitter posts for adverse drug reactions. In: Proceedings of the Social Media Mining Shared Task Workshop at the Pacific Symposium on Biocomputing, Big Island, HI, USA. Big Island, HI: PSB: 2016. p. 4–8. Jonnagaddala J, Jue TR, Dai H-J. Binary classification of twitter posts for adverse drug reactions. In: Proceedings of the Social Media Mining Shared Task Workshop at the Pacific Symposium on Biocomputing, Big Island, HI, USA. Big Island, HI: PSB: 2016. p. 4–8.
9.
go back to reference Scanfeld D, Scanfeld V, Larson EL. Dissemination of health information through social networks: Twitter and antibiotics. Am J Infect Cont. 2010; 38(3):182–8.CrossRef Scanfeld D, Scanfeld V, Larson EL. Dissemination of health information through social networks: Twitter and antibiotics. Am J Infect Cont. 2010; 38(3):182–8.CrossRef
10.
go back to reference Byrd K, Mansurov A, Baysal O. Mining twitter data for influenza detection and surveillance. In: Proceedings of the International Workshop on Software Engineering in Healthcare Systems. Austin: ACM: 2016. p. 43–9. Byrd K, Mansurov A, Baysal O. Mining twitter data for influenza detection and surveillance. In: Proceedings of the International Workshop on Software Engineering in Healthcare Systems. Austin: ACM: 2016. p. 43–9.
11.
go back to reference Culotta A. Towards detecting influenza epidemics by analyzing twitter messages. In: Proceedings of the First Workshop on Social Media Analytics. Washington DC: ACM: 2010. p. 115–22. Culotta A. Towards detecting influenza epidemics by analyzing twitter messages. In: Proceedings of the First Workshop on Social Media Analytics. Washington DC: ACM: 2010. p. 115–22.
12.
go back to reference Wang C-K, Singh O, Tang Z-L, Dai H-J. Using a recurrent neural network model for classification of tweets conveyed influenza-related information. In: Proceedings of the International Workshop on Digital Disease Detection Using Social Media 2017 (DDDSM-2017). Taipei: Asian Federation of Natural Language Processing: 2017. p. 33–38. Wang C-K, Singh O, Tang Z-L, Dai H-J. Using a recurrent neural network model for classification of tweets conveyed influenza-related information. In: Proceedings of the International Workshop on Digital Disease Detection Using Social Media 2017 (DDDSM-2017). Taipei: Asian Federation of Natural Language Processing: 2017. p. 33–38.
13.
go back to reference Lee K, Agrawal A, Choudhary A. Mining social media streams to improve public health allergy surveillance. In: 2015 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM). Paris: IEEE: 2015. p. 815–22. Lee K, Agrawal A, Choudhary A. Mining social media streams to improve public health allergy surveillance. In: 2015 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining (ASONAM). Paris: IEEE: 2015. p. 815–22.
14.
go back to reference de Quincey E. Potential of social media to determine hay fever seasons and drug efficacy. Planet@ Risk. 2014; 2(4):293–97. de Quincey E. Potential of social media to determine hay fever seasons and drug efficacy. Planet@ Risk. 2014; 2(4):293–97.
15.
go back to reference de Quincey E, Kyriacou T, Pantin T. # hayfever; a longitudinal study into hay fever related tweets in the uk. In: Proceedings of the 6th International Conference on Digital Health Conference. Montreal: ACM: 2016. p. 85–9. de Quincey E, Kyriacou T, Pantin T. # hayfever; a longitudinal study into hay fever related tweets in the uk. In: Proceedings of the 6th International Conference on Digital Health Conference. Montreal: ACM: 2016. p. 85–9.
16.
go back to reference Gesualdo F, Stilo G, D’Ambrosio A, Carloni E, Pandolfi E, Velardi P, Fiocchi A, Tozzi AE. Can twitter be a source of information on allergy? correlation of pollen counts with tweets reporting symptoms of allergic rhinoconjunctivitis and names of antihistamine drugs. PloS One. 2015; 10(7):0133706.CrossRef Gesualdo F, Stilo G, D’Ambrosio A, Carloni E, Pandolfi E, Velardi P, Fiocchi A, Tozzi AE. Can twitter be a source of information on allergy? correlation of pollen counts with tweets reporting symptoms of allergic rhinoconjunctivitis and names of antihistamine drugs. PloS One. 2015; 10(7):0133706.CrossRef
17.
go back to reference Cowie S, Arthur R, Williams H. @ choo: Tracking pollen and hayfever in the uk using social media. Sensors. 2018; 18(12):4434.CrossRef Cowie S, Arthur R, Williams H. @ choo: Tracking pollen and hayfever in the uk using social media. Sensors. 2018; 18(12):4434.CrossRef
18.
go back to reference Leaman R, Wojtulewicz L, Sullivan R, Skariah A, Yang J, Gonzalez G. Towards internet-age pharmacovigilance: extracting adverse drug reactions from user posts to health-related social networks. In: Proceedings of the 2010 Workshop on Biomedical Natural Language Processing. Uppsala: Association for Computational Linguistics: 2010. p. 117–25. Leaman R, Wojtulewicz L, Sullivan R, Skariah A, Yang J, Gonzalez G. Towards internet-age pharmacovigilance: extracting adverse drug reactions from user posts to health-related social networks. In: Proceedings of the 2010 Workshop on Biomedical Natural Language Processing. Uppsala: Association for Computational Linguistics: 2010. p. 117–25.
19.
go back to reference Edwards IR, Lindquist M. Social media and networks in pharmacovigilance. Drug Saf. 2011; 34(4):267–271.PubMedCrossRef Edwards IR, Lindquist M. Social media and networks in pharmacovigilance. Drug Saf. 2011; 34(4):267–271.PubMedCrossRef
20.
go back to reference Collobert R, Weston J, Bottou L, Karlen M, Kavukcuoglu K, Kuksa P. Natural language processing (almost) from scratch. J Mach Learn Res. 2011; 12(Aug):2493–537. Collobert R, Weston J, Bottou L, Karlen M, Kavukcuoglu K, Kuksa P. Natural language processing (almost) from scratch. J Mach Learn Res. 2011; 12(Aug):2493–537.
22.
go back to reference World Allergy Organization (WAO). World Allergy Week 2016. 2016. https://www.worldallergy.org/UserFiles/file/WorldAllergyWeek2016FactSheet%.pdf. Accessed: 2019 Jan 30. World Allergy Organization (WAO). World Allergy Week 2016. 2016. https://​www.​worldallergy.​org/​UserFiles/​file/​WorldAllergyWeek​2016FactSheet%.​pdf. Accessed: 2019 Jan 30.
23.
go back to reference Ziska L, Knowlton K, Rogers C, Dalan D, Tierney N, Elder MA, Filley W, Shropshire J, Ford LB, Hedberg C, et al. Recent warming by latitude associated with increased length of ragweed pollen season in central north america. Proc Nat Acad Sci. 2011; 108(10):4248–51.PubMedCrossRef Ziska L, Knowlton K, Rogers C, Dalan D, Tierney N, Elder MA, Filley W, Shropshire J, Ford LB, Hedberg C, et al. Recent warming by latitude associated with increased length of ragweed pollen season in central north america. Proc Nat Acad Sci. 2011; 108(10):4248–51.PubMedCrossRef
24.
go back to reference Australian Bureau of Statistics (ABS). Migration, Australia, 2014-15. 2016. http://www.abs.gov.au/AUSSTATS/abs@.nsf/Lookup/3412.0Main+Features12014-1%5?OpenDocument. Accessed: 2019 Jan 30. Australian Bureau of Statistics (ABS). Migration, Australia, 2014-15. 2016. http://​www.​abs.​gov.​au/​AUSSTATS/​abs@.​nsf/​Lookup/​3412.​0Main+Features12​014-1%5?​OpenDocument. Accessed: 2019 Jan 30.
25.
go back to reference Cvetkovski B, Kritikos V, Yan K, Bosnic-Anticevich S. Tell me about your hay fever: a qualitative investigation of allergic rhinitis management from the perspective of the patient. NPJ Primary Care Respiratory Med. 2018; 28(1):3.CrossRef Cvetkovski B, Kritikos V, Yan K, Bosnic-Anticevich S. Tell me about your hay fever: a qualitative investigation of allergic rhinitis management from the perspective of the patient. NPJ Primary Care Respiratory Med. 2018; 28(1):3.CrossRef
26.
go back to reference Ginn R, Pimpalkhute P, Nikfarjam A, Patki A, O’Connor K, Sarker A, Smith K, Gonzalez G. Mining twitter for adverse drug reaction mentions: a corpus and classification benchmark. In: Proceedings of the Fourth Workshop on Building and Evaluating Resources for Health and Biomedical Text Processing. Citeseer: 2014. Ginn R, Pimpalkhute P, Nikfarjam A, Patki A, O’Connor K, Sarker A, Smith K, Gonzalez G. Mining twitter for adverse drug reaction mentions: a corpus and classification benchmark. In: Proceedings of the Fourth Workshop on Building and Evaluating Resources for Health and Biomedical Text Processing. Citeseer: 2014.
27.
go back to reference Davison KP, Pennebaker JW, Dickerson SS. Who talks?the social psychology of illness support groups. Am Psych. 2000; 55(2):205.CrossRef Davison KP, Pennebaker JW, Dickerson SS. Who talks?the social psychology of illness support groups. Am Psych. 2000; 55(2):205.CrossRef
28.
go back to reference Tuarob S, Tucker CS, Salathe M, Ram N. An ensemble heterogeneous classification methodology for discovering health-related knowledge in social media messages. J Biomed Informa. 2014; 49:255–68.CrossRef Tuarob S, Tucker CS, Salathe M, Ram N. An ensemble heterogeneous classification methodology for discovering health-related knowledge in social media messages. J Biomed Informa. 2014; 49:255–68.CrossRef
29.
go back to reference Subramani S, Michalska S, Wang H, Whittaker F, Heyward B. Text mining and real-time analytics of twitter data: A case study of australian hay fever prediction. In: International Conference on Health Information Science. Cairns: Springer: 2018. p. 134–45. Subramani S, Michalska S, Wang H, Whittaker F, Heyward B. Text mining and real-time analytics of twitter data: A case study of australian hay fever prediction. In: International Conference on Health Information Science. Cairns: Springer: 2018. p. 134–45.
30.
go back to reference Gao S, Young MT, Qiu JX, Yoon H-J, Christian JB, Fearn PA, Tourassi GD, Ramanthan A. Hierarchical attention networks for information extraction from cancer pathology reports. J Am Med Informa Assoc. 2017; 25(3):321–30.CrossRef Gao S, Young MT, Qiu JX, Yoon H-J, Christian JB, Fearn PA, Tourassi GD, Ramanthan A. Hierarchical attention networks for information extraction from cancer pathology reports. J Am Med Informa Assoc. 2017; 25(3):321–30.CrossRef
31.
go back to reference Nguyen DT, Al Mannai KA, Joty S, Sajjad H, Imran M, Mitra P. Robust classification of crisis-related data on social networks using convolutional neural networks. In: Eleventh International AAAI Conference on Web and Social Media. Montreal: AAAI: 2017. Nguyen DT, Al Mannai KA, Joty S, Sajjad H, Imran M, Mitra P. Robust classification of crisis-related data on social networks using convolutional neural networks. In: Eleventh International AAAI Conference on Web and Social Media. Montreal: AAAI: 2017.
32.
go back to reference Majumder N, Poria S, Gelbukh A, Cambria E. Deep learning-based document modeling for personality detection from text. IEEE Intell Syst. 2017; 32(2):74–9.CrossRef Majumder N, Poria S, Gelbukh A, Cambria E. Deep learning-based document modeling for personality detection from text. IEEE Intell Syst. 2017; 32(2):74–9.CrossRef
33.
go back to reference Poria S, Cambria E, Hazarika D, Vij P. A deeper look into sarcastic tweets using deep convolutional neural networks. arXiv preprint arXiv:1610.08815. 2016. Poria S, Cambria E, Hazarika D, Vij P. A deeper look into sarcastic tweets using deep convolutional neural networks. arXiv preprint arXiv:1610.08815. 2016.
34.
go back to reference Poria S, Cambria E, Gelbukh A. Aspect extraction for opinion mining with a deep convolutional neural network. Knowl-Based Syst. 2016; 108:42–49.CrossRef Poria S, Cambria E, Gelbukh A. Aspect extraction for opinion mining with a deep convolutional neural network. Knowl-Based Syst. 2016; 108:42–49.CrossRef
35.
go back to reference Poria S, Chaturvedi I, Cambria E, Hussain A. Convolutional mkl based multimodal emotion recognition and sentiment analysis. In: 2016 IEEE 16th International Conference on Data Mining (ICDM). Barcelona: IEEE: 2016. p. 439–48. Poria S, Chaturvedi I, Cambria E, Hussain A. Convolutional mkl based multimodal emotion recognition and sentiment analysis. In: 2016 IEEE 16th International Conference on Data Mining (ICDM). Barcelona: IEEE: 2016. p. 439–48.
36.
go back to reference Goller C, Kuchler A. Learning task-dependent distributed representations by backpropagation through structure. In: Proceedings of International Conference on Neural Networks (ICNN’96), vol 1. Washington DC: IEEE: 1996. p. 347–52. Goller C, Kuchler A. Learning task-dependent distributed representations by backpropagation through structure. In: Proceedings of International Conference on Neural Networks (ICNN’96), vol 1. Washington DC: IEEE: 1996. p. 347–52.
37.
go back to reference Gers FA, Schmidhuber J, Cummins F. Learning to forget: Continual prediction with lstm. In: 9th International Conference on Artificial Neural Networks: ICANN ’99. Edinburgh: IET: 1999. p. 850–55. Gers FA, Schmidhuber J, Cummins F. Learning to forget: Continual prediction with lstm. In: 9th International Conference on Artificial Neural Networks: ICANN ’99. Edinburgh: IET: 1999. p. 850–55.
38.
go back to reference Cho K, Van Merriënboer B, Gulcehre C, Bahdanau D, Bougares F, Schwenk H, Bengio Y. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078. 2014. Cho K, Van Merriënboer B, Gulcehre C, Bahdanau D, Bougares F, Schwenk H, Bengio Y. Learning phrase representations using rnn encoder-decoder for statistical machine translation. arXiv preprint arXiv:1406.1078. 2014.
40.
go back to reference Colditz JB, Chu K-H, Emery SL, Larkin CR, James AE, Welling J, Primack BA. Toward real-time infoveillance of twitter health messages. Am J Publ Health. 2018; 108(8):1009–14.CrossRef Colditz JB, Chu K-H, Emery SL, Larkin CR, James AE, Welling J, Primack BA. Toward real-time infoveillance of twitter health messages. Am J Publ Health. 2018; 108(8):1009–14.CrossRef
41.
go back to reference Carletta J. Assessing agreement on classification tasks: the kappa statistic. Comput Linguistics. 1996; 22(2):249–54. Carletta J. Assessing agreement on classification tasks: the kappa statistic. Comput Linguistics. 1996; 22(2):249–54.
42.
go back to reference Viera AJ, Garrett JM, et al. Understanding interobserver agreement: the kappa statistic. Fam Med. 2005; 37(5):360–3.PubMed Viera AJ, Garrett JM, et al. Understanding interobserver agreement: the kappa statistic. Fam Med. 2005; 37(5):360–3.PubMed
43.
go back to reference Serban O, Thapen N, Maginnis B, Hankin C, Foot V. Real-time processing of social media with sentinel: a syndromic surveillance system incorporating deep learning for health classification. Inf Process Manag. 2019; 56(3):1166–84.CrossRef Serban O, Thapen N, Maginnis B, Hankin C, Foot V. Real-time processing of social media with sentinel: a syndromic surveillance system incorporating deep learning for health classification. Inf Process Manag. 2019; 56(3):1166–84.CrossRef
44.
go back to reference Velardi P, Stilo G, Tozzi AE, Gesualdo F. Twitter mining for fine-grained syndromic surveillance. Artif Intell Med. 2014; 61(3):153–63.PubMedCrossRef Velardi P, Stilo G, Tozzi AE, Gesualdo F. Twitter mining for fine-grained syndromic surveillance. Artif Intell Med. 2014; 61(3):153–63.PubMedCrossRef
Metadata
Title
Deep learning for pollen allergy surveillance from twitter in Australia
Authors
Jia Rong
Sandra Michalska
Sudha Subramani
Jiahua Du
Hua Wang
Publication date
01-12-2019
Publisher
BioMed Central
Published in
BMC Medical Informatics and Decision Making / Issue 1/2019
Electronic ISSN: 1472-6947
DOI
https://doi.org/10.1186/s12911-019-0921-x

Other articles of this Issue 1/2019

BMC Medical Informatics and Decision Making 1/2019 Go to the issue