Compositional Training