CAST: Causal Anchored Simplex Transport for Distribution-Valued Time Series

Jiecheng Lu, Jieqi Di, Runhua Wu, Yuwei Zhou

TL;DR

Forecasting a single number is hard enough, let alone predicting how an entire probability distribution—like server queue lengths or a nation’s energy mix—will morph over time. Standard models often stumble when identical-looking distributions are actually heading in completely opposite directions, leading to blurry, averaged-out predictions. This paper introduces CAST, a method that operates directly on the geometry of probabilities by remembering similar historical trajectories, anchoring to the present, and physically nudging probability mass into neighboring bins.

What Problem Does This Paper Address?

Imagine looking at a snapshot of a cloud server’s request queue. Half the bins are moderately full. What happens next? Without context, it’s a trick question: that exact same histogram could represent a calm system suddenly surging toward congestion, or a swamped system finally draining out after a burst.

In systems ranging from LLM inference clusters to air-quality tracking, we observe distribution-valued time series—vectors of proportions that sum to 1 (living on a geometric space called the probability simplex). Predicting the full distribution, rather than just an average, is vital when tail risks like queue overflows matter.

The authors highlight a fundamental trap here called latent transition-kernel aliasing: two completely different underlying regimes (rising load vs. draining load) pass through the exact same current distribution $p_t$. If a model relies on an aliased summary—like looking only at the present state—it is mathematically forced to hedge its bets and output a mushy average of both futures. Meanwhile, standard statistical tools warp probabilities into unconstrained log-ratio coordinates, and off-the-shelf deep learning models just slap a softmax layer onto the end of a black-box neural network, leaving the network to figure out how probability mass actually moves from scratch.

Latent-kernel aliasing: two distinct histories arrive at the same distribution $p_t$ before diverging into different futures.

Methods

Instead of warping coordinates or hoping a softmax head learns physics, CAST (Causal Anchored Simplex Transport) builds forecasts directly on the probability simplex in three intuitive stages, guaranteeing valid probabilities at every step:

  1. Retrieve (Breaking the Alias): A standard decoder-only Transformer reads the causal history of distributions. Using attention with rotary position embeddings, it searches strictly past moments in the sequence to find similar contexts (not just similar snapshots) and retrieves a weighted blend of what happened next ($r_t$). Because rising and draining histories look different over time, retrieval tells them apart.
  2. Anchor (Staying Grounded): Historical matches can be noisy. So, CAST takes a learned convex combination of the current distribution $p_t$ and the retrieved future $r_t$, creating a stabilized persistence–successor anchor ($a_t$).
  3. Transport (Moving Mass Locally): Some distributions have a natural order—queue lengths of 1, 2, 3, or Air Quality Index severity bins. On these ordered supports, probability mass doesn't teleport; it flows into adjacent bins. CAST predicts a bounded, local row-stochastic transition kernel ($T_t$) that shifts mass by at most one bin left or right, governed by a strict "mean-shift budget" so multi-step rollouts don't drift off the rails. For unordered categories (like diet or energy types), this transport step is simply turned off.
The three stages of CAST: causal retrieval from history, persistence anchoring, and bounded local mass transport.

Datasets

The authors evaluate CAST across an 11-dataset benchmark suite spanning dimensions from $D=6$ to $596$:

  • Seven Unordered Public Panels: Ecological bird communities (BioTIME), electricity generation mixes (Ember Monthly), national diets (OWID Dietary), cause-of-death shares (CDC Weekly Deaths), employment shares (BLS QCEW), severe weather types (NOAA Storm Events), and NYC taxi pickup zones (NYC TLC Trip).
  • Four Ordered Datasets: County air-quality severity profiles (EPA AirData AQI) and three simulated queueing benchmarks (Queue Homogeneous, Queue Nonhomogeneous, and Queue Combined) following an established $G/G/1$ and $G_t/G/1$ simulation protocol to test generalization on completely held-out queue systems.

Key Insights and Ideas

  • Aliasing has an exact mathematical price: Theorem 1 proves that any forecaster relying on an aliased summary suffers an unavoidable excess KL-divergence risk equal to at least the weighted Jensen–Shannon divergence between the true regime futures. A synthetic experiment confirmed this down to the third decimal place.
  • Interpolation isn't enough for ordered queues: Even if a model knows the hidden regime, blending past states and the present state (anchoring alone) traps predictions inside their convex hull. When mass genuinely shifts into new territory along an ordered support, local transport is provably necessary to close the gap (Theorem 3).
  • Persistence is the unsung hero of one-step accuracy: Ablations revealed that ripping out the persistence anchor hurt immediate next-step accuracy more than any other component—causing error to triple on Ember Monthly and jump eightfold on Queue Combined. Local transport, conversely, shines during long-term rollouts.

Key Results

Tested against 15 statistical and deep-learning baselines (including compositional ETS, ilr-VAR, N-HiTS, iTransformer, TimeMixer, and GRU), CAST takes the top spot overall:

  • Best Average Ranks: Across all 11 datasets, CAST achieves an average rank of 1.27 on offline one-step KL divergence (next best: 5.27) and 1.91 on multi-step autoregressive rollout JSD (next best: 3.73). It ranks #1 on 8 out of 11 datasets for both metrics, and never falls below #2 on offline KL.
  • Tracking Moving Waves: On datasets with strong aliasing, CAST cuts rollout JSD by 38% on Ember Monthly and 30% on Queue Nonhomogeneous compared to the strongest runner-up. Visually, while baselines like GRU or N-HiTS freeze into static horizontal bands during 64-step queue rollouts, CAST cleanly rides oscillating and drifting waves of congestion.
64-step autoregressive rollouts showing CAST tracking oscillating and drifting queue loads while neural baselines freeze or blur.

Limitations and Future Work

On three of the unordered public panels (BioTIME, OWID Dietary, and CDC Weekly Deaths)—datasets where the authors' diagnostic found weak aliasing—simple statistical baselines like Persistence and Compositional ETS still beat CAST on multi-step rollout JSD. Because CAST is currently trained solely on teacher-forced one-step-ahead pairs, small errors can compound on unordered panels where local transport isn't active. The authors point to training directly on multi-step rollouts as the natural next step.

Summary updated

Abstract

Many decision-facing stochastic systems are observed as aggregate distributions that evolve over time: queue occupancies, mobility shares, generation mixes, and air-quality severity profiles all live on the probability simplex. We study causal, time-respecting forecasting of such distribution-valued time series. Similar observed distributions often have different successors under different contextual regimes, a structure we call latent transition-kernel aliasing. We prove that any forecaster whose prediction is a function of an aliased summary incurs an excess risk of at least a weighted Jensen–Shannon divergence. We introduce CAST (Causal Anchored Simplex Transport), a successor-local operator that (i) retrieves empirical successors from the causal context, (ii) stabilizes them with a persistence anchor, and (iii) applies a bounded local stochastic transport on ordered supports, so that every stage stays on the simplex. If the regime-aware Bayes successor has CAST form, the history identifies the regime, and retrieval can select a matching successor from the memory, the CAST hypothesis class contains that successor. On ordered supports, a Pinsker bound separates the class from every no-transport anchor method whenever the transported successor leaves the anchor hull. On eleven public and simulated datasets spanning ecology, energy, diet, mortality, employment, air quality, severe weather, mobility, and queueing, CAST attains the best average rank among sixteen methods on both one-step KL (1.27) and autoregressive rollout JSD (1.91), and it ranks first on eight datasets for each metric. A controlled synthetic experiment reproduces the predicted aliasing gap, and in ablations, removing the persistence anchor causes the largest loss of one-step accuracy and removing local transport raises rollout error on all three queue datasets.
BibTeX
@inproceedings{lu2026cast,
  author = {Jiecheng Lu and Jieqi Di and Runhua Wu and Yuwei Zhou},
  title = {{CAST: Causal Anchored Simplex Transport for Distribution-Valued Time Series}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=7wHSu87prc},
}
Figure