A study of neural semantic parsing examines how structural automata can prevent invalid outputs when meaning is generated token by token. Its decoding approach always preserves a valid completion within the remaining output-length limit—a key distinction from methods that block locally invalid tokens but do not guarantee that the whole output can be completed validly.
The method, called accepting-path decoding (APD), prefers the model’s proposed next token whenever an accepted output can still be completed from it. Under tight length limits, the study reports Smatch++ gains over local masking of 5.1 and 2.4 points for DRS, and 6.4 and 3.2 points for AMR. The results are described as comparable to rollback decoding, which retracts tokens that have already been generated.
The researchers also examine post hoc filtering and automaton-based training. With limited training data, eight unconstrained samples produce no valid output for 10.2% of inputs; with full training data, that share is 0.4%. In the latter setting, filtering comes within 0.2 Smatch++ points of APD. Training with a penalty for automaton-rejected tokens brings early gains, but its advantage diminishes as training continues.
The original paper compares these three uses—decoding, post hoc processing, and training—and also reports decoding results for DRS and AMR. Original source on arXiv