논문 해설
Caracal: Causal Architecture via Spectral Mixing
Caracal: 스펙트럴 믹싱을 통한 인과 아키텍처
- 연구 문제 Transformer attention은 긴 시퀀스에서 O(L²) 비용과 위치 인코딩 의존 문제를 가집니다.
- 연구 방법 Caracal은 attention을 주파수 영역 게이트 혼합 모듈로 대체하고 패딩·절단으로 인과성을 유지합니다.
- 주요 결과 Caracal은 여러 표준 평가에서 Transformer와 SSM 기준선에 경쟁력 있는 평균 정확도를 보이며, 긴 문맥 학습 시간에서 Llama보다 효율적입니다.
Attention의 비용과 위치 정보 문제
Transformer의 attention은 시퀀스 길이 L에 대해 O(L²) 비용이 들어 긴 입력을 다루기 어렵습니다. 또한 attention 자체는 토큰 순서에 둔감하므로 별도의 위치 인코딩이 필요하고, 이 인코딩은 학습 문맥 길이에 성능을 묶어 외삽 시 불안정해질 수 있습니다. 이 논문은 attention을 대체하면서 자기회귀 생성에 필요한 인과성을 유지하는 방법을 다룹니다. 원문은 Fourier 기반 모델이 O(LlogL) 복잡도로 전역 혼합을 할 수 있지만 인과성을 주파수 영역에서 강제하기 어려워 생성 과제에 제한되어 왔다고 설명합니다.
MHF 모듈과 주파수 영역 인과 혼합
Caracal의 핵심은 Multi-Head Fourier(MHF) 모듈입니다. 입력 x는 깊이별 인과 1D 합성곱으로 국소 패턴을 먼저 받고, 층 정규화 뒤 값 스트림 xv와 게이트 스트림 xg로 나뉩니다. 게이트 스트림은 선형 투영, SiLU, 그룹 합성곱을 거쳐 head 내부의 상호작용을 담습니다. 두 스트림은 길이 N=2L로 패딩된 뒤 FFT로 변환되고, 주파수 영역에서 원소별로 곱해집니다. 이후 역FFT를 수행하고 길이 L로 절단하여 비인과 꼬리 성분을 제거한 다음 선형 층으로 출력을 냅니다. 원문은 이 pad-FFT-multiply-iFFT-truncate 절차가 인과 합성곱과 수학적으로 동등하다고 설명합니다.
이 방식은 주파수 기저에 직접 마스크를 씌울 수 없다는 문제를 우회하여 입력 길이를 조정하는 방식입니다.

Figure 1 .Comparison of a standard Transformer model (left) and our proposedCaracalmodel (right). The core modification is the replacement of Masked Multi-Head Attention with our Multi-Head Fourier (MHF) module and the removal of positional encodings.
원문 · CC BY 4.0 · Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu · Caracal: Causal Architecture via Spectral Mixing · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.크기별 성능과 장문 과제에서의 한계
Table 2 설정에서 Caracal은 FineWeb-10B를 10B 토큰, 문맥 길이 512로 학습한 Tiny부터 Large까지의 모델을 Llama, Mamba, Mamba-2, Jamba와 비교합니다. Large 크기에서 Caracal의 평균 정확도는 49.01이며 Llama의 평균은 48.73입니다. 이 결과는 해당 평가 설정에서의 비교이며 모든 과제에서의 우위가 아닙니다. 반면 확장 시퀀스의 정보 추출 평가인 Table 4에서는 Llama의 평균이 9.55, Caracal의 평균이 5.37로 나타나 어텐션 기반 모델이 뚜렷한 우위를 보입니다. 저자들은 이를 Caracal의 전역 효율성과 정밀 검색 해상도 사이의 구조적 절충으로 해석합니다.

Table 1 .Hyperparameter configurations for the different model sizes used in our experiments.
원문 · CC BY 4.0 · Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu · Caracal: Causal Architecture via Spectral Mixing · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Table 2 .Effectiveness and Scaling. We report accuracy (%) for all tasks and ppl for Lambada. Bold numbers indicate the best performance within each parameter class. Values in parentheses denote the total parameter count for each model.
원문 · CC BY 4.0 · Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu · Caracal: Causal Architecture via Spectral Mixing · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 4 .Evaluation on Information Extraction and Retrieval over extended sequences. Models are compared at the ”Large” size. We report accuracy (%) for SWDE and FDA benchmarks.
원문 · CC BY 4.0 · Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu · Caracal: Causal Architecture via Spectral Mixing · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.문맥 길이에 따른 학습 시간
효율 실험은 Tiny 크기 모델을 약 65M 파라미터로 맞추고, 문맥 길이 256부터 8192까지 학습 시간과 토큰 처리량을 측정합니다. 원문에 따르면 문맥 길이 8192에서 Caracal(Default)의 총 학습 시간은 34,071초이고 Llama는 94,258초입니다. 따라서 이 설정에서 Caracal은 Llama보다 약 세 배 빠릅니다. 이 측정은 같은 하드웨어와 하이퍼파라미터 조건에서 이루어졌으며, 결과 해석은 학습 시간과 처리량에 한정됩니다.

Table 7 .Total Training Time (seconds) across different context lengths.
원문 · CC BY 4.0 · Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu · Caracal: Causal Architecture via Spectral Mixing · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.
Table 8 .Token Throughput (tokens/s) across different context lengths.
원문 · CC BY 4.0 · Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu · Caracal: Causal Architecture via Spectral Mixing · 원문 그림 인용 · 원본 PDF 16쪽에서 그림 영역을 추출했습니다.절제 실험과 혼합 비율
Large 설정의 절제 실험에서 전체 모델의 평균 정확도는 49.01이고, SWA 층을 MHF로 대체한 w/o SWA 변형은 48.22입니다. 이 차이는 SWA 층을 유지한 효과로 읽을 수 있으며, 사전 정의된 PC나 PE를 제거한 변형도 함께 보고됩니다. 혼합 비율 실험은 Small 12층 모델에서 MHF:SWA를 5:1, 3:1, 2:1, 1:1로 비교합니다. 2:1 설정의 평균 정확도는 43.35이고 1:1은 43.26입니다. 저자들은 과도한 국소 attention이 주파수 영역 전역 모델링과 시간 영역 국소 추출의 상호 작용을 약화시킨다고 해석합니다.

Table 5 .Ablation study variants. We report theAvg. Acc(%), representing the mean accuracy across the benchmarks listed in Table 2. All experiments were conducted using the ”Large” model.
원문 · CC BY 4.0 · Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu · Caracal: Causal Architecture via Spectral Mixing · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Table 6 .Parameter study on the hybridization ratio of MHF to SWA layers. We report theAvg. Acc(%), representing the mean accuracy across the benchmarks listed in Table 2. All experiments were conducted using the ”Small” (12-layer) model.
원문 · CC BY 4.0 · Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu · Caracal: Causal Architecture via Spectral Mixing · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.검증 범위와 남은 과제
원문은 실험이 현재 파라미터 규모까지만 검증되었으며 조 단위 파라미터 모델에 대한 대규모 pre-training은 아직 필요하다고 밝힙니다. 또한 정밀한 정보 검색 과제에서 Caracal이 밀집 attention 모델보다 뒤처지는 해상도 격차가 있다고 밝힙니다. 따라서 본 결과는 표에서 보고된 모델 크기, 10B 토큰 pre-training, 512 문맥 설정 및 보고된 장문 과제 범위 안에서 읽어야 합니다.
논문 정보
- 저자
- Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2026년 4월 30일
- 등록일
- 2026년 10월 29일
- 수정일
- 2026년 5월 7일
- 버전
- v2
- arXiv
- 2605.00292
- 분류
- cs.LG · cs.AI
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
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.
원문 인용
Bingzheng Gan, Tianyi Zhang, Yusu Li, Jing Huang, Wei Shi, Yangkai Ding, Tao Yu (2026). Caracal: Causal Architecture via Spectral Mixing. arXiv:2605.00292v2. https://arxiv.org/abs/2605.00292v2
BibTeX
@misc{gan2026caracal,
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},
year = {2026},
eprint = {2605.00292},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2605.00292v2}
}