[2410.20272] Planning with Learned Subgoals Selected by Temporal Information