[Paper Review] An Attentive Sequence Model for Adverse Drug Event Extraction from Biomedical Text
This paper proposes a joint entity recognition and adverse drug event (ADE) extraction model using a self-attention mechanism to capture intra-sequence dependencies in biomedical text. By framing ADE extraction as a question-answering task conditioned on a specific drug, the model achieves an F1 score of 86.78, a 15% improvement over the state of the art, while enabling interpretable attention visualization for clinical context understanding.
Adverse reaction caused by drugs is a potentially dangerous problem which may lead to mortality and morbidity in patients. Adverse Drug Event (ADE) extraction is a significant problem in biomedical research. We model ADE extraction as a Question-Answering problem and take inspiration from Machine Reading Comprehension (MRC) literature, to design our model. Our objective in designing such a model, is to exploit the local linguistic context in clinical text and enable intra-sequence interaction, in order to jointly learn to classify drug and disease entities, and to extract adverse reactions caused by a given drug. Our model makes use of a self-attention mechanism to facilitate intra-sequence interaction in a text sequence. This enables us to visualize and understand how the network makes use of the local and wider context for classification.
Motivation & Objective
- To address the challenge of under-reported adverse drug events (ADEs) in clinical text, which contribute to significant patient mortality and morbidity.
- To improve the accuracy and interpretability of ADE extraction by modeling it as a question-answering task rather than a traditional relation extraction problem.
- To replace dependency path-based methods with a self-attention mechanism that enables richer intra-sequence context modeling.
- To jointly learn drug and disease entity recognition and ADE relation extraction in an end-to-end, trainable architecture.
- To provide visual interpretability through attention heat maps, revealing how the model uses local and global context for predictions.
Proposed method
- The model treats ADE extraction as a question-answering problem: for each token in a sequence, it answers "Is this an adverse effect of the given drug?".
- It employs a bidirectional LSTM encoder with word, character, POS, and label embeddings to represent input sequences.
- A self-attention mechanism computes context-aware representations by attending across all token states, enabling dynamic focus on relevant segments.
- The attention mechanism allows visualization of attention scores, mapping model focus to specific tokens like drug and disease entities.
- The model is trained end-to-end using cross-entropy loss for both entity recognition and ADE classification tasks.
- Hyperparameters include 400-dimensional word embeddings, 525 for character embeddings, and 25 for POS and label embeddings, with bidirectional LSTM layers of 150 units each.
Experimental results
Research questions
- RQ1Can framing ADE extraction as a question-answering task conditioned on a specific drug improve performance over traditional relation extraction?
- RQ2Does a self-attention mechanism outperform shortest dependency path (SDP)-based methods in modeling intra-sequence dependencies for ADE extraction?
- RQ3To what extent does attention visualization help interpret model decisions in clinical text sequences?
- RQ4Is there a correlation between sequence length, entity count, or number of ADEs and model performance?
- RQ5How does joint learning of entity recognition and ADE extraction affect overall system performance?
Key findings
- The model achieves an F1 score of 86.78 for ADE extraction, representing a 15% improvement over the prior state of the art.
- Entity recognition performance is slightly better than the state of the art, with over 50% of samples achieving an F1 score above 95.
- More than 60% of ADE extraction predictions achieve an F1 score above 95, indicating strong generalization on high-confidence cases.
- Attention heat maps clearly highlight drug and disease entities in high-performing samples, confirming model focus on relevant clinical terms.
- In low-performing samples, attention is scattered across tokens, suggesting failure to locate relevant context, which correlates with poor predictions.
- No significant correlation was found between model performance and sequence length, number of entities, or number of ADEs, indicating robustness to input complexity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.