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.
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:
- 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.
- 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$).
- 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.
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.
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