TS-Edit:针对时间序列基础模型的模型编辑对抗防御框架
TS-Edit: A Model Editing Framework for Adversarial Defense in Time-Series Foundation Models
把大模型编辑那套 ROME、MEMIT 方法搬到了时间序列预测模型上,被 PGD 攻击污染的预测一次编辑就能降 38.5 倍误差,干净输入几乎不受影响。做工业预测、电网或金融时序场景的安全团队值得看看这套定位加修复的思路,跟传统防御比不用重新训练模型。
时间序列基础模型(TSFM)在电网、交通、金融等工业场景中越来越多地以零样本预测方式部署,但其内部如何存储驱动预测结果的事实关联仍不明确,且容易因后门注入等恶意攻击产生严重运行风险。论文提出 TS-Edit 框架,将面向语言模型的可解释性方法(causal tracing、ROME、sequential ROME、MEMIT)扩展到 TimesFM 2.5 这一 decoder-only transformer 上。
技术流程分三步:先用 FGSM、BIM、PGD 三种 masked 白盒攻击污染上下文窗口中的单个片段;再通过 causal tracing 在多层 MLP 中定位受损位置;最后对识别出的前馈权重做闭式 rank-one 更新,修复被污染的预测。在 UCI Electricity 数据集上,一次 ROME 编辑使 PGD 攻击后的 NRMSE 降低 38.5 倍,干净输入的特异性漂移仅为 10^-4 量级。跨攻击迁移实验显示,复用 PGD 定位的层修复 BIM 和 FGSM 分别达 12.2 倍和 1.2 倍,多个数据集结果一致。
迭代编辑实验揭示了修复效果与特异性之间的权衡:sequential ROME 在跨攻击修复上最稳定,MEMIT 在最强攻击 PGD 下取得最低误差但特异性也最低。这一结果证明前馈层的 key-value 记忆解释及其局部可编辑性可以从语言模型推广到时间序列模型。
TS-Edit: A Model Editing Framework for Adversarial Defense in Time-Series Foundation Models
Time-series foundation models (TSFMs) report strong zero-shot forecasting performance, but where they store factual associations internally that drive a particular forecast, and whether the association can be corrected after a malicious attack are open questions. While these models are increasingly deployed in industrial settings such as power grids, traffic and finance, they remain vulnerable to careful backdoor injections inducing catastrophic operational hazards. To address this, we introduce TS-Edit, a novel model editing framework for adversarial defense in TSFMs. We extend model interpretability approaches built for language models such as causal tracing, ROME, sequential ROME and MEMIT on TimesFM 2.5, a decoder-only transformer model and evaluate the framework on popular time-series benchmarks. We use masked white-box attacks (FGSM, BIM and PGD) to corrupt a single segment of the context window; causal tracing then localizes the damage across various MLP layers and a closed-form rank-one update to the identified feed-forward weight then repairs the corrupted forecast. For instance, a single ROME edit after PGD on UCI Electricity reduces the corrupted-forecast NRMSE by 38.5x, with clean-input specificity drift on the order of 10^-4. Reusing the same PGD-localized layer for BIM and FGSM (cross-attack transfer) repairs those attacks by 12.2x and 1.2x respectively, and consistent results across datasets. Subsequent iterative editing exposes a restoration-versus-specificity trade-off. Sequential ROME gives the most consistent restoration across attacks, whereas MEMIT attains both the lowest error and the lowest specificity under the strongest attack, PGD. In every case the clean-input drift remains negligible. Together, these results demonstrate that both the key-value memory interpretation of feed-forward layers and their localized editability can extend beyond language models.
This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include TimesFM, TS-Edit, ROME, model editing.
Source attribution: curated from arXiv cs.LG (@Vaibhav Achar, Jathin Shettigar Nagabhushan, Abhishek Bhardwaj, Saptarshi Sengupta).