Consistency Regularization Training for Compositional Generalization.

Yongjing Yin,Jiali Zeng,Yafu Li,Fandong Meng,Jie Zhou,Yue Zhang
DOI: https://doi.org/10.18653/v1/2023.acl-long.72
2023-01-01
Abstract:Existing neural models have difficulty generalizing to unseen combinations of seen components. To achieve compositional generalization, models are required to consistently interpret (sub)expressions across contexts. Without modifying model architectures, we improve the capability of Transformer on compositional generalization through consistency regularization training, which promotes representation consistency across samples and prediction consistency for a single sample. Experimental results on semantic parsing and machine translation benchmarks empirically demonstrate the effectiveness and generality of our method. In addition, we find that the prediction consistency scores on in-distribution validation sets can be an alternative for evaluating models during training, when commonly-used metrics are not informative.
What problem does this paper attempt to address?