Identifying Tweets with Personal Medication Intake Mentions using Attentive Character and Localized Context Representations

Jarashanth Selvarajah, Ruwan Dharshana Nawarathna
{"title":"Identifying Tweets with Personal Medication Intake Mentions using Attentive Character and Localized Context Representations","authors":"Jarashanth Selvarajah, Ruwan Dharshana Nawarathna","doi":"10.3897/jucs.84130","DOIUrl":null,"url":null,"abstract":"Individuals with health anomalies often share their experiences on social media sites, such as Twitter, which yields an abundance of data on a global scale. Nowadays, social media data constitutes a leading source to build drug monitoring and surveillance systems. However, a proper assessment of such data requires discarding mentions which do not express drug-related personal health experiences. We automate this process by introducing a novel deep learning model. The model includes character-level and word-level embeddings, embedding-level attention, convolu- tional neural networks (CNN), bidirectional gated recurrent units (BiGRU), and context-aware attentions. An embedding for a word is produced by integrating both word-level and character-level embeddings using an embedding-level attention mechanism, which selects the salient features from both embeddings without expanding dimensionality. The resultant embedding is further analyzed by three CNN layers independently, where each extracts unique n-grams. BiGRUs followed by attention layers further process the outputs from each CNN layer. Besides, the resultant embedding is also encoded by a BiGRU with attention. Our model is developed to cope with the intricate attributes inherent to tweets such as vernacular texts, descriptive medical phrases, frequently misspelt words, abbreviations, short messages, and others. All these four outputs are summed and sent to a softmax classifier. We built a dataset by incorporating tweets from two benchmark datasets designed for the same objective to evaluate the performance. Our model performs substantially better than existing models, including several customized Bidirectional Encoder Representations from Transformers (BERT) models with an F1-score of 0.772.","PeriodicalId":14652,"journal":{"name":"J. Univers. Comput. Sci.","volume":"19 1","pages":"1312-1329"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"J. Univers. Comput. Sci.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3897/jucs.84130","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Individuals with health anomalies often share their experiences on social media sites, such as Twitter, which yields an abundance of data on a global scale. Nowadays, social media data constitutes a leading source to build drug monitoring and surveillance systems. However, a proper assessment of such data requires discarding mentions which do not express drug-related personal health experiences. We automate this process by introducing a novel deep learning model. The model includes character-level and word-level embeddings, embedding-level attention, convolu- tional neural networks (CNN), bidirectional gated recurrent units (BiGRU), and context-aware attentions. An embedding for a word is produced by integrating both word-level and character-level embeddings using an embedding-level attention mechanism, which selects the salient features from both embeddings without expanding dimensionality. The resultant embedding is further analyzed by three CNN layers independently, where each extracts unique n-grams. BiGRUs followed by attention layers further process the outputs from each CNN layer. Besides, the resultant embedding is also encoded by a BiGRU with attention. Our model is developed to cope with the intricate attributes inherent to tweets such as vernacular texts, descriptive medical phrases, frequently misspelt words, abbreviations, short messages, and others. All these four outputs are summed and sent to a softmax classifier. We built a dataset by incorporating tweets from two benchmark datasets designed for the same objective to evaluate the performance. Our model performs substantially better than existing models, including several customized Bidirectional Encoder Representations from Transformers (BERT) models with an F1-score of 0.772.
使用细心的字符和本地化的上下文表示来识别个人药物摄入的推文
健康异常的人经常在社交媒体网站上分享他们的经历,比如推特,这在全球范围内产生了丰富的数据。如今,社交媒体数据是构建药物监测和监控系统的主要来源。然而,要对这类数据进行适当评估,就需要抛弃那些不表示与毒品有关的个人健康经历的提及。我们通过引入一种新颖的深度学习模型使这一过程自动化。该模型包括字符级和词级嵌入、嵌入级注意、卷积神经网络(CNN)、双向门控循环单元(BiGRU)和上下文感知注意。该方法利用嵌入级注意机制将词级嵌入和字符级嵌入相结合,在不扩展维数的情况下从两个嵌入中选择显著特征。生成的嵌入被三个CNN层独立地进一步分析,每个层提取唯一的n-gram。关注层之后的bigru进一步处理每个CNN层的输出。此外,所得到的嵌入也由带注意的BiGRU进行编码。我们的模型是用来处理tweets固有的复杂属性的,比如本地文本、描述性医学短语、经常拼错的单词、缩写、短消息等等。所有这四个输出被求和并发送给softmax分类器。我们通过合并来自两个为相同目标设计的基准数据集的tweet来构建一个数据集,以评估性能。我们的模型比现有的模型表现得更好,包括几个自定义的双向编码器表示从变形金刚(BERT)模型,f1得分为0.772。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信