mlsanityData to 7 Oct 2026

Fourier Head: Helping Large Language Models Learn Complex Probability Distributions

arXiv 2410.22269 ↗First posted 29 Oct 2024cs.LG cs.AI cs.CLcited by 10

On the map: Offline RL and imitation learning from data → Decision transformers and sequence modeling

Abstract (arXiv)

As the quality of large language models has improved, there has been increased interest in using them to model non-linguistic tokens. For example, the Decision Transformer recasts agentic decision making as a sequence modeling problem, using a decoder-only LLM to model the distribution over the discrete action space for an Atari agent. However, when adapting LLMs to non-linguistic domains, it remains unclear if softmax over discrete bins captures the continuous structure of the tokens and the potentially complex distributions needed for high quality token generation. We introduce a neural network layer, constructed using Fourier series, which we can easily substitute for any linear layer if we want the outputs to have a more continuous structure. We perform extensive analysis on synthetic datasets, as well as on large-scale decision making and time series forecasting tasks. We also provide theoretical evidence that this layer can better learn signal from data while ignoring high-frequency noise. All of our results support the effectiveness of our proposed Fourier head in scenarios where the underlying data distribution has a natural continuous structure. For example, the Fourier head improves a Decision Transformer agent's returns across four benchmark Atari games by as much as 377%, and increases a state-of-the-art times series foundation model's forecasting performance by 3.5% across 20 benchmarks unseen during training.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Decision transformers and sequence modeling, one of 13 directions in Offline RL and imitation learning from data. Builds on 28 of its 43 references that are in the map. First posted on arXiv 29 Oct 2024.

Builds on

28 of 43 references.

Closest ancestors · 1

Same direction, newest first

  1. 2021Decision Transformer: Reinforcement Learning via Sequence Modeling2 Jun

Other references · 27

  1. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  2. 2024The Llama 3 Herd of Modelscited by 14,192
  3. 2020Scaling Laws for Neural Language Modelscited by 6,411
  4. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
  5. 2020Implicit Neural Representations with Periodic Activation Functionscited by 2,214
  6. 2024Chronos: Learning the Language of Time Seriescited by 712
  7. 2023Time-LLM: Time Series Forecasting by Reprogramming Large Language Modelscited by 680
  8. 2023A decoder-only foundation model for time-series forecastingcited by 650
  9. 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 615
  10. 2020Jukebox: A Generative Model for Musiccited by 535
  11. 2023Large Language Models Are Zero-Shot Time Series Forecasterscited by 491
  12. 2023Simple and Controllable Music Generationcited by 480
15 more
  1. 2023MusicLM: Generating Music From Textcited by 442
  2. 2024TimeMixer: Decomposable Multiscale Mixing for Time Series Forecastingcited by 333
  3. 2022Pre-Trained Language Models for Interactive Decision-Makingcited by 220
  4. 2023Large Language Models as General Pattern Machinescited by 196
  5. 2024Stop Regressing: Training Value Functions via Classification for Scalable Deep RLcited by 136
  6. 2021PSLA: Improving Audio Tagging with Pretraining, Sampling, Labeling, and Aggregationcited by 81
  7. 2024ChatMusician: Understanding and Generating Music Intrinsically with LLMcited by 67
  8. 2024From Words to Numbers: Your Large Language Model Is Secretly A Capable Regressor When Given In-Context Examplescited by 55
  9. 2024LLM Processes: Numerical Predictive Distributions Conditioned on Natural Languagecited by 54
  10. 2023Improving Large Language Model Fine-tuning for Solving Math Problemscited by 48
  11. 2024OmniPred: Language Models as Universal Regressorscited by 34
  12. 2024What Are the Odds? Language Models Are Capable of Probabilistic Reasoningcited by 25
  13. 2024Do LLMs Play Dice? Exploring Probability Distribution Sampling in Large Language Models for Behavioral Simulationcited by 14
  14. 2024Do Music Generation Models Encode Music Theory?cited by 12
  15. 2024Fourier Basis Density Modelcited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 5.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Efficient Sequential Decision Making with Large Language Models
  2. 2026DecisionLLM: Large Language Models for Long Sequence Decision Exploration
  3. 2026LLMs as High-Dimensional Nonlinear Autoregressive Models with Attention: Training, Alignment and Inference
  4. 2023Language Decision Transformers with Exponential Tilt for Interactive Text Environments
  5. 2025Speed Always Wins: A Survey on Efficient Architectures for Large Language Models
  6. 2024On the Modeling Capabilities of Large Language Models for Sequential Decision Making
  7. 2024Controlling Large Language Model Agents with Entropic Activation Steering
  8. 2025FFN Fusion: Rethinking Sequential Computation in Large Language Models