Skip to main content

Enhancing Medication Event Classification with Syntax Parsing and Adversarial Learning

  • Conference paper
  • First Online:
Artificial Intelligence Applications and Innovations (AIAI 2023)

Abstract

In this paper, we introduce a method for extracting detailed information from raw medical notes that could help medical providers more easily understand a patient’s medication history and make more informed medical decisions. Our system uses NLP techniques for finding the names of medications and details about the changes to their disposition in unstructured clinical notes.

The system was created to extract data from the Contextualized Medication Event Dataset in three subtasks. Our system utilizes a solution based on a large language model enriched with adversarial examples for the medication extraction and event classification tasks. To extract more detailed contextual information about the medication changes, we were motivated by aspect-based sentiment analysis and used the local context focus mechanism to highlight the relevant parts of the context and extended it with information from dependency syntax.

Both adversarial learning and the syntax-enhanced local focus mechanism improved the results of our system.

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 109.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 139.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Free shipping worldwide - see info
Hardcover Book
USD 139.99
Price excludes VAT (USA)
  • Durable hardcover 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. Alsentzer, E., et al.: Publicly available clinical BERT embeddings. arXiv preprint arXiv:1904.03323 (2019)

  2. Do, H.H., Prasad, P., Maag, A., Alsadoon, A.: Deep learning for aspect-based sentiment analysis: a comparative review. Expert Syst. Appl. 118, 272–299 (2019)

    Article  Google Scholar 

  3. Farkas, R., et al.: Semi-automated construction of decision rules to predict morbidities from clinical texts. J. Am. Med. Inform. Assoc. 16(4), 601–605 (2009)

    Article  Google Scholar 

  4. Gong, Z., Wang, W., Li, B., Song, D., Ku, W.S.: Adversarial texts with gradient methods. arXiv preprint arXiv:1801.07175 (2018)

  5. Goodfellow, I.J., Shlens, J., Szegedy, C.: Explaining and harnessing adversarial examples. arXiv preprint arXiv:1412.6572 (2014)

  6. Hangya, V., Berend, G., Varga, I., Farkas, R.: SZTE-NLP: aspect level opinion mining exploiting syntactic cues. SemEval 2014, 610 (2014)

    Google Scholar 

  7. Hangya, V., Farkas, R.: Filtering and polarity detection for reputation management on tweets. In: CEUR WORKSHOP PROCEEDINGS. SZTE (2013)

    Google Scholar 

  8. He, P., Gao, J., Chen, W.: DeBERTaV3: improving DeBERTa using ELECTRA-style pre-training with gradient-disentangled embedding sharing. arXiv preprint arXiv:2111.09543 (2021)

  9. Honnibal, M., Montani, I., Van Landeghem, S., Boyd, A.: spaCy: industrial-strength natural language processing in python. arXiv preprint arXiv:1810.04805 (2020)

  10. Kong, L., Schneider, N., Swayamdipta, S., Bhatia, A., Dyer, C., Smith, N.A.: A dependency parser for tweets. In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 1001–1012 (2014)

    Google Scholar 

  11. Kurakin, A., Goodfellow, I., Bengio, S.: Adversarial machine learning at scale. arXiv preprint arXiv:1611.01236 (2016)

  12. Lee, J., et al.: BioBERT: a pre-trained biomedical language representation model for biomedical text mining. Bioinformatics 36(4), 1234–1240 (2020)

    Article  Google Scholar 

  13. Liu, Y., et al.: RoBERTa: a robustly optimized BERT pretraining approach. arXiv preprint arXiv:1907.11692 (2019)

  14. Mahajan, D., Liang, J.J., Tsou, C.H.: Toward understanding clinical context of medication change events in clinical narratives. In: AMIA Annual Symposium Proceedings. vol. 2021, p. 833. American Medical Informatics Association (2021)

    Google Scholar 

  15. Mao, J., Liu, W.: Hadoken: a BERT-CRF model for medical document anonymization. In: IberLEF@ SEPLN, pp. 720–726 (2019)

    Google Scholar 

  16. Moradi, M., Samwald, M.: Improving the robustness and accuracy of biomedical language models through adversarial training. J. Biomed. Inform. 132, 104114 (2022). https://doi.org/10.1016/j.jbi.2022.104114

    Article  Google Scholar 

  17. Phan, M.H., Ogunbona, P.O.: Modelling context and syntactical features for aspect-based sentiment analysis. In: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pp. 3211–3220 (2020)

    Google Scholar 

  18. Raj, D., Sahu, S., Anand, A.: Learning local and global contexts using a convolutional recurrent network model for relation classification in biomedical text. In: Proceedings of the 21st Conference on Computational Natural Language Learning (CoNLL 2017), Vancouver, Canada, pp. 311–321. Association for Computational Linguistics (Aug 2017). https://doi.org/10.18653/v1/K17-1032

  19. Song, Y., Wang, J., Jiang, T., Liu, Z., Rao, Y.: Attentional encoder network for targeted sentiment classification. arXiv preprint arXiv:1902.09314 (2019)

  20. Souza, F., Nogueira, R., Lotufo, R.: Portuguese named entity recognition using BERT-CRF. arXiv preprint arXiv:1909.10649 (2019)

  21. Uzuner, O.: Second i2b2 workshop on natural language processing challenges for clinical records. AMIA Ann. Symp. Proc. / AMIA Symp. AMIA Symp. 6, 1252–1253 (2008)

    Google Scholar 

  22. Yang, H., Li, K.: PyABSA: open framework for aspect-based sentiment analysis. arXiv preprint arXiv:2208.01368 (2022)

  23. Zeng, B., Yang, H., Xu, R., Zhou, W., Han, X.: LCF: a local context focus mechanism for aspect-based sentiment classification. Appl. Sci. 9(16), 3389 (2019)

    Article  Google Scholar 

Download references

Acknowledgements

This research has been supported by the European Union project RRF-2.3.1-21-2022-00004 within the framework of the Artificial Intelligence National Laboratory.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zsolt Szántó .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Szántó, Z., Bánáti, B., Zombori, T. (2023). Enhancing Medication Event Classification with Syntax Parsing and Adversarial Learning. In: Maglogiannis, I., Iliadis, L., MacIntyre, J., Dominguez, M. (eds) Artificial Intelligence Applications and Innovations. AIAI 2023. IFIP Advances in Information and Communication Technology, vol 675. Springer, Cham. https://doi.org/10.1007/978-3-031-34111-3_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-34111-3_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-34110-6

  • Online ISBN: 978-3-031-34111-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics