English

Investigating Recurrent Transformers with Dynamic Halt

Machine Learning 2025-01-22 v4 Artificial Intelligence Neural and Evolutionary Computing

Abstract

In this paper, we comprehensively study the inductive biases of two major approaches to augmenting Transformers with a recurrent mechanism: (1) the approach of incorporating a depth-wise recurrence similar to Universal Transformers; and (2) the approach of incorporating a chunk-wise temporal recurrence like Temporal Latent Bottleneck. Furthermore, we propose and investigate novel ways to extend and combine the above methods - for example, we propose a global mean-based dynamic halting mechanism for Universal Transformers and an augmentation of Temporal Latent Bottleneck with elements from Universal Transformer. We compare the models and probe their inductive biases in several diagnostic tasks, such as Long Range Arena (LRA), flip-flop language modeling, ListOps, and Logical Inference. The code is released in: https://github.com/JRC1995/InvestigatingRecurrentTransformers/tree/main

Keywords

Cite

@article{arxiv.2402.00976,
  title  = {Investigating Recurrent Transformers with Dynamic Halt},
  author = {Jishnu Ray Chowdhury and Cornelia Caragea},
  journal= {arXiv preprint arXiv:2402.00976},
  year   = {2025}
}
R2 v1 2026-06-28T14:35:11.484Z