Relational inductive biases on attention mechanisms

Víctor Mijangos, Ximena Gutierrez-Vasques, Verónica E. Arriola, Ulises Rodríguez-Domínguez, Alexis Cervantes +1 more
7/5/2025
cs.LGcs.CL
transformer-attention

No confident code implementation found for this paper.

Abstract

Inductive learning aims to construct general models from specific examples, guided by biases that influence hypothesis selection and determine generalization capacity. In this work, we focus on characterizing the relational inductive biases present in attention mechanisms, understood as assumptions about the underlying relationships between data elements.

Show full abstract

From the perspective of geometric deep learning, we analyze the most common attention mechanisms in terms of their equivariance properties with respect to permutation subgroups, which allows us to propose a classification based on their relational biases. Under this perspective, we show that different attention layers are characterized by the underlying relationships they assume on the input data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mijangos2025relational,
  title  = {Relational inductive biases on attention mechanisms},
  author = {Víctor Mijangos and Ximena Gutierrez-Vasques and Verónica E. Arriola and Ulises Rodríguez-Domínguez and Alexis Cervantes and José Luis Almanzara},
  year   = {2025},
  eprint = {2507.04117},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.04117v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.04117.svg)](https://codeofpaper.com/paper/2507.04117)

Discussion