Which Sequence Is Asking?

AttentionMedium+20 XP+20

Which Sequence Is Asking?

A translation model is turning the French sentence

le   chat   noir   dort   — 4 tokens

into English. The decoder has produced 3 tokens so far:

the   black   cat

Two tables of attention weights are recorded at this moment.

what it records
Map Athe encoder's self-attention over the French sentence
Map Bthe decoder's cross-attention — the weights each decoder position produced so far placed on the French positions, stacked into one table

As always, a row of an attention map is one position doing the attending and a column is a position being attended to.

Which statement about the two maps is correct?

the
cat
sat
down
keys and values from here
the
black
queries from a different sequence

In translation, queries came from the output and keys from the input — two different sequences.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.

Select all that apply.