作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2022, Vol. 48 ›› Issue (6): 314-320. doi: 10.19678/j.issn.1000-3428.0062170

• 开发研究与工程应用 • 上一篇    

融合数据增强与半监督学习的药物不良反应检测

佘朝阳1,2, 严馨1,2, 徐广义3, 陈玮1,2, 邓忠莹1   

  1. 1. 昆明理工大学 信息工程与自动化学院, 昆明 650504;
    2. 昆明理工大学 云南省人工智能重点实验室, 昆明 650504;
    3. 云南南天电子信息产业股份有限公司, 昆明 650041
  • 收稿日期:2021-07-22 修回日期:2021-09-07 发布日期:2021-09-10
  • 作者简介:佘朝阳(1996—),女,硕士研究生,主研方向为自然语言处理;严馨,副教授、硕士;徐广义,高级工程师、硕士;陈玮、邓忠莹,讲师、硕士。
  • 基金资助:
    国家自然科学基金(61462055,61562049)。

Adverse Drug Reaction Detection Combined with Data Augmentation and Semi-supervised Learning

SHE Zhaoyang1,2, YAN Xin1,2, XU Guangyi3, CHEN Wei1,2, DENG Zhongying1   

  1. 1. Faculty of Information Engineering and Automation, Kunming University of Science and Technology, Kunming 650504, China;
    2. Yunnan Key Laboratory of Artificial Intelligence, Kunming University of Science and Technology, Kunming 650504, China;
    3. Yunnan Nantian Electronic Information Industry Co., Ltd., Kunming 650041, China
  • Received:2021-07-22 Revised:2021-09-07 Published:2021-09-10

摘要: 目前药物不良反应(ADR)研究使用的数据主要来源于英文语料,较少选用存在标注数据稀缺问题的中文医疗社交媒体数据集,导致对中文医疗社交媒体的研究有限。为解决标注数据稀缺的问题,提出一种新型的ADR检测方法。采用ERNIE预训练模型获取文本的词向量,利用BiLSTM模型和注意力机制学习文本的向量表示,并通过全连接层和softmax函数得到文本的分类标签。对未标注数据进行文本增强,使用分类模型获取低熵标签,此标签被作为原始未标注样本及其增强样本的伪标签。此外,将带有伪标签的数据与人工标注数据进行混合,在分类模型的编码层和分类层间加入Mixup层,并在文本向量空间中使用Mixup增强方法插值混合样本,从而扩增样本数量。通过将数据增强和半监督学习相结合,充分利用标注数据与未标注数据,实现ADR的检测。实验结果表明,该方法无需大量的标注数据,缓解了标注数据不足对检测结果的影响,有效提升了药物不良反应检测模型的性能。

关键词: 医疗社交媒体, 药物不良反应, 数据增强, 半监督学习, 预训练语言模型

Abstract: At present, the data used in the study of Adverse Drug Reaction (ADR) are mainly from English corpus, fewer Chinese medical social media data sets are selected because of label data scarcity, resulting in limited research on Chinese medical social media.To deal with the problem of lack of labeled data, this study proposes an ADR detection method that combines data augmentation and semi-supervised learning.The pre-training ERNIE model is used to obtain the word vectors.BiLSTM and the attention mechanism are used to learn the vector representation of the text.The classification layer consists of a fully connected layer and a softmax function to obtain the classification label.First, the unlabeled data are augmented several times.The low-entropy label, which is the weighted average of the predicted values of the original and augmented samples, is shared by these samples.The pseudo-label data are then mixed with the labeled data.Based on the classification model, a Mixup layer is added between the encoding and classification layers.In the text vector space, Mixup is used to interpolate the mixed samples, and the number of samples will be higher.By combining data augmentation and semi-supervised learning, labeled and unlabeled data are fully utilized to detect adverse drug reactions.Experimental results show that this method does not require a large amount of labeled data, alleviates the impact of insufficient labeled data, and effectively improves the performance.

Key words: medical social media, Adverse Drug Reaction(ADR), data augmentation, semi-supervised learning, pre-training language model

中图分类号: