This post introduces Caracal: Causal Architecture via Spectral Mixing — a paper proposing an LLM architecture that ditches attention entirely in favor of FFT-based spectral mixing.
> Paper: Caracal: Causal Architecture via Spectral Mixing > Authors: Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu > arXiv: 2605.00292 (2026-04-29)
The Architecture Bottleneck: Attention Is Too Slow for Long Text
- Attention complexity: O(L²) — 1 million operations at L=1,000, 100 million at L=10,000, causing memory and compute blowups on long documents
- Positional encoding limits: fixed length, poor extrapolation, weak generalization to long sequences
Caracal: FFT Spectral Mixing
Core idea: replace attention with Fast Fourier Transform (FFT) for O(L log L) sequence mixing, solving both positional encoding and long-sequence problems at once.
Key components:
1. Multi-Head Fourier (MHF) module — replaces attention, mixes sequences via FFT with O(L log L) complexity and parameter efficiency 2. Frequency-domain causal masking — an asymmetric mask that delivers autoregressive capability directly in the frequency domain, not the time domain 3. No positional encoding needed — FFT naturally handles sequence order, enabling arbitrary lengths and natural extrapolation
Why FFT Beats Attention for Long Sequences
| Attention | Caracal | |---|---| | O(L²) complexity | O(L log L) complexity | | Memory explosion on long inputs | Memory-friendly | | Fixed-length positional encodings, poor extrapolation | Natural length extrapolation | | Parameter-heavy | Parameter-efficient, faster training, lightweight deployment |
An intuitive analogy: Transformer is like everyone shaking hands with everyone (n people → n² handshakes, slow), while Caracal is like a circle passing messages via waves — fast and naturally ordered.
A Feynman-Style Observation
> In the time domain, attention is an O(L²) "everyone looks at everyone." Caracal's insight: in the frequency domain, sequence mixing can be O(L log L) "wave propagation" — sometimes changing the domain of a problem changes its complexity.
Complex in the time domain, simple in the frequency domain: transform the viewpoint, and the problem dissolves.
Takeaways
If you work on LLM architectures or long-sequence modeling, ask:
1. Is my model limited by attention's quadratic complexity? 2. Do frequency-domain methods suit sequence modeling? 3. Is positional encoding truly necessary? 4. Can FFT replace attention?
Caracal reminds us: architectural innovation isn't just about improving attention — it's about moving beyond it. Shifting from time-domain attention to spectral mixing moves models from a quadratic bottleneck toward logarithmic freedom. The best future designs may not be attention variants, but re-understandings of the nature of sequences: in the ocean of frequencies, wave propagation beats handshaking one by one.
*Source: zhichai.net (智柴AI实验室)*