Thesis

Combining Recursive Weight-Sharing with Token Merging for Edge Vision Transformers

Junseo Kim

Abstract

Vision Transformers (ViTs) demonstrate exceptional performance in computer vision but suffer from large parameter counts and quadratic computational complexity, O(N2) , severely limiting their deployment on resource-constrained edge hardware. While recursive weight-sharing reduces parameter counts and token merging mitigates computational and memory bottlenecks, integrating these two paradigms without costly retraining is non-trivial, leaving this intersection largely unexplored. We propose a post-training multi-axis compression approach that successfully combines the recursive weight-sharing of the Sliced Recursive Transformer (SReT) with the dynamic token merging algorithm of Token Merging (ToMe). By implementing an Unmerge tracking stack, enforcing strict mathematical merging bounds, and applying parallel spatial tracking, our methodology resolves the spatial and merging constraints of the integration. Furthermore, we utilise an exponential token reduction schedule to stabilise the semantic densification inherent to recursive loops. Benchmarked on ImageNet-1K, our optimised configuration achieves a 27.6% increase in throughput and a 38.5% reduction in Peak Activation Memory (PAM) with a minimal 1.47% accuracy drop on a GPU at a batch size of 128. However, the algorithmic overhead negated the performance gains at a batch size of 1. Nevertheless, this approach establishes the feasibility of dynamic token reduction within recursive ViT architectures, providing a structural baseline for future edge-targeted optimisations.

Cite as » BibTeX download badge

Metadata

Type:
Thesis
Year:
2026
Level:
Bachelor
Institution:
University of Twente

Links

Licence

Copyright in this thesis is held by the author. Reuse requires permission from the author, unless permitted by law or an applicable licence.