As shown in Figure 2 (top), the binary decision y t j is made by both the hidden state h t j and the context vectorh t j from an attention mechanism (grey background).
this attention (red dash line) is acted as an intermediate stage to determine which sentences to highlight so as to provide the contextual information for current decision (Bahdanau et al., 2014).