English

Rotary Masked Autoencoders are Versatile Learners

Machine Learning 2026-05-13 v3

Abstract

Applying Transformers to irregular time-series typically requires specializations to their baseline architecture, which can result in additional computational overhead and increased method complexity. We present the Rotary Masked Autoencoder (RoMAE), which utilizes the popular Rotary Positional Embedding (RoPE) method for continuous positions. RoMAE is an extension to the Masked Autoencoder (MAE) that enables interpolation and representation learning with multidimensional continuous positional information while avoiding any time-series-specific architectural specializations. We showcase RoMAE's performance on a variety of modalities including irregular and multivariate time-series, images, and audio, demonstrating that RoMAE surpasses specialized time-series architectures on difficult datasets such as the DESC ELAsTiCC Challenge while maintaining MAE's usual performance across other modalities. In addition, we investigate RoMAE's ability to reconstruct the embedded continuous positions, demonstrating that including learned embeddings in the input sequence breaks RoPE's relative position property.

Keywords

Cite

@article{arxiv.2505.20535,
  title  = {Rotary Masked Autoencoders are Versatile Learners},
  author = {Uros Zivanovic and Serafina Di Gioia and Andre Scaffidi and Martín de los Rios and Gabriella Contardo and Roberto Trotta},
  journal= {arXiv preprint arXiv:2505.20535},
  year   = {2026}
}

Comments

NeurIPS 2025 Final Camera Ready

R2 v1 2026-07-01T02:41:14.035Z