---
title: "Can you use autoregressive diffusion to generate market data?"
description: "Autoregressive diffusion over event-level US equities market data (trades and BBO updates) runs into trouble because market data is neither fully continuous nor fully discrete: timing and price distributions have sharp point masses."
url: "https://swe.quest/articles/can-you-use-autoregressive-diffusion-to-generate-market-data-32341b2dae725e72"
canonical: "https://blog.janestreet.com/can-you-use-autoregressive-diffusion-to-generate-market-data/"
source: "Jane Street Tech Blog"
published: "2026-09-30"
difficulty: "hard"
kind: "Research"
reading_minutes: 8
tags: ["machine-learning","model-training"]
---

# Can you use autoregressive diffusion to generate market data?

A post on [Jane Street Tech Blog](https://swe.quest/sources/jane-street.md), published 2026-09-30, 8 min read, Research. Original: [https://blog.janestreet.com/can-you-use-autoregressive-diffusion-to-generate-market-data/](https://blog.janestreet.com/can-you-use-autoregressive-diffusion-to-generate-market-data/)

## Summary

Autoregressive diffusion over event-level US equities market data (trades and BBO updates) runs into trouble because market data is neither fully continuous nor fully discrete: timing and price distributions have sharp point masses. A causal transformer encoder feeds a categorical event-kind head and a diffusion head. DDPM with a cosine schedule diverged, with 88-95% of samples beyond 8 standard deviations, while rectified flow matching worked out of the box. Splitting discontinuities into a 20-class categorical head and an "atom smoothing" technique both improved TV divergence and discriminator realism, though the model is not yet a realistic generator.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)

## Prerequisites

- diffusion models
- flow matching
- transformer encoders
- order book basics

## Keywords

DDPM, flow matching, DDIM, rectified flow, autoregressive diffusion, AdaLN, Jane Street

## Related posts

- [The Annotated Diffusion Model](https://swe.quest/articles/the-annotated-diffusion-model-62697ee4beb56b3a.md): Hugging Face · 2022-06-07 · Hard · 24 min read · Computer vision, Model training, Machine learning, Python
  Denoising Diffusion Probabilistic Models (Ho et al., 2020) work by pairing a fixed forward process that gradually adds Gaussian noise to an image under a variance schedule with a learned reverse process that denoises step by step from pure noise.
- [VQ-Diffusion](https://swe.quest/articles/vq-diffusion-60af6753b8809ca3.md): Hugging Face · 2022-11-30 · Hard · 7 min read · Computer vision, Machine learning, Python
  VQ-Diffusion is a conditional latent diffusion model whose noising and denoising run over a discrete VQ-VAE codebook rather than Gaussian noise.
- [Stable Diffusion with 🧨 Diffusers](https://swe.quest/articles/stable-diffusion-with-diffusers-03ca8448e680e397.md): Hugging Face · 2022-08-22 · Medium · 15 min read · Computer vision, Inference & serving, Machine learning, Python
  Stable Diffusion is a latent diffusion model that denoises compressed 64×64 latents rather than pixels, combining a VAE, a text-conditioned U-Net with cross-attention, and a frozen CLIP text encoder.
- [Introducing Waypoint-1: Real-time interactive video diffusion from Overworld](https://swe.quest/articles/introducing-waypoint-1-real-time-interactive-video-diffusion-from-overworld-a32e3fe1cea06b6a.md): Hugging Face · 2026-01-20 · Hard · 4 min read · Inference & serving, Model training, Computer vision, Games
  Waypoint-1 is an open-weights real-time interactive video diffusion world model, a frame-causal rectified flow transformer trained on 10,000 hours of game footage paired with keyboard/mouse inputs and text captions, conditioning every frame on user controls.
- [How Diffusion Controller unifies and simplifies AI image generation](https://swe.quest/articles/how-diffusion-controller-unifies-and-simplifies-ai-image-generation-261f5c78987e6b2e.md): Google Research · 2026-09-29 · Hard · 7 min read · Model training, Computer vision, Machine learning
  Diffusion Controller reframes diffusion denoising as a continuous control problem, unifying inference-time guidance and fine-tuning methods such as LoRA, reward-weighted regression and policy gradients under one framework.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
