{"id":"arxiv/2609.15498","url":"https://arxiv.org/abs/2609.15498","tags":["cs.LG","math.DS"],"score":0,"title":"Same path, different walk: a mechanistic comparison of looped and stacked transformer encoders on 12-lead ECG","domain":"cs.LG","source":"arxiv","authors":["Pawel Olszowiec","Michal Byra","Grzegorz Gruszczynski","Grzegorz Stefanski","Alberto Presta"],"reviews":0,"subject":"cs.LG","summary":"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\\times$ parameter…","category":"research","comments":0,"disputed":false,"division":"cs","mentions":0,"discussed":0,"published":"2026-09-14","reactions":{}}