Papers
Topics
Authors
Recent
Search
2000 character limit reached

Medoid Prototype Alignment for Cross-Plant Unknown Attack Detection in Industrial Control Systems

Published 28 Apr 2026 in cs.CR and cs.AI | (2604.25544v1)

Abstract: Deploying an intrusion detector trained in one industrial plant to another remains difficult because Industrial Control System (ICS) traffic is highly site-dependent, labels are scarce, and unseen attacks often appear after deployment. To address this challenge, this paper introduces a medoid prototype alignment framework for cross-plant unknown attack detection. Instead of aligning all source and target samples directly, the method first compresses heterogeneous traffic into a comparable representation space and then extracts robust medoid prototypes that summarize local operational structure in each domain. A prototype-calibrated transfer objective is further designed to align target prototypes with source prototypes while preserving source-domain discrimination and encouraging confident target predictions. This strategy reduces noisy cross-domain matching and improves transfer stability under heterogeneous industrial conditions. Experiments conducted on natural gas and water storage control systems show that the proposed method achieves the best average performance among all compared models, reaching an average accuracy of 0.843 and an average F1-score of 0.838 across four unknown-attack transfer tasks. The analysis also shows clear transfer asymmetry between source-target directions and confirms that prototype guidance is especially helpful on challenging reverse-transfer settings. These findings suggest that medoid prototype alignment is a practical solution for robust industrial intrusion detection under domain shift.

Authors (1)

Summary

  • The paper proposes a medoid prototype alignment (MPA) framework that advances transfer learning by aligning domain prototypes instead of individual instances to detect unknown attacks in ICS.
  • It utilizes independent PCA compression and K-Medoids clustering to extract robust medoid prototypes that mitigate feature heterogeneity and reduce outlier influence.
  • Experimental results demonstrate substantial improvements with a mean accuracy of 0.843 and an F1-score of 0.838, ensuring reliable performance across cross-plant deployments.

Medoid Prototype Alignment for Cross-Plant Unknown Attack Detection in Industrial Control Systems

Introduction

Cross-plant unknown attack detection in Industrial Control Systems (ICS) remains a substantial challenge due to pronounced site-dependence, label scarcity, and continual emergence of novel threats. Traditional IDS retraining for each new plant deployment is prohibitive, necessitating effective transfer learning strategies. The discussed manuscript introduces a Medoid Prototype Alignment (MPA) framework, which advances the transfer-learning paradigm by shifting the adaptation focus from global instance-level alignment towards structurally-grounded, prototype-level domain correspondence. Figure 1

Figure 1: Teaser summary of the MPA concept, including the cross-plant deployment challenge, prototype-guided transfer, and resulting robustness improvement.

Methodology

Problem Formulation and Structural Domain Anchoring

The cross-plant scenario introduces dimensional and semantic heterogeneity, i.e., substantial variations in feature spaces (ds≠dtd_s \neq d_t) and distributional properties (Ps(X,Y)≠Pt(X,Y)P_s(X,Y) \neq P_t(X,Y)), with the source domain possessing labeled attacks and the target plant containing only unlabeled, potentially unseen attack patterns. Under these conditions, direct global feature alignment is fragile and introduces instability in the presence of class imbalance, bursty communications, and rare corner-case dynamics characteristic of ICS traffic.

MPA reformulates the transfer problem to leverage prototype-level knowledge rather than dense sample-wise correspondence. The approach proceeds in three main stages:

  1. Independent Standardization and PCA Compression: Both source and target datasets are mapped into a common, low-dimensional linear subspace using independently derived PCA projections, mitigating feature heterogeneity and distilling salient variation.
  2. Domain Prototype Extraction: Each domain is summarized by K-Medoids clustering, yielding actual traffic observations (medoid prototypes) that robustly encode local operational structure and are less susceptible to outlier influence compared to alternatives like k-means.
  3. Prototype-Calibrated Adaptation Objective: A composite training objective aligns target prototypes softly to the source prototype set via a differentiable correspondence kernel, preserves discriminability via supervised classification on the labeled source, and promotes confident predictions in the target via entropy regularization. Figure 2

    Figure 2: Illustration of prototype extraction and cross-domain matching in the MPA module.

    Figure 3

    Figure 3: Pipeline of the overall MPA framework applied to cross-plant unknown attack detection.

By integrating global discriminative learning with localized medoid-level matching, the framework avoids the pitfalls of forced direct alignment, offering robustness in the presence of industrial domain shifts and nonstationarities.

Experimental Analysis

Evaluation Protocol and Baselines

Empirical validation utilizes two heterogeneous industrial systems—a natural gas system (G) and a water tank control system (W)—with four cross-domain transfer tasks encompassing unseen unknown attack scenarios. Baselines include Random Forest, SVM, Naive Bayes, KNN, and Artificial Neural Networks (ANN), evaluated on average accuracy and F1-score across tasks, with F1 prioritized due to operational relevance.

Average Cross-Task Performance

MPA achieves mean accuracy of 0.843 and F1-score of 0.838, outperforming all baseline models. The performance elevation is particularly significant relative to ANN (the strongest general-purpose baseline), with gains of 62.8% in accuracy and 109.4% in F1, marking a substantial robustness improvement in real-world deployment settings. Figure 4

Figure 4: Average cross-task performance with standard-deviation error bars illustrating MPA's low variance and superior mean accuracy/F1.

Robustness: Dispersion and Directionality

MPA's normalized dispersion (coefficient of variation) across tasks is markedly lower than all baselines, signifying strong consistency and reliability under variable cross-plant transfer conditions. Directional analysis demonstrates modest degradation when transferring from less informative to more complex domains, but MPA consistently preserves both accuracy and F1, reducing the composite directional gap and thus mitigating practical deployment risks. Figure 5

Figure 5: Minimum accuracy/F1 (left) and performance range (right) across tasks, highlighting MPA's robust worst-case behavior.

Figure 6

Figure 6: Directional robustness analysis showing MPA's minimal source-target transfer gap.

Worst-Case and Task-Level Analysis

MPA achieves at least 0.81 minimum accuracy and 0.80 minimum F1 across all tasks—substantially higher than conventional baselines whose minima plummet below 0.5. Additionally, the performance range across tasks for MPA is tightly bounded (≤0.06\leq 0.06), meeting high-assurance criteria for ICS deployment.

Task-level comparisons further highlight MPA's superiority, especially in reverse (more difficult) transfer settings, validating the hypothesis that prototype guidance stabilizes adaptation in ambiguous or structurally divergent domains. Figure 7

Figure 7: Task-level comparison between MPA and baseline models on the four unknown-attack transfer tasks.

Qualitative Alignment Behavior

Although direct embedding visualizations (e.g., t-SNE/UMAP) are not available, schematic representation illustrates the intended effect of MPA: softening source-target disparities and promoting functional region overlap via medoid matching, rather than rigid instance-level overfitting. Figure 8

Figure 8: Schematic summary of domain alignment behavior, showing prototype-guided convergence of operational clusters.

Discussion

Strong empirical evidence supports several key claims:

  • Prototype-level transfer significantly boosts average intrusion detection performance and drastically improves worst-case robustness, even under severe cross-plant shift.
  • Transfer directionality matters: Adaptation from richer to simpler source systems produces systematically better target performance, indicating prototype informativeness is pivotal.
  • Medoid prototypes offer an effective mechanism for robust, semantically meaningful cross-domain alignment, outperforming existing popular transfer learning models under practical ICS constraints.

These findings suggest that structural summarization (as opposed to indiscriminate instance alignment) is foundational for reliable adversarial detection in evolving and heterogeneous industrial environments.

Conclusion

The Medoid Prototype Alignment framework introduces a robust, structurally-grounded approach for cross-plant unknown attack detection in ICS scenarios. By distilling and aligning domain information at the medoid prototype level—instead of the sample level—MPA establishes new standards for average and worst-case performance, dispersion, and directionality under label-limited, shifting operational realities. This methodological advance has direct implications for adaptive, low-overhead IDS deployment in real-world critical infrastructure and positions prototype-guided transfer as a central theme for future industrial AI research. Extensions towards open-set detection, online/continual domain adaptation, and integration with streaming analytics are logical next steps.


Reference: "Medoid Prototype Alignment for Cross-Plant Unknown Attack Detection in Industrial Control Systems" (2604.25544)

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.