Learning by Experience as Joint Production