TS-RSI: Recursive Self-Improvement in Long-Term Time Series Forecasting
Abstract
Forecasting systems increasingly let LLMs write programs and revise them from validation feedback, a loop of recursive self-improvement (RSI). We introduce TS-RSI, a pre-registered testbed on long-term time series forecasting that pairs every loop with a trivial competitor encoding the same structure by hand. TS-RSI-Code uses one LLM-written program per dataset as a feature generator for a ridge correction to a closed-form CycleNet-style learner, with gap-matched fitting and a per-horizon fallback against drift. Relative to the CycleNet cycle, it lowers error by 14-27% on the held-out PEMS datasets and costs at most 1% on the other held-out datasets. The PEMS gain is a weekly cycle: choosing a daily or weekly cycle on validation does at least as well without an LLM, and iterating on the program improves the median by at most 0.8% while validation overstates its gains. TS-RSI-Struct instead lets the LLM search the cycle length from validation feedback. Starting from a one-day prior on every dataset, it reaches the weekly cycle within three evaluations, beats random search by 4-7% with three LLMs and ties the trivial competitor, for 0.24 CNY. When the prior is wrong on two structural choices, the loop falls behind random search.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
Related papers
The Target Betrays the Trigger: Defending Multivariate Time-Series Forecasters Against Backdoor Attacks
Shared title terminologycs.LGChibueze Peace Obioma, Youcheng Sun, Edoardo Manino et al.
EngressionTS: Turning Deep Time Series Models into Probabilistic Forecasters
Shared title terminologycs.LGAnusha Tomar, Rajdeep Pathak, Tanujit Chakraborty
Improved Regret in Adversarial MDPs via Model-Free Self-Normalized Policy Optimization
Shared title terminologycs.LGOrin Levy, Aviv Rosenberg, Alon Cohen et al.
pyconformal: Exact and Fast Conformal Prediction for Tabular Data and Time Series
Shared title terminologycs.LGValery Manokhin
Measurement-Triggered Channel Memories for Irregularly Sampled Clinical and Wearable Time Series
Shared title terminologycs.LGTero Keski-Valkama
Beyond Clean Data: Robust Test-Time Adaptation on Noisy Time-Series Streams
Shared title terminologycs.LGKaixin Wang, Jinping Wang, Zhiqiang Gao