Attack Detection using Time Series Foundation Models

arXiv:2606.06347 · eess.SY, cs.LG, cs.SY · Submitted 2026-06-04 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Robotics Radio. Generated commentary on the latest robotics and control papers.

Rosa: We're looking at the paper: "Attack Detection using Time Series Foundation Models".

Paper summary: Rosa: The paper dives into constructing optimal stealthy attacks against a chi squared detector, showing closed-form expressions for both linear and nonlinear systems.

Dev: They derive these expressions assuming the attacker has full knowledge of the system model, which is a bit of a counterfactual since we're trying to build a model-free detector.

Taro: But this derivation is important because it gives us a benchmark for how hard it is for an attacker to remain stealthy against the original model-based detector.

Rosa: They specifically find closed-form expressions for stealthy attacks that maximally bias the state estimate while still remaining stealthy, covering both linear and nonlinear systems.

Dev: So, on the one hand, we have this mathematically derived optimal way an attacker can try to hide their presence from a standard detector.

Taro: And on the other hand, they leverage TimesFM as a surrogate residual generator to perform detection using a chi squared test on its prediction errors.

Rosa: This shows how the foundation model acts as a substitute for the system dynamics that we don't know, allowing us to test against those complex stealthy attacks.

Dev: The main contrast they draw is between an attacker who knows the model and one trying to evade detection using this new TimesFM approach.

Taro: It suggests that attacks designed to be stealthy against the original model-based detector are much harder to be stealthy against TimesFM, which is a key finding.

Rosa: That's interesting because it means we might not need the attacker to perfectly understand our internal system dynamics for the detection mechanism to work well.

Dev: It shifts the complexity from modeling the plant perfectly to trusting a powerful pre-trained model to see what's wrong.

Taro: And they also show that TimesFM can serve as a substitute for corrupted measurements, which is another practical mitigation technique when classical red attacks occur.

Rosa: So, we're seeing this model-free approach not just detect intrusions but potentially clean up noisy or maliciously altered data too.

Dev: That’s a dual capability here, detection and imputation of bad data simultaneously.

Conclusion: Rosa: So wrapping up the "Attack Detection using Time Series Foundation Models" paper by Sribalaji C Anand, Anh Tung Nguyen, and George J Pappas.

Dev: The main point is that you can build a model-structure-free detector without needing any knowledge of the plant model or its parameters.

Rosa: They achieve this by using TimesFM as a zero-shot surrogate residual generator and applying a chi squared test to its prediction errors, which works on systems like the IEEE fourteen-bus power system <ref:2606.06347#pg1,the IEEE 14-bus power system>.

Taro: The implication for us in real-world deployments is that we can deploy detection mechanisms without having to spend months training models specific to every single plant configuration.

Dev: It means we might be able to deploy these detectors much faster across different types of cyber-physical systems, which is a big deal for deployment timelines.

Rosa: The authors also showed that this approach can detect model-based stealthy attacks more effectively than traditional methods under certain conditions.

Taro: It’s about moving detection from being entirely dependent on the specific physics of the system to relying on general patterns learned by the foundation model.

Dev: So, it’s a shift toward using large time series models as a generalized sensor for anomaly detection in these kinds of critical infrastructure settings.

University of Pennsylvania · KTH Royal Institute of Technology, Sweden · Uppsala University, Sweden

eess.SY, cs.LG, cs.SY

Submitted: 2026-06-04

Updated: 2026-06-04

Comments: Under review

DOI: 10.1109/LCSYS.2026.3749300

Code: https://github.com/balajianand1994/Attack_detection_using_TFM

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 83/100

The gist: Attack detection in Cyber-Physical Systems (CPSs) has received considerable research attention in recent years [1].

Key concepts

Modelstructure-free detector
This is an attack detection method that works without needing prior knowledge of the system's mathematical model or internal structure. Instead of relying on a known plant model, it uses a data-driven foundation model to learn what normal behavior looks like and flags deviations as attacks.
TimesFM
TimesFM is a time-series foundation model created by Google Research. In this paper, it is used as a surrogate residual generator. This means the AI model predicts the expected 'residual' or error in the system's measurements based on historical data, allowing for detection even when the exact system dynamics are unknown.
Model-free replay attacks
These are attacks where an adversary replays recorded sensor measurements to fool a detector. The proposed method is designed to detect these without needing a model of the physical system, relying instead on the learned patterns from foundation models to identify inconsistencies in the data stream.
Model-based stealthy attacks
These are sophisticated attacks where an adversary modifies inputs subtly to remain undetected by traditional detectors. The paper explores how a detection method can be designed that is robust against these stealthy manipulations, even without knowing the exact system parameters.

Terminology

Summary

Attack detection in Cyber-Physical Systems (CPSs) has received considerable research attention in recent years [1]. p. 0

Where the paper says it

We also demonstrate that TimesFM predictions can serve as a substitute for corrupted measurements, a practical mitigation technique when classical redundancy assumptions fail. INTRODUCTION Attack detection in Cyber-Physical Systems (CPSs) has received considerable research attention in recent years [1].

This paper addresses the problem of attack detection in cyber-physical systems without any knowledge of the plant model or its structure. p. 0
Where the paper says it

Anand, Anh Tung Nguyen, and George J. Pappas Abstract— This paper addresses the problem of attack detection in cyber-physical systems without any knowledge of the plant model or its structure.

<ref:2606.06347#pg1, Can we design an efficient attack detector without any explicit knowledge of the system model structure or parameters? p. 0
Where the paper says it

Both stages, however, rely critically on model knowledge. This raises a natural question: Can we design an efficient attack detector without any explicit knowledge of the system model structure or parameters?

>. It proposes a modelstructure-free detector based on TimesFM, a time-series foundation model developed by Google Research, which serves as a surrogate residual generator operating in a zero-shot fashion. p. 0
Where the paper says it

For the latter, we derive closed-form expressions for the optimal stealthy attack policy against a χ 2 detector, for both linear and nonlinear systems. We then propose a modelstructure-free detector based on TimesFM, a time-series foundation model developed by Google Research, which serves as a surrogate residual generator operating in a zero-shot fashion.

<ref:2606.06347#pg1, We then propose a modelstructure-free detector based on TimesFM, a time-series foundation model developed by Google Research, which serves as a surrogate residual generator operating in a zero-shot fashion>. p. 0
Where the paper says it

For the latter, we derive closed-form expressions for the optimal stealthy attack policy against a χ 2 detector, for both linear and nonlinear systems. We then propose a modelstructure-free detector based on TimesFM, a time-series foundation model developed by Google Research, which serves as a surrogate residual generator operating in a zero-shot fashion.

The efficacy of the proposed approach is demonstrated numerically on the IEEE 14-bus power system. p. 0
Where the paper says it

We show empirically that the TimesFM-based detector achieves a comparable or superior attack detection performance. The efficacy of the proposed approach is demonstrated numerically on the IEEE 14-bus power system.

<ref:2606.06347#pg1, We show empirically that the TimesFM-based detector achieves a comparable or superior attack detection performance>. p. 0
Where the paper says it

We then propose a modelstructure-free detector based on TimesFM, a time-series foundation model developed by Google Research, which serves as a surrogate residual generator operating in a zero-shot fashion. We show empirically that the TimesFM-based detector achieves a comparable or superior attack detection performance.

Problem Formulation and Attack Classes

The paper formalizes the CPS setup where a remotely located plant transmits sensor measurements over a network assumed to be under attacks.<ref:2606.06347#pg2, This communication network is assumed to be under attacks>. p. 1

Where the paper says it

PROBLEM FORMULATION In this section, we formalize the CPS setup for studying attack detection, where a remotely located plant periodically transmits its outputs to the plant operator over a network. This communication network is assumed to be under attacks.

The research considers two classes of attacks: model-free replay attacks and model-based stealthy attacks. p. 0
Where the paper says it

A remotely located plant transmits sensor measurements to an operator over a network that is assumed to be under attack. We consider two classes of attacks: model-free replay attacks and model-based stealthy attacks.

<ref:2606.06347#pg1, We consider two classes of attacks: model-free replay attacks and model-based stealthy attacks>. p. 0
Where the paper says it

A remotely located plant transmits sensor measurements to an operator over a network that is assumed to be under attack. We consider two classes of attacks: model-free replay attacks and model-based stealthy attacks.

Optimal Model-Based Attack Construction

The authors derive closed-form expressions for the optimal stealthy attack policy against a χ2 detector, for both linear and nonlinear systems.<ref:2606.06347#pg1, For the latter, we derive closed-form expressions for the optimal stealthy attack policy against a χ² detector, for both linear and nonlinear systems>. p. 0

Where the paper says it

We consider two classes of attacks: model-free replay attacks and model-based stealthy attacks. For the latter, we derive closed-form expressions for the optimal stealthy attack policy against a χ 2 detector, for both linear and nonlinear systems.

Specifically:

  1. Optimal stealthy attack construction: They derive closed-form expressions for stealthy attacks that maximally bias the state estimate while remaining stealthy, for both linear and nonlinear systems.<ref:2606.06347#pg1, Assuming the attacker has full model knowledge, we derive closed-form expressions for stealthy attacks that maximally bias the state estimate while remaining stealthy, for both linear and nonlinear systems>. p. 0

    Where the paper says it

    The main contributions of this paper are as follows 1) Optimal stealthy attack construction: We consider the case where the operator employs a model-based χ 2 detector. Assuming the attacker has full model knowledge, we derive closed-form expressions for stealthy attacks that maximally bias the state estimate while remaining stealthy, for both linear and nonlinear systems.

  2. Model-free detection via foundation models: They leverage TimesFM as a surrogate residual generator and apply a χ2 test to its prediction errors.<ref:2606.06347#pg1, We leverage TimesFM as a surrogate residual generator and apply a χ² test to its prediction errors>. p. 0

    Where the paper says it

    Assuming the attacker has full model knowledge, we derive closed-form expressions for stealthy attacks that maximally bias the state estimate while remaining stealthy, for both linear and nonlinear systems. 2) Model-free detection via foundation models: We leverage TimesFM as a surrogate residual generator and apply a χ 2 test to its prediction errors (Algorithm 1).

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Model-structure-free detection using TimesFM can detect model-based stealthy attacks by leveraging TimesFM as a surrogate residual generator operating in a zero-shot fashion without requiring explicit knowledge of the plant model structure or parameters.

  2. The system can achieve robust state estimation even when all sensors are under attack by replacing corrupted measurements with TimesFM point predictions upon detection, leading to a lower state reconstruction error compared to unprotected observers.

  3. An improved AI system can perform simultaneous evasion against adaptive attackers by utilizing the secondary detector gs, which severely limits the attacker's impact on the mean state deviation even when the attacker has black-box query access to gs.

Abstract

This paper addresses the problem of attack detection in cyber-physical systems without any knowledge of the plant model or its structure. A remotely located plant transmits sensor measurements to an operator over a network that is assumed to be under attack. We consider two classes of attacks: model-free replay attacks and model-based stealthy attacks. For the latter, we derive closed-form expressions for the optimal stealthy attack policy against a χ squared detector, for both linear and nonlinear systems. We then propose a model-structure-free detector based on TimesFM, a time-series foundation model developed by Google Research, which serves as a surrogate residual generator operating in a zero-shot fashion. We show empirically that the TimesFM-based detector achieves a comparable or superior attack detection performance. The efficacy of the proposed approach is demonstrated numerically on the IEEE 14-bus power system. We also demonstrate that TimesFM predictions can serve as a substitute for corrupted measurements, a practical mitigation technique when classical redundancy assumptions fail.

Sources

Related papers