# PIA: Agentic Physics-Informed Runtime Anomaly Detection

PIA: 에이전트형 물리 정보 기반 런타임 이상 탐지

Ali Mohammadi Ruzbahani, Abbas Yazdinejad, Hadis Karimipour · arXiv · 2026년 11월 7일

- **연구 문제** 냉각된 신호도 물리 관계를 깨뜨릴 수 있는 공격을 탐지하려면, 학습 기반 탐지기와 물리 기반 잔차 탐지기 사이의 설계 병목을 해결해야 합니다.
- **연구 방법** 언어 모델 에이전트가 플랜트 설명과 정상 데이터 작업대를 사용해 물리 잔차를 설계하고, 제출된 잔차는 정상 데이터에 적합된 뒤 모델 호출 없이 실행됩니다.
- **주요 결과** BATADAL 테스트 공격에서 PIA(Opus)는 F1 0.878과 AP 0.899를 기록해 가장 강한 기준선 PCA의 F1 0.504와 AP 0.713보다 높았습니다.

## 물리 잔차 탐지기의 설계 병목

냉각 없이 신호가 정상 범위를 벗어나지 않는 은밀한 조작은 학습 기반 탐지기가 놓치기 쉽습니다. 자동 인코더나 순환 예측기처럼 정상 데이터로 학습한 모델은 센서 전체의 결합 분포를 학습하지만, 어떤 관계가 물리적으로 반드시 성립해야 하는지는 알지 못합니다. 반대로 물리 기반 잔차 탐지기는 정상 운전에서 반드시 성립하는 관계를 검사하므로 이런 공격에 민감하지만, 각 플랜트마다 전문가가 잔차를 유도하고 매개변수를 맞춰야 합니다. PIA는 이 설계 작업을 언어 모델 에이전트에게 위임하고, 제안된 관계를 정상 운전 데이터로 검증한 뒤 탐지기에 넣는 방식을 다룹니다. 이 설계 문제는 BATADAL 벤치마크의 상수도망 공격 탐지로 검증됩니다.

## 설계 단계와 실행 단계의 분리

PIA는 설계 단계에서 에이전트가 잔차 후보를 작성하고, 실행 단계에서는 제출된 잔차를 정상 데이터에 적합한 뒤 모델 호출 없이 결정적으로 평가합니다. 각 잔차 k는 목표 식 g\_k와 선택적 입력 식 h\_k로 구성되며, 원시 잔차는 r\_k,t = g\_k(x\_≤t) − θ\_k^⊤ \[h\_k(x\_≤t); 1\] 형태로 정의됩니다. 여기서 θ\_k는 정상 데이터에 대한 최소제곱법으로 적합되므로, 탱크 단면적이나 펌프 이득처럼 에이전트가 알 수 없는 상수는 회귀 계수가 흡수하고 관계의 구조만 에이전트가 제안합니다. 이후 각 잔차는 정상 데이터의 중앙값과 중앙절대편차로 표준화되고, 선택한 짧은 창의 절댓값 평균을 정상 데이터 상위 분위수로 나누어 u\_k,t로 바뀝니다.

탐지 점수는 s\_t = max\_k u\_k,t이며, 경보는 임계값 τ를 넘을 때 발생합니다. 이때 u\_k,t의 값이 1이면 정상 운전의 가장자리를 뜻하도록 공통 척도가 맞춰집니다.

![Figure 1: Overview of PIA](https://refivu.com/papers/9759ea5e-4edd-4749-bb03-45759285d767/figures/figure-7e5b91926f779d0738bdd10457dfd59d.png?thumb=512)

**Figure 1** : Overview of PIA.

[원문](https://arxiv.org/abs/2611.11009v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ali Mohammadi Ruzbahani, Abbas Yazdinejad, Hadis Karimipour · PIA: Agentic Physics-Informed Runtime Anomaly Detection · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 작업대가 에이전트에게 주는 검증 신호

에이전트는 공격 데이터를 보지 않고, 정상 데이터만 다루는 작업대의 네 가지 도구를 사용합니다. 첫 도구는 정상 데이터에서 모든 신호를 요약하고, 둘째 도구는 임의의 식과 모든 신호의 상관을 계산합니다. 셋째 도구는 정상 데이터의 한 부분에서 후보 잔차를 적합하고 다른 부분에서 평가하여 설명된 분산, 거짓 경보율, 꼬리 분위수 비율, 그리고 각 신호에 반 표준편차 오프셋을 주거나 이진 작동기를 반전했을 때 검출되는 비율을 반환합니다. 넷째 도구는 후보 집합을 전체 탐지기로 조립해 거짓 경보율과 그 원인 잔차, 어떤 잔차도 덮지 못한 신호를 보고합니다. 에이전트는 이 피드백으로 관계를 채택하거나 수정하며, 세션은 4개에서 24개의 잔차를 제출하면 종료됩니다.

## BATADAL 데이터와 비교 조건

실험은 BATADAL의 C-Town 상수도망 데이터를 사용합니다. 모든 탐지기와 에이전트는 정상 데이터만 사용하고, Dataset 2와 테스트 데이터셋은 평가에만 사용됩니다. 비교 기준은 결합 T2와 Q 통계량을 사용하는 PCA, 격리 숲, 밀집 자동 인코더, LSTM 예측기, LSTM 자동 인코더, USAD입니다.

## 테스트 공격에서의 탐지 성능

테스트 공격에서 PIA(Opus)는 F1 0.878과 AP 0.899를 기록했고, 가장 강한 기준선 PCA의 F1 0.504와 AP 0.713보다 높았습니다. 이때 정밀도는 PCA와 비슷한 수준을 유지했으며, 차이는 재현율에서 나타났습니다. 재현율은 PCA의 0.349에서 0.874로 올라갔습니다. 저자들은 기준선이 공격의 시작부는 잡지만 은폐 효과가 나타나면 경보를 놓치고, PIA의 잔차는 공격 전체 기간 동안 경보를 유지한다고 해석합니다. PIA(Sonnet)의 테스트 F1은 0.731로 기준선들보다 높았습니다.

![Table 1: BATADAL results, mean and standard deviation over five runs](https://refivu.com/papers/9759ea5e-4edd-4749-bb03-45759285d767/figures/figure-202199ccd14a6992cfa17872f86dd91c.png?thumb=512)

**Table 1** : BATADAL results, mean and standard deviation over five runs.

[원문](https://arxiv.org/abs/2611.11009v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ali Mohammadi Ruzbahani, Abbas Yazdinejad, Hadis Karimipour · PIA: Agentic Physics-Informed Runtime Anomaly Detection · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Figure 2: Normalized scores on the BATADAL test period; shaded spans are attacks](https://refivu.com/papers/9759ea5e-4edd-4749-bb03-45759285d767/figures/figure-0a2487095aea25dc360160cd75e446cc.png?thumb=512)

**Figure 2** : Normalized scores on the BATADAL test period; shaded spans are attacks.

[원문](https://arxiv.org/abs/2611.11009v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Ali Mohammadi Ruzbahani, Abbas Yazdinejad, Hadis Karimipour · PIA: Agentic Physics-Informed Runtime Anomaly Detection · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 플랜트 설명과 작업대의 기여

절제 실험은 두 정보원을 분리합니다. 블라인드 구성은 플랜트 설명을 한 문장으로 줄이고 모든 신호를 익명 식별자로 바꿔 에이전트가 작업대만으로 시스템을 추론하게 합니다. 도구 없음 구성은 전체 플랜트 설명은 유지하되 데이터를 보지 않고 잔차를 제출하게 합니다. 작업대를 제거하면 테스트 공격의 F1이 Opus에서 0.28, Sonnet에서 0.22 낮아지며 Dataset 2에서도 하락이 나타납니다. 반면 블라인드 구성의 Opus와 Sonnet은 테스트 F1 0.858과 0.842에 도달했습니다. 따라서 이 결과가 지지하는 것은 정상 데이터에 대한 경험적 검증이 탐지 품질에 결정적이라는 점입니다. 플랜트 설명은 Opus의 테스트 국소화 정확도를 0.714에서 1.0으로 올렸습니다.

## 적용 범위와 남은 질문

이 평가는 BATADAL 상수도망과 두 프런티어 모델 계열에서 얻은 결과입니다. 플랜트 구성이나 센서 신뢰도가 바뀔 때 잔차 집합을 어떻게 수정할지는 현재 평가 범위 밖에 있습니다. 또한 배치 후 탐지기는 고정된 잔차 집합이므로, 새로운 관계를 찾는 과정은 설계 단계에서 다시 수행해야 합니다. 저자들은 이 한계를 향후 과제로 제시하며, 설계 세션의 비용은 한 번 지불되는 설계 비용으로 설명합니다.

## 논문 정보

- **저자**: Ali Mohammadi Ruzbahani, Abbas Yazdinejad, Hadis Karimipour
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 7일
- **등록일**: 2026년 11월 10일
- **수정일**: 2026년 11월 7일
- **버전**: v1
- **arXiv**: 2611.11009
- **분류**: cs.LG · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.11009v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.11009v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Runtime anomaly detectors for cyber-physical systems are either learned as black boxes from normal data, which miss stealthy manipulations that keep every signal inside its normal range, or derived by hand from physical models, which requires expert effort for every plant. We introduce physicsinformed agents (PIA), in which a large language model agent writes the detector itself as a set of physical residuals, such as pump characteristics, tank mass balances, and controller logic, and refines every candidate against normal operating data through an evaluation workbench before deployment. The result is a compact, human-readable detector that runs in milliseconds and names the component behind each alarm. On the BATADAL water distribution attack benchmark, PIA with Claude Opus 5.5 reaches an F1 of 0.878 on the test attacks against 0.504 for the strongest of six statistical and deep baselines, keeps detecting attacks concealed by replayed and offset sensor readings, and attributes every detected test attack to the attacked component. Ablations show that testing hypotheses against data is decisive: agents that write residuals from the plant description alone lose up to 0.28 F1, whereas agents that see only anonymized signals recover most of the physical structure.

## 원문 인용

Ali Mohammadi Ruzbahani, Abbas Yazdinejad, Hadis Karimipour (2026). PIA: Agentic Physics-Informed Runtime Anomaly Detection. arXiv:2611.11009v1. https://arxiv.org/abs/2611.11009v1

**BibTeX**

```
@misc{ruzbahani2026agentic,
  title = {{PIA: Agentic Physics-Informed Runtime Anomaly Detection}},
  author = {Ali Mohammadi Ruzbahani and Abbas Yazdinejad and Hadis Karimipour},
  year = {2026},
  eprint = {2611.11009},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.11009v1}
}
```

## 다른 논문 해설

- [Advancements in Cloud-Native Systems: A Systematic Mapping Study of Reliability and Scalability across Cloud-Native, Edge-Native and AI-Enabled Systems](https://refivu.com/papers/dcc9a55c-1402-4ca3-b4fb-5c370442536e-advancements-in-cloud-native-systems-a-systematic-mapping.md)
- [Replay Fidelity in LLM Agent Evaluation: Randomness, Hidden State, and Test Oracles in AppWorld](https://refivu.com/papers/9a326d31-874b-448e-8233-c0d87cc4f430-replay-fidelity-in-llm-agent-evaluation-randomness-hidden.md)
- [Think or Remember: The Exchange Rate of Agentic Inference](https://refivu.com/papers/430e6cf8-4d25-4ea8-8672-86be1d22daf9-think-or-remember-the-exchange-rate-of-agentic.md)
- [How to "train" a surgeon? Benchmarking generalist agents in surgical scene understanding](https://refivu.com/papers/c14fcb0f-7658-4cdb-aab2-a512b0b5e61c-how-to-train-a-surgeon-benchmarking-generalist-agents.md)
- [Towards Identity-Preserving LLM Agents under Model Transition](https://refivu.com/papers/b44b339a-9afb-45f5-89c9-15f7e9873065-towards-identity-preserving-llm-agents-under-model.md)
- [Firepool: Brokering Warm GPU Capacity for Agentic and RL Workloads at LinkedIn](https://refivu.com/papers/0e017dee-ff2c-4a1f-9e6d-de71d910b214-firepool-brokering-warm-gpu-capacity-for-agentic-and.md)
- [GradReason: LLMs as Meta-Learners that Replace Training Epochs with Training-Data-Free Weight Updates](https://refivu.com/papers/256ec645-cf61-4699-8fbc-03d5adc197dc-gradreason-llms-as-meta-learners-that-replace-training.md)
- [LongCap: Hour-Scale Timestamped Audio Captioning via Chunk-wise Processing](https://refivu.com/papers/3d29785b-d68d-4ba4-8ec6-d0cb9c1d3076-longcap-hour-scale-timestamped-audio-captioning-via-chunk.md)
- [Does Pose Encoding Matter? Analyzing Geometric Representations for Discrete Motion Vocabulary Learning](https://refivu.com/papers/bf738030-c57b-4b9c-b623-6e1eab20dc66-does-pose-encoding-matter-analyzing-geometric.md)
- [Uncertainty-Guided Reward Labeling for Reinforcement Learning under Limited Feedback](https://refivu.com/papers/16259af5-2139-4a6b-a517-f5d12bc434bf-uncertainty-guided-reward-labeling-for-reinforcement.md)
- [Task presentation and execution paths shape LLM mathematical performance](https://refivu.com/papers/ceeef207-e385-4d83-bbd1-ed57db040edd-task-presentation-and-execution-paths-shape-llm-mathematical.md)
- [When Safety Becomes An Outlier: Understanding the Retention of LLM Safety Behaviors](https://refivu.com/papers/c80b7b08-3909-41c2-8f34-04547cb431aa-when-safety-becomes-an-outlier-understanding-the-retention.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/9759ea5e-4edd-4749-bb03-45759285d767-pia-agentic-physics-informed-runtime-anomaly-detection)
