A learnable memory retrieval mechanism that can be trained end-to-end to recall relevant past episodes for current decision-making.