Self-Evolving Time-Series Forecasting Agents with Episodic Memory and Online Policy Learning
Organizations: Shanghai Jiao Tong University · Shanghai Artificial Intelligence Laboratory · Tsinghua University
Abstract
LLM-based agents are increasingly used for time-series forecasting because they can organise contextual information, perform multi-step analysis, and guide the sequence of actions required to complete forecasting tasks. Most existing agents focus only on the current forecasting instance. However, in real-world deployments, forecasting commonly operates online, with new forecasts issued from the currently available history as the forecast origin advances and the ground-truth targets of earlier instances progressively become available. These targets provide feedback on the actions taken in earlier instances, yet existing agents generally do not preserve or utilise this information to adapt their subsequent actions. To address this limitation, we introduce FASE, a Feedback-Aware Self-Evolving forecasting agent that converts such feedback into task-specific experience for subsequent forecasting instances. FASE combines episodic memory, which retrieves relevant completed instances, with online policy learning, which summarises the feedback accumulated across instances into ranking guidance. The proposed framework is evaluated on 29 dataset configurations selected from the GIFT-Eval benchmark. Across these 29 configurations, FASE attains the strongest aggregate point forecasting performance among the evaluated methods and reduces the normalised MAE by 9.1% relative to the best individual foundation model baseline. The results further indicate that the cumulative advantage of FASE increases as delayed feedback accumulates. Together, these findings demonstrate that FASE can continually self-evolve through feedback from completed forecasting instances without updating the parameters of the LLM.
Figures & tables
| MASE | MAE | RMSE | CRPS | |||||
|---|---|---|---|---|---|---|---|---|
| Method | Norm. | Rank | Norm. | Rank | Norm. | Rank | Norm. | Rank |
| Seasonal Naive | 1.000 | 7.79 | 1.000 | 7.72 | 1.000 | 7.86 | 1.000 | 7.97 |
| Chronos-2 ( Ansari et al., 2025 ) | 0.752 | 4.55 | 0.729 | 5.03 | 0.720 | 4.59 | 0.545 | 4.90 |
| TimesFM 2.5 ( Google Research, 2025 ) | 0.753 | 4.59 | 0.737 | 4.62 | 0.705 | 3.86 | 0.528 | 4.17 |
| Moirai-2.0-R-Small ( Liu et al., 2025a ) | 0.774 | 5.97 | 0.739 | 5.21 | 0.756 | 6.24 | 0.542 | 5.38 |
| TiRex-2 ( Podest et al., 2026 ) | 0.728 | 4.34 | 0.685 | 3.97 | 0.677 | 3.72 | 0.489 | 3.38 |
| Long | Medium | Short | ||||
|---|---|---|---|---|---|---|
| Method | MASE | CRPS | MASE | CRPS | MASE | CRPS |
| Seasonal Naive | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| Chronos-2 ( Ansari et al., 2025 ) | 0.782 | 0.547 | 0.782 | 0.563 | 0.729 | 0.538 |
| TimesFM 2.5 ( Google Research, 2025 ) | 0.763 | 0.519 | 0.773 | 0.546 | 0.741 | 0.525 |
| Moirai-2.0-R-Small ( Liu et al., 2025a ) | 0.823 | 0.560 | 0.831 | 0.567 | 0.733 | 0.525 |
| TiRex-2 ( Podest et al., 2026 ) | 0.748 | 0.475 | 0.760 | 0.488 | 0.708 | 0.496 |
| Method | MASE | MAE | RMSE | CRPS |
|---|---|---|---|---|
| Base Agent | 0.758 | 0.718 | 0.713 | 0.543 |
| Memory Only | 0.683 | 0.631 | 0.655 | 0.483 |
| Policy Only | 0.687 | 0.629 | 0.649 | 0.505 |
| FASE | 0.679 | 0.622 | 0.643 | 0.497 |
| MASE change relative to Base Agent (%) | |||
| Method | Improvement | Degradation | Net improvement |
| Memory Only | 11.4 | 2.2 | 9.2 |
| Policy Only | 11.7 | 2.6 | 9.1 |
| FASE | 11.9 | 2.2 | 9.7 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Domain | Frequency | Term | Pred. Length | Instances |
|---|---|---|---|---|---|
| bitbrains_fast_storage | Web/CloudOps | 5T | medium | 480 | 5,000 |
| bitbrains_fast_storage | Web/CloudOps | 5T | long | 720 | 5,000 |
| bitbrains_fast_storage | Web/CloudOps | H | short | 48 | 5,000 |
| bitbrains_rnd | Web/CloudOps | 5T | medium | 480 | 2,000 |
| bitbrains_rnd | Web/CloudOps | 5T | long | 720 | 2,000 |
| bitbrains_rnd | Web/CloudOps | H | short | 48 | 2,000 |
| Component | Setting |
|---|---|
| LLM controller | Qwen3.8-27B-FP8; temperature ; top-p ; reasoning effort xhigh; sampling seed . |
| Statistical context | 18 features computed from up to the 15,360 most recent history positions. |
| Episodic memory | Recent pool capacity ; long-term pool capacity ; retrieved instances per action. |
| Policy input | Most recent observations, normalised within each forecasting instance using the median and standard deviation, together with a binary observation mask. |
| Policy predictor | MLP with dimensions and ReLU activations after the hidden layers. |
| Feedback pool | First-in, first-out pool with capacity ; uniform minibatch sampling. |
| Group | Statistic | Description |
|---|---|---|
| Data quality | Missing ratio | Fraction of missing target values. |
| Data quality | Zero ratio | Fraction of observed target values equal to zero. |
| Temporal dynamics | Global trend strength | Standardised slope over the full history. |
| Temporal dynamics | Recent trend strength | Standardised slope over the recent history. |
| Temporal dynamics | Recent level shift strength | Standardised shift between recent and prior means. |
| Temporal dynamics | Recent scale change strength | Normalised change between recent and prior scales. |
| Dataset | Setting | Chronos-2 | TimesFM 2.5 | Moirai-2.0- R-Small | TiRex-2 | Toto-2.0- 313m | Uniform Ensemble | FASE |
|---|---|---|---|---|---|---|---|---|
| bitbrains_fast_storage | 5T / medium | 0.777 | 0.815 | 0.813 | 0.797 | 0.751 | 0.777 | 0.732 |
| 5T / long | 0.762 | 0.795 | 0.807 | 0.790 | 0.719 | 0.758 | 0.709 | |
| H / short | 0.754 | 0.818 | 0.822 | 0.823 | 0.717 | 0.774 | 0.723 | |
| bitbrains_rnd | 5T / medium | 0.959 | 0.969 | 0.969 | 0.967 | 0.949 | 0.958 | 0.948 |
| 5T / long | 0.933 | 0.948 | 0.952 | 0.945 | 0.926 | 0.934 | 0.921 | |
| H / short | 0.964 | 0.969 | 0.962 | 0.979 | 0.956 | 0.962 | 0.950 |
| Dataset | Setting | Chronos-2 | TimesFM 2.5 | Moirai-2.0- R-Small | TiRex-2 | Toto-2.0- 313m | Uniform Ensemble | FASE |
|---|---|---|---|---|---|---|---|---|
| bitbrains_fast_storage | 5T / medium | 0.519 | 0.634 | 0.579 | 0.497 | 0.479 | 0.514 | 0.607 |
| 5T / long | 0.636 | 0.706 | 0.685 | 0.584 | 0.500 | 0.593 | 0.666 | |
| H / short | 0.798 | 0.756 | 0.601 | 0.654 | 0.572 | 0.651 | 0.679 | |
| bitbrains_rnd | 5T / medium | 1.015 | 0.722 | 0.508 | 0.533 | 0.472 | 0.640 | 0.533 |
| 5T / long | 0.861 | 0.632 | 0.484 | 0.505 | 0.454 | 0.573 | 0.881 | |
| H / short | 0.830 | 0.490 | 0.538 | 0.480 | 0.472 | 0.546 | 0.548 |
LLM-Based Time Series Forecasting
LLM-based time series forecasting uses large language models to predict future values from numerical histories and contextual data.
See all 100 papers