Generator For a particular word w, it may occur multiple times in the reference title or in multiple related entities.
at each decoding step i, for each word w, we aggregate its attention weights from the reference attention and memory attention distributions: P i τ = m|wm=w α im and P i e = m|w∈em β im respectively.