NobleBlocks

Research indexJournal article

Consistency Regularization Training for Compositional Generalization

Yin, Zeng, Li and 3 others

1 Jan 2023Open access

NobleIDark:/48914/w1/20260526/402195E6DOI10.18653/v1/2023.acl-long.72

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.

Discussion

Citations

Topics

More

Suggest a correction or report