NRI: Hierarchical Representation Learning for Robot Assistants