Over time, duplicate memories may enter the system. This makes retrieval less diverse as it will end up retrieving multiple copies of the same memory, just worded differently. It is possible to use cosine similarity between retrieved memories to filter out duplicates, then try and retrieve additional memories that arent duplicates. Optionally, memories could be randomly sampled both on the cosine similarity to add diversity to the retrieval?
Over time, duplicate memories may enter the system. This makes retrieval less diverse as it will end up retrieving multiple copies of the same memory, just worded differently. It is possible to use cosine similarity between retrieved memories to filter out duplicates, then try and retrieve additional memories that arent duplicates. Optionally, memories could be randomly sampled both on the cosine similarity to add diversity to the retrieval?