We utilize the hidden states of x and r to predict the saliency s of the template.
we regard the output of the BiRNN as the representation of the sentence or template: Next, we use Bilinear network to predict the saliency of the template for the input sentence.