Working Memory Constraints Scaffold Learning in Transformers under Data Scarcity

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Madhyastha, Pranava, Adamcova, Dagmar
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910160281141248
author Madhyastha, Pranava
Adamcova, Dagmar
author_facet Madhyastha, Pranava
Adamcova, Dagmar
contents We investigate the integration of human-like working memory constraints into the Transformer architecture and implement several cognitively inspired attention variants, including fixed-width windows based and temporal decay based attention mechanisms. Our modified GPT-2 models are trained from scratch on developmentally plausible datasets (10M and 100M words). Performance is evaluated on grammatical judgment tasks (BLiMP) and alignment with human reading time data. Our results indicate that these cognitively-inspired constraints, particularly fixed-width attention, can significantly improve grammatical accuracy especially when training data is scarce. These constrained models also tend to show a stronger alignment with human processing metrics. The findings suggest that such constraints may serve as a beneficial inductive bias, guiding models towards more robust linguistic representations, especially in data-limited settings.
format Preprint
id arxiv_https___arxiv_org_abs_2604_20789
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Working Memory Constraints Scaffold Learning in Transformers under Data Scarcity
Madhyastha, Pranava
Adamcova, Dagmar
Computation and Language
Artificial Intelligence
Machine Learning
We investigate the integration of human-like working memory constraints into the Transformer architecture and implement several cognitively inspired attention variants, including fixed-width windows based and temporal decay based attention mechanisms. Our modified GPT-2 models are trained from scratch on developmentally plausible datasets (10M and 100M words). Performance is evaluated on grammatical judgment tasks (BLiMP) and alignment with human reading time data. Our results indicate that these cognitively-inspired constraints, particularly fixed-width attention, can significantly improve grammatical accuracy especially when training data is scarce. These constrained models also tend to show a stronger alignment with human processing metrics. The findings suggest that such constraints may serve as a beneficial inductive bias, guiding models towards more robust linguistic representations, especially in data-limited settings.
title Working Memory Constraints Scaffold Learning in Transformers under Data Scarcity
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2604.20789