Probabilistic Modeling of Human Dynamics for Intention Inference