EvoTS-Agent: A Self-Evolving LLM Agent for Financial Time Series Change Point Detection

Lei Jiang, Ye Wei, Xinyu Xi, Jordan Langham-Lopez, Yifan Bao, Raad Khraishi, Yihao Ang, Anthony K. H. Tung, Lukasz Szpruch, Hao NiarXiv 2026

TL;DR

EvoTS-Agent is a self-evolving LLM agent designed to automate change-point detection in complex financial time series. By combining lightweight exploratory data analysis with an adaptive evolutionary search strategy (revision, exploration, and recombination), it dynamically optimizes detection pipelines based on validation feedback. Across multiple benchmarks, it consistently outperforms existing agent frameworks while maintaining a flawless 100% code execution success rate.

What Problem Does This Paper Address?

Financial markets are notoriously dynamic, with asset behaviors shifting abruptly due to macroeconomic news, policy changes, or market shocks. Identifying these structural transitions—known as Change-Point Detection (CPD)—is vital for risk management, portfolio allocation, and algorithmic trading. However, financial data is noisy, heavy-tailed, and non-stationary, meaning no single CPD algorithm works universally well across all market regimes.

Traditionally, quantitative analysts must manually select models, engineer features, and tune hyperparameters for each specific asset class. While Large Language Model (LLM) agents have been proposed to automate data science workflows, standard agent paradigms struggle with CPD. As shown in Figure 1, they often get stuck in local optima (repeatedly revising a flawed approach), lack stagnation awareness, and fail to combine insights from different historical attempts.

Limitations of existing LLM agents vs EvoTS-Agent

Methods

The authors introduce EvoTS-Agent, which frames autonomous CPD as an empirical search over executable scientific experiments. The framework operates in a closed loop with three key phases:

  1. EDA-based Model Selection: Before running heavy optimizations, the agent performs a lightweight Exploratory Data Analysis (EDA) on the time series. It calculates meta-features like lag-1 autocorrelation, spectral concentration, and local mean/variance discrepancies. An LLM uses these features to select the top-$K$ most promising models from a built-in Model Bank containing 8 diverse algorithms (e.g., PELT, Bottom-up, Window, and KL-CPD).
  2. Trajectory-Guided Self-Evolution: Instead of following a rigid, linear workflow, the agent maintains an explicit lineage of experiment trajectories (detailed in Figure 2). It optimizes the pipeline using three distinct operators:
  3. Revision: Iteratively refines the current best solution (the incumbent) by tweaking hyperparameters or data representations.
  4. Alternative Strategy: Triggered automatically when validation improvements stall. It forces the agent to pivot to a fundamentally different modeling direction or alternative detector.
  5. Recombination: In the final optimization step, the agent synthesizes complementary strengths from multiple high-performing historical trajectories to create a robust final pipeline.
  6. Validation Feedback Control: An incumbent-preserving selection rule ensures that the agent only updates its best solution if a new experiment yields a strictly higher boundary-aware validation F1 score.
Figure 2: Orchestration of EvoTS-Agent.

Datasets

EvoTS-Agent was evaluated across four distinct time-series benchmarks representing different structural change scenarios (visualized in Figure 3):

  • Piecewise Ornstein-Uhlenbeck (OU) Process: A synthetic dataset modeling mean-reverting financial processes (e.g., credit spreads) with shifting parameters.
  • Mean+Variance Shift: A synthetic dataset featuring simultaneous changes in both level (mean) and volatility (variance) to mimic transitions between calm and stressed market conditions.
  • ADIA Lab Structural Break Challenge: A benchmark derived from real-world financial data, stitched into multi-break sequences to emulate continuous market regime changes.
  • Bee-Dance: A widely used real-world benchmark tracking honeybee motion trajectories, testing the agent's generalization to non-financial, noisy physical signals.
Visualization of the four evaluation datasets

Key Insights and Ideas

  • Stagnation-Awareness prevents Local Optima: Standard LLM agents waste computational budget by making minor modifications to a fundamentally wrong model. EvoTS-Agent's ability to detect stagnation and explicitly pivot (Alternative Strategy) allows it to break out of local optima.
  • The Power of Meta-Optimization: The paper confirms that individual algorithms have highly variable performance depending on the dataset. The agent's true strength lies not in inventing new algorithms, but in its meta-capability to match, tune, and recombine the right algorithms for the data's specific statistical properties (as shown in the case study in Figure 5).
  • Code Reliability is a First-Class Requirement: While some advanced research agents can occasionally find good solutions, they frequently crash due to runtime or syntax errors in generated code. EvoTS-Agent achieves a 100% success rate across all backbones by constraining the LLM to interact with a structured model bank and robust execution environment.
A case study of EvoTS-Agent on the Bee Dance dataset

Key Results

EvoTS-Agent was tested using four backbone LLMs (GPT-4o, GPT-5.4, Claude Sonnet-4.6, and Sonnet-5) and compared against state-of-the-art data science agents (TS-Agent, DS-Agent, ResearchAgent).

  • Performance Superiority: EvoTS-Agent consistently achieved the highest or near-highest boundary-aware F1 scores and significantly lower Hausdorff distances (indicating highly accurate change-point localization). For instance, on the Mean-Variance Shift dataset, it pushed the F1 score up to 0.833 (with GPT-5.4) compared to ~0.56 for baselines.
  • Flawless Execution: EvoTS-Agent maintained a 100% execution success rate across all trials. In contrast, ResearchAgent's success rate dropped to as low as 33.3% on certain backbones due to unhandled code execution failures.
  • Consistently High Ranks: Across all dataset-metric pairs, EvoTS-Agent achieved the top average rank, demonstrating balanced improvements in both precision and recall (Figure 4).
Average agent ranks across LLM backbones

Limitations and Future Work

The primary limitation of EvoTS-Agent is its dependence on labeled validation data. While the underlying change-point detectors operate unsupervised, the agent itself relies on ground-truth validation labels to calculate F1 scores and guide its evolutionary trajectory. In real-world deployment, obtaining these labels requires historical ground-truth events or expensive expert annotation.

The authors suggest that future work should focus on developing label-efficient or label-free optimization strategies, allowing the agent to evaluate and evolve trajectories using unsupervised metrics (like internal clustering quality or statistical consistency) rather than relying on explicit validation annotations.

Summary updated

BibTeX
@misc{jiang2026evots,
  author = {Lei Jiang and Ye Wei and Xinyu Xi and Jordan Langham-Lopez and Yifan Bao and Raad Khraishi and Yihao Ang and Anthony K. H. Tung and Lukasz Szpruch and Hao Ni},
  title = {{EvoTS-Agent: A Self-Evolving LLM Agent for Financial Time Series Change Point Detection}},
  year = {2026},
  eprint = {2608.17933},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.17933},
}
Figure