Hierarchical Shift Mixing -- Beyond Dense Attention in Transformers

Robert Forchheimer
1/30/2026
cs.LG
transformer-attention

No confident code implementation found for this paper.

Abstract

Since the introduction of the Transformer architecture for large language models, the softmax-based attention layer has faced increasing scrutinity due to its quadratic-time computational complexity. Attempts have been made to replace it with less complex methods, at the cost of reduced performance in most cases.

Show full abstract

We introduce Hierarchical Shift Mixing (HSM), a general framework for token mixing that distributes pairwise token interactions across Transformer layers rather than computing them densely within each layer. HSM enables linear-time complexity while remaining agnostic to the specific mixing function. We show that even simple HSM variants achieve performance close to softmax attention, and that hybrid architectures combining HSM with softmax attention can outperform a GPT-style Transformer baseline while reducing computational cost during both training and inference.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{forchheimer2026hierarchical,
  title  = {Hierarchical Shift Mixing -- Beyond Dense Attention in Transformers},
  author = {Robert Forchheimer},
  year   = {2026},
  eprint = {2601.22852},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.22852v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.22852.svg)](https://codeofpaper.com/paper/2601.22852)

Discussion