Do prospective learners beat time-series forecasting baselines on real tasks with covariates, starting with M5?

Open
#164 7 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

Start by reading the fev-bench-mini task definition in fev's tasks_mini.yaml and the results format in docs/experiments/results/fev-bench-mini.json. The issue calls for learner pseudocode to be confirmed before implementation, then task loading, model runs, review, and a figure plus Experiments page; no project source files or tests are named. Done means producing the specified skill score and win-rate figure with task-level error ratios and an Experiments page.

Written by the indexing model from the issue text.

Description

experiment

Question

On real forecasting tasks with covariates, do prospective learners beat time-series forecasting baselines?

The simulated settings answer this where the Bayes risk is known. On periodic-single, the prospective arms beat every time-series baseline run so far (#115). This question moves to published benchmark tasks from fev-bench (Shchur et al., arXiv 2509.26468), loaded through the fev library, which is Apache-2.0.

Only tasks with dynamic covariates are in scope. In the prospective setting, a target $y_t$ is predicted from covariates $x_t$ whose relation to it shifts over time. A task without covariates is autoregression on the target's own past, which does not test that.

Tasks in scope

  1. M5 first: m5_1D from full fev-bench (tasks.yaml). 30,490 daily unit-sales series, one per item and store, with a 28-day horizon. Its known covariates are sell price, event flags (national, religious, cultural, sporting) and each state's SNAP days. Its static columns are item, department, category, store and state. M5's competition terms are read before use (decision 161).
  2. Then the fev-bench-mini tasks with dynamic covariates (tasks_mini.yaml), 8 of its 20:
    • one target: epf_np, proenfo_gfc14, rohlik_orders_1D, rossmann_1D, rossmann_1W, solar_with_weather_1H
    • several targets: uci_air_quality_1H (known covariates), uk_covid_nation_1D (past covariates only)

The other 12 fev-bench-mini tasks have no dynamic covariates and are out of scope.

Figure that answers it

Per task, each learner's and baseline's MASE (point forecasts) and scaled quantile loss (probabilistic forecasts), as error ratios to fev-bench's reference forecaster, so that forecaster is the figure's baseline level. Across the tasks in scope, the skill score and average win rate as fev-bench aggregates them, with 95% bootstrap intervals over tasks once there are enough tasks to bootstrap. Drawn from the result files in docs/experiments/results/. There is no Bayes level on real data.

Tasks

Each task with design questions of its own gets a sub-issue.

  • No new algorithm: the batch and online learners on the learner page apply as written, with $x_{s}$ the known covariates and $y_{s}$ real-valued. The page's predict step, an argmax over $y$, generalizes to the head's point and quantile forecasts. Choose that head and its loss $\ell$ (decision 158), one target first. Many M5 series are mostly zeros.
  • Load m5_1D through fev, and run a learner on a series' history with its covariates.
  • The learners, then the baselines, on m5_1D. A model from another lab reviews the code before the runs. Scored two ways: fev's one window, for comparison with published fev-bench numbers, and rolling windows across the history, as the settings score at each checkpoint.
  • The same on the 6 single-target fev-bench-mini tasks.
  • Extend the learners to several targets, then run them on uci_air_quality_1H and uk_covid_nation_1D.
  • The figure and an Experiments page.

Result

Pending.

🤖 Generated with Claude Code

Dominant language
Python
Stars
0
Forks
0
Avg merge
2h 9m
Merged PRs (30d)
164

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from neurodata/prolearn

All issues in neurodata/prolearn

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.