TL;DR
This paper introduces ARTIST, a novel approach to time series reasoning that actively selects relevant segments of a time series to answer natural language questions, rather than processing the entire series at once. By interleaving reasoning with adaptive segment selection, ARTIST significantly improves accuracy and efficiency, outperforming existing methods on multiple benchmarks.
What Problem Does This Paper Address?
Traditional time series analysis often involves processing the entire time series, even when only specific segments are relevant to answering a question. This can be inefficient and lead to diluted signals, especially with long time series. Existing methods that try to integrate time series with large language models (LLMs) often serialize the entire time series or use static representations, failing to adaptively focus on task-relevant information. This paper addresses the challenge of enabling models to intelligently "look" at the right parts of a time series, much like a human would, to answer complex questions. This is particularly difficult because time series lack the explicit annotations found in image datasets, requiring models to learn where to look based on the question and intermediate reasoning steps.
Methods
ARTIST employs a controller-reasoner architecture trained using reinforcement learning (RL).
- Controller: This component acts as a decision-maker, learning to select informative temporal segments from the time series and to decide when to stop the reasoning process. It's trained to be "reliable," meaning the chosen segments consistently lead to the correct answer.
- Reasoner: This component takes the selected segments and generates intermediate reasoning traces and the final answer. It's trained for correctness and adherence to output formats.
The core innovation is the adaptive temporal segment selection, where the model iteratively queries the time series. This is achieved through a hierarchical policy optimization approach. ARTIST first undergoes supervised fine-tuning (SFT) on curated reasoning traces and then uses a collaborative self-play RL method to jointly optimize the controller and reasoner roles. This separation allows for more precise credit assignment during training, enabling the controller to learn long-term strategies for segment selection.
Datasets
ARTIST was evaluated on six diverse time series reasoning benchmarks:
- TSQA: A large-scale dataset for time series question answering.
- RCW: A univariate acoustic time series dataset for reasoning about specific signals (e.g., whale calls).
- ECG-QA: A dataset for medical reasoning over ECG signals.
- Sleep-QA: A dataset for reasoning over sleep stage dynamics from EEG signals.
- TRQA: A benchmark for reasoning about intrinsic properties of time series.
- ETI (Etiological Reasoning): A dataset for causal interpretation of time series.
Key Insights and Ideas
- Active Information Gathering is Crucial: Processing the entire time series is suboptimal. ARTIST's ability to selectively focus on relevant segments significantly boosts performance, especially for tasks requiring localization of rare events or multi-segment reasoning.
- Hierarchical RL for Complex Decision-Making: Separating segment selection (controller) from answer generation (reasoner) and training them hierarchically with specialized rewards (reliability for controller, correctness for reasoner) is key to mastering complex, multi-step reasoning tasks.
- Reliability as a Controller Signal: Using a reliability reward (based on multiple reasoner rollouts for the same segments) is vital for training the controller. It prevents the controller from being misled by chance correct answers from the reasoner in single-shot evaluations.
- Modality Matters: For certain domains like EEG analysis (Sleep-QA), using vision-language models that process plotted time series can offer an advantage over tokenized representations, even with ARTIST's adaptive segment selection.
Key Results
- ARTIST achieved an average accuracy improvement of 6.46 percentage points over the strongest baselines across six benchmarks.
- The largest gains were observed on tasks requiring rare event localization and multi-segment reasoning (up to 12.5 percentage points improvement).
- Reinforcement learning further boosted performance beyond supervised fine-tuning, increasing average accuracy from 63.61% to 69.26%.
- ARTIST typically uses only 30-70% of the input time series sample per query, demonstrating significant efficiency gains.
- ARTIST showed robustness to long sequences, maintaining performance even when time series were extended to three times their original length.
Limitations and Future Work
- Inference Cost: ARTIST incurs higher inference costs due to its iterative controller-reasoner interaction, requiring multiple model calls per question.
- Univariate Focus: The current work focuses on univariate time series. Extending the framework to multivariate signals and irregular sampling is a promising future direction.
- Modality Exploration: While ARTIST's core mechanism is modality-agnostic, exploring its integration with different modalities (like vision-language models for plotted time series) could further enhance performance in specific domains.
Summary updated