Long-horizon prediction for human-robot collaboration