Abstract: Driven by the increasingly complex and decision-oriented demands of time series analysis, we introduce the Semantic-Conditional Time Series Reasoning task, which extends conventional time series analysis beyond purely numerical modeling to incorporate contextual and semantic understanding. To further enhance the mode's reasoning capabilities on complex time series problems, we propose a two-round reinforcement learning framework: the first round strengthens the mode's perception of fundamental temporal primitives, while the second focuses on semantic-conditioned reasoning. The resulting model, KairosVL, achieves competitive performance across both synthetic and real-world tasks. Extensive experiments and ablation studies demonstrate that our framework not only boosts performance but also preserves intrinsic reasoning ability and significantly improves generalization to unseen scenarios. To summarize, our work highlights the potential of combining semantic reasoning with temporal modeling and provides a practical framework for real-world time series intelligence, which is in urgent demand.
Introduction: Beyond Numerical Modeling
Historically, time series analysis has been treated as a purely numerical task, focused on forecasting future values or detecting out-of-distribution (OOD) anomalies based on statistical distributions. However, in real-world operations—such as AIOps for web services—data does not exist in a vacuum. A server's CPU usage spike at 2:00 AM might be flagged as an anomaly by a standard model, yet a human operator reading the Standard Operating Procedure (SOP) knows this is a scheduled, normal database backup.
We formalize this gap as Semantic-Conditional Time Series Reasoning: the ability to jointly reason over raw temporal data and natural language context. While Multimodal Large Language Models (MLLMs) are natural candidates for this task, standard models often fail to interpret basic temporal properties or ignore textual conditions. KairosVL is designed to bridge this gap, rivaling massive commercial models like GPT-4o in complex reasoning tasks.
The KairosVL Framework
To build a model capable of sophisticated reasoning, we developed a specialized data pipeline and a novel training framework centered on Reinforcement Learning with Verifiable Reward (RLVR).
KairosDataPipe
Due to the scarcity of high-quality time series reasoning data, we built an LLM-engaged multi-agent system. Instead of having an LLM hallucinate raw numbers, the pipeline generates a scenario, writes Python code to generate and plot the data, and then uses "LLM Judge Groups" to verify that the resulting chart and Q&A pair are logically consistent.
Two-Round Reinforcement Learning (RLVR)
Our research indicates that jumping straight into complex reasoning causes models to fail due to a lack of basic temporal perception. We address this with a two-stage curriculum:
- Round 1 (Perception Enhancement): The model is trained on rule-based datasets to master basic primitives (noise levels, periodicity, obvious outliers). A KL-divergence penalty is applied to keep the model grounded.
- Round 2 (Reasoning Enhancement): The model tackles complex, semantic-conditional tasks. Here, the KL-divergence penalty is disabled, encouraging the model to explore longer, more complex Chain-of-Thought (CoT) reasoning trajectories.
The KairosDataset and Benchmarking
Evaluation is conducted across two primary datasets. Dataset A consists of ~100 real-world AIOps fault diagnosis samples, including production time series snapshots and natural language SOP rules. Dataset B (KairosBench) includes ~600 synthetic samples designed to test four specific subtasks that define the reasoning landscape.
Key Insights and Results
Our experiments yielded several critical insights for the field of time series intelligence:
- The "Walk Before You Run" Principle: Forcing the model to master basic visual perception in Round 1 of RL unlocked its ability to perform deep, grounded reasoning in Round 2. Models trained on complex tasks immediately tended to "cheat" with vague, generic responses.
- RLVR vs. SFT: While Supervised Fine-Tuning (SFT) often leads to memorized templates, RLVR allows the model to autonomously explore reasoning paths, significantly improving generalization to unseen real-world data.
- Visual Representation Superiority: Feeding raw numerical sequences into LLMs is inefficient and prone to hallucination. Rendering data as high-resolution images for a Vision-Language Model cuts token usage by over 80% while drastically improving accuracy.
In performance benchmarks, KairosVL (7B parameters) achieved a 61.8% accuracy improvement over its base model on real-world AIOps tasks. It consistently outperformed or rivaled much larger models, such as the 72B version of Qwen2.5VL and Gemini-1.5 Flash, across the KairosBench subtasks.
Limitations and Future Work
Despite its success, KairosVL faces challenges inherent to current vision-based MLLMs. These include "numerical blindness" (difficulty differentiating very close values like 150.1 vs 150.01) and occasional temporal localization errors. Future work will focus on expanding dataset diversity and developing paradigms that better fuse exact numerical computation with semantic reasoning.
Summary updated