Translate First Reorder Later: Leveraging Monotonicity in Semantic Parsing
Cazzaro, Francesco, Locatelli, Davide, Quattoni, Ariadna, Carreras, Xavier
–arXiv.org Artificial Intelligence
Prior work in semantic parsing has shown that conventional seq2seq models fail at compositional generalization tasks. This limitation led to a resurgence of methods that model alignments between sentences and their corresponding meaning representations, either implicitly through latent variables or explicitly by taking advantage of alignment annotations. We take the second direction and propose TPOL, a two-step approach that first translates input sentences monotonically and then reorders them to obtain the correct output. This is achieved with a modular framework comprising a Translator and a Reorderer component. We test our approach on two popular semantic parsing datasets. Our experiments show that by means of the monotonic translations, TPOL can learn reliable lexico-logical patterns from aligned data, significantly improving compositional generalization both over conventional seq2seq models, as well as over other approaches that exploit gold alignments.
arXiv.org Artificial Intelligence
Feb-6-2023
- Country:
- Oceania > Australia
- North America
- United States
- New York (0.04)
- Washington > King County
- Seattle (0.14)
- New Mexico > Santa Fe County
- Santa Fe (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- California > San Diego County
- San Diego (0.04)
- Cuba > Artemisa Province
- Artemisa (0.04)
- United States
- Europe
- Germany > Berlin (0.04)
- Italy > Tuscany
- Florence (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Bulgaria > Sofia City Province
- Sofia (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Asia
- Middle East > Jordan (0.04)
- China > Guangxi Province
- Nanning (0.04)
- Africa > Middle East
- Egypt > Giza Governorate > Giza (0.04)
- Genre:
- Research Report (1.00)
- Technology: