They learn a mapping from word problems to equation templates using global and local features from the problem text.
the large space of equation templates makes it challenging for this model to learn to find the best equation directly, as a sufficiently similar template may not have been observed during training.