This requires "costaugmented decoding" to find the maximum violation with respect to the gold semantic parse: When the constraint (4) is violated (i.e.z sem = z sem ), we seek a parameter update ∆θ to fix this violation.
we define the hinge loss for this example as follows, and we revise the parameter values to minimize this loss function.