arXiv:2611.05728stat.MLNov 2026

Manuscript Offprint

arXiv:2611.05728

Generative Modeling for Cascading Extremes via Autoregressive Transformers

Miguel de Carvalho, Myung Won Lee, Jordan Richards, Sotirios Sabanis

Miguel de Carvalho

School of Mathematics and Maxwell Institute for Mathematical Sciences University of Edinburgh CIDMA–Department of Mathematics Universidade de Aveiro

miguel.decarvalho@ed.ac.uk

Myung Won Lee

School of Mathematics and Maxwell Institute for Mathematical Sciences University of Edinburgh

johnny.myungwon.lee@ed.ac.uk

Jordan Richards

School of Mathematics and Maxwell Institute for Mathematical Sciences University of Edinburgh

jordan.richards@ed.ac.uk

Sotirios Sabanis

School of Mathematics and Maxwell Institute for Mathematical Sciences University of Edinburgh National Technical University of Athens Athena/Archimedes Research Centre

s.sabanis@ed.ac.uk

Abstract

Extreme events often occur sequentially, from earthquake–tsunami cascades to successive extreme losses in financial markets. We introduce an extremal token representation that encodes multivariate observations as a categorical sequence. A quiet token records the absence of threshold exceedances; otherwise, the token identifies the exceeding component with the largest marginal probability-scale score. The representation is invariant to componentwise strictly increasing transformations. It preserves the identity and temporal ordering of dominant exceedances but discards their magnitudes and the identities of nondominant simultaneous exceedances. A decoder-only transformer estimates the history-dependent next-token kernel on this representation, and recursive sampling generates future token sequences from the induced joint predictive law. We amortize our generative model by pretraining across simulated process families with varying parameters and dependence persistence. Next-token predictions are evaluated against exact conditional probabilities for held-out categorical processes and particle filter references for heavy-tailed vector autoregressive processes. Applied to ten-second returns for five semiconductor stocks, the pretrained model supports zero-shot transfer, while a few epochs of adaptation improve agreement between observed and generated token frequencies and transition patterns. These results support task-specific tokenization and simulation-based pretraining for modeling which dimensions dominate multivariate extremes.

1 Introduction

Extreme events often unfold sequentially. As recently emphasized by de Carvalho et al. (2026), the order in which such events occur matters in many applications, and modeling such sequences of extremes poses nontrivial methodological challenges. Building on their work, we develop this perspective through an analogy with text: Just as a large language model generates a continuation conditional on preceding words, we seek to generate sequences of extremes conditional on their recent history.

While generative modeling of extremes is an increasingly important task in modern machine learning and extreme value theory (e.g., Allouche et al., 2022; De Monte et al., 2025), we focus on how extreme activity evolves across components over time. We study the predictive law of what we will refer to as extremal token sequences. Given recent extreme activity, we predict the next quiet or dominant-exceedance token and assess plausible subsequent token paths.

We encode the multivariate observations as extremal tokens. Each observation receives a quiet token when no threshold is exceeded; otherwise, it records the exceeding component, selecting the one with the greatest marginal probability-scale score when multiple components exceed. For a d-variate series, the vocabulary contains d+1d+1 tokens. The representation retains quiet observations and the ordered labels of dominant exceedances, while discarding their magnitudes and nondominant simultaneous exceedances. We predict and generate these token sequences rather than the original continuous series. An autoregressive model supports both prediction and generation in this representation. It specifies next-token conditional probabilities; their product defines the joint law from which future paths are sampled recursively. We use a decoder-only transformer to learn this next-token kernel. To reduce dependence on tail observations from any one series, we pretrain a shared model on simulated processes spanning different parameters and orders. This amortizes training across prediction tasks, enabling direct use on new series or further adaptation.

Main contributions. Our key contributions are as follows:

  1. We pioneer the development of generative models for cascading extremes by introducing a (d+1)(d+1)-token representation for extremal sequences, that is invariant to componentwise strictly increasing transformations of the raw multivariate time series.

  2. We characterize the high-threshold limit of the next-token kernel using extreme value theory and bound fixed-horizon recursive-generation error in terms of one-step approximation error for finite-context kernels.

  3. We develop an amortized next-token learning scheme on simulated data and evaluate it on independently sampled processes from the training families, using exact conditional probabilities for categorical processes and sequential Monte Carlo references for tokenized heavy-tailed vector autoregressions.

  4. We investigate zero-shot transfer and adaptation using ten-second negative returns for five semiconductor stocks, assessing agreement between observed and generated token frequencies and transition structure.

Related prior work. Extreme value theory provides the probabilistic framework for studying univariate and multivariate extremes. Our theoretical development draws on this framework to characterize the limiting conditional probabilities of dominant-exceedance tokens.

The mathematical foundations of artificial intelligence (AI) can be traced to developments in logic and computability in the 1930s (Ertel, 2025), roughly the same period in which extreme value theory (EVT) emerged through the pioneering work of Fisher and Tippett (Fisher & Tippett, 1928). Despite these parallel beginnings, it has taken nearly a century for the two fields to begin meaningfully intersecting. The special issue editorial by de Carvalho & Richards (2026) surveys the emerging interface between heavy tails and artificial intelligence. Clémençon & Sabourin (2026) review key results connecting multivariate extreme value theory and statistical learning theory.

Deep generative models, including generative adversarial networks (GANs) (Goodfellow et al., 2014), normalizing flows (Papamakarios et al., 2021), and diffusion models (Ho et al., 2020) have been supported by theoretically in approximation and convergence (Liang, 2021; Teshima et al., 2020; Bruno & Sabanis, 2025). However, standard implementations can encounter difficulties in accurately reproducing heavy tails and extremal dependence. These challenges have motivated generative methods tailored to extremes, including GAN-based approaches (Bhatia et al., 2021; Allouche et al., 2022; 2026; Lhaut et al., 2026) and normalizing flows (De Monte et al., 2025; Hu & Castro-Camilo, 2025). In parallel, diffusion models have been explored for extreme-weather forecasting (Price et al., 2025) and the generation of financial time series and spatial fields exhibiting heavy tails (Takahashi & Mizuno, 2025; Walchessen et al., 2025). Complementing these developments, Wessel et al. (2026) compare the generative models for multivariate angular simulation.

A key distinction in our setting, with respect to that of previous works, lies in the generated object. Our model produces categorical paths of what we here define as quiet and dominant-exceedance tokens, rather than continuous observations. The predictive target is the history-dependent distribution of the next token in this representation. To achieve this, we build upon an autoregressive transformer architecture (Vaswani et al., 2017; Radford et al., 2018; Bishop & Bishop, 2024) and on related work in amortized learning and neural inference (Ruoss et al., 2024; Richards et al., 2024; Zammit-Mangion et al., 2025; Lee et al., 2026). Although the model describes how predictions depend on preceding extreme activity, these conditional distributions do not identify causal effects (Pearl, 2009; Gnecco et al., 2021).

Outline. Section 2 introduces the extremal-token representation and the high-threshold limit of its next-token kernel. It also details the transformer model and amortized training objective, and establishes fixed horizon stability of recursive generation. Section 3 examines transferability of the amortized generator to semiconductor stock returns, while Section 4 discusses limitations and extensions. Appendix A provides proofs and technical details, Appendix B presents Monte Carlo simulation experiments, and the remaining appendices contain implementation details and diagnostics.

References (79)