taesiri commited on
Commit
4022610
1 Parent(s): 6839085

Upload abstract/2305.20019.txt with huggingface_hub

Browse files
Files changed (1) hide show
  1. abstract/2305.20019.txt +1 -0
abstract/2305.20019.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ "We explore different ways to utilize position-based cross-attention in sequence-to-sequence networks to enable length generalization in algorithmic tasks. We show that a simple approach of interpolating the original and reversed encoded representations combined with relative attention allows near-perfect length generalization for both forward and reverse lookup tasks or copy tasks that had been generally hard to tackle. We also devise harder diagnostic tasks where the relative distance of the ideal attention position varies with timestep. In such settings, the simple interpolation trick with relative attention is not sufficient. We introduce novel variants of location attention building on top of Dubois et al. (2020) to address the new diagnostic tasks. We also show the benefits of our approaches for length generalization in the Standardized Compositional Attributed Network (SCAN) and Compositional Freebase Questions (CFQ). Our code is available on GitHub."