atlas

Research map / Time series / Foundation models for time series

Fourier Head: Helping Large Language Models Learn Complex Probability Distributions

ICLR 2025 · Time series › Foundation models for time series · approach: LLM-based time series forecasting · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes the Fourier head, a drop-in replacement for the linear softmax output layer that learns a continuous Fourier-series density discretized over bins, improving Decision Transformer Atari returns and Chronos time-series forecasting.

Problem

Standard linear classification heads over discretized continuous tokens ignore the ordering/continuity among bins, leading to jagged distributions that overfit noise when LLMs model non-linguistic, numerical, or probabilistic outputs.

Approach

A linear layer predicts autocorrelation coefficients of a truncated Fourier series; the resulting continuous PDF is evaluated at bin centers to yield a categorical distribution, imposing a smoothness inductive bias over ordered tokens, with a scaling law tying number of frequencies to expressivity vs. smoothness.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the linear classification head with a Fourier head (12 frequencies, no regularization)MLP · GaussianKL divergence: 0.170 ± 0.052 -> 0.116 ± 0.043Helped
Replace the linear classification head with a Fourier head (12 frequencies, no regularization)MLP · GMM-2KL divergence: 0.238 ± 0.032 -> 0.146 ± 0.033Helped
Replace the linear classification head with a Fourier head (12 frequencies, no regularization)MLP · BetaKL divergence: 0.234 ± 0.032 -> 0.191 ± 0.016Helped
Replace the linear classification head with a Fourier headDecision Transformer · BankHeistnormalized returns: -0.09 ± 0.05 -> 0.92 ± 0.33Helped
Replace the linear classification head with a Fourier headDecision Transformer · DoubleDunknormalized returns: -72.72 ± 33.08 -> 45.45 ± 36.36Helped
Replace the linear classification head with a Fourier headDecision Transformer · Gravitarnormalized returns: 1.32 ± 0.17 -> 4.98 ± 0.93Helped
Replace the linear classification head with a Fourier headDecision Transformer · Seaquestnormalized returns: 2.53 ± 0.63 -> 3.70 ± 0.47Helped
Replace the linear classification head with a Fourier head using 550 frequenciesChronos · 20 zero-shot time-series datasetsMASE: 0.883 -> 0.852Helped
Replace the linear classification head with a Fourier head using 550 frequenciesChronos · 20 zero-shot time-series datasetsWQL: 0.750 -> 0.749Helped
Replace the linear classification head with a Fourier head using 550 frequenciesChronos · 20 zero-shot time-series datasetssmoothness: 0.1689 ± 0.1087 -> 0.0283 ± 0.0224Helped
Use mixed-precision binning (ablation)Fourier head in Chronos · 20 zero-shot time-series datasetsMASEHelped
Add Fourier weight decay regularization (γ=10⁻⁶) (ablation)Fourier head in Chronos · 20 zero-shot time-series datasetsMASEHelped

Surprising findings

Limitations

Experimental setup

Datasets: Atari Seaquest offline DQN-replay dataset (Decision Transformer) Chronos pretraining corpus Synthetic Gaussian, GMM-2, Beta datasets Chronos zero-shot benchmark (20 datasets)

Benchmarks: Atari BankHeist Atari DoubleDunk Atari Gravitar Atari Seaquest Chronos zero-shot benchmark (20 datasets)

Metrics: normalized return KL divergence smoothness MSE MASE WQL total variation distance

Baselines: Linear head GMM head Chronos (linear head) Decision Transformer (linear head)

Builds on: Fourier Basis Density Model Decision Transformer Chronos

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy