Skip to main content

Table 4 Performances obtained by using different attention mechanisms

From: Adverse drug reaction detection via a multihop self-attention mechanism

Method

TwiMed-PubMed

TwiMed-Twitter

ADE

 

P

R

F1

P

R

F1

P

R

F1

Self-Attention

0.855

0.845

0.846

0.731

0.793

0.751

0.845

0.848

0.847

Multi-head Self-Attention

0.829

0.850

0.841

0.767

0.800

0.784

0.820

0.851

0.836

Multihop Self-Attention

0.858

0.852

0.853

0.748

0.856

0.799

0.847

0.855

0.851