Discovering the Compositional Structure of Vector Representations with Role Learning Networks