We use zero-padding (shown as shaded boxes) to make P r and P s fixed-length.
we then use scaled multiplicative attention (Vaswani et al., 2017) to compute a contextual representation for the pronouns in r and s. we consider the rows of P r (resp.