From Fixed Defaults to Calibrated Activation Policies for Long-Term Time-Series Forecasting

Shijie Xu, Boyan Tang, Jianghua Wu

This paper challenges the "set-and-forget" mentality regarding activation functions in long-term time-series forecasting (LTSF). While researchers spend years refining model architectures, they often default to using GELU everywhere. The authors demonstrate that the optimal activation function and its placement (e.g., encoder vs. decoder) vary significantly across different datasets and forecasting horizons. They propose a calibrated selection policy that uses evidence from prior experiments to choose the best activation configuration for new tasks without requiring an exhaustive search.

TL;DR

Instead of using fixed defaults like GELU, this study introduces a calibrated policy that selects task-specific activation functions and placements based on input data characteristics. By learning from prior experiments, the policy reduces mean squared error (MSE) by 7.86% on average across 51 forecasting tasks with negligible computational overhead at inference time.

What Problem Does This Paper Address?

In the rapidly evolving field of long-term time-series forecasting, architecture is king. Models like Informer, Autoformer, and PatchTST have pushed the boundaries of what’s possible. However, the choice of activation function—the nonlinearity that allows these models to learn complex patterns—is usually treated as a fixed architectural constant.

The authors identify two major gaps:

  1. Suboptimality of Defaults: The standard GELU default is rarely the best choice for every dataset or prediction horizon.
  2. Search Cost: While you could perform a grid search for every new forecasting task to find the best activation, it is computationally expensive and impractical for real-world deployment.

The challenge is to find a way to use "accumulated experimental evidence" to guide these configuration decisions automatically and reliably.

Methods

The authors develop a calibrated activation policy that operates in three layers:

  1. Action Space: They define nine auditable configurations. These aren't just different functions (ReLU, Tanh, Softsign, Swish) but also different placements. For example, enc-tanh only changes the encoder, while tanh+out adds a Tanh layer after the final output projection. (See the full list in Figure 3/Table 2).
  2. Base Policy (CF-SBC): The "Calibration-Fold Single-Best Configuration" identifies the one activation setup that performed best on average across all other previously seen datasets.
  3. Factor-Conditioned Routing: This layer uses input-derived statistical features—such as volatility, jump intensity, tail ratios, and spectral entropy—to decide if the base policy should be overridden.
  4. Deterministic Verifier: To prevent risky "hallucinations" or poor choices, an override is only accepted if it passes strict thresholds for support (how often it worked before), precision, and expected uplift. If the evidence is weak, the system "abstains" and falls back to the safe base policy.

Notably, the authors used LLMs (OpenAI Codex) to help author the initial candidate rules based on experimental summaries, but these rules were then frozen into a deterministic JSON format for execution, ensuring reproducibility and low latency.

Datasets

The study is backed by a massive experimental grid of 1,225 Informer training runs. They evaluated their policy across:

  • 17 Dataset Variants: Including the ETT (Electricity Transformer Training) family, Weather (Jena), Electricity, Traffic, Exchange, and ILI (Influenza-like illness).
  • Solar Power Data: Eight 15-minute PV station series (Solar1–Solar8).
  • Architecture Probes: While the main policy is evaluated on Informer, they also conducted transfer probes on PatchTST and iTransformer to show that activation sensitivity persists across different model topologies.

Key Insights and Ideas

  • Activation is a "Live" Variable: The choice of activation function is not just a minor hyperparameter; it is a structural decision that can change model response as much as the architecture itself.
  • Placement is Crucial: Figure 1 shows that while bounded activations (like Tanh) often provide the best results, they also have a "broad lower tail," meaning they can be harmful if placed incorrectly (e.g., on the wrong side of the encoder/decoder stack).
Raw paired gain distribution for non-GELU activation configurations. Bounded tanh-family activations show positive means but high dispersion.
  • The Oracle Regret: The paper focuses on closing the gap between a fixed default and the "Oracle" (the theoretical best choice if you knew the future results). Their policy reduces this "regret" by 20.9% relative to just picking a better global default.
  • Zero-Cost Improvement: Because the selection is based on simple statistical factors of the input window, the "routing" happens in milliseconds on a CPU, providing a "free" accuracy boost without retraining the backbone model.

Key Results

  • 7.86% MSE Reduction: The balanced policy outperformed the conventional GELU baseline by nearly 8% on average.
  • 72.55% Success Rate: The policy improved accuracy in nearly three-quarters of the 51 tasks tested.
  • Robustness: By using the "abstention" mechanism, the policy avoided catastrophic failures, retaining the safe default when the input data was too noisy or unfamiliar.
  • Architecture Dependence: Probes on PatchTST and iTransformer confirmed that while the need for selection is universal, the specific portfolio of best activations is architecture-specific. For instance, PatchTST strongly preferred a linear head, whereas Informer often benefited from an output Tanh.

Limitations and Future Work

  • Architecture Specificity: A policy calibrated for Informer cannot be dropped directly onto a different architecture like PatchTST without recalibration. The "portfolio" must be learned for each backbone.
  • Static Templates: The current rules are frozen templates. The authors suggest that future work could explore more dynamic, online learning of these policies as more tasks are completed.
  • Action Space Size: The study limited itself to 9 configurations for auditability. A larger, more granular search space might yield even higher gains but would require more calibration data.

Summary updated

Abstract

Long-term time-series forecasting supports decisions in energy, transportation, and other applications where reliable predictions are needed beyond the observed data. Although forecasting research has advanced model architectures, fixed activation configurations provide limited guidance on how activation choices should vary across datasets and prediction horizons. This study aims to establish when task-specific activation choices improve forecasting accuracy and how previous experiments can guide the selection of suitable configurations for new tasks. We develop a calibrated selection policy that learns a reliable default from prior experiments, adapts the activation function and its location to each task, and retains the default when evidence for a change is insufficient. In an evaluation supported by 1,225 Informer training runs across 17 dataset variants and 51 forecasting tasks, the policy reduces mean squared error by 7.86% on average relative to the conventional fixed-activation baseline and improves 72.55% of tasks. These findings establish activation choice and placement as practical opportunities for improving existing forecasting models and show how accumulated experimental evidence can guide configuration decisions without repeating an exhaustive search for every task.
BibTeX
@misc{xu2026from,
  author = {Shijie Xu and Boyan Tang and Jianghua Wu},
  title = {{From Fixed Defaults to Calibrated Activation Policies for Long-Term Time-Series Forecasting}},
  year = {2026},
  eprint = {2611.06559},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.06559},
}
Figure