arXiv:2508.01504cs.LG2025-08KDD

用自然语言指令编辑时间序列,灵活控制修改强度。

Instruction-based Time Series Editing

  • 通过自然语言指令输入实现多样化编辑,无需预设属性向量。
  • 支持局部与全局编辑,可插值生成不同强度的修改结果。
  • 少量样本即可适配新指令和条件,适合医疗、金融等场景使用。

在时间序列编辑中,目标是修改给定时间序列的某些属性,同时保持其他部分不变。例如,在分析患者血压数据时,可添加突然下降并观察其后续影响,同时保留其他生理条件。现有基于扩散模型的编辑方法依赖固定的属性向量作为条件,通过采样实现全有或全无的编辑,限制了条件格式灵活性,并缺乏对编辑强度的可控性。为此,本文提出指令式时间序列编辑,用户可通过自然语言描述所需编辑。我们构建了首个指令式时间序列编辑器 InstructTime,将时间序列与指令嵌入共享的多模态表示空间,再解码生成编辑后序列。通过学习结构化的多模态表示,可轻松在嵌入间插值以实现不同程度的编辑。为同时处理局部与全局编辑,提出多分辨率编码器。在合成与真实数据集上的实验表明,InstructTime 达到当前最佳性能:编辑质量高,编辑强度可调控,能泛化至未见指令,并可通过少量样本快速适应新条件。

原文摘要 · Abstract (English)

In time series editing, we aim to modify some properties of a given time series without altering others. For example, when analyzing a hospital patient's blood pressure, we may add a sudden early drop and observe how it impacts their future while preserving other conditions. Existing diffusion-based editors rely on rigid, predefined attribute vectors as conditions and produce all-or-nothing edits through sampling. This attribute- and sampling-based approach limits flexibility in condition format and lacks customizable control over editing strength. To overcome these limitations, we introduce Instruction-based Time Series Editing, where users specify intended edits using natural language. This allows users to express a wider range of edits in a more accessible format. We then introduce InstructTime, the first instruction-based time series editor. InstructTime takes in time series and instructions, embeds them into a shared multi-modal representation space, then decodes their embeddings to generate edited time series. By learning a structured multi-modal representation space, we can easily interpolate between embeddings to achieve varying degrees of edit. To handle local and global edits together, we propose multi-resolution encoders. In our experiments, we use synthetic and real datasets and find that InstructTime is a state-of-the-art time series editor: InstructTime achieves high-quality edits with controllable strength, can generalize to unseen instructions, and can be easily adapted to unseen conditions through few-shot learning.

时间序列编辑自然语言控制多模态扩散模型

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