SUBS: Subtree Substitution for Compositional Semantic Parsing

Abstract

Although sequence-to-sequence models often achieve good performance in semantic parsing for i.i.d. data, their performance is still inferior in compositional generalization. Several data augmentation methods have been proposed to alleviate this problem. However, prior work only leveraged superficial grammar or rules for data augmentation, which resulted in limited improvement. We propose to use subtree substitution for compositional data augmentation, where we consider subtrees with similar semantic functions as exchangeable. Our experiments showed that such augmented data led to significantly better performance on Scan and GeoQuery, and reached new SOTA on compositional split of GeoQuery.

Publication
NAACL 2022 (poster)

Method

exmf

image-20220116223344109

Main Result

datasets

image-20220116223308390

image-20220116223202195

image-20220116223214043

Next

Related