Before revision:  MAGIC learns the generator using experience provided by an online planner, and in-turn conditions the planner using the generated macro-actions .
After revision:  Importantly, the generator is learned to directly maximize the down-stream planning performance .