Cheng et al. (2024) present Selfmem, a model designed to tackle the issue of low corpus quality. Selfmem utilises a retrieval-enhanced generator to create an infinite pool of memory, which is then used by a memory selector to choose an output for subsequent generations. This approach enables the model to use its own output to enhance generation. Peng et al. (2023) propose an AI agent that formulates human system dialogue as a Markov Decision Process (MDP) described by a quintuple. The quintuple includes an infinitely large set of dialogue states, a collection of historical behaviours, a probability of state transfer, external rewards obtained, and a variable parameter.