Recurrent Transformers with Dynamic Halt
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
BibTeX
@misc{chowdhury2024recurrent,
author = {Jishnu Ray Chowdhury and Cornelia Caragea},
title = {{Recurrent Transformers with Dynamic Halt}},
year = {2024},
eprint = {2402.00976},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2402.00976},
}Ask Althea to put this paper to the test.
| Universal Transformers | ICLR · 2019 |
| Sparse Universal Transformer | arXiv · 2023 |
| Looped Transformers for Length Generalization | ICLR · 2025 |
| What Makes Recurrence Generalize Across Lengths? | arXiv · 2026 |
| The Recurrent Transformer: Greater Effective Depth and Efficient Decoding | arXiv · 2026 |
| Recursive Transformer: Boosting Reasoning Ability with State Stack | NeurIPS · 2025 |