Empowering VLMs for Few-Shot Multimodal Time Series Classification via Tailored Agentic Reasoning

Lin Li, Jiawei Huang, Qihao Quan, Dan Li, Boxin Li, Xiao Zhang, Erli Meng, Wenjie Feng, Jian Lou, See-Kiong NgarXiv 2026 · DOI

TL;DR

MarsTSC is the first agentic reasoning framework that empowers Vision-Language Models (VLMs) for few-shot multimodal time series classification. By utilizing a trio of collaborative agents—a Generator, a Reflector, and a Modifier—alongside a self-evolving, atomic knowledge bank, MarsTSC dynamically refines its classification context to significantly outperform traditional and foundation time series models using as few as three labeled samples per class.

What Problem Does This Paper Address?

Time Series Classification (TSC) is vital across domains like healthcare monitoring, industrial fault detection, and financial analysis. While traditional methods rely strictly on raw numerical sequences, real-world time series data often spans multiple modalities, including visual plots and textual descriptions. Large Vision-Language Models (VLMs) are naturally suited to integrate these complementary representations, but applying them to few-shot settings (where labeled data is extremely scarce) introduces major hurdles:

  1. Static Context Limitations: Existing VLM prompting methods rely on static in-context examples that fail to automatically adapt or evolve as the model learns.
  2. Context Collapse: Simply asking a VLM to update its own knowledge base often leads to "monolithic rewriting," where the model accidentally erases or corrupts previously learned, high-value insights.
  3. Lack of Grounding: Vanilla VLMs struggle to precisely ground their intermediate rationales and final predictions in specific, verifiable pieces of evidence within the time series data.

MarsTSC addresses these challenges by turning the classification task into an iterative, agentic optimization process over a structured knowledge bank.

Methods

MarsTSC structures VLM reasoning into a dynamic pipeline consisting of three key stages:

Figure 1: Overview of our MarsTSC framework. It comprises three key stages: Warm-up Stage, Training Stage and Testing Stage.

1. Warm-up Stage (Initialization)

Instead of starting from scratch, MarsTSC initializes a structured Knowledge Bank. It extracts intra-class features (global shapes, trends, local morphology) by prompting a VLM to analyze line plots of the data. Simultaneously, it calculates a normalized Fisher Score on the numerical sequences to establish explicit inter-class decision thresholds for fine-grained statistical boundaries.

To prevent context collapse, the Knowledge Bank is designed around atomic feature bullet points, where each entry is tracked by a unique ID and a utility counter (useful, neutral, useless).

Figure 2: Illustration of knowledge bank design.

2. Training Stage (Iterative Reflective Reasoning)

MarsTSC introduces three specialized VLM agent roles that collaborate to optimize the knowledge bank without updating the underlying model parameters:

  • The Generator: Conducts the actual classification. Crucially, it must explicitly cite the specific bullet point IDs from the Knowledge Bank that support its decision.
  • The Reflector: Evaluates the Generator's output against the ground truth. If a mistake happens, it pulls "hard positive" and "hard negative" samples to diagnose the root cause, distilling a new error-avoidance insight. It also updates the utility tags of the cited bullets.
  • The Modifier: Translates the Reflector's insights into precise, granular actions (ADD, MODIFY, DELETE) applied strictly on a per-bullet basis. A discarding mechanism purges bullets that accumulate too many "useless" tags, filtering out noise and anomalies.

3. Testing Stage (Test-Time Update)

To handle distribution shifts during deployment, MarsTSC continuously updates its knowledge base at test-time using an unsupervised strategy:

  • Two-Pass Generation: The Generator makes an initial prediction, then reviews its own rationale in a second pass to self-correct potential hallucinations.
  • Deferred Knowledge Update: To prevent incorrect test predictions from corrupting the core knowledge base, memory is tiered into Prototype (frozen, highly reliable), Reference (repeatedly verified at test-time), and Candidate (temporary buffer) knowledge.

Datasets

The authors evaluated MarsTSC across 12 mainstream time series benchmark datasets from the UCR/UEA archive, representing diverse domains:

  • Image-derived/Shape-based: ArrowHead, DiatomSizeReduction, DistalPhalanxTW, Fish
  • Sensor/Healthcare/EEG: DodgerLoopGame, ECG200, GesturePebbleZ1, Lightning7, SelfRegulationSCP1
  • Simulated/Motion/HAR: UMD, Worms, RacketSports

Key Insights and Ideas

  • Atomic vs. Monolithic Updates: Forcing a VLM to rewrite an entire text prompt or knowledge base causes rapid information degradation. Restricting the model to atomic, bullet-level modifications (ADD/MODIFY/DELETE) is the key to stable, long-term context evolution.
  • Contrastive Reflection: When a model misclassifies a sample, simply telling it that it was wrong isn't enough. The Reflector agent explicitly compares the failed sample against contrastive anchor samples (hard positives and negatives) to isolate the exact temporal features the model overlooked.
  • Safe Test-Time Adaptation: Unsupervised test-time adaptation is notoriously risky because errors can compound. Tiering memory and requiring candidate insights to pass a "survival counter" allows the model to safely adapt to distribution shifts without contaminating its core training.

Key Results

MarsTSC was tested using Gemini-3.1-pro as its primary backbone and compared against classical machine learning (DrCIF, HIVE-COTE 2.0), deep learning (TimesNet, PatchTST), and time series foundation models (GPT4TS, MOMENT).

  • Few-Shot Superiority: Under a strict 3-shot setting ($k=3$), MarsTSC consistently achieved the best or second-best accuracy across all 12 benchmarks, frequently outperforming dedicated time series foundation models.
  • Beating Full-Shot Baselines: Remarkably, MarsTSC trained on just 3 shots often matched or outperformed deep learning baselines (like TimesNet and PatchTST) trained on full-shot datasets containing up to 22 times more data.
MarsTSC (3-shot) performance compared against baselines across increasing k-shot settings.
  • VLM Agnostic: The framework demonstrated strong transferability, yielding consistent performance gains when swapped across 5 different VLM backbones (including GPT-5, Qwen-3.5, and Kimi-K2.5).

Limitations and Future Work

While highly effective for classification, the authors note several avenues for expansion:

  • Task Scope: The current framework is tailored specifically for classification. Future work will explore extending agentic reasoning to forecasting, anomaly detection, and time-series imputation.
  • Visual Representations: MarsTSC relies primarily on standard line plots. Incorporating richer frequency-domain visual representations, such as spectrograms or recurrence plots, could help the VLM capture patterns that are invisible in the time domain.
  • Tool Integration: Equipping the agents with external tools (e.g., execution sandboxes or advanced statistical calculators) and long-term persistent memory could further improve cross-dataset reliability.

Summary updated

BibTeX
@misc{li2026empowering,
  author = {Lin Li and Jiawei Huang and Qihao Quan and Dan Li and Boxin Li and Xiao Zhang and Erli Meng and Wenjie Feng and Jian Lou and See-Kiong Ng},
  title = {{Empowering VLMs for Few-Shot Multimodal Time Series Classification via Tailored Agentic Reasoning}},
  year = {2026},
  eprint = {2605.09395},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.09395},
}
Figure