cs.CLSep 9, 2026

Manifold Projection and Iterative Autoencoder Refinement for Masked Language Modeling

Authors: Narges Mokhtari, Farzan Haddadi, Ebrahim Rezaii

Organizations: School of Electrical Engineering, Iran University of Science & Technology, Tehran, Iran.

Abstract

In Transformer-based masked language models, attention is the primary mechanism for context mixing, but there are other ways to mix data across tokens. Recent attention-free mixers replace attention with fixed or hypernetwork-generated MLPs, alternating their dynamic, content-dependent weighting for computational simplicity. We build an alternative that gets the same property from a low-rank bottleneck autoencoder. We replace attention with a stack of autoencoder-based mixing modules, one operating over local neighborhoods, one over the full sequence, and one across attention heads, each compressing and reconstructing its input through a bottleneck, and its width is a hyperparameter rather than a training effect. In masked positions, we introduce an iterative refinement procedure that has two distinct steps. A pulling step that pulls an embedding representation toward a weighted average of its neighbors, and a correcting step that projects the result back to the learned manifold via an autoencoder. Our architecture achieves a significant portion of attention's performance at about 1.9×1.9 \times fewer FLOPs when pretrained on C4 and evaluated with parameter-matched BERT baselines. Our model equals parameter-matched BERT and TinyBERT baselines on the rarest-token frequency bucket using a frequency-aware training schedule that samples rare tokens more than uniformly for the masking tasks.

Figures & tables

Explore similar work

CardsList
  1. Typhoon: Gradient-Based Task-Specific Masking for Masked Language Models

    Mar 27, 2023Bruce Changlong Xu, Muhammed Shahir Abdurrahman, Hashem ElezabiMasked Language ModelingFine-Tuning Language Models

  2. Looped Diffusion Language Models

    May 25, 2026Sanghyun Lee, Chunsan Hong, Seungryong Kim +3Masked Diffusion ModelsDiffusion Language Model Inference

  3. Attention-Discounted Adaptive Sampler for Masked Diffusion Language Models

    Jun 9, 2026Yusuf Sahin, Ahmed Rockey Saikia, Volkan Cevher +1Masked Diffusion ModelsParallel Decoding