Task Parameter Inference in Human-Robot Interaction