Improving Grammar-based Sequence-to-Sequence Modeling with Decomposition and Constraints
About
Neural QCFG is a grammar-based sequence-tosequence (seq2seq) model with strong inductive biases on hierarchical structures. It excels in interpretability and generalization but suffers from expensive inference. In this paper, we study two low-rank variants of Neural QCFG for faster inference with different trade-offs between efficiency and expressiveness. Furthermore, utilizing the symbolic interface provided by the grammar, we introduce two soft constraints over tree hierarchy and source coverage. We experiment with various datasets and find that our models outperform vanilla Neural QCFG in most settings.
Chao Lou, Kewei Tu• 2023
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Instruction Following | SCAN jump | Accuracy97.08 | 18 | |
| Style Transfer | StylePTB ATP (Active to passive) | BLEU-475.44 | 11 | |
| Machine Translation | En-Fr Machine Translation (small-scale) | BLEU-430.51 | 11 | |
| Command-to-action mapping | SCAN (length) | Accuracy91.72 | 11 | |
| Sequence Transduction | SCAN Simple | Accuracy95.27 | 3 | |
| Sequence Transduction | SCAN A. Right | Accuracy97.63 | 3 |
Showing 6 of 6 rows