Persistent self-supervised learning