To solve this problem, we follow  and take an approach based on latentvariable probabilistic modeling, neural variational inference, and multi-task learning.
we assume a generative model that has two latent variables: y for semantics and z for syntax (as depicted in Figure 2).