Learning to Collaborate, Collaborating to Learn