English

Caracal: Causal Architecture via Spectral Mixing

Machine Learning 2026-05-08 v2 Artificial Intelligence

Abstract

The scalability of Large Language Models to long sequences is hindered by the quadratic cost of attention and the limitations of positional encodings. To address these, we introduce Caracal, a novel architecture that replaces attention with a parameter-efficient, O(L log(L)) Multi-Head Fourier (MHF) module. Our contributions are threefold: (1) We leverage the Fast Fourier Transform (FFT) for sequence mixing, inherently addressing both bottlenecks mentioned above. (2) We apply a frequency-domain causal masking technique that enforces autoregressive capabilities via asymmetric padding and truncation, overcoming a critical barrier for Fourier-based generative models. (3) Unlike efficient models relying on hardware-specific implementations (e.g., Mamba), we uses standard library operators. This ensures robust portability, eliminating common deployment barriers. Evaluations demonstrate that Caracal performs competitively with Transformer and SSM baselines, offering a scalable and simple pathway for efficient long-sequence modeling. Code is available in Appendix.

Keywords

Cite

@article{arxiv.2605.00292,
  title  = {Caracal: Causal Architecture via Spectral Mixing},
  author = {Bingzheng Gan and Tianyi Zhang and Yusu Li and Jing Huang and Wei Shi and Yangkai Ding and Tao Yu},
  journal= {arXiv preprint arXiv:2605.00292},
  year   = {2026}
}

Comments

Accepted by ICML 2026