TL;DR
Most AI agents approach numerical problems with a case of perpetual amnesia—they spin up tools to solve the task in front of them, declare victory if the code runs without crashing, and retain nothing for next time. TimeClaw gives time-series agents a persistent scientific notebook: during an offline exploration phase, it forces the agent to pit diverse tool strategies against real accuracy metrics, distills the winning wisdom into a structured external memory, and injects those lessons into future prompts—all while keeping the underlying LLM completely frozen.
What Problem Does This Paper Address?
Picture a junior data scientist forecasting next week’s weather. If they run a simple moving average, get a clean array of seven numbers, and call it a day, they’ve technically completed the task—even if their forecast is off by twenty degrees. Worse, because that simple tool worked without throwing an error, they might rely on it forever and ignore better statistical models sitting right next to it in their toolbox.
Current LLM-based time-series agents fall into these exact two traps:
- The trap of "good enough" (completion-only supervision): Agents can't backpropagate gradients through discrete tool calls. As a result, most systems treat any execution that produces a valid format as a binary win, remaining blind to sharp differences in actual numerical quality (like MAE or RMSE).
- Tool-prior collapse: Early in exploration, if an agent stumbles upon a familiar tool that works reliably, it prematurely locks onto it. Execution diversity evaporates before the agent ever gathers enough comparative evidence to know what actually works best.
Methods
TimeClaw separates offline learning from test-time inference using a four-stage loop: Explore $\rightarrow$ Compare $\rightarrow$ Distill $\rightarrow$ Reinject. Crucially, no LLM weights are ever updated, and no slow online adaptation happens at test time.
Here is what makes the engine tick:
- Metric-Supervised Exploration: During offline training, a main orchestrator spawns sub-agents under an "exploration contract"—requiring at least two distinct, valid execution paths per problem. It scores them against ground-truth metrics (MSE, MAE, accuracy) so the agent learns which strategy wins quantitatively, not just which one finishes.
- Task-Aware Tool Dropout: To prevent tool-prior collapse, TimeClaw tracks how often each tool gets called. Overused tools are probabilistically masked out using a power-law keep probability anchored to the least-used tool, nudging sub-agents to experiment with neglected tools (while protecting strictly necessary tools via a
never_droprule). - Hierarchical Distilled Experience: Raw execution traces are scrubbed of answer leakage and organized into external layers rather than dumped into a messy text log. Sample-level Notes are distilled into conflict-aware Memory rules (structured 9-tuples tracking applicability, preferred/avoided tools, and confidence), per-tool Advice, and standard operating Skills. At inference time, exploration tools are stripped away, and the top relevant rules and skills are cleanly injected into the prompt.
Datasets
- Evaluation: The February 2026 revision of MTBench, a multimodal time-series benchmark spanning 17 tasks (30 metrics) across finance and weather. Tasks combine raw series and text context across forecasting, technical indicator prediction (e.g., MACD), trend classification, news-stock correlation, and multiple-choice QA.
- Exploration: The authors constructed a separate, disjoint MTBench-style corpus aligned with the exact same task schemas and contracts, ensuring the agent accumulates generalizable procedural wisdom without peeking at test samples.
Key Insights and Ideas
- Habits vs. Ruts: Favoring a great tool after testing everything is smart inference; favoring a tool during exploration before testing alternatives is a pathology. Formalizing "tool-prior collapse" shows why naive agentic exploration often stagnates.
- Structure beats raw reflection: Ablating the structured
Memorylayer hurts performance even when low-level tool notes remain. Separating storage from prompt injection—holding back low-confidence or conflicting rules until verified—keeps the agent's context window sharp. - Decomposing multimodal traps: On a stock-crash case study, an unexplored agent saw bearish news and panicked, forecasting a steep negative MACD. The explored TimeClaw agent used distilled experience to treat news merely as context bias, isolated the crash block statistically, forecasted price stabilization, and derived a much more accurate indicator trajectory.
Key Results
Using a frozen GPT-5.4 backbone, TimeClaw takes the top spot on 27 out of 30 metrics across the 17 MTBench tasks, beating direct LLMs (GPT-5.4, DeepSeek-V3, Gemini-2.0-Flash, Claude, Qwen-3, Llama-3) and protocol-adapted agent baselines (TimeART, TS-Debate):
- Weather Forecasting: Drops 7-day MSE from 14.197 (GPT-5.4) down to 10.719, and 14-day MSE from 20.984 to 13.525, while sweeping all 6 weather indicator metrics.
- Finance Prediction & Reasoning: Cuts 7-day Stock MAE from 1.660 to 1.341 and 7-day MACD MSE in half (0.411 to 0.201). Boosts 7-day 5-way trend accuracy from 56.9% to 69.6%.
- Exploration Diversity: In the first 100 exploration samples on forecasting tasks, task-aware tool dropout surges early tool coverage from 22.7% to 72.7%.
Limitations and Future Work
While the paper does not include a standalone limitations section, the empirical results highlight a few boundaries:
- Long-horizon noisy reasoning: TimeClaw falls short of the strongest baselines on 30-day news-stock correlation (scoring 0.331 vs. DeepSeek’s 0.350 on 5-way accuracy) and trails Llama-3 on 30-day MACD MSE (1.111 vs. 0.812), suggesting that distilling rules over long, noisy financial horizons remains tricky.
- Contract reliance: Offline exploration assumes access to a disjoint dataset that shares clean, verifiable task schemas and evaluation contracts with the target tasks.
- Future Trajectory: The authors frame TimeClaw as a stepping stone from stateless tool callers toward persistent, auditable scientific AI systems that continuously accumulate and refine domain expertise over time.
Summary updated