arXiv · 2612.04835
TS-Edit: A Model Editing Framework for Adversarial Defense in Time-Series Foundation Models
Abstract
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Vaibhav Achar, Jathin Shettigar Nagabhushan, Abhishek Bhardwaj, Saptarshi Sengupta. 2026-12-03. TS-Edit: A Model Editing Framework for Adversarial Defense in Time-Series Foundation Models. https://searcharxiv.org/abs/2612.04835
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.