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…
- arXiv
- 2612.04835
- Authors
- Vaibhav Achar, Jathin Shettigar Nagabhushan, Abhishek Bhardwaj, Saptarshi Sengupta
- Categories
- cs.LG