Conversely, in generation the model is conditioned on the input logical form l, p(d|l) (Velldal et al., 2004).
in such directional stochastic attribute-value grammars, the probability of a derivation d given an input x (a sentence or a logical form) is defined as: with Z(x) as (Ω(x) are all derivations for input x): the constraint put on feature values during training only refers to derivations with the same input.