I split this paragraph into a first one explaining the relation between the header table and the reference set and a second one describing the encoder-decoder relationship.