Abstractors and relational cross-attention: An inductive bias for explicit relational reasoning in Transformers

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Altabaa, Awni, Webb, Taylor, Cohen, Jonathan, Lafferty, John
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909168273719296
author Altabaa, Awni
Webb, Taylor
Cohen, Jonathan
Lafferty, John
author_facet Altabaa, Awni
Webb, Taylor
Cohen, Jonathan
Lafferty, John
contents An extension of Transformers is proposed that enables explicit relational reasoning through a novel module called the Abstractor. At the core of the Abstractor is a variant of attention called relational cross-attention. The approach is motivated by an architectural inductive bias for relational learning that disentangles relational information from object-level features. This enables explicit relational reasoning, supporting abstraction and generalization from limited data. The Abstractor is first evaluated on simple discriminative relational tasks and compared to existing relational architectures. Next, the Abstractor is evaluated on purely relational sequence-to-sequence tasks, where dramatic improvements are seen in sample efficiency compared to standard Transformers. Finally, Abstractors are evaluated on a collection of tasks based on mathematical problem solving, where consistent improvements in performance and sample efficiency are observed.
format Preprint
id arxiv_https___arxiv_org_abs_2304_00195
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Abstractors and relational cross-attention: An inductive bias for explicit relational reasoning in Transformers
Altabaa, Awni
Webb, Taylor
Cohen, Jonathan
Lafferty, John
Machine Learning
An extension of Transformers is proposed that enables explicit relational reasoning through a novel module called the Abstractor. At the core of the Abstractor is a variant of attention called relational cross-attention. The approach is motivated by an architectural inductive bias for relational learning that disentangles relational information from object-level features. This enables explicit relational reasoning, supporting abstraction and generalization from limited data. The Abstractor is first evaluated on simple discriminative relational tasks and compared to existing relational architectures. Next, the Abstractor is evaluated on purely relational sequence-to-sequence tasks, where dramatic improvements are seen in sample efficiency compared to standard Transformers. Finally, Abstractors are evaluated on a collection of tasks based on mathematical problem solving, where consistent improvements in performance and sample efficiency are observed.
title Abstractors and relational cross-attention: An inductive bias for explicit relational reasoning in Transformers
topic Machine Learning
url https://arxiv.org/abs/2304.00195