Skip to main content

A First Approach to the Classification of Adverse Drug Effects on Twitter Through Machine Learning

  • Conference paper
  • First Online:
Technologies and Innovation (CITI 2023)

Abstract

The WHO indicates that the adverse drug effects are of great relevance as each person has different reactions regardless of whether the dose or treatment is correct, affecting their health. Unfortunately, in the literature, there are very few methodologies for early detection of these ADRs, specifically in the Spanish language, and the existing methods deal with them from medical records, leaving aside a great source of information such as social networks. In this work, we present the creation of a corpus in Spanish with data from Twitter. The realization of experiments for evaluating the corpus with a machine learning algorithm SVM and two neural network models RAM and IAN. The best results were obtained with an accuracy of 0.86 with the RAM neural network.

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 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.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

References

  1. Organización Mundial de la Salud: OMS INDICADORES DE FARMACOVIGILANCIA: UN MANUAL PRÁCTICO PARA LA EVALUACIÓN DE LOS SISTEMAS DE FARMACOVIGILANCIA. Ginebra (2019). Accessed 02 Dec 2022. https://apps.who.int/iris/bitstream/handle/10665/325851/9789243508252-spa.pdf?ua=1

  2. Lavertu, A., Hamamsy, T., Altman, R.B.: Quantifying the severity of adverse drug reactions using social media: network analysis. J. Med. Internet Res. 23(10), e27714 (2021). https://www.jmir.org/2021/10/e27714. https://doi.org/10.2196/27714

  3. Chapman, A.B., Peterson, K.S., Alba, P.R., DuVall, S.L., Patterson, O.V.: Detecting adverse drug events with rapidly trained classification models. Drug Saf. 42(1), 147–156 (2019). https://doi.org/10.1007/S40264-018-0763-Y/TABLES/12

    Article  Google Scholar 

  4. Alimova, I.S., Tutubalina, E.V.: Entity-level classification of adverse drug reaction: a comparative analysis of neural network models. Programm. Comput. Softw. 45(8), 439–447 (2020). https://doi.org/10.1134/S0361768819080024

  5. Liu, Y., Shi, J., Chen, Y.: Patient-centered and experience-aware mining for effective adverse drug reaction discovery in online health forums. J. Assoc. Inf. Sci. Technol. 69(2), 215–228 (2018). https://doi.org/10.1002/ASI.23929

    Article  Google Scholar 

  6. Gupta, S., Pawar, S., Ramrakhiyani, N., Palshikar, G.K., Varma, V.: Semi-supervised recurrent neural network for adverse drug reaction mention extraction. BMC Bioinf. 19(8), 1–7 (2018). https://doi.org/10.1186/S12859-018-2192-4/TABLES/2

    Article  Google Scholar 

  7. Wang, C.S., Lin, P.J., Cheng, C.L., Tai, S.H., Yang, Y.H.K., Chiang, J.H.: Detecting potential adverse drug reactions using a deep neural network model. J. Med. Internet Res. 21(2), e11016 (2019). https://www.jmir.org/2019/2/e11016. https://doi.org/10.2196/11016

  8. Basiri, M.E., Abdar, M., Cifci, M.A., Nemati, S., Acharya, U.R.: A novel method for sentiment classification of drug reviews using fusion of deep and machine learning techniques. Knowl. Based Syst. 198, 105949 (2020). https://doi.org/10.1016/J.KNOSYS.2020.105949

    Article  Google Scholar 

  9. Sakhovskiy, A., Tutubalina, E.: Multimodal model with text and drug embeddings for adverse drug reaction classification. J. Biomed. Inform. 135, 104182 (2022). https://doi.org/10.1016/J.JBI.2022.104182

    Article  Google Scholar 

  10. Santiso González, S.: Adverse drug reaction extraction on electronic health records written in Spanish: a PhD thesis overview. https://doi.org/10.21437/IberSPEECH.2021-34

  11. Santiso, S., Pérez, A., Casillas, A.: Exploring joint AB-LSTM with embedded lemmas for adverse drug reaction discovery. IEEE J. Biomed. Health Inform. 23(5), 2148–2155 (2019). https://doi.org/10.1109/JBHI.2018.2879744

    Article  Google Scholar 

  12. Santiso, S., Pérez, A., Casillas, A.: Adverse drug reaction extraction: tolerance to entity recognition errors and sub-domain variants. Comput. Methods Programs Biomed. 199, 105891 (2021). https://doi.org/10.1016/J.CMPB.2020.105891

    Article  Google Scholar 

  13. Surge, A.: Inter-Annotator Agreement: An Introduction to Cohen’s Kappa Statistic, 15 December 2021. https://surge-ai.medium.com/inter-annotator-agreement-an-introduction-to-cohens-kappa-statistic-dcc15ffa5ac4. Accessed 15 Aug 2023

  14. Mahesh, B.: Machine learning algorithms-a review. Int. J. Sci. Res. (2018). https://doi.org/10.21275/ART20203995

    Article  Google Scholar 

  15. Peng, C., Zhongqian, S., Lidong, B., Yang, W.: Recurrent attention network on memory for aspect sentiment analysis, pp. 452–461 (2017)

    Google Scholar 

  16. Ma, D., Li, S., Zhang, X., Wang, H.: Interactive attention networks for aspect-level sentiment classification. Accessed 9 May 2023. http://alt.qcri.org/semeval2014/task4/

  17. Alimova, I., Tutubalina, E.: Automated detection of adverse drug reactions from social media posts with machine learning. In: van der Aalst, Wil M P., et al. (eds.) AIST 2017. LNCS, vol. 10716, pp. 3–15. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-73013-4_1

    Chapter  Google Scholar 

  18. Cañete, J., Chaperon, G., Fuentes, R., Ho, J.-H., Kang, H., Pérez, J.: Spanish pre-trained BERT model and evaluation data. In: PML4DC at ICLR 2020 (2020). Accessed 09 May 2023. https://doi.org/10.5281/zenodo.3247731

Download references

Acknowledgements

Al Consejo Nacional de Ciencia y Tecnología (CONACYT) por la beca otorgada para realizar estudios de posgrado a nivel maestría a través de la convocatoria “BECAS NACIONALES PARA ESTUDIOS DE POSGRADO 2022”.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mariano Gibran Montero-Colio .

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

Montero-Colio, M.G., Salas-Zárate, M.d.P., Paredes-Valverde, M.A. (2023). A First Approach to the Classification of Adverse Drug Effects on Twitter Through Machine Learning. In: Valencia-García, R., Bucaram-Leverone, M., Del Cioppo-Morstadt, J., Vera-Lucio, N., Centanaro-Quiroz, P.H. (eds) Technologies and Innovation. CITI 2023. Communications in Computer and Information Science, vol 1873. Springer, Cham. https://doi.org/10.1007/978-3-031-45682-4_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-45682-4_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-45681-7

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

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics