Navigating Memory Construction by Global Pseudo-Task Simulation for Continual Learning