Beyond Position: the emergence of wavelet-like properties in Transformers
Abstract
This paper studies how Transformer models with Rotary Position Embeddings (RoPE) develop emergent, wavelet-like properties that compensate for the positional encoding’s theoretical limitations. Through an analysis spanning model scales, architectures, and training checkpoints, we show that attention heads evolve to implement multi-resolution processing analogous to wavelet transforms. We demonstrate that this scale-invariant behavior is unique to RoPE, emerges through distinct evolutionary phases during training, and statistically adheres to the fundamental uncertainty principle. Our findings suggest that the effectiveness of modern Transformers stems from their remarkable ability to spontaneously develop optimal, multi-resolution decompositions to address inherent architectural constraints.
BibTeX
@inproceedings{ruscio2025beyond,
author = {Valeria Ruscio and Umberto Nanni and Fabrizio Silvestri},
title = {{Beyond Position: the emergence of wavelet-like properties in Transformers}},
booktitle = {Annual Meeting of the Association for Computational Linguistics},
year = {2025},
}Ask Althea to put this paper to the test.