Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Systematic Generalization with Edge Transformers

About

Recent research suggests that systematic generalization in natural language understanding remains a challenge for state-of-the-art neural models such as Transformers and Graph Neural Networks. To tackle this challenge, we propose Edge Transformer, a new model that combines inspiration from Transformers and rule-based symbolic AI. The first key idea in Edge Transformers is to associate vector states with every edge, that is, with every pair of input nodes -- as opposed to just every node, as it is done in the Transformer model. The second major innovation is a triangular attention mechanism that updates edge representations in a way that is inspired by unification from logic programming. We evaluate Edge Transformer on compositional generalization benchmarks in relational reasoning, semantic parsing, and dependency parsing. In all three settings, the Edge Transformer outperforms Relation-aware, Universal and classical Transformer baselines.

Leon Bergen, Timothy J. O'Donnell, Dzmitry Bahdanau• 2021

Related benchmarks

TaskDatasetResultRank
Semantic ParsingCFQ (MCD1)
Accuracy47.73
33
Semantic ParsingCFQ (MCD2)
Accuracy13.14
33
Semantic ParsingCFQ MCD3
Accuracy13.2
33
Semantic ParsingCOGS (generalization)
Accuracy (Generalization)87.4
25
Semantic ParsingCFQ MCD avg
Exact Match Accuracy24.7
22
Showing 5 of 5 rows

Other info

Code

Follow for update