arXiv:2510.05950cs.AI2025-10被引 5

无需训练,用LLM多智能体推理实现高精度时间序列分类

Training-Free Time Series Classification via In-Context Reasoning with LLM Agents

  • 将多变量时间序列拆解为通道子问题,基于相似样例进行上下文推理
  • 在9个UEA数据集上达到优于有训练模型的准确率,最高达94.3%
  • 支持零样本部署,结果可解释且自动过滤无关通道

时间序列分类(TSC)应用广泛,但标注数据稀缺,导致任务定制化训练成本高且灵活性差。近期以推理为导向的大语言模型(LLMs)在理解时序模式方面展现潜力,但纯零样本使用效果仍不理想。我们提出FETA,一种基于示例的多智能体框架,实现无训练的时间序列分类。FETA将多变量序列按通道分解,为每个通道检索若干结构相似的已标注样例,利用推理型LLM对比查询与这些示例,生成带自评置信度的通道级标签;再通过置信度加权聚合器融合所有通道决策。该设计无需预训练或微调,通过剪枝无关通道和控制输入长度提升效率,并通过示例溯源与置信度估计增强可解释性。在九个具有挑战性的UEA数据集上,FETA在完全无训练设置下取得优异准确率,超越多个有训练基线。结果表明,多智能体上下文推理框架可使LLMs成为无需参数训练、即插即用的高效TSC求解器。代码开源:https://github.com/SongyuanSui/FETATSC。

原文摘要 · Abstract (English)

Time series classification (TSC) spans diverse application scenarios, yet labeled data are often scarce, making task-specific training costly and inflexible. Recent reasoning-oriented large language models (LLMs) show promise in understanding temporal patterns, but purely zero-shot usage remains suboptimal. We propose FETA, a multi-agent framework for training-free TSC via exemplar-based in-context reasoning. FETA decomposes a multivariate series into channel-wise subproblems, retrieves a few structurally similar labeled examples for each channel, and leverages a reasoning LLM to compare the query against these exemplars, producing channel-level labels with self-assessed confidences; a confidence-weighted aggregator then fuses all channel decisions. This design eliminates the need for pretraining or fine-tuning, improves efficiency by pruning irrelevant channels and controlling input length, and enhances interpretability through exemplar grounding and confidence estimation. On nine challenging UEA datasets, FETA achieves strong accuracy under a fully training-free setting, surpassing multiple trained baselines. These results demonstrate that a multi-agent in-context reasoning framework can transform LLMs into competitive, plug-and-play TSC solvers without any parameter training. The code is available at https://github.com/SongyuanSui/FETATSC.

时间序列LLM推理零样本多智能体

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。