TL;DR
LineupRL introduces a verifiable reinforcement learning pipeline for time series captioning that uses a "lineup" identification task as a reward. By training a small vision-language model to produce captions that allow a frozen LLM to pick the correct time series out of a set of statistically similar distractors, the authors achieve state-of-the-art performance that surpasses much larger teacher models and resists common reward-hacking pitfalls.
What Problem Does This Paper Address?
Time series captioning—translating raw signals into natural language—is a bridge between complex data and human decision-making in fields like healthcare and finance. Currently, models are mostly trained via Supervised Fine-Tuning (SFT), which distills knowledge from larger "teacher" models. However, SFT is bounded by the teacher's quality and often leads to "ungrounded captioning," where models learn the style of a description without accurately reflecting the data.
Reinforcement Learning (RL) offers a way to move beyond SFT, but it requires a robust reward function. Existing RL rewards fail in the time series domain:
- LLM-as-Judge: Subjective and easily "hacked" by models that learn to include flattering but irrelevant text.
- Answerability: Requires the reward model to generate and answer complex questions about the signal, a task that exceeds the current capabilities of most open-source models.
Methods
The authors propose LineupRL, a Reinforcement Learning with Verifiable Rewards (RLVR) pipeline. The core innovation is the caption-to-series identification reward.
The "Lineup" Mechanism
Instead of judging a caption's quality, LineupRL treats the caption as a search query. A frozen LLM verifier is given a generated caption and a "lineup" of $K$ candidate time series (provided as raw numerical values). The verifier must identify which series the caption describes. The reward is simply the verifier's accuracy.
Hard Negative Selection
To prevent the model from learning lazy descriptions (e.g., just stating the mean), the distractors in the lineup are hard negatives. These are real time series of the same length, selected because they match the target series' summary statistics (mean, std, min, max) but have minimal temporal overlap. This forces the captioner to describe fine-grained, distinctive features to earn a reward.
Optimization
The model uses the REINFORCE leave-one-out (RLOO) estimator to update the policy (a 3B Vision-Language Model), maximizing the probability of generating captions that lead to successful identification.
Datasets
- Training: 10,000 fragments sampled from TSFragment-600K.
- Captioning Benchmarks: Evaluated on BEDTime (crowd-sourced/template references) and CaTS-Bench (synthetic references).
- Downstream Tasks: Sufficiency for forecasting and reconstruction was tested on ETTh2, ETTm2, Saugeen river flow, and Australian electricity demand.
Key Insights and Ideas
- Verifiability over Subjectivity: By using identification accuracy, the reward is grounded in a binary "correct/incorrect" fact, making it much harder to hack than a Likert-scale judge.
- Matching is Easier than Reasoning: LLMs are significantly better at matching text to numbers than they are at writing consistent questions or grading open-ended prose. This allows off-the-shelf 14B models to serve as effective reward providers.
- The Power of Hard Negatives: The ablation studies show that using nearest-neighbor distractors (matched on stats) produces a much better captioner than using random distractors. If the "lineup" is too easy, the model never learns to describe the "finer shape" of the data.
- VLM vs. LLM Roles: The captioner is a VLM (reading charts), but the verifier is a text-only LLM (reading raw numbers). This setup bypasses the weak chart comprehension of smaller VLMs, ensuring the reward signal comes from the content of the caption, not the verifier's ability to see.
Key Results
- Superior Performance: A 3B VLM trained with LineupRL outperformed SFT (distilled from a 72B teacher) and other RL baselines across all metrics (entailment, identification, and downstream utility).
- Surpassing the Teacher: Remarkably, the 3B LineupRL model outperformed the 72B VLM teacher it was originally compared against, despite having 1/24th the parameters.
- Downstream Utility: In forecasting and reconstruction tasks where the predictor only sees the caption, LineupRL captions were significantly more informative, leading to lower Mean Squared Error (MSE) than all baselines.
- Resistance to Hacking: Qualitative analysis showed that while "LLM-as-judge" models produced long, flowery captions addressed to the grader, LineupRL produced concise, data-driven descriptions.
Limitations and Future Work
- Univariate Focus: The current work is confined to univariate time series. Extending this to multivariate data remains a challenge.
- Verifier Scale: Ablations (see Figure 3) show that the reward signal degrades with verifiers smaller than 14B, indicating that a baseline level of numerical reasoning is still required for the "lineup" to work.
- Sequence Length: The study focused on relatively short fragments; future work could explore how this scales to very long sequences or entire datasets.
Summary updated