Saved in:
Bibliographic Details
Main Author: Forchheimer, Robert
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2601.22852
Tags: Add Tag
No Tags, Be the first to tag this record!
Table of Contents:
  • 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. 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.