mlsanityData to 14 Oct 2026

Same path, different: a mechanistic comparison of looped and stacked transformer encoders on 12-lead ECG

arXiv 2609.15498 ↗First posted 14 Sep 2026cs.LG math.DScited by 1

Not on the map. Why?

Abstract (arXiv)

Recurrent Transformers reusing their weights rather than stacking L distinct layers are becoming widely adopted due to their parameter efficiency [1,2,3]. However, the exact representational and dynamical differences between looped and stacked architectures remain uncharacterized. This paper presents a controlled study on the example of bViT model [1] applying one weight-tied block L times. We train two models: bViT and standard ViT [4] on 12-lead electrocardiogram (ECG) classification tasks from the PTB-XL dataset under identical training protocols. Despite an 8.9× parameter reduction, bViT achieves accuracy parity with ViT. Geometric similarity metrics demonstrate that both architectures construct comparable latent representations in an equivalent canonical order. Crucially, their dynamics differ: bViT exhibits smaller step sizes and inter-patient sensitivity, as well as near-neutral behavior away from the data manifold, whereas ViT exhibits collapsing dimensionality of representations and out-of-distribution feature expansion.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 13 of its 23 references that are in the map. First posted on arXiv 14 Sep 2026.

Builds on

13 of 23 references.

References · 13

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  4. 2019Similarity of Neural Network Representations Revisitedcited by 1,755
  5. 2018Universal Transformerscited by 647
  6. 2019Automatic diagnosis of the 12-lead ECG using a deep neural networkcited by 164
  7. 2020Deep Learning for ECG Analysis: Benchmarks and Insights from PTB-XLcited by 158
  8. 2022MiniViT: Compressing Vision Transformers with Weight Multiplexingcited by 88
  9. 2022Reliability of CKA as a Similarity Measure in Deep Learningcited by 87
  10. 2021Self-supervised representation learning from 12-lead ECG datacited by 80
  11. 2021Sliced Recursive Transformercited by 26
  12. 2026Investigating Single-Block Recurrence in Vision Transformers for Image Recognitioncited by 4
1 more
  1. 2026Training Crossroads for Recurrent Vision Transformers: Recurrence, Neural ODEs, and Deep Supervisioncited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.