ICLR 2024poster14 citations

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

Awni Altabaa, Taylor Whittington Webb, Jonathan D. Cohen, John Lafferty

Abstract

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.

relational representation learningattentiontransformerssequence modelsabstract representations
BibTeX
@inproceedings{
altabaa2024abstractors,
title={Abstractors and relational cross-attention: An inductive bias for explicit relational reasoning in Transformers},
author={Awni Altabaa and Taylor Whittington Webb and Jonathan D. Cohen and John Lafferty},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=XNa6r6ZjoB}
}
Abstractors and relational cross-attention: An inductive bias for explicit relational reasoning in Transformers · ICLR 2024