Learning the Context of Errors: Black-Box Online Adaptation of Time Series Foundation Models
Xilin Dai, Yiding Liu, Hongjie Xia, Yifan Hu, Zewei Dong, Jiang-Ming Yang, Qiang Xu
NeurIPS page · Open on the map
Category: Time Series, PDEs & Probabilistic ML › Time Series Foundation Models · Type: new method · Keywords: time series foundation models, black-box adaptation, online learning, error context, forecasting
Areas: Continual Learning & Adaptation › Non-Stationarity Adaptation › Domain Shift Adaptation
Summary
ORCA learns the context of errors to enable black-box online adaptation of Time Series Foundation Models without requiring white-box access.
Explained to a 5-year-old
We have a big computer model that predicts what will happen in time data. Sometimes it makes mistakes. We look at why it makes mistakes by looking at what it saw and what it predicted. Then we teach it a little bit in a secret way so it can get better without changing its inside parts. This helps the model work better for new situations.
Explained to a 5-year-old, longer
A computer program can guess what will happen next in a series of numbers. It often gets some guesses wrong. To help it improve, we look at what the program saw and what it guessed. We notice that the mistakes depend on both the input and the guess. By learning this pattern, we can adjust the program without touching its inner parts. This adjustment happens while the program is still running, like learning on the go. It works even when the program is hidden behind an API, like a black box. The new way lets us make the predictions more accurate for new data. It is useful for many kinds of time-related data, like weather or stock prices. The approach is simple: use the mistakes to guide small updates. This makes the model smarter without needing a lot of extra work. In the end, we get a better predictor that can adapt quickly.
For a technical reader
Many time-series foundation models are offered as black-box APIs, which prevents traditional fine-tuning because internal parameters are inaccessible. The paper observes that prediction errors of such models depend on both the input sequence and the model’s own output, a relationship they call the “context of errors.” Leveraging this insight, they propose an online adaptation scheme that learns residual corrections conditioned on this context without requiring gradient access. Experiments across five state-of-the-art models and eight datasets show consistent improvements over existing black-box adaptation methods. The approach is lightweight, works with any foundation model, and can be deployed in production to continuously refine forecasts.
Problem
Adapting foundation models for time series in a black-box online setting is challenging because existing methods rely on white-box access for fine-tuning, leaving a gap for closed-source APIs.
Method
The approach learns the relationship between the base model's predictions and their errors by conditioning on both inputs and outputs, and then adapts online using residual updates.
Contributions
It identifies that predictive errors are conditioned on input and output context and proposes a method to exploit this for black-box online adaptation.
Practical relevance
Enables practical adaptation of commercial black-box time series foundation models without requiring internal access.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction