During the day, our brain acquires new memories; at night, during sleep, it consolidates the important ones and eliminates the useless ones. A similar principle has been applied to Hopfield networks, one of the classic models of artificial intelligence inspired by the workings of the brain. In 2025, Federico Ricci-Tersenghi and colleagues developed Daydreaming, an algorithm that combines the learning of new memories with the elimination of spurious ones, drastically improving the network’s capacity.During the day, our brain acquires new memories; at night, during sleep, it consolidates the important ones and eliminates the useless ones. A similar principle has been applied to Hopfield networks, one of the classic models of artificial intelligence inspired by the workings of the brain. In 2025, Federico Ricci-Tersenghi and colleagues developed Daydreaming, an algorithm that combines the learning of new memories with the elimination of spurious ones, drastically improving the network’s capacity.Software[#item_full_content]