You will be given a definition of a task first, then some input of the task.
In this task, you will be presented with a context from an academic paper and a question separated with a
. You have to answer the question based on the context.

Following the formula, we can calculate the contribution of every input word makes to every output word, forming a contribution matrix of size $M imes N$, where $N$ is the output sentence length. Given the contribution matrix, we can obtain the word importance of each input word to the entire output sentence. To this end, for each input word, we first aggregate its contribution values to all output words by the sum operation, and then normalize all sums through the Softmax function.
Question: How do their models decide how much improtance to give to the output words?
Output:
Given the contribution matrix, we can obtain the word importance of each input word to the entire output sentence.