Designing Time-Series Models With Hypernetworks & Adversarial Portfolios
Filip Staněk
TL;DR
This work tackles time-series forecasting under task heterogeneity by introducing MtMs, a hypernetwork-based meta-learning framework that outputs task-specific parametric models through mesa parameters. The approach enables end-to-end backpropagation to jointly optimize meta-parameters and per-task modifiers, effectively balancing global structure with local variation across assets. Empirically, MtMs demonstrates strong performance on sinusoidal regression and the M4 dataset, and achieves competitive results in the M6 forecasting challenge, while the accompanying investment strategy explores an adversarial yet risk-conscious method to improve leaderboard rankings. The study highlights the practical potential of task-conditioned parametric modeling for financial forecasting and suggests broad applicability to other meta-learning scenarios beyond finance.
Abstract
This article describes the methods that achieved 4th and 6th place in the forecasting and investment challenges, respectively, of the M6 competition, ultimately securing the 1st place in the overall duathlon ranking. In the forecasting challenge, we tested a novel meta-learning model that utilizes hypernetworks to design a parametric model tailored to a specific family of forecasting tasks. This approach allowed us to leverage similarities observed across individual forecasting tasks while also acknowledging potential heterogeneity in their data generating processes. The model's training can be directly performed with backpropagation, eliminating the need for reliance on higher-order derivatives and is equivalent to a simultaneous search over the space of parametric functions and their optimal parameter values. The proposed model's capabilities extend beyond M6, demonstrating superiority over state-of-the-art meta-learning methods in the sinusoidal regression task and outperforming conventional parametric models on time-series from the M4 competition. In the investment challenge, we adjusted portfolio weights to induce greater or smaller correlation between our submission and that of other participants, depending on the current ranking, aiming to maximize the probability of achieving a good rank.
