Manuscript Offprint

arXiv:2610.19725

TimeRSI: Towards Self-Improved Agentic Deployment for Time-Series Foundation Models

Haoxin Liu, Deqing Fu, Lucheng Fu, Yiqiao Jin, Rushi Qiang, Harshavardhan Kamarthi, B. Aditya Prakash

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Time-series foundation models provide strong zero-shot forecast, but deployment for real-world applications still requires task-specific designs for model inputs and outputs. Direct inference can leave domain knowledge and recurring forecast errors unaddressed, while tailored pipelines require substantial human expertise and effort. We introduce TIMERSI, a self-improving agentic deployment system around frozen forecasting models. A coding agent translates task descriptions into executable pipeline changes. It tests each revision on historical forecasting windows and uses observed errors to guide subsequent revisions. During deployment, an adaptive selector chooses among the resulting pipelines using completed forecasts under similar conditions. Across 198 tasks on TIME and FEV-bench, TIMERSI outperforms all submissions on six point and probabilistic forecasting metrics. Controlled comparisons support the value of feedback-guided revision over non-iterative pipeline search. Further experiments verify the generalization with different coding agents and forecasting models. Code is available at https://github.com/haoxin1998/TimeRSI.

1 Introduction

Time-series foundation models (TSFMs) provide strong forecasts on new datasets without task-specific weight updates (Das et al., 2024; Ansari et al., 2024; Woo et al., 2024). In real-world time-series forecasting (TSF), effective deployment still depends on how task knowledge shapes the model's inputs and outputs. For example, recurring holiday closures can inform demand forecasts, while known tidal cycles can guide ocean-current forecasts. Turning this knowledge into a deployment pipeline around the model still requires substantial human expertise and effort.

Code agents based on large language models (LLMs) offer a way to automate pipeline development through program generation and evaluation (Jiang et al., 2025; Fu et al., 2026). Two challenges arise in forecasting. First, a plausible change may not improve accuracy. Calendar information, for instance, can enter through model inputs or a separate predictor, and these choices can yield different results. Historical forecast errors help evaluate and refine such decisions. Second, a pipeline that performs well on average may be less suitable as forecasting conditions change.

We introduce TIMERSI, which applies recursive self-improvement (RSI) to deployment pipelines around frozen TSFMs (Fig. 1). Our central idea is to use task knowledge to guide what to try and forecasting feedback to guide how to revise and use each pipeline. The agent edits input transformations, features, and forecast corrections while keeping the foundation model's weights fixed.

Specifically, TIMERSI combines two stages. Iterative pipeline improvement evaluates code revisions on historical forecasting windows and returns errors to the agent for further revision. A separate set of later historical windows identifies candidates for deployment. Adaptive pipeline selection then chooses among these candidates for each new forecast using their performance under similar historical conditions.

We evaluate TIMERSI on TIME and FEV-bench (Qiao et al., 2026; Shchur et al., 2026), covering 198 tasks. TIMERSI achieves the best scores among all existing submissions across six point and probabilistic forecasting metrics. Ablations show that our iterative deployment improvement outperforms non-iterative pipeline search with the same number of candidates. Further experiments show gains with different coding agents and TSFMs, while case studies illustrate how task knowledge becomes effective deployment code.

Related work. Beyond direct deployment of foundation time-series models (Kamarthi and

*Contact us at hliu763@gatech.edu, badityap@cc.gatech.edu.

(a) Conventional Deployment

(b) TIMERSI: Self-Improved Agentic Deployment

Figure

Frozen model weights

Agent-edited pipeline code

Fig. 1: From conventional to self-improved TSFM deployment. (a) Direct inference leaves task-specific adaptation to the user, while tailored pipelines require human design and revision. (b) TIMERSI automates pipeline improvement through task-aware code edits and historical forecasting feedback, then selects among the resulting pipelines for each new forecast. The TSFM remains frozen.

Prakash, 2024; Das et al., 2024; Woo et al., 2024; Ansari et al., 2024), we study agentic deployment for realistic applications via recursive self-improvement (RSI) (Lee et al., 2026; Srikanth et al., 2026). See App. A for additional related work.

References (39)