TL;DR
Standard backtesting in time series forecasting is a "trap": models that achieve the lowest historical validation error often do so by overfitting transient correlations that vanish during regime shifts. This paper proposes Falsifiable Compositional Reasoning, a framework that replaces open-ended model search with explicit structural hypotheses and ex-ante falsification tests to ensure models remain robust when the world changes.
What Problem Does This Paper Address?
In time series forecasting, the gold standard for evaluation is chronological backtesting—splitting data into past training/validation sets and a future test set. However, the authors argue that this practice is fundamentally flawed for non-stationary systems.
Real-world data is often generated by "primitives" (e.g., daily cycles, weather patterns) that happen to co-move in stable proportions during historical periods. Because of this historical co-movement, a model can achieve a great score by learning a "shortcut" (a transient correlation) rather than the underlying structural mechanism. When a regime shift occurs—like a sudden increase in renewable energy capacity changing the relationship between demand and electricity prices—these shortcuts fail catastrophically.
Worse yet, the common practice of searching through massive pools of architectures, hyperparameters, or "Chain-of-Thought" rules actually exacerbates the problem. The more you search, the more likely you are to find a model that "wins" the validation set by exploiting a lucky, temporary alignment in the data.
Methods
The authors propose a shift from "discovery-driven" modeling to "hypothesis-driven" modeling. Their framework, Falsifiable Compositional Reasoning, consists of three main pillars:
- Neural Primitive Encoders: Using modular sequence models (like PatchTST or iTransformer) to extract specific, grounded temporal primitives (e.g., "baseload demand" or "wind supply") from raw data.
- Explicit Coupling Constraints: Instead of letting a black-box network learn how primitives interact, the model uses a pre-specified composition operator ($C_{e_t}$) based on domain knowledge (e.g., physics-based conservation laws or market-clearing logic).
- Ex-Ante Falsification Tests: The model includes a training-calibrated statistical test (specifically a Mahalanobis distance, $\Phi_t$). At inference time, if the input data looks significantly different from the training distribution, the test "rejects" the learned residual corrections and reverts the model to its stable structural backbone.
Datasets
The authors evaluate their approach on two benchmarks designed to test resilience to regime shifts:
- Controlled C-DGP: A synthetic multi-primitive benchmark (14,400 steps) where latent primitives (diurnal, seasonal, etc.) are perfectly correlated during training but decouple in phase during the test period.
- EPF-DE (German Electricity Transition): A real-world dataset of hourly electricity prices from 2012 to 2017. This period saw a massive structural shift as renewable energy (wind/solar) grew by nearly 3 standard deviations, fundamentally altering the correlation between grid load and price.
Key Insights and Ideas
- The "Selection Bias" of Big Searches: Figure 2 illustrates a counter-intuitive finding: as you increase the number of candidate configurations ($M$) you search over, your historical validation error goes down (selection bias), but your out-of-distribution (OOD) error under a regime shift actually increases. You are essentially "mining" for shortcuts.
- Observational Equivalence: In many historical windows, a model that uses a "lagged target" shortcut is mathematically indistinguishable from a model that understands the true causal mechanism. Chronological error alone cannot separate them.
- Falsification as a Safety Valve: The most critical component is the falsification test. By detecting when the "residual pathway" (the part of the model that fits local noise and fine-grained correlations) is no longer reliable, the system can prevent itself from extrapolating outdated fits.
Key Results
The quantitative results highlight the danger of unguided model selection:
- Failure of Standard Search: On the EPF-DE dataset, expanding the search pool to 96 configurations lowered historical MSE to 0.284, but the "winner" still incurred a realized shift MSE of 0.399—more than double the error of the falsifiable model.
- Robustness of Falsification: On the synthetic benchmark, the Compositional (w/ test) approach achieved a shift MSE of 0.0948, compared to 0.6112 for an unguided rule-search approach.
- Rejection Rates: During regime shifts, the falsification test correctly rejected the residual fit in 98.4% to 100% of test windows, effectively "turning off" the parts of the model that were prone to hallucinating old correlations.
Limitations and Future Work
The primary limitation is that this approach is not a black box. It requires researchers to have enough domain expertise to specify the "Grounded Primitives" and "Persistence Mechanisms" (see Table 2 in the paper). You cannot simply throw raw data at it and expect it to work without a pre-committed hypothesis.
The authors suggest that Large Language Models (LLMs) could play a role here—not by predicting numbers directly, but by acting as "analysts" that translate domain documentation and market regulations into the explicit primitives and constraints required for the compositional framework. Future work may focus on automating the formulation of these falsifiable "Hypothesis Cards."
Summary updated