Diagnosing Frontal Dynamics from Observations using a Variational Approach