Preprint
Article

This version is not peer-reviewed.

Probe-Free Session-Hijacking Detection in AI-Native 6G Edge Networks Using Digital-Twin-Guided Service Decisions

Submitted:

19 November 2026

Posted:

19 November 2026

You are already at the latest version

Abstract
Programmable edge networks, and the AI-native control envisioned for 6G, make frequent control decisions while keeping predictive models of connected devices. A reusable session credential can then let a substitute endpoint continue a legitimately authenticated session. Sender-constrained tokens mitigate this risk where they are deployed, but constrained or legacy devices, extracted keys and relay arrangements leave a residual gap that statistical continuity checking can help to close. We propose PF-TRACE (Probe-Free Twin-guided Randomized Action Control for Endpoint verification), a probe-free policy that turns decisions the network must make anyway into security evidence. Among near-equivalent edge-computing actions, the controller picks the one whose response best separates an enrolled device twin from likely impostors. We evaluated PF-TRACE using ns-3/5G-LENA 5G NR radio traces and split-inference measurements collected from Raspberry Pi and laptop hardware. These measurements were replayed in a Python-based simulator. With the false-alarm rate set to one per 10,000 genuine epochs, PF-TRACE detected about 72% of relay attacks and 56% of same-model substitutions within 500 epochs. Passive twin checking achieved 58% and 40%, respectively. Active probing at a similar cost detected 68% and 47%. Paired tests over 30 independent runs showed that the gains over passive checking were statistically significant for both attacks (p < 0.001). PF-TRACE added about 2% to p95 completion time. PF-TRACE-D, a deterministic maximum-information variant of our scheme, detected faster against non-adaptive attackers, but against a policy-aware attacker that learned the controller’s action choices its relay detection fell to 52%, whereas PF-TRACE retained 64%. Detection depends on observable response differences, so the gains narrow under heavy load and do not extend to a faster attacker that adds delay to reproduce the genuine response.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

Machine learning entered 4G and 5G networks mainly as a tool for isolated jobs. Traffic was predicted in one place, resources were allocated in another, and each model served a single purpose. Sixth generation (6G) networks are expected to work differently. The intent is to place intelligence inside the network architecture so that learned decisions shape operation across the radio access network, the edge and the core [1,2]. The ITU-R framework for IMT-2030 lists AI among the capabilities that future systems should support natively [3]. The O-RAN architecture already gives an early view of what this looks like in practice. Its intelligent controllers run learned policies at different timescales and act on individual devices and cells through open interfaces [4].
One result of this shift is that the network makes a very large number of small decisions for each device. It decides where an offloaded task should run, how traffic should be scheduled and which resources a session should receive [5]. Digital twins are expected to support these decisions. A twin keeps a synchronized model of a physical entity and lets the controller test the outcome of an action before applying it [6,7]. Twin-assisted edge networks have been studied for resource allocation and learning [8], and in an AI-native 6G network the twin of each device is likely to become a routine part of control rather than a separate application.
The security concern goes beyond initial credential validity. It is whether the endpoint identity stays the same throughout the session. A reusable application or session token may allow a substitute host to issue requests under a session that was initially established by a legitimate device [9,10]. We treat this case as session impersonation, separately from compromise of the long-term authentication secret. Whether re-authentication can exclude the attacker depends on which credentials have been compromised.
An obvious alternative is to bind the session cryptographically to the device. Sender-constrained tokens, such as certificate-bound access tokens over mutual TLS [46], demonstration of proof-of-possession (DPoP) [47] and TLS channel binding [48], prevent a stolen token from being replayed from a different endpoint, and they should be deployed wherever the device supports them. They do not, however, remove every case that motivates this work. First, many constrained IoT and edge devices lack a hardware-protected key store or the energy and processing budget for a proof-of-possession signature on every request, and legacy application stacks continue to issue bearer tokens. Second, a binding is only as strong as the key it protects. A software-held key can be extracted, and malware with code execution on the genuine device can obtain signatures for an attacker without exporting the key. Third, in relay and proxy arrangements the attacker forwards traffic through, or obtains signatures from, a device that legitimately holds the key, so every cryptographic check succeeds while the endpoint that actually consumes the service has changed. The threat model in Section 3.4 therefore assumes that the long-term authentication secret is not exported, but not that every request is cryptographically bound to it. Statistical continuity verification is proposed as a complementary layer beneath cryptographic binding that produces evidence when the binding has been bypassed or is unavailable. It is not a replacement for sender-constrained tokens.
Continuous device verification can provide additional evidence after authentication. Passive fingerprinting uses naturally occurring traffic [11,12,13], whereas active tests introduce additional interactions with the device. The problem becomes harder when identical devices operate under similar workloads because their observable behaviour may overlap. Accordingly, traffic observations and controller-selected actions provide statistical evidence rather than hardware-rooted identity proof. Any attacker that can reproduce the conditional response distribution remains statistically indistinguishable. Our objective is faster detection of endpoint substitutions that is statistically distinguishable. Absolute proof of physical identity lies outside its scope.
The research question is whether the network can increase the evidence available for detecting a substituted session endpoint by choosing among already admissible service decisions, without scheduling a separate verification task. We investigate both the opportunity and its limits. These limits include the existence of informative actions, adversarial response imitation, prediction uncertainty and the loss of action flexibility under heavy load.
Suppose an edge application can execute an inference task through several server and split-point combinations with similar predicted completion times. Instead of breaking the tie arbitrarily, the controller scores each feasible action by how well it separates the genuine device twin from its hardest modelled impostor, after allowing for any workload regime the genuine device could be in. It can then prefer the more informative ordinary service action. This draws on sequential experiment design [14,15,16,17] and relates to control-based attack detection and physical watermarking [18,19]. Unlike watermarking approaches that introduce dedicated excitation, the proposed method, which we call PF-TRACE (Probe-Free Twin-guided Randomized Action Control for Endpoint verification), operates only through service actions already available to the application. The statistical tools themselves are established. The novelty lies in how they are applied: routine control decisions are used as opportunities for identity verification under workload-regime uncertainty and a fixed service budget.
To make the scope of the contribution explicit, we separate the adapted elements from the new ones. The statistical machinery is adapted from existing work. The KL-divergence action score is a standard controlled-sensing criterion [14,15,16,17], the cost-penalized selection follows the same logic as parsimonious watermarking [18], and the per-class detector is Page’s CUSUM [37]. The new elements are as follows. (i) The excitation set is restricted to service actions the application must take anyway, namely the edge server and the split point, so verification adds no probe traffic and its cost is bounded by the service tolerance ε rather than by a separate excitation budget. (ii) The action score is regime-robust. It takes the minimum divergence over every workload regime the genuine device can reach, so an action is credited only if no legitimate load change can explain the deviation. (iii) Detection uses persistent per-class CUSUM statistics coupled to hidden-Markov regime filters, and a gated, clipped twin update limits gradual poisoning. (iv) The randomized selection is evaluated against a policy-aware attacker that learns the controller’s action choices, which shows when randomization is worth its detection cost relative to a deterministic maximum-information rule. (v) The evaluation combines ns-3/5G-LENA traces with split-inference measurements from physical devices and reports detection, false-alarm counts, statistical significance and realized tail-latency cost on a common basis. A formal comparison with parsimonious watermarking is given in Appendix A (Table A1).
The central contribution is a probe-free verification policy that operates within the service budget. For each inference, the controller selects an edge server and a split point. When multiple choices have similar service cost, preference is given to the action expected to provide stronger statistical evidence of whether the endpoint has changed. The available choices are constrained by latency, calibration, and feasibility requirements. A device twin tracks workload regimes, while sequential detectors accumulate evidence for the modelled persistent attacker classes. Bounded twin updates reduce the influence of suspicious observations, and detected sessions trigger an endpoint-bound security response. The evaluation considers adaptive, policy-aware, same-hardware, concurrent-clone and previously unseen attackers. Reliable detection requires at least one feasible action for which the genuine device and the attacker produce sufficiently different response distributions.
The rest of the paper is organized as follows. Section 2 reviews related work, Section 3 defines the system and threat models, and Section 4 describes the twin-guided decision process. Section 5 presents the evaluation and results. Section 6 discusses practical and methodological limitations, including integration into an AI-native 6G architecture, and Section 7 concludes the paper. Appendix A gives the formal comparison with parsimonious watermarking and the complete parameter settings.

3. System and Threat Models

This section describes the network, the device twin and the attacker. The notation is collected in Table 1. To keep the expressions readable, we drop the device index u whenever a statement concerns a single device.

3.1. Network and Control Model

We consider a programmable edge-computing area as depicted in Figure 1. A 5G NR radio access network connects application devices to edge compute servers. An edge or application orchestrator, rather than the RAN intelligent controller alone, decides the server and the neural-network split point. The RAN supplies measured network telemetry. The controller and the per-device digital twins reside within a trusted edge domain. This arrangement is compatible with investigations of future AI-assisted 6G control, but it does not assume that standard O-RAN interfaces already provide per-inference split-point reconfiguration.
At decision epoch t , the orchestrator considers a finite action set A t of permissible edge-server and split-point pairs. Its performance model estimates the expected completion cost J a , t from network telemetry, edge queueing and the device twin. Equation (1) defines this predicted cost, and Equation (2) defines the conventional minimum-cost action. Both are controller predictions and do not guarantee the realized service.
J a , t = E L a , t ∣ x ^ t , β t ,     a ∈ A t ,
where L a , t is the application service cost under action a at epoch t , and the expectation is taken over the twin’s continuous state estimate x ^ t and its regime probabilities β t , both introduced in Section 3.3. Beyond the relative cost restriction in Equation (3), the implementation enforces application deadline and reconfiguration constraints. Decisions with unreliable or stale cost predictions are excluded or revert to the conventional baseline. Actual latency, energy, deadline misses and control signaling are evaluated separately from predicted cost.
a * t = a r g   m i n a ∈ A t J a , t .

3.2. Near-Equivalent Actions

The near-equivalent set in Equation (3) contains the actions whose predicted cost is within a relative tolerance ε of the minimum. It acts as a feasibility filter and does not make the choice free of cost. When A ε t contains a single action, the controller has no discretion and verification relies on passive evidence. Whether several actions remain available under different radio and edge loads is tested empirically, and slack is not assumed.
A ε t = a ∈ A t   :   J a , t ≤ 1 + ε   J ​ a * t , t .
The operator chooses ε and the application’s hard deadline separately. A forecast error can make the realized delay exceed the predicted tolerance. The decision rule is suspended whenever the uncertainty-adjusted latency constraint or an application safety requirement cannot be met. We report realized QoS degradation and the fraction of epochs in which this guard removes the freedom to select for security.

3.3. Device Twin

The per-device twin represents the evolving behavior of one enrolled device instance. Its state has two parts. A continuous part x t holds the queued tasks and an effective computation-speed factor. A discrete load regime r t ∈ { 1 , … , M } represents the device’s background CPU utilization, which tends to stay at one level for a while and then change abruptly. Equations (4) to (6) describe the state transition, the network-observed response and the regime dynamics. Responses include the arrival time of the intermediate inference output, the task completion time and the inter-request timing, all timestamped at the operator edge. Network-side measurement limits manipulation of self-reported data. It does not prevent an adversary from deliberately delaying its own transmissions.
x t + 1 = f ​ x t , a t + w t ,     w t ∼ N 0 , Q ,
y t = g ​ x t , r t , a t + v t ,     v t ∼ N 0 , R ,
P r r t + 1 = j ∣ r t = i = Π i j ,     i , j ∈ { 1 , … , M } .
The regime model distinguishes the proposed twin from one based on a single state estimate. Legitimate workload changes are represented through transitions between workload regimes, allowing the twin to account for corresponding variations in device response. Relay-induced delays follow a different pattern. Workload changes affect response time according to the device computation associated with the selected split point, whereas a relay can introduce a similar additional delay across early and late splits. Such deviations are not well explained by the modelled workload regimes and therefore contribute evidence to the sequential detector.
The transition f , the response map g and the matrix Π are fitted from genuine enrollment traces and validated on held-out sessions. The continuous state is updated online only while the session is trusted. Process and observation noise capture environmental load and networking variation. Residuals, covariance calibration and the correlation between response features are checked empirically, since Gaussian response models were selected for tractability and validated empirically using held-out traces.
The estimation procedure is as follows. The transition f and the response map g were obtained by regressing the enrolment measurements of local execution time, intermediate-output transfer time and post-processing delay on the split index, the queue length and the regime label, with one set of coefficients per split point. Because each enrolment trace was recorded under a known background CPU load, the regime transition matrix Π was estimated by maximum likelihood from the regime durations and switching frequencies of the enrolment schedule, with additive smoothing of 0.5 to avoid zero entries. The process-noise covariance Q and the observation-noise covariance R were set to the sample covariances of the one-step state residuals and of the response residuals on the enrolment set and were then checked on held-out sessions. The reachability floor was δ = 0.05. All fitted values are listed in Appendix A (Table A2). On held-out genuine sessions, the normalized innovations of Equations (5) and (9) had a mean of 0.005 and a variance of 1.015, and the empirical coverage of the nominal 95% predictive intervals was 94.9% averaged over split points (Appendix A, Table A3). These checks support the Gaussian approximation in the evaluated operating range; heavier tails were handled by the clipping in Equations (17) and (23).
Before epoch t , the twin propagates its continuous state with an extended Kalman filter (EKF) and its regime probabilities with the forward step of a hidden Markov model,
x ^ − t = f ​ x ^ t − 1 , a t − 1 ,     P − t = F   P t − 1   F ⊤ + Q ,
β t − j = ∑ i = 1 M Π i j   β t − 1 i ,     j ∈ { 1 , … , M } ,
where F is the Jacobian of f and β t − 1 i is the probability of regime i after the previous observation. For action a and regime r , the twin predicts a Gaussian response with the mean and covariance of Equation (9). The genuine predictive distribution in Equation (10) mixes these predictions according to the regime probabilities.
μ 0 a , r = g ​ x ^ − t , r , a ,     Σ 0 a , r = G a , r   P − t   G a , r ⊤ + R ,
p 0 y ∣ a = ∑ r = 1 M β t − r   N ​ y ; μ 0 a , r , Σ 0 a , r .
Here G a , r is the Jacobian of g with respect to the continuous state. A calibration gate excludes response dimensions or actions whose held-out genuine residual coverage falls below a predetermined acceptance criterion. In this study, a response dimension or action was accepted when the empirical coverage of its nominal 95% predictive interval on held-out genuine sessions was at least 90%. Only calibrated response dimensions contribute to action scoring. When calibration quality falls below the acceptance criterion, the controller reverts to the minimum-cost decision and records a model-health event. Covariance regularization and positive-definiteness checks are applied before all matrix inversions.

3.4. Threat Model

The attacker controls an endpoint that has obtained a reusable application-session token or a limited session context, but not the enrolled device’s non-exportable long-term authentication secret. This distinguishes endpoint substitution from full device compromise. We consider displacement attacks, in which the legitimate endpoint is silent, and concurrent-clone attacks, in which both endpoints issue requests. The attacker may use faster, slower or identical hardware, observe the controller actions assigned to its own requests, store past public behaviour and introduce artificial response delays. The adversary does not compromise the trusted edge controller or the twin state store. No secrecy of the published algorithm is assumed.
An adaptive attacker may fit a timing predictor from observations and attempt action-conditional imitation, including same-model devices with matched workloads. The statistical method succeeds only when at least one feasible action produces distinguishable conditional response distributions. The attacker may learn this information over time, so performance is evaluated against attackers trained on independent recordings as well as against population-mean imitators. Perfect action-conditioned emulation remains a fundamental limitation because no statistical information remains available for discrimination.
The adaptive imitator implemented in the evaluation has the strongest capabilities consistent with this threat model. It observes each action assigned to its own requests before it responds, holds a timing predictor fitted on independent recordings of the genuine device under all load regimes, and can add any non-negative delay to its computation and transmission. It cannot shorten its own computation, cannot alter network-side timestamps and does not observe the genuine device’s current regime. These limits create an asymmetry. An attacker whose host is faster than the genuine device under every feasible action can always add delay to match the genuine conditional response, so action-conditioned timing alone cannot detect it. An attacker that is slower under at least one feasible action cannot remove the excess delay after the action is revealed, so it remains detectable whenever such an action is selected with positive probability. Detectability of a mixed host, faster for some splits and slower for others, is governed by its slower actions. A slower attacker can reduce this disadvantage only by predicting the action in advance and starting the corresponding computation early. Section 5.8.2 reports the asymmetry experimentally, and Section 5.8.10 evaluates a policy-aware attacker that learns the controller’s selection rule for this purpose.
Attacks with control of the enrolled hardware or its non-exportable root secret, full compromise of the trusted edge platform and attacks that alter the measurement clock itself are out of scope. Network measurements are assumed to be integrity protected within the operator domain. Radio path changes, timing jitter and legitimate workload shifts are not declared attacks. They are represented explicitly in the evaluation as potential causes of false alarms. An inconclusive step-up procedure leaves the session in a suspicious state that must be resolved through operational policy.

3.5. Identifiability, Observation Integrity and Trust Preconditions

Let p 0 y ∣ a be the calibrated genuine response distribution under a feasible action a , and let q y ∣ a be the response distribution of a particular attacker strategy, including its ability to delay packets. Instance-level statistical detection requires at least one feasible action with p 0 ⋅ ∣ a ≠ q ⋅ ∣ a on a set of positive probability. If the two distributions coincide for every feasible action, the observations carry no distinguishing information, and no test based solely on them can reliably identify that attacker. This limitation follows from the observation model and cannot be resolved through detector tuning. The same issue arises when an attacker uses identical hardware and operates within a legitimate workload regime. In this case, the observed response may be consistent with a normal regime transition, leaving only the switching probabilities in Π to distinguish the transition from normal workload variation.
The controller records the chosen action, the session and endpoint identifiers, synchronized observation timestamps and the resulting output. Actions chosen before an attacker has authenticated to the application may be hidden, but actions sent to the endpoint are observable to that endpoint. Randomization is not a secret challenge after dispatch. Its value lies before dispatch. An attacker that can predict the next action can start the corresponding computation early and hide a capacity deficit or relay delay, and randomization limits how accurately the action can be predicted. We assume a secure binding from requests to the endpoint whose response is subsequently checked. Without this binding, a simultaneous genuine device could satisfy a challenge while the attacker continues to use the compromised session.

4. Twin-Guided Decision Selection

4.1. Overview

For each inference decision, the twin predicts the genuine response under every load regime, the orchestrator constructs the feasible near-equivalent set, and each admissible action is scored against persistent attacker classes after allowing for every regime the genuine device could occupy. After randomized selection, the edge records the network-observed response, updates the regime probabilities and updates a separate CUSUM statistic for each attacker class. The update of the continuous twin state is clipped and gated by the largest statistic. A threshold crossing triggers an endpoint-bound step-up check and session-key remediation rather than an immediate identity verdict. Figure 2 and Algorithm 1 to 3 summarize the workflow. Regime filters and class-wise detectors are updated from the action-conditioned network response, the continuous twin update is gated, and the endpoint-bound security response runs only after an alarm. The loop needs no dedicated probe inference.

4.2. Behaviour Under the Two Hypotheses

The hypotheses describe a persistent endpoint identity. Under H 0 the enrolled device generates the observed responses according to the twin. Under H 1 , k an attacker of class k controls the endpoint from the moment of the attack onward. Each class is modeled offline from attacker and host measurements, with its own load regimes, as in Equation (11).
μ k a , r = g ‾ k a , r ,     Σ k a , r = Σ ‾ a , r + Ω k ,
where g ‾ k is the population response model of host class k in regime r , Σ ‾ a , r is the spread across the population and Ω k adds host and path variability. Each class keeps its own regime probabilities β k , t , propagated with the same matrix Π , and its predictive distribution p k y ∣ a is the corresponding mixture. Both hypotheses are hidden Markov models over load regimes,
H 0 :   y t ∣ a t ∼ ∑ r = 1 M β t − r   N ​ μ 0 a t , r , Σ 0 a t , r ,    
H 1 , k :   y t ∣ a t ∼ ∑ r = 1 M β k , t − r   N ​ μ k a t , r , Σ k a t , r .
The class is not redrawn at every epoch. A physical attacker keeps its host and its path, and only its load regime may change. The class set contains a same-hardware attacker, hosts with different CPU capacity and relay paths. A same-model imitation class is represented explicitly when its behavior is available for fitting, and unseen imitation strategies are evaluated as out-of-model attacks. Class models are fitted on independent training traces, and no simulated trial uses the same samples both to fit a model and to evaluate detection. A network-side timestamp still depends on attacker-controlled transmission timing, which is why adaptive-delay strategies are part of the evaluation.

4.3. Evidence Carried by an Action

An action is useful only if its outcome separates an attacker class from the genuine device under every regime the genuine device could plausibly occupy. Otherwise a workload change could explain the deviation. We summarize each attacker class by the Gaussian N μ ‾ k a , Σ ‾ k a that matches the first two moments of its predictive mixture. Equation (13) gives the KL divergence of this summary from the genuine prediction in regime r .
D k , r a = 1 2 t r ​ Σ 0 − 1 Σ ‾ k + μ ‾ k − μ 0 ⊤ Σ 0 − 1 μ ‾ k − μ 0 − d + l n d e t Σ 0 d e t Σ ‾ k ,
where μ 0 and Σ 0 are evaluated at a , r , μ ‾ k and Σ ‾ k at a , and d is the response dimension. Equation (14) keeps the smallest divergence over the classes and over the set R t of regimes that the genuine device can reach at epoch t from any regime whose probability is at least δ .
Φ a = m i n k ∈ { 1 , … , K }   m i n r ∈ R t D k , r a .
The minimum over regimes is what separates this score from a score computed at a single state estimate. A late split point that makes a relay resemble a heavier load receives a small score, because some regime explains the relay. An action that contrasts a constant offset with a proportional slowdown keeps a large score. The score is computed only when the genuine and attacker models pass held-out calibration checks. Evidence scores are computed only from calibrated models. Scenarios with negligible class separation indicate operating conditions where reliable action-based discrimination is unlikely.
The moment-matched summary is used because the KL divergence between Gaussian mixtures has no closed form [49], and Equation (14) must be evaluated for every admissible action, attacker class and reachable regime within the decision deadline. The approximation is used only to rank actions. The detector in Equation (17) always evaluates the full mixture likelihoods, so the approximation can affect which action is chosen but not the validity of an alarm or the false-alarm calibration. In addition, Equation (13) compares the attacker summary with each genuine regime component separately rather than with the genuine mixture, so multimodality of the genuine response does not enter the score. When an attacker mixture is strongly multimodal, however, a single Gaussian places mass between its modes and can either understate or overstate the true separation. To quantify this effect, the moment-matched score was compared with a Monte Carlo estimate of the mixture KL divergence using 10,000 samples per action on 500 decision epochs drawn from the validation sessions. The Spearman rank correlation between the two scores across admissible actions was 0.93, and both rules selected the same top-ranked action in 88% of epochs. Replacing the surrogate with the Monte Carlo estimate changed PD(500) by +0.8 percentage points for the relay and +1.1 for Unit B while increasing scoring time by a factor of about 18. The surrogate is therefore adequate in the evaluated setting. Where attacker regimes are widely separated, a variational or bound-based mixture estimate [49] can replace it without changing the rest of the method.
Figure 3 illustrates weakly and strongly separating actions with schematic Gaussian densities. The curves are explanatory only and are not experimental results.

4.4. Selection Rule

The score in Equation (15) trades conservative evidence against the small cost differences that remain inside the feasible set, and Equation (16) turns it into a softmax sampling policy.
S a = Φ a − λ   J a , t − J ​ a * t , t J ​ a * t , t ,     a ∈ A ε t ,
π t a = e x p ​ S a / τ ∑ a ' ∈ A ε t e x p ​ S a ' / τ ,     a ∈ A ε t .
The weight λ determines the influence of relative predicted cost, while the temperature controls the concentration of the action-selection distribution. Both parameters are selected using validation data and remain fixed during evaluation on attacked sessions. Before Equation (15) is applied, Φ(a) is divided by its maximum over the admissible set at that epoch, and the relative cost term is divided by ε, so that both terms lie in [0, 1] and the values of λ and τ in Table 3 refer to these normalized scores. The feasibility and prediction-quality guards are applied before Equation (16). Under high latency uncertainty or when only one action remains feasible, the controller uses ordinary service selection with passive observation. The scoring function Favors actions with greater expected discrimination across the modelled attacker classes rather than directly minimizing detection delay. Randomization prevents the controller from repeatedly selecting a deterministic action under similar conditions. Section 5.8.10 evaluates this property against a policy-aware attacker that learns the selection rule and pre-executes the predicted action.
Algorithm 1 Regime-aware evidence scoring of near-equivalent actions
Require: candidate actions A(t), twin prediction x̂⁻(t), P⁻(t) and β⁻ₜ, class models ḡₖ, Σ̄, Ωₖ and β⁻ₖ,ₜ, tolerance ε, weight λ, temperature τ, floor δ
Ensure: feasible set Aᵋ(t) and selection probabilities πₜ(a)
1: for each a ∈ A(t) do compute the predicted cost J(a,t), Eq. (1)
2: a*(t) ← arg minₐ J(a,t), and form Aᵋ(t) with Eq. (3)
3: remove actions that violate hard QoS or reconfiguration limits or fail calibration checks
4: if |Aᵋ(t)| = 1 then return a*(t) with a passive-observation flag
5: for each a ∈ Aᵋ(t) do
6:   compute μ₀(a,r) and Σ₀(a,r) for every r ∈ ℛₜ, Eq. (9)
7:   for k = 1 to K do
8:     form the moment-matched summary μ̄ₖ(a) and Σ̄ₖ(a) of the class mixture, Eq. (11)
9:     compute Dₖ,ᵣ(a) for every r ∈ ℛₜ, Eq. (13)
10:   end for
11:   Φ(a) ← minₖ minᵣ Dₖ,ᵣ(a), Eq. (14), and compute S(a), Eq. (15)
12: end for
13: return Aᵋ(t) and πₜ(a), Eq. (16)

4.5. Persistent-Class Sequential Verification

A substituted endpoint may appear at an unknown time, but the physical attacker class persists over the requests that follow. The detector uses one-sided CUSUM statistics [37], one per modeled class. Equation (17) defines the class-conditioned log-likelihood increment, computed from the one-step predictive mixtures of the two hidden Markov models in Equation (12). Each increment is limited to − c l , c l , a bound calibrated on validation sessions, so that a single heavy-tailed observation cannot trigger an alarm on its own.
l k t = c l i p c l ​ l n p k ​ y t ∣ a t − l n p 0 ​ y t ∣ a t ,     k = 1 , … , K .
Equation (18) updates a separate statistic for each class, so the adversary is not treated as a fresh draw from a class mixture at every observation.
W k t = m a x 0 ,   W k t − 1 + l k t ,     W k 0 = 0 .
An alarm is declared when the largest class statistic W m a x t = m a x k W k t reaches the threshold h ,
T A = i n f t ≥ 1   :   W m a x t ≥ h .
An alarm means that the observed response sequence is inconsistent with the enrolled twin under at least one modeled alternative. It is not cryptographic proof of device identity. The threshold is calibrated jointly across the class statistics, which share data, on separate genuine validation sessions and to a specified false-alarm rate that counts repeated alarms within a legitimate session.
After each observation, the regime probabilities of the genuine model are updated with Bayes’ rule, and those of each class model are updated in the same way with its own parameters,
β t r = β t − r   N ​ y t ; μ 0 a t , r , Σ 0 a t , r ∑ r ' = 1 M β t − r '   N ​ y t ; μ 0 a t , r ' , Σ 0 a t , r ' .
The regime filters run at every epoch, including epochs in which the continuous twin update is gated. They are part of evaluating the likelihoods rather than a form of learning, and because the regime set is fixed they cannot drift toward an attacker. When prediction drift or new workload patterns invalidate the genuine model, the verifier lowers its confidence, records a model-health event and can suspend active scoring. Elevated statistics may arise from model drift as well as adversarial activity.

4.6. Gated Twin Update

A twin that updates its continuous state on suspected attacker traffic can be contaminated before an alarm. Equation (21) gates the update with the largest class statistic.
γ t = 1 , W m a x t < h f , 0 , W m a x t ≥ h f ,     0 < h f < h .
For an accepted observation, the correction uses the innovation at the most probable regime r ^ t = a r g   m a x r β t r , clipped to a bounded normalized size,
x ^ t = x ^ − t + γ t   Γ t   c l i p c ​ e t ,     e t = y t − μ 0 ​ a t , r ^ t ,
c l i p c e = e   m i n 1 ,   c e ⊤ S t − 1 e ,
where S t = Σ 0 a t , r ^ t is the innovation covariance and Γ t = P − t   G t ⊤ S t − 1 is the Kalman gain, with G t = G a t , r ^ t . Here c bounds the Mahalanobis norm of the innovation. After clipping, the normalized innovation equals the smaller of its original norm and c, so a single observation can move the twin state by at most a bounded amount, however far it lies from the prediction. The covariance follows the Joseph form, which stays positive semidefinite under rounding and reduces to prediction-only propagation when the gate is closed,
P t = I − γ t Γ t G t P − t I − γ t Γ t G t ⊤ + γ t   Γ t R   Γ t ⊤ .
The gate and clipping mechanisms reduce, but do not eliminate, the risk of gradual model contamination. A long freeze reduces confidence in the twin, which is handled through independent calibration and abstention thresholds. Records from a suspicious session are quarantined from model refitting until the session is resolved by endpoint-bound verification and key remediation. The gate h f , the clip limit c and the model-health criteria are chosen on validation sessions, and their sensitivity is reported together with any remaining drift caused by gradual timing adaptation.

4.7. Response After an Alarm

A statistical alarm activates an endpoint-bound security procedure for the traffic binding associated with the suspicious response. The affected binding is prevented from continuing under the same session token, and, where available, the endpoint is challenged to prove possession of a protected enrolment secret. The compromised application token is then revoked and replaced. In concurrent-cloning scenarios, successful verification by another legitimate endpoint does not resolve the suspicious binding because ownership of the active session may remain ambiguous [38]. Such cases remain unresolved and are handled through operator-defined recovery or quarantine procedures.
If the protected secret has also been compromised, or the system cannot distinguish endpoint bindings, the security response can remain inconclusive. The service then follows an operator-defined quarantine, rate-limit or manual-recovery policy rather than treating a successful re-authentication elsewhere as proof of a false alarm. Challenge traffic and recovery disruption are reported separately from the probe-free statistical detection stage.
Algorithm 2 Twin-guided decision selection and session verification for device u
Require: calibrated genuine and attacker models, transition matrix Π, thresholds h and hf, clip limits cℓ and c
Ensure: service actions, class statistics Wₖ(t) and flagged endpoint bindings
1: after verified enrolment, bind session, endpoint and observation identifiers and set Wₖ(0) ← 0 for every k
2: for t = 1, 2, … do
3:   predict x̂⁻(t), P⁻(t), β⁻ₜ and every β⁻ₖ,ₜ with Eqs. (7) and (8), and check the model-health guards
4:   run Algorithm 1 and draw aₜ ∼ πₜ, or apply a*(t) under the fallback
5:   execute the inference and record the network-side response y(t)
6:   for k = 1 to K do compute ℓₖ(t), Eq. (17), and update Wₖ(t), Eq. (18)
7:   update the regime probabilities of all models, Eq. (20), and set Wmax(t) ← maxₖ Wₖ(t)
8:   run Algorithm 3
9:   if Wmax(t) ≥ h then
10:     quarantine the flagged binding and request a bound step-up proof from it
11:     revoke and rotate the session token, then resolve, recover or escalate as in Section 4.7
12:   end if
13: end for
Algorithm 3 Gated update of the continuous twin state
Require: x̂⁻(t), P⁻(t), βₜ, y(t), aₜ, Wmax(t), freeze threshold hf, clip limit c
Ensure: updated estimate x̂(t) and covariance P(t)
1: r̂ₜ ← arg maxᵣ βₜ(r), and evaluate Gₜ, Sₜ and μ₀(aₜ, r̂ₜ)
2: eₜ ← y(t) − μ₀(aₜ, r̂ₜ)
3: if Wmax(t) ≥ hf or the calibration check fails then
4:   γₜ ← 0, x̂(t) ← x̂⁻(t), and quarantine the record
5: else
6:   γₜ ← 1, Γₜ ← P⁻(t) Gₜᵀ Sₜ⁻¹ and x̂(t) ← x̂⁻(t) + Γₜ clipc(eₜ), Eqs. (22) and (23)
7: end if
8: P(t) ← Joseph-form update, Eq. (24)
9: return x̂(t), P(t) and the update diagnostics

4.8. Evidence, Detection Delay and the Role of Slack

This subsection states conditional identities and heuristic trends. Let the attacker class k and its response distribution be correctly specified, and ignore the clipping in Equation (17). The expected increment of the class-matched statistic then equals the divergence between the attacker’s predictive distribution and the genuine one,
E H 1 , k ​ l k t ∣ a t = D K L ​ p k ⋅ ∣ a t   ∥   p 0 ⋅ ∣ a t ≥ 0 .
The drift is positive only if the selected actions separate class k from the genuine device. If the attacker reproduces the genuine conditional response under every feasible action, the drift is zero and these observations cannot discriminate.
For a stationary approximation with positive mean class-matched drift D ‾ k , the large-threshold analysis of Lorden [39] suggests
E T A − ν ∣ T A ≥ ν , H 1 , k ≈ h D ‾ k ,     D ‾ k > 0 .
State dependence, adaptive actions, regime switches and threshold crossings all violate the independence assumptions behind this approximation. Equation (26) is an aid to interpretation that is checked numerically, and no delay bound is claimed for unmodeled adaptive attackers.
An advantage from action selection arises only when the feasible set contains alternatives with different evidence. The elementary inequality in Equation (27) compares the largest evidence score with its uniform average.
m a x a ∈ A ε t Φ a   ≥   1 n t ∑ a ∈ A ε t Φ a .
The inequality holds for the information score. It does not prove that the cost-penalized softmax policy detects faster than a random policy. The maximum-information limit is recovered for a negligible cost weight and a low temperature when the models are correct. Otherwise, stochastic selection gives up some evidence to control cost or reduce predictability. Policies are compared at a common false-alarm rate, with the realized service cost of each policy measured.
At high radio and edge load, the number of feasible alternatives may fall toward one, which removes any advantage from action selection. Future experiments can directly evaluate this hypothesis. The evaluation records the distribution of A ε t for each load level, not only its average, together with the detection gain conditioned on the existence of informative alternatives. A capable attacker that learns the complete action-conditioned response distribution and reproduces it through chosen delays remains a failure case. Neither softmax randomness nor confidential twin parameters provide a cryptographic defense against such an attacker.

4.9. Complexity

For each feasible action, the controller computes genuine-device predictions over reachable workload regimes and compares them with moment-matched attacker-class models. Gaussian divergence evaluation requires covariance factorization, while the regime filters and EKF introduce additional per-epoch work. Cached matrix operations and covariance regularization reduce unnecessary computation. Figure 12 reports the observed scoring time as both the action set and the number of attacker classes change; the benchmark is specific to its execution environment and does not, by itself, establish end-to-end controller deadlines.

5. Performance Evaluation

5.1. Evaluation Design and Data Sources

We evaluated PF-TRACE using a hybrid measurement-and-simulation workflow. A complete AI-native 6G testbed was not required to test the action-selection logic. Radio transport measurements were generated in ns-3 with the 5G-LENA module [40,41]. Split-inference execution profiles came from the device and attacker hardware described below. A custom-built Python simulator combined these inputs with edge-server execution profiles and implemented the decision policy, digital twin, class-conditioned CUSUM detectors and update guards. The experimental arrangement tested the mechanism under repeatable traffic and attack conditions. It does not claim full closed-loop deployment in a commercial 6G network.
Enrolment/training, validation and testing were handled as distinct stages. Genuine-device traces were used to estimate state transitions and response distributions, and separate attacker profiles supported the modelled alternatives. The threshold and tuning parameters were selected using genuine validation sessions before the attack scenarios were replayed. Test trials were evaluated by attacker type, with detection failures retained when computing horizon-specific detection probabilities and restricted detection times. Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10, Figure 11 and Figure 12 present the evaluation trends and policy comparisons.

5.2. Network and Edge Trace Generation

Uplink transmission traces were generated using a 5G NR network in ns-3/5G-LENA. The simulation used a gNB with background user devices and edge-directed application traffic under radio scheduling. We configured the 3GPP TR 38.901 urban microcell model at 3.5 GHz according to the network assumptions in Section 3 [42]. MobileNetV2 was partitioned at eight split points, resulting in different intermediate tensor sizes and device-edge computation loads [43,44,45]. Network conditions were varied through changes in radio utilization. Direct and relay paths were simulated separately. For relay traffic, the added communication cost included transmission delay and jitter rather than a constant delay offset. Because this abstraction does not capture the attacker’s own radio conditions, a second relay variant was simulated in which the attacker was placed as a separate UE at a different position in the cell, 110 m from the gNB, so that the relayed path carried its own path loss, scheduling and retransmissions in addition to a tunnel forwarding delay of 4.0 ms. Results for this variant are reported in Section 5.8.2.
The custom-built Python simulator combined these network traces with physical-device computation profiles and edge-server execution times. For each selected action, it represented local inference, uplink transmission, server queueing, and execution of the remaining MobileNetV2 layers. Four logical edge-server instances were considered to examine the effects of server selection and processing load. In the load-sensitivity experiments, radio and edge utilization were varied independently. Figure 4 varied them together to show their combined effect on admissible-action availability. Varying them separately made it possible to tell network congestion apart from server processing delays. Since the network traces were generated offline, action decisions during replay did not modify the original ns-3 radio scheduling or transport conditions. The service overheads in Section 5.8.6 therefore exclude any change in radio scheduling caused by the selected actions. To make the reported cost more complete, Section 5.8.6 adds the measured split-switching delay and the control signalling of each reconfiguration, and the resulting values should still be read as lower bounds for a closed-loop deployment.

5.3. Physical-Device Computation Profiles

The device-side computation profiles were obtained from the hardware configurations listed in Table 2. Raspberry Pi 4 Model B Unit A served as the legitimate device, and Unit B acted as a same-model attacker. A higher-performance laptop and a Raspberry Pi 3 Model B+ were used to evaluate attackers with faster and slower processing capabilities. These devices provided different computation characteristics for examining session impersonation under varying service actions.
MobileNetV2 split inference was executed across eight split points under four background CPU-load levels of 0%, 25%, 50%, and 75%. Local execution time, post-processing delay, intermediate output size, and CPU temperature were recorded. Thermally throttled measurements were excluded from enrolment and from the main test sessions, but they were retained in a separate robustness set evaluated in Section 5.8.5. Each intermediate output size was matched with the corresponding ns-3/5G-LENA network trace. Separate edge-server profiles covered the execution of the remaining layers.
The measurements were organized into independent training, validation, and testing sessions. The regime-aware digital twin was built from genuine-device observations, and the other hardware profiles supplied the attacker behaviour. The same-model scenario was the most challenging because two Raspberry Pi 4 units can produce similar processing times under comparable workloads. The collected profiles were then integrated into the custom-built Python simulator to evaluate action-conditioned session verification.
Two further data sets address the limits of this design. First, to check that the same-model results do not reflect one particular pair of units, 4 additional Raspberry Pi 4 Model B units were profiled under the same protocol. Each unit was enrolled in turn as the genuine device, with every other unit acting as the same-model attacker, giving 30 ordered genuine–attacker pairs. Second, because the four enrolment regimes coincide with the four imposed CPU loads, additional genuine and attacker test sessions were recorded under loads that were not used for enrolment, namely 10%, 40%, 60% and 90%, and under a continuously varying load that followed a bounded random walk between 0% and 90% with a step every 5 s. These sessions were used only for testing.
Execution timing was not treated as proof of device identity. An attacker may deliberately adjust its response delays to imitate the genuine device. The evaluation included adaptive imitation, an unseen attacker host, relay-based substitution, and gradual twin contamination to examine the limitations of statistical verification.

5.4. Custom-Built Python Trace-Driven Simulator

The custom-built Python implementation loaded independently generated network, device-computation and edge-processing traces. For each simulated inference request, the controller formed candidate server–split-point actions, estimated completion costs and removed actions violating the service and calibration guards. The simulator scored the remaining near-equivalent decisions using the regime-aware genuine model and the persistent attacker-class models. After an action was sampled, its network response was assembled from the corresponding trace components. The observation was then used to update the genuine and attacker-class regime filters, the CUSUM statistics, and the continuous digital-twin state when the freeze gate allowed an update.
Attacker substitution was reproduced by modifying the relevant timing components for direct replacement, relaying, capacity mismatch, and deliberately delayed responses. Twin-model mismatch was examined separately by perturbing the genuine-model predictions. The class-wise detector and mixture-based ablation were evaluated on the same attack instances and with the same input traces, so their comparison reflects differences in the detection policy. All experiments were trace-driven rather than executed as a fully interactive deployment. The controller was assessed from three angles, namely its access to informative actions, its ability to accumulate detection evidence within a finite horizon, and the service and computational cost of making those choices. Figure 4 tests whether alternative admissible actions exist. Figure 5, Figure 6, Figure 7, Figure 8 and Figure 9 examine detection and cost. Figure 10 and Figure 11 isolate the effects of component removal and gradual poisoning, and Figure 12 reports decision-scoring runtime.

5.5. Attack Scenarios and Comparison Methods

Six attack scenarios were considered, namely fast-host substitution, slow-host substitution, remote relay, same-model Raspberry Pi 4 Unit B substitution, adaptive timing imitation and an unseen attacker host. Each attacker remained on the same device or communication path throughout a session. The adaptive imitator adjusted its response delays using learned action-conditioned timing characteristics to resemble the legitimate device. The unseen host was excluded from the fitted attacker classes to assess detection under previously unobserved hardware conditions. Gradual contamination of the digital twin was evaluated separately to examine the effectiveness of the update-freeze mechanism.
Three further scenarios were evaluated separately. In the concurrent-clone scenario, defined in Section 3.4, the genuine device and an attacker on the same-model Unit B both issued requests under the same session token, so the observed response sequence interleaved genuine and attacker responses at a ratio of 1:1. In the slow-host imitation scenario, the adaptive imitation strategy was run on the Raspberry Pi 3 Model B+, which is slower than the genuine device for every split point, to test the asymmetry described in Section 3.4. In the policy-aware scenario, the attacker learned the controller’s selection rule from the actions assigned to it and used its predictions to pre-execute the expected split before the action arrived. This attacker is defined in Section 5.8.10.
PF-TRACE was compared with its own deterministic variant, PF-TRACE-D, and with four baselines. PF-TRACE-D is a variant of PF-TRACE developed in this work, not a method taken from the literature. It uses the same twin, admissible set, information score and detector as PF-TRACE and differs only in the selection step. Instead of sampling from the softmax rule of Equation (16), it applies a maximum-information (max-info) mechanism and always selects the admissible action with the highest predicted information score. This greedy choice of the most informative action is the classical rule of controlled sensing [14,15], so PF-TRACE-D shows how much detection the randomization of PF-TRACE gives up against attackers that ignore the selection rule. The four other baselines are representative implementations of established families of methods rather than reproductions of specific published systems. Passive twin represents residual-based twin monitoring [24,25,26] and uses the same twin as PF-TRACE with the minimum-cost action, so that it isolates the effect of action selection. Fingerprinting represents passive traffic fingerprinting [11,12,13,32,33]. Active probing represents verification with dedicated excitation, as in active fingerprinting and physical watermarking [18,19]. Uniform random is a control condition that varies the action without regard to information, to test whether action variation alone produces evidence. Their implementation details are given below. Passive twin kept the minimum-cost service decision and only monitored the responses. Uniform random selected actions randomly from the admissible set. Fingerprinting relied on observed traffic or device-response characteristics without security-driven action selection. Active probing introduced additional verification requests, and their service overhead was included in the comparison. Simplified and ungated twin configurations were evaluated separately in the ablation study.
The two external baselines were specified as follows. Active probing issued a dedicated verification inference at a fixed split point, chosen on validation sessions as the split with the largest genuine–attacker separation, at Poisson-distributed instants with a mean rate of 0.5 to 25 probes per 100 epochs. Probe responses were scored with the same class-conditioned CUSUM and genuine twin as PF-TRACE, so the comparison isolates the effect of how evidence is generated rather than how it is evaluated. Fingerprinting used 9 features per epoch, namely the mean, variance and inter-quantile range of inter-request time, uplink payload size and completion time over a sliding window of 50 epochs, and classified each window with a random-forest classifier trained on the same enrolment and attacker traces as the twin. Its window scores were converted into a sequential statistic with the same CUSUM rule and calibrated to the same false-alarm target. The hyperparameters of both baselines, including probe split, window length and classifier settings, were tuned on the validation sessions with the same budget of 24 configurations as PF-TRACE, so that no method received preferential tuning.
For a fair comparison, detection performance was evaluated against the same false-alarm target and observation horizon. Service costs were calculated using the actions and additional verification traffic generated by each method. PF-TRACE, PF-TRACE-D and Uniform random were run at several admissible-action tolerances, and Active probing at several probing rates. In the reference runs, active probing used the lowest probing rate shown in Figure 9. Passive twin and Fingerprinting were treated as fixed operating points. Comparisons focused on overlapping false-alarm and service-cost conditions, without assuming that every method offered the same range of operating settings.

5.6. Measures, Calibration and Reporting

Detection performance was measured from the attack start epoch ν . The detection time T A is the first alarm at or after ν . An alarm before ν is a false alarm. It triggers the step-up check, which the genuine device passes, and the statistic restarts from zero. All detection measures use a finite horizon Δ . An attack that has not raised an alarm by ν + Δ counts as undetected, with T A = ∞ . The detection probability within the horizon is
P D Δ = P r T A − ν ≤ Δ .
Among detected sessions, the conditional detection delay is
D ‾ d e t Δ = E T A − ν ∣ T A − ν ≤ Δ .
This delay ignores undetected sessions, so a method that catches few attacks quickly can still look fast. For this reason, the paper reports the restricted measure, and Equation (29) is given only to show the difference. The restricted mean detection time removes this bias by counting every undetected session at the horizon,
D ‾ R Δ = E m i n T A − ν ,   Δ .
Lower values are better, and the measure reflects both speed and detection rate. The three quantities are linked by
D ‾ R Δ = P D Δ   D ‾ d e t Δ + 1 − P D Δ Δ .
Figure 5 reports P D Δ across the horizon, and Figure 6 reports P D 500 . Figure 7 to 9 and Table 4 report D ‾ R 500 .
False alarms were counted on genuine test sessions only and are reported per 10,000 genuine epochs,
F A R = N F A N g e n × 10 4 ,
where N F A is the number of alarms in N g e n genuine epochs. A false alarm restarts the statistic, so repeated alarms within one genuine session are all counted. Detector thresholds were calibrated using genuine validation sessions and then evaluated on independent test data. Figure 6 shows detection probability against the achieved test false-alarm rate under different thresholds. For fixed-operating-point comparisons, methods used the same false-alarm target and observation horizon, although their measured test rates could differ. Figure 8 further examines calibration under increasing twin-model mismatch. A held-out false-alarm ratio near one indicates that the observed rate remains close to its target.
Service overhead was calculated relative to the conventional minimum-cost action using
η = 1 T ∑ t = 1 T J a t , t − J ​ a * t , t J ​ a * t , t .
The admissible-action tolerance ε limits predicted service cost but does not directly constrain realized tail latency. For this reason, Figure 9 reports the observed p95 completion-time overhead instead of using ε as a proxy. Action-selection flexibility was evaluated using the mean number of admissible actions in Equation (33), together with the proportions of epochs containing one or at least three admissible actions.
n ‾ = 1 T ∑ t = 1 T A ε t .
Detection probabilities, restricted detection times, and service-cost results were summarized across independent evaluation runs. Confidence intervals describe uncertainty in the estimated run-level statistics and should not be confused with the variation of individual observations. All methods were evaluated using the same reporting definitions to support consistent comparisons across Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9, Figure 10, Figure 11 and Figure 12.

5.7. Experimental Configuration

Table 3 summarizes the network, computation, and detector settings used in the experiments. We generated the network traces with ns-3/5G-LENA [40,41] and combined them with computation measurements from physical devices and edge-server execution times in a custom Python simulator. The experiments used eight MobileNetV2 split points and four background CPU-load regimes under different levels of radio and edge-server utilization. Detector thresholds were determined from genuine-device validation sessions. Separate test sessions were used to measure detection performance, service overhead, and robustness across the evaluated attacker scenarios.
Table 3. Configuration and operating conditions.
Table 3. Configuration and operating conditions.
Parameter Value / configuration
Network and edge configuration
Simulation framework ns-3/5G-LENA and custom-built Python simulator
Radio access technology 5G NR, 3GPP TR 38.901 urban microcell (UMi)
Carrier frequency 3.5 GHz
Channel bandwidth 100 MHz
Subcarrier spacing 30 kHz
Network topology 1 gNB and 16 background UEs
Radio scheduler Proportional-fair scheduling
UE deployment area 150 m cell radius
Edge-server instances 4 logical servers
Reference radio utilization 0.50
Reference edge utilization 0.50
Load sensitivity 0.20–0.90 in steps of 0.10, edge and radio varied separately
Matched-load sweep 0.20–0.90
Device and computation configuration
Inference model MobileNetV2
Candidate split points 8
Legitimate endpoint Raspberry Pi 4 Model B, Unit A
Same-model attacker Raspberry Pi 4 Model B, Unit B (4 further units in the multi-unit study)
Other attacker hardware Higher-capacity laptop and Raspberry Pi 3 Model B+
Background CPU loads 0%, 25%, 50% and 75% (enrolment); 10%, 40%, 60%, 90% and random-walk load (test only)
Edge processing Remaining MobileNetV2 layers with execution and queueing delays
Verification and detection configuration
Digital-twin model Device-specific, four-regime response model
Service tolerance, ε 0.02, 0.05, 0.10 and 0.20
Reference service tolerance ε = 0.05
Information-cost penalty, λ 0.20 on normalized scores
Softmax temperature, τ 0.10 on normalized scores
Sequential detector Class-conditioned CUSUM
Detector threshold Calibrated using genuine validation sessions
Reference false-alarm target 1 alarm per 10,000 genuine epochs
Twin-update protection Confidence-based update gate and alarm-triggered freeze
Twin-model error 0–0.40
Detection horizon, Δ 500 decision epochs
Evaluation and reporting
Attack scenarios Fast host, slow host, relay, same-model Unit B, adaptive imitator and unseen host; additionally concurrent clone, slow-host imitator, policy-aware attacker and relay with separate attacker UE
Comparison methods PF-TRACE, PF-TRACE-D, Passive twin, Uniform random, Fingerprinting and Active probing
Active probing rate Five probing rates (Figure 9). The lowest rate, with 1.7% p95 overhead, is the reference setting.
Independent simulation runs 30 random seeds
Attack test sessions 100 sessions per scenario per run
Genuine test exposure 2,000 epochs per session, 100 sessions per run
Detection metrics Detection probability and restricted mean detection time
False-alarm metric Alarms per 10,000 genuine epochs
Service-cost metric p95 completion-time overhead relative to the minimum-cost policy
Statistical reporting 95% run-level bootstrap confidence intervals
Runtime complexity study K = 2, 4 and 6 attacker classes, with 1–32 candidate actions

5.8. Results and Discussion

This section first examines whether the controller has a real choice of action and then compares detection, false alarms, load sensitivity, service cost and runtime across all methods. Table 4 gives the main operating points in one place. All values use one false alarm per 10,000 genuine epochs, a horizon of 500 epochs, ε = 0.05 and a load of 0.5.

5.8.1. Feasible Control Alternatives under Network Load

Action selection can only add evidence when more than one admissible action exists. Figure 4 measures how often this happens as edge and radio utilization rise together from 0.2 to 0.9. Admissible actions are counted after the ε filter and the deadline and calibration guards.
At 0.2 utilization the mean number of admissible actions ranges from about 3.7 at ε = 0.02 to 9.0 at ε = 0.20, and 67% to 98% of epochs offer three or more actions. At 0.9 the mean falls to between 1.1 and 1.6, and the controller has no choice in 59% to 90% of epochs.
Average performance does not fully capture the reduction in feasible action diversity. For ε = 0.05, epochs with three or more actions fall below one half at about 0.48 utilization, while single-action epochs become the majority only at about 0.66. Between these points most decisions are binary. A larger tolerance shifts both transitions to higher load but does not remove them. Gains from information-guided selection should be expected mainly at light and moderate load. Because both utilizations were raised together, Figure 4 does not show which one removes more alternatives. Figure 7 examines them separately.

5.8.2. Detection across Attacker Types

Figure 5 reports the probability of detecting each of the six attacker classes as the observation horizon increases. All policies were evaluated on the same broad set of attacker conditions, from capacity-mismatched hosts to an adaptive imitator that attempted to reproduce the genuine action-conditioned response.
Capacity-mismatched hosts are the easiest cases. Within 100 epochs, PF-TRACE-D and PF-TRACE detect about 69% and 65% of fast-host attacks, whereas passive twin checking, fingerprinting and active probing remain between about 47% and 50%. By 500 epochs every method exceeds 0.94. In these cases the benefit of action selection is earlier detection, and the final detection rate barely changes. The slow host follows the same pattern, with about 62% and 58% detected by the two information-guided policies at 100 epochs against roughly 42% to 46% for the other methods.
The attack scenarios with lower separability provide a stronger basis for comparing the methods. Against the relay, PF-TRACE-D reaches a detection probability of about 0.80 at Δ = 500 and PF-TRACE about 0.72. Active probing reaches 0.68. Passive twin checking, uniform random selection and fingerprinting remain close to 0.58. For same-model Unit B the corresponding values are about 0.61 for PF-TRACE-D, 0.56 for PF-TRACE and 0.47 for active probing, with the remaining baselines between 0.36 and 0.44. The unseen host is detected with probabilities of about 0.71 and 0.66 by the two information-guided policies, compared with 0.57 for active probing and 0.48 to 0.52 for the others. The class-conditioned detector extends to hardware outside the fitted classes, at least when that hardware differs from the genuine device in its conditional response.
Uniform random selection did not consistently outperform passive checking; for Unit B it reached 0.44 compared with 0.40 for passive checking, but this small advantage was not repeated in the other panels. Changing the action alone does not create evidence. The gain comes from choosing actions whose predicted responses separate the genuine device from the attacker classes. In every scenario PF-TRACE-D stays above PF-TRACE, by about 2 to 8 percentage points at Δ = 500. This gap is the price of the softmax randomization in Equation (16), which sometimes picks a less informative action so that future choices are harder to anticipate. Section 5.8.10 examines what this price buys against an attacker that exploits predictable choices.
To test whether these differences are statistically significant, the run-level detection probabilities at Δ = 500 were compared in pairs across the 30 independent runs, which share seeds, traces and attack instances. The two-sided Wilcoxon signed-rank test was used, with Holm correction for the comparisons within each attack, and effect sizes are reported as the mean paired difference with a 95% bootstrap confidence interval (Table 5). PF-TRACE improves on passive twin checking, uniform random selection and fingerprinting with adjusted p < 0.001 for both attacks. The smaller relay difference from active probing, 0.72 against 0.68, has a 95% confidence interval of 0.01 to 0.07 and an adjusted p = 0.041, whereas the Unit B difference of 0.09 has p = 0.012. The PF-TRACE-D advantage over PF-TRACE is significant in 4 of the six scenarios.
The adaptive imitator stays below a detection probability of 0.05 for every method across the full horizon. This outcome agrees with the identifiability condition of Section 3.5. An attacker that reproduces the genuine conditional response under every feasible action leaves no statistical evidence, and none of the compared policies overcomes that limit.
The adaptive imitator in this scenario ran on the laptop host, which is faster than the genuine device for every split point. When the same strategy was run on the slower Raspberry Pi 3 Model B+, the imitator could not remove its computation deficit after an action was revealed. PF-TRACE then detected 78% of these sessions within 500 epochs, against 86% for PF-TRACE-D and 55% for passive checking, which confirms the asymmetry described in Section 3.4. In the concurrent-clone scenario, the interleaving of genuine and attacker responses dilutes the evidence per epoch, and detection within 500 epochs was 48% for PF-TRACE and 39% for passive checking. For the relay variant with a separate attacker UE, detection was 69% for PF-TRACE and 54% for passive checking, compared with 0.72 and 0.58 for the delay-and-jitter relay model. The separate-UE relay was detected slightly less often because independent scheduling, retransmissions and channel variation broadened its response distribution and blurred the systematic relay evidence. Across the 30 ordered same-model pairs of the multi-unit study, PF-TRACE detected a mean of 53% of substitutions within 500 epochs (range 42% to 64%), compared with 56% for the original Unit A–Unit B pair.

5.8.3. Detection and False-Alarm Operating Points

Figure 6 compares detection probability at a fixed observation horizon with the measured test false-alarm rate. The two panels focus on relay and same-model Unit B attacks, where the choice of operating threshold matters more than in the simple fast- and slow-host cases.
Every curve rises with the achieved false-alarm rate, as sequential thresholding implies. At the operating point closest to the reference rate, relay detection reaches about 0.80 for PF-TRACE-D and 0.75 for PF-TRACE. Active probing reaches 0.68, and passive twin checking, uniform random selection and fingerprinting reach about 0.61 to 0.62. For same-model Unit B the values are about 0.61, 0.56, 0.48 and between 0.39 and 0.42. Some relay values lie about 0.03 above the Δ = 500 end points of Figure 5, for example 0.75 against 0.72 for PF-TRACE. Figure 6 recalibrates the threshold for each target rate on separate validation sessions, and it evaluates each threshold on its own test sessions. Its plotted point near the reference also lies at an achieved rate slightly above one alarm per 10,000 epochs. The headline values in Table 4 therefore come from the reference-threshold runs of Figure 5. The ordering of the methods is the same in both figures and does not change between about 0.1 and 10 alarms per 10,000 epochs. PF-TRACE-D lies above PF-TRACE at every operating point, by about 3 to 6 percentage points.
Interpretation in the low-false-alarm region requires caution because relatively few alarm events are observed. With 200,000 genuine test epochs per run, a rate of 0.1 alarms per 10,000 epochs corresponds to only about two alarms in a single run and about 60 across the 30 runs. The pooled estimate is usable, but the run-level estimates in this region are noisy, and the curves should not be extrapolated to lower false-alarm rates.
To strengthen the low-false-alarm estimates, the genuine exposure for the sessions behind Figure 6 was extended to 2,000,000 epochs per run, or 60,000,000 epochs in total. Table 6 reports the number of pooled false-alarm events behind each operating point. Every operating point was supported by at least 571 pooled false-alarm events, so no point was excluded from the method comparisons on the basis of event count.

5.8.4. Edge and Radio Load Sensitivity

The next experiment varied edge utilization and radio utilization separately and measured restricted mean detection time for the relay and Unit B attacks. Varying the two loads separately shows whether congestion at the edge or on the radio link has the larger effect on the evidence available to the controller.
Detection time increases with load for every method, because fewer admissible actions remain and queueing adds variability to the observed responses. For the relay under edge loading, PF-TRACE-D needs about 219 epochs at a utilization of 0.2 and PF-TRACE about 240, compared with 274 for active probing and close to 300 for passive twin checking, uniform random selection and fingerprinting. At a utilization of 0.9 PF-TRACE needs about 326 epochs and passive checking about 342, so the gap between them narrows from about 59 epochs to about 16. Same-model Unit B is slower throughout. Over the same edge range PF-TRACE moves from about 319 to 382 epochs, and fingerprinting remains the slowest method at about 381 to 406 epochs.
The convergence at high load follows the availability trend of Figure 4. Once most epochs offer a single admissible action, every selection rule reduces to the minimum-cost decision and the information-guided policies lose their advantage. The edge and radio panels are nearly identical, differing by a few epochs at each load level. In this configuration the slowdown follows from the loss of informative alternatives. Where the congestion occurs matters little. Active probing does not depend on admissible actions. Its curve approaches the information-guided policies as load increases, overlapping PF-TRACE for Unit B and falling slightly below it for the relay at 0.9 utilization.

5.8.5. Robustness to Twin-Model Error

Figure 8 measures the response to deliberate mismatch between the enrolled twin and the genuine execution profile. It separates relative detection time from held-out false-alarm calibration because a detector can appear faster when its model is wrong simply by issuing more false alarms.
Detection time increases as twin error becomes more substantial, and the initial advantage over the fingerprinting reference diminishes. Passive twin checking is particularly sensitive to mismatch, whereas PF-TRACE and the maximum-information variant remain close to each other over much of the plotted range. At higher error, neither active controller variant preserves its earlier speed advantage relative to the stable fingerprinting reference. The right panel shows threshold adjustments as model uncertainty grows, while held-out FAR varies around the calibrated target instead of following it exactly. This pattern is consistent with the purpose of separate calibration, although threshold stability should be interpreted using the actual number of genuine test epochs and false-alarm events.
The unseen-load sessions test whether the four-regime twin generalizes beyond the loads used for enrolment. Under the intermediate loads of 10%, 40% and 60%, the false-alarm rate was 1.2 per 10,000 genuine epochs against the target of 1, and relay detection within 500 epochs was 69%. The 90% load lies outside the enrolment range and produced 4.8 false alarms per 10,000 epochs, and the model-health guard of Section 4.5 flagged 82% of the affected sessions. Under the random-walk load, the false-alarm rate was 1.6 and relay detection was 65%. Thermally throttled sessions raised the false-alarm rate to 7.4 per 10,000 epochs, and adding a fifth, throttled regime fitted from 30 min of enrolment data reduced it to 1.9. These results indicate how far the fixed-regime assumption can be relaxed and show that throttling should be enrolled as a regime rather than excluded.

5.8.6. Detection Time versus Realized Service Cost

Figure 9 relates detection time, normalized to the passive-twin reference, to realized p95 completion-time overhead. This comparison is important because PF-TRACE uses ordinary application-serving actions, while active probing adds a separate verification workload.
Each point in Figure 9 represents a complete configuration, with detection time normalized to passive twin checking at the reference load. PF-TRACE reduces detection time to about 0.92 of the passive reference at ε = 0.02 for 0.7% additional p95 completion time, and to about 0.85 at ε = 0.20 for 9.9%. PF-TRACE-D reaches lower values, about 0.88 at 1.1% and 0.80 at 17.4%. Its overhead grows faster because it always takes the most informative action that tolerance allows. At comparable overhead the two policies remain close, with about 0.84 for PF-TRACE-D at 3.5% and 0.87 for PF-TRACE at 4.6%.
Active probing improves steadily as its probing rate increases, from about 0.94 at 1.7% overhead to 0.77 at 25.4%. Within the shared range up to about 10%, both information-guided policies detect faster than active probing at equal cost. Near 10% overhead, for example, active probing reaches 0.88 against 0.85 for PF-TRACE. Only active probing has operating points beyond about 17%, where it reaches the lowest detection time in the figure by spending substantially more service time. Uniform random selection stays at about 1.01 whatever its overhead, which shows that spending service time without targeting information brings no benefit. Fingerprinting sits slightly above the passive reference, at about 1.03 with near-zero overhead.
The overheads above exclude reconfiguration. The time a device needs to switch split points was therefore measured on the Raspberry Pi 4 over 1,000 switches. Switching took a median of 0.38 ms, with a 95th percentile of 0.92 ms, when all eight partitions were kept resident in memory, and 8.6 ms when the new partition had to be loaded. Keeping all partitions resident used 312 MB of memory, which includes the TensorFlow Lite runtime, interpreter state, activation buffers and the eight loaded partition graphs; the MobileNetV2 weights alone occupy about 14 MB. Each reconfiguration also requires a control message of about 64 bytes from the orchestrator to the device application. A new split applies from the next request onward, so an in-flight inference is not interrupted. When these costs were added to the trace-driven completion times, the p95 overhead at ε = 0.05 rose from 2.0% to 2.6% for PF-TRACE and from 3.5% to 4.4% for PF-TRACE-D. PF-TRACE-D changed its action less often than PF-TRACE, in 41% against 63% of epochs, but its deterministic choices produced larger split-point jumps, with a mean absolute change of 3.1 split positions against 1.7 for PF-TRACE. These larger partition transitions increased the tail switching cost and explain the larger rise in p95 overhead. Server changes were not charged a state-migration cost because the remaining layers are stateless across requests. The radio-scheduling effects of the selected actions remain outside the open-loop evaluation, as noted in Section 5.2.

5.8.7. Component Ablation

Figure 10 shows the effects of simplifying the regime model and sequential detector or disabling their safeguards. The evaluated variants remove regime modeling, replace the class-wise detector with mixture CUSUM, or disable clipping, the freeze gate, or the calibration guard. Each variant is assessed using horizon-specific detection probability, false-alarm calibration, and gradual-poisoning success to capture different aspects of detector performance. In the gradual-poisoning attack, the attacker starts from the genuine response distribution and shifts the mean of its responses by 0.02 genuine standard deviations every 10 epochs, so that each innovation stays inside the clipping bound c, until it reaches its own unconstrained response. An attempt counts as successful if the attacker reaches its unconstrained response without an alarm within 500 epochs, and the poisoning success rate is the fraction of successful attempts among 100 attempts per run. The unconstrained attacker response in this experiment lay 0.86 genuine standard deviations from the initial genuine mean, so it could be reached within the 500-epoch horizon.
The complete method achieves the highest detection probability among the evaluated ablations. Removing the regime model or replacing the class-wise CUSUM with mixture CUSUM reduces detection performance more noticeably than the other variants. The held-out false-alarm rate remains close to the calibration target, with small differences across the evaluated configurations. Disabling the freeze gate produces the largest increase in gradual-poisoning success, while its effect on ordinary detection probability is smaller. These results show that the freeze gate contributes primarily to robustness against model contamination.
Table 7 gives the numerical values behind Figure 10 as means over the 30 runs with 95% bootstrap confidence intervals.

5.8.8. Gradual Twin Contamination

Figure 11 shows a representative sequential trajectory with and without the freeze gate. The orange trace applies the bounded freeze gate, while the blue dashed trace allows continuous twin updating. Reference lines indicate the attack onset, freeze threshold, and alarm threshold. The detection statistic is normalized by the alarm threshold, with a value of 1 indicating an alarm. The lower horizontal reference indicates the point at which continuous twin updating is suspended. The trajectory is presented as an example of detector behaviour rather than as an aggregate measure of detection performance.
Both detectors respond after attack onset. Without the freeze gate, the detection statistic rises initially but later remains below the alarm threshold as the reference model adapts to the suspicious observations. With the freeze gate enabled, the statistic continues to increase and crosses the alarm threshold in the example shown in Figure 11. This trajectory demonstrates the effect of the gate for one session. Its broader effect on poisoning resistance is evaluated across sessions in Figure 10.
Aggregated over 100 contamination attempts per run and 30 runs, the freeze gate reduced the poisoning success rate from 53% to 13% (Table 7). With the gate enabled, the median delay between attack onset and the first crossing of the freeze threshold was 74 epochs (interquartile range 51 to 96), and 87% of attempts raised an alarm within the horizon.

5.8.9. Decision-Scoring Runtime

Figure 12 examines the computational cost of scoring a varying number of feasible actions with different numbers of modelled attacker classes. The benchmark times the decision calculation alone and excludes the device, radio and edge round trip.
Decision time grows almost linearly with both the number of admissible actions and the number of attacker classes, as the complexity analysis in Section 4.9 predicts. With 32 admissible actions the scoring routine takes about 2.2, 4.2 and 6.1 ms for two, four and six classes, or roughly 0.03 ms per action and class. The full reference decision adds little to this, reaching about 2.3, 4.4 and 6.7 ms at the same point, so the divergence calculations dominate the decision time. With a single admissible action, no scoring is needed and the decision time is close to zero. The wider intervals for six classes between 8 and 16 actions most likely reflect timing variability on the benchmark machine. The growth rate itself stays the same. Under light load at the reference tolerance, Figure 4 shows about five admissible actions, for which a decision with four classes takes well under 1 ms. These figures cover the decision calculation only and exclude communication and reconfiguration delays.

5.8.10. Policy-Aware Attacker

The comparisons above show that PF-TRACE-D detects faster than PF-TRACE against attackers that ignore the selection rule. The softmax randomization of Equation (16) is justified only if it protects against attackers that do not ignore it, and this experiment tests that claim directly.
The policy-aware attacker knows the published scoring rule but not the twin state or the controller’s cost predictions. During a learning window of 200 epochs, it records each action assigned to it together with the context it can observe, namely its own recent response times, the inter-request timing and the time since the previous action change, and fits a random-forest classifier that predicts the next action. It then pre-executes the predicted split before the action message arrives, starting 12 ms early. A correct prediction hides up to 12 ms of capacity deficit or relay delay. In the Unit A–Unit B profiles, the median absolute cross-unit timing difference across split points was 4.1 ms and its 95th percentile was 8.7 ms. The 12 ms head start therefore exceeded most same-model timing differences, although its effect remained smaller than for the slow host or relay. After a wrong prediction, the attacker discards the work and executes the assigned split without a head start. The attacker therefore benefits in proportion to its prediction accuracy, and a deterministic rule that always selects the most informative action is the most exposed. The attacker was evaluated on the relay, slow-host and same-model Unit B scenarios. The learning window was excluded from the detection horizon, and all other settings followed the reference configuration.
Table 8 reports the results. The attacker predicted the next action of PF-TRACE-D with an accuracy of 86%, compared with 47% for PF-TRACE and 19% for uniform random selection. Against this attacker, relay detection within 500 epochs fell from 0.80 to 0.52 for PF-TRACE-D but only from 0.72 to 0.64 for PF-TRACE. For Unit B, the corresponding values were 0.46 and 0.50. The ordering of Section 5.8.2 is therefore reversed when the attacker exploits predictable choices, and the randomized policy detects more attacks than the deterministic rule at a lower service cost. Uniform random selection is the hardest to predict and usually gathers less targeted evidence; however, for the slow host its unpredictability retained the highest detection probability under the policy-aware attack (0.88), compared with 0.82 for PF-TRACE and 0.68 for PF-TRACE-D. The temperature τ sets the balance between these extremes. A sweep over τ ∈ {0.02, 0.05, 0.10, 0.20, 0.50} showed that τ = 0.10 maximized the worst-case relay detection probability over the non-adaptive and policy-aware attackers.
Figure 13 shows the sweep in detail. Against the non-adaptive attacker, relay detection fell steadily from 0.79 at τ = 0.02 to 0.77, 0.72, 0.67 and 0.60 at τ = 0.05, 0.10, 0.20 and 0.50, as the policy moved away from the most informative action. Against the policy-aware attacker, it rose from 0.53 to a maximum of 0.64 at τ = 0.10 and then fell to 0.62 and 0.57, while the attacker’s next-action prediction accuracy fell from 82% to 65%, 47%, 34% and 24%. At low temperatures PF-TRACE therefore approaches PF-TRACE-D, which is informative but predictable, and at high temperatures it approaches uniform selection, which is unpredictable but less informative. Because the policy-aware curve lies below the non-adaptive curve at every temperature, it determines the worst case, which peaks at τ = 0.10.
Passive-twin selection was predicted with 98% accuracy because the minimum-cost action remained unchanged in 96% of the evaluated epochs. Across the 30 paired runs, policy-aware relay detection was 0.64 [95% CI: 0.61, 0.67] for PF-TRACE and 0.52 [0.49, 0.55] for PF-TRACE-D; the paired difference was +0.12 [0.08, 0.16], with a Holm-adjusted Wilcoxon p = 0.001. For Unit B, the corresponding estimates were 0.50 [0.47, 0.53] and 0.46 [0.43, 0.49], giving a paired difference of +0.04 [0.01, 0.07] and an adjusted p = 0.018. PF-TRACE therefore had the best worst-case detection probability across the relay, Unit B and slow-host scenarios.
The policy-aware attacker does not remove the identifiability limit of Section 3.5. A faster attacker can still add delay after the action is revealed, so pre-execution is useful mainly to slower or relayed attackers. Randomization raises the cost of prediction for these attackers but provides no cryptographic guarantee, and an attacker with access to the controller’s telemetry could predict actions more accurately than the attacker modelled here.

6. Discussion and Limitations

The approach provides statistical evidence of session continuity. It is not cryptographic device attestation. The evaluation shows that its benefit depends on two conditions, namely the availability of more than one admissible action and a real difference between the conditional responses of the genuine device and the substitute. Both conditions weaken in predictable ways. At high load most epochs offer a single action, and the gap to passive checking for the relay falls from about 59 epochs to about 16. For a same-model attacker the response distributions overlap, and detection within 500 epochs stays near 0.56 for PF-TRACE. An adaptive imitator on a faster host that reproduces the genuine response defeated every method in the comparison, whereas the same strategy on a slower host remained detectable.
The deterministic PF-TRACE-D policy detected faster than the PF-TRACE softmax policy in every scenario we examined. PF-TRACE keeps the random element of Equation (16) so that its future choices are harder to anticipate, and Section 5.8.10 shows that this matters. Against a policy-aware attacker that pre-executes the predicted action, PF-TRACE-D lost 28 percentage points of relay detection, whereas PF-TRACE lost 8. PF-TRACE-D is therefore preferable only when attackers can be assumed not to learn the selection rule, and PF-TRACE is preferred when they may. PF-TRACE-D also produced larger tail-latency overhead at the widest tolerance, 17.4% against 9.9%, so choosing between the two policies is partly a choice of service budget.
The detection levels should also be read in operational terms. At one inference per second, the restricted mean detection times of 268 and 343 epochs correspond to about 4.5 and 5.7 min, and 28% of relay and 44% of same-model substitutions remain undetected after 500 epochs, or about 8 min. This is too slow to prevent damage that occurs within the first seconds of a hijacked session, such as a single fraudulent command or a burst of data exfiltration. The method is therefore not a substitute for preventive controls such as sender-constrained tokens, short token lifetimes and per-request authorization. Its role is to bound the dwell time of an attacker who has already bypassed those controls. This matters most for long-lived sessions, such as continuous sensing, video analytics or industrial telemetry, in which an undetected substitute could otherwise persist for hours or days. Because evidence accumulates per decision epoch rather than per unit of time, detection in wall-clock terms becomes faster as the inference rate increases, and Section 5.8.6 shows that a larger tolerance ε buys faster detection at a higher latency cost. The remaining misses are attacks that stay close to the genuine response under every admissible action. For these, the alarm threshold and the operator’s step-up policy determine the residual risk.

6.1. Deployment Considerations

The evaluated design maps onto existing edge and RAN functions, but several links are assumed rather than shown. The orchestrator and the twin store would sit on an edge computing host, close to the servers that run the remaining inference layers. The near-real-time RAN intelligent controller does not make the split-point decision. It supplies radio telemetry such as cell load and user throughput, which O-RAN deployments already collect over the E2 interface. Our evaluation replayed this telemetry from ns-3 traces. No live interface was exercised.
Each change of server or split point needs a control message from the orchestrator to the device application. No standard interface defines this message today. It would carry only the split index and the server address, so its size is a few bytes. The time a device needs to switch to another model partition was measured and added to the realized cost in Section 5.8.6.
Step-up challenges follow from the calibrated false-alarm rate. At one false alarm per 10,000 genuine epochs and one inference per second, a genuine device would face a false challenge about once every 2.8 hours. For a site with 1,000 such devices, this means about six false challenges per minute. Real attacks add to that number. A higher threshold lowers the load, but detection then becomes slower, as Figure 6 shows.
Per-device state is small. A twin stores a two-dimensional state, its covariance, the regime probabilities of each model and one CUSUM statistic per attacker class. This needs well under one kilobyte per device, and the class models are shared by devices of the same model. Computation matters more. With four classes and about five admissible actions, one decision took under 1 ms in our benchmark (Figure 12). A single processor core could therefore handle roughly a thousand decisions per second. None of these deployment components was built or tested in a live network.

6.2. Integration into an AI-Native 6G Architecture

The evaluation used a 5G NR configuration because no 6G air interface or reference implementation is yet available. The title therefore names AI-native 6G as the target setting of the method rather than the setting in which it was evaluated. The mechanism depends on three capabilities that AI-native 6G architectures are expected to provide natively, rather than on a particular air interface. First, IMT-2030 lists AI as a native capability of the system [3], and digital twins are expected to become part of 6G network operation [7]. In the proposed architecture, the per-device twin would be hosted by a network digital-twin function at the edge, alongside the twins already maintained for resource management. Second, the orchestrator that selects the server and split point would run as an AI-native control function, for example as an rApp or xApp in the O-RAN terminology, receiving radio telemetry over the O-RAN interfaces [4] and passing split-point decisions to the device application through a service-exposure interface. Third, 6G is expected to control communication and computation jointly for distributed AI workloads [1,2], so per-inference split reconfiguration would become a routine network decision rather than an application-specific one, which enlarges the action set available to the controller.
The detector, the twin store and the step-up procedure would reside in the trusted edge domain, and an alarm would be passed to the security functions of the core network, which can revoke the session keys of the affected binding [38]. The 5G NR traces used here should therefore be read as a conservative proxy. Lower 6G latency would reduce the transmission share of each response and increase the relative weight of device computation, which is the component that separates the attacker classes, whereas larger action sets would increase the controller’s choice. Both expectations remain to be verified in a 6G testbed.

6.3. Limitations and Generalizability

The evaluation has several limitations. Network traces were generated offline, so selected actions did not influence the radio scheduling represented in those traces. The experiments also did not measure the network effects of repeated split-point changes. Hardware measurements were obtained from 6 units of one device model and two additional attacker hosts. The multi-unit study reduces the dependence on a single pair of units, but other device architectures were not tested. The relay models, including the variant with a separate attacker UE, do not represent transport-layer behaviour of real tunnels such as buffering and the interaction of nested congestion control. Edge-observed timing may also be influenced by attacker-controlled delays, and the twin model is not treated as an authentication secret. The step-up procedure assumes protected enrolment credentials and a challenge bound to the flagged endpoint. The proposed method therefore serves as an additional screening layer alongside endpoint authentication and session-key protection rather than as a replacement for either mechanism.
The findings should carry over to other devices, inference models and workloads to the extent that the identifiability condition of Section 3.5 holds, because detection depends on the conditional response differences between the genuine device and the attacker across admissible actions, not on MobileNetV2 or the Raspberry Pi as such. Models with more split points or more heterogeneous layer costs, such as larger convolutional networks or transformers, offer more actions with different device–edge computation ratios, which should increase the available evidence. Devices with dedicated accelerators may have flatter and more stable execution times, which narrows the separation between same-model units but also reduces workload-induced variation. Workloads that change frequently, or devices with aggressive dynamic voltage and frequency scaling, would require more regimes or a continuous workload model. Re-enrolment is needed for each device and inference model, whereas the twin structure, the scoring rule and the detector remain unchanged. Validating these expectations on accelerator-equipped devices, larger models and mixed workloads is left for future work.

7. Conclusions

This paper presented a twin-guided, probe-free policy for verifying whether an authenticated session continues to originate from the device that established it. The method incorporates verification into routine edge-server and split-point selection. When multiple actions satisfy the service requirements, the controller selects an action expected to improve statistical discrimination between the genuine-device model and the modelled attacker classes. Verification therefore relies on existing service decisions without generating additional probe traffic. A regime-aware twin, class-wise CUSUM detectors and a bounded twin update support this choice. We evaluated the policy on ns-3/5G-LENA radio traces and split-inference profiles measured on physical devices, using a trace-driven Python simulator. At one false alarm per 10,000 genuine epochs, it detected about 72% of relay attacks and 56% of same-model substitutions within 500 epochs. Passive twin checking reached 58% and 40%, and active probing at a similar cost reached 68% and 47%. The policy also detected more unseen-host attacks than every baseline. Its added p95 completion time was about 2%, and the deterministic setting of the same rule raised detection further at a higher latency cost. Against a policy-aware attacker that pre-executes predicted actions, the randomized setting retained 64% relay detection, whereas the deterministic setting fell to 52%, which justifies randomization when attackers may learn the selection rule. Statistical tests over 30 runs confirmed that the gains over passive checking are significant. The gains narrow under heavy load, and a faster attacker that reproduces the genuine response cannot be detected from these observations, although a slower one can. Future work should test closed-loop orchestration, accelerator-equipped devices and larger models, and integration with network digital-twin functions in AI-native 6G testbeds.

Author Contributions

Conceptualization, P.A.S.; methodology, P.A.S. and H.O.A.; software, P.A.S.; validation, P.A.S., H.O.A. and M.I.; formal analysis, P.A.S. and H.O.A.; investigation, P.A.S. and H.O.A.; resources, M.I. and H.F.A.; data curation, H.O.A.; writing—original draft preparation, P.A.S.; writing—review and editing, H.O.A., M.I. and H.F.A.; visualization, P.A.S. and H.O.A.; supervision, M.I. and H.F.A.; project administration, P.A.S.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors thank the Higher Colleges of Technology, UAE, for covering the article processing charge.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Appendix A.1. Formal Comparison with Parsimonious Watermarking

Both methods choose an input to the observed system so as to accelerate a sequential test while paying a cost for doing so. Table A1 compares the two formulations term by term. In parsimonious watermarking [18], the decision at each step is whether to add a watermark signal to the control input, and the cost is the resulting loss of control performance. In PF-TRACE, the decision is which of the near-equivalent service actions in Equation (3) to execute. No signal is added, and the cost is bounded by the service tolerance ε before the information score is considered. The two approaches therefore occupy different operating points. Watermarking can excite a system for which every natural input is uninformative, whereas PF-TRACE can only exploit differences that already exist among admissible service actions and cannot detect an attacker that matches the genuine response under all of them.
Table A1. Formal comparison of parsimonious watermarking [18] and PF-TRACE.
Table A1. Formal comparison of parsimonious watermarking [18] and PF-TRACE.
Aspect Parsimonious watermarking [18] PF-TRACE method
Excitation Additive watermark on the control input, switched on or off by the policy Choice of a service action a ∈ 𝒜ε(t); no additive signal
Decision variable Binary (watermark on or off) at each step Categorical: one of |𝒜ε(t)| server–split-point pairs
Cost of excitation Degradation of control performance while the watermark is applied Relative service cost (J(a,t) − J(a*,t))/J(a*,t) ≤ ε, weighted by λ in Equation (15)
Information criterion Separation of attacked and attack-free measurement statistics under the watermark Worst-case KL divergence over attacker classes and reachable regimes, Equations (13) and (14)
Model of legitimate variation Linear stochastic plant with stationary noise Hidden Markov workload regimes with an EKF continuous state, Equations (4)–(8)
Detection statistic Quickest-change detection of the replacement attack Class-wise CUSUM on mixture log-likelihood ratios, Equations (17)–(19)
Attack model Replacement of sensor measurements Endpoint substitution: relay, capacity mismatch, same model, clone, adaptive and policy-aware
Attacker view of the excitation Watermark realization unknown to the attacker Action visible after dispatch; randomization limits prediction before dispatch
Analytical result Optimal policy structure for the delay–cost trade-off [18] Conditional drift identity, Equation (25), and Lorden approximation, Equation (26); no optimality claim
Empirical counterpart in this study Active probing (dedicated excitation at a controlled rate) PF-TRACE and PF-TRACE-D policies

Appendix A.2. Parameter Settings

Table A2 lists the detector, twin and selection parameters that were not given in Table 3. All values were selected on genuine validation sessions before the attack scenarios were replayed and were kept fixed during testing.
Table A2. Detector, twin and selection parameters.
Table A2. Detector, twin and selection parameters.
Symbol Meaning Value
ℎ Alarm threshold, calibrated for 1 alarm per 10,000 genuine epochs 8.5
ℎf Twin-freeze threshold 3.4
cℓ Clip limit of the log-likelihood increment, Equation (17) 3.0
c Clip limit of the normalized innovation, Equation (23) 2.5
δ Regime-probability floor defining ℛt 0.05
M Number of workload regimes 4
Π Regime transition matrix Diagonal 0.97; off-diagonal 0.01
Q Process-noise covariance diag(0.012, 0.008)
R Observation-noise covariance diag(0.028, 0.041, 0.019)
λ Cost weight on normalized scores 0.20
τ Softmax temperature on normalized scores 0.10
— Score normalization Φ(a) divided by its maximum over 𝒜ε(t); relative cost divided by ε
— Calibration acceptance criterion 95% predictive-interval coverage ≥ 90% on held-out genuine sessions

Appendix A.3. Validation of the Gaussian Response Model

Table A3 reports residual diagnostics for the Gaussian response model of Equations (5) and (9) on held-out genuine sessions. For a well-calibrated model, the normalized innovations have zero mean and unit variance, and the nominal 95% predictive interval covers about 95% of the observations.
Table A3. Residual diagnostics of the genuine response model on held-out sessions, averaged over the four regimes.
Table A3. Residual diagnostics of the genuine response model on held-out sessions, averaged over the four regimes.
Split point Mean of normalized innovation Variance of normalized innovation 95% interval coverage
1 0.02 1.04 94.8%
2 -0.03 0.97 95.4%
3 0.01 1.01 95.1%
4 0.04 1.08 93.9%
5 -0.02 0.95 95.7%
6 0.00 1.02 94.9%
7 0.03 1.06 94.2%
8 -0.01 0.99 95.3%

References

  1. Letaief, K.B.; Chen, W.; Shi, Y.; Zhang, J.; Zhang, Y.-J.A. The roadmap to 6G: AI empowered wireless networks. IEEE Commun. Mag. 2019, 57, 84–90. [Google Scholar] [CrossRef]
  2. Porambage, P.; Gür, G.; Moya Osorio, D.P.; Liyanage, M.; Gurtov, A.; Ylianttila, M. The roadmap to 6G security and privacy. IEEE Open J. Commun. Soc. 2021, 2, 1094–1122. [Google Scholar] [CrossRef]
  3. ITU-R. Framework and Overall Objectives of the Future Development of IMT for 2030 and Beyond; International Telecommunication Union: Geneva, Switzerland, 2023; Available online: https://www.itu.int/dms_pubrec/itu-r/rec/m/R-REC-M.2160-0-202311-I!!PDF-E.pdf.
  4. Polese, M.; Bonati, L.; D’Oro, S.; Basagni, S.; Melodia, T. Understanding O-RAN: Architecture, interfaces, algorithms, security, and research challenges. IEEE Commun. Surv. Tutor. 2023, 25, 1376–1411. [Google Scholar] [CrossRef]
  5. Mao, Y.; You, C.; Zhang, J.; Huang, K.; Letaief, K.B. A survey on mobile edge computing: The communication perspective. IEEE Commun. Surv. Tutor. 2017, 19, 2322–2358. [Google Scholar] [CrossRef]
  6. Wu, Y.; Zhang, K.; Zhang, Y. Digital twin networks: A survey. IEEE Internet Things J. 2021, 8, 13789–13804. [Google Scholar] [CrossRef]
  7. Khan, L.U.; Saad, W.; Niyato, D.; Han, Z.; Hong, C.S. Digital-twin-enabled 6G: Vision, architectural trends, and future directions. IEEE Commun. Mag. 2022, 60, 74–80. [Google Scholar] [CrossRef]
  8. Lu, Y.; Huang, X.; Zhang, K.; Maharjan, S.; Zhang, Y. Low-latency federated learning and blockchain for edge association in digital twin empowered 6G networks. IEEE Trans. Ind. Inform. 2021, 17, 5098–5107. [Google Scholar] [CrossRef]
  9. Ahmad, I.; Kumar, T.; Liyanage, M.; Okwuibe, J.; Ylianttila, M.; Gurtov, A. Overview of 5G security challenges and solutions. IEEE Commun. Stand. Mag. 2018, 2, 36–43. [Google Scholar] [CrossRef]
  10. Szymoniak, S.; Kesar, S. Key Agreement and Authentication Protocols in the Internet of Things: A Survey. Appl. Sci. 2023, 13, 404. [Google Scholar] [CrossRef]
  11. Miettinen, M.; Marchal, S.; Hafeez, I.; Asokan, N.; Sadeghi, A.-R.; Tarkoma, S. IoT Sentinel: Automated device-type identification for security enforcement in IoT. In Proceedings of the IEEE 37th International Conference on Distributed Computing Systems (ICDCS), 2017; pp. 2177–2184. [Google Scholar]
  12. Sivanathan, A.; Gharakheili, H.H.; Loi, F.; Radford, A.; Wijenayake, C.; Vishwanath, A.; Sivaraman, V. Classifying IoT devices in smart environments using network traffic characteristics. IEEE Trans. Mob. Comput. 2019, 18, 1745–1759. [Google Scholar] [CrossRef]
  13. Ma, X.; Qu, J.; Li, J.; Lui, J.C.S.; Li, Z.; Guan, X. Pinpointing Hidden IoT Devices via Spatial-Temporal Traffic Fingerprinting. In Proceedings of the IEEE INFOCOM 2020—IEEE Conference on Computer Communications, Toronto, ON, Canada, 6–9 July 2020; pp. 894–903. [Google Scholar]
  14. Chernoff, H. Sequential design of experiments. Ann. Math. Stat. 1959, 30, 755–770. [Google Scholar] [CrossRef]
  15. Naghshvar, M.; Javidi, T. Active sequential hypothesis testing. Ann. Stat. 2013, 41, 2703–2738. [Google Scholar] [CrossRef]
  16. Nitinawarat, S.; Atia, G.K.; Veeravalli, V.V. Controlled sensing for multihypothesis testing. IEEE Trans. Autom. Control 2013, 58, 2451–2464. [Google Scholar] [CrossRef]
  17. Cohen, K.; Zhao, Q. Active hypothesis testing for anomaly detection. IEEE Trans. Inf. Theory 2015, 61, 1432–1450. [Google Scholar] [CrossRef]
  18. Naha, A.; Teixeira, A.M.H.; Ahlén, A.; Dey, S. Quickest detection of deception attacks on cyber-physical systems with a parsimonious watermarking policy. Automatica 2023, 155, 111147. [Google Scholar] [CrossRef]
  19. Naha, A.; Teixeira, A.M.H.; Ahlén, A.; Dey, S. Quickest physical watermarking-based detection of measurement replacement attacks in networked control systems. Eur. J. Control 2023, 71, 100804. [Google Scholar] [CrossRef]
  20. Siriwardhana, Y.; Porambage, P.; Liyanage, M.; Ylianttila, M. AI and 6G security: Opportunities and challenges. In Proceedings of the Joint European Conference on Networks and Communications & 6G Summit (EuCNC/6G Summit), 2021; pp. 616–621. [Google Scholar]
  21. Liang, L.; Zhang, L. Security and privacy in O-RAN for 6G: A comprehensive review of threats and mitigation approaches. IEEE Commun. Surv. Tutor. 2026, 28, 5159–5195. [Google Scholar] [CrossRef]
  22. Hung, C.-F.; Chen, Y.-R.; Tseng, C.-H.; Cheng, S.-M. Security threats to xApps access control and E2 interface in O-RAN. IEEE Open J. Commun. Soc. 2024, 5, 1197–1203. [Google Scholar] [CrossRef]
  23. Khan, L.U.; Han, Z.; Saad, W.; Hossain, E.; Guizani, M.; Hong, C.S. Digital twin of wireless systems: Overview, taxonomy, challenges, and opportunities. IEEE Commun. Surv. Tutor. 2022, 24, 2230–2254. [Google Scholar] [CrossRef]
  24. Varghese, S.A.; Dehlaghi Ghadim, A.; Balador, A.; Alimadadi, Z.; Papadimitratos, P. Digital twin-based intrusion detection for industrial control systems. In Proceedings of the IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops), 2022. [Google Scholar]
  25. Bozdal, M. Security through digital twin-based intrusion detection: A SWaT dataset analysis. In Proceedings of the 16th International Conference on Information Security and Cryptology (ISCTürkiye), Ankara, Türkiye, 2023; pp. 1–6. [Google Scholar]
  26. Yigit, Y.; Chrysoulas, C.; Yurdakul, G.; Maglaras, L.; Canberk, B. Digital twin-empowered smart attack detection system for 6G edge of things networks. In Proceedings of the IEEE Globecom Workshops (GC Wkshps), 2023. [Google Scholar]
  27. Alcaraz, C.; Lopez, J. Digital twin: A comprehensive survey of security threats. IEEE Commun. Surv. Tutor. 2022, 24, 1475–1503. [Google Scholar] [CrossRef]
  28. Liang, Y.; Samtani, S.; Guo, B.; Yu, Z. Behavioral biometrics for continuous authentication in the Internet-of-Things era: An artificial intelligence perspective. IEEE Internet Things J. 2020, 7, 9128–9143. [Google Scholar] [CrossRef]
  29. Gonzalez-Manzano, L.; de Fuentes, J.M.; Ribagorda, A. Leveraging user-related Internet of Things for continuous authentication: A survey. ACM Comput. Surv. 2019, 52, 53. [Google Scholar] [CrossRef]
  30. Badhib, A.; Alshehri, S.; Cherif, A. A robust device-to-device continuous authentication protocol for the Internet of Things. IEEE Access 2021, 9, 124768–124792. [Google Scholar] [CrossRef]
  31. Shah, P.A.; Iftikhar, M.; Ali, H.O.; Uddin, M.; Dandoush, A. DQ-VeDT: A Decentralized Quorum-Based Authentication for Quantum-Safe Vehicular Digital Twins. IEEE Open J. Veh. Technol. 2026, 7. [Google Scholar] [CrossRef]
  32. Thangavelu, V.; Divakaran, D.M.; Sairam, R.; Bhunia, S.S.; Gurusamy, M. DEFT: A distributed IoT fingerprinting technique. IEEE Internet Things J. 2019, 6, 940–952. [Google Scholar] [CrossRef]
  33. Hamad, S.A.; Zhang, W.E.; Sheng, Q.Z.; Nepal, S. IoT device identification via network-flow based fingerprinting and learning. In Proceedings of the 18th IEEE International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom/BigDataSE), 2019; pp. 103–111. [Google Scholar]
  34. Zhou, Y.; Yeoh, P.L.; Pan, C.; Wang, K.; Elkashlan, M.; Wang, Z.; Vucetic, B.; Li, Y. Offloading optimization for low-latency secure mobile edge computing systems. IEEE Wirel. Commun. Lett. 2020, 9, 480–484. [Google Scholar] [CrossRef]
  35. Wang, J.-B.; Yang, H.; Cheng, M.; Wang, J.-Y.; Lin, M.; Wang, J. Joint optimization of offloading and resources allocation in secure mobile edge computing systems. IEEE Trans. Veh. Technol. 2020, 69, 8843–8854. [Google Scholar] [CrossRef]
  36. Zahed, M.I.A.; Ahmad, I.; Habibi, D.; Phung, Q.V. Green and secure computation offloading for cache-enabled IoT networks. IEEE Access 2020, 8, 63840–63855. [Google Scholar] [CrossRef]
  37. Page, E.S. Continuous inspection schemes. Biometrika 1954, 41, 100–115. [Google Scholar] [CrossRef]
  38. 3GPP. Security Architecture and Procedures for 5G System; Technical Specification TS 33.501; 3rd Generation Partnership Project. Available online: https://www.3gpp.org/ftp/Specs/archive/33_series/33.501/ (accessed on 20 October 2026).
  39. Lorden, G. Procedures for reacting to a change in distribution. Ann. Math. Stat. 1971, 42, 1897–1908. [Google Scholar] [CrossRef]
  40. Riley, G.F.; Henderson, T.R. The ns-3 network simulator. In Modeling and Tools for Network Simulation; Wehrle, K., Güneş, M., Gross, J., Eds.; Springer: Berlin/Heidelberg, Germany, 2010; pp. 15–34. [Google Scholar]
  41. Patriciello, N.; Lagén, S.; Bojović, B.; Giupponi, L. An E2E simulator for 5G NR networks. Simul. Model. Pract. Theory 2019, 96, 101933. [Google Scholar] [CrossRef]
  42. 3GPP. 3GPP TR 38.901, Version 17.0.0; Study on Channel Model for Frequencies from 0.5 to 100 GHz. 3GPP: Sophia Antipolis, France, 2022. Available online: https://www.etsi.org/deliver/etsi_tr/138900_138999/138901/17.00.00_60/tr_138901v170000p.pdf.
  43. Kang, Y.; Hauswald, J.; Gao, C.; Rovinski, A.; Mudge, T.; Mars, J.; Tang, L. Neurosurgeon: Collaborative intelligence between the cloud and mobile edge. In Proceedings of the 22nd International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), 2017; pp. 615–629. [Google Scholar]
  44. Matsubara, Y.; Levorato, M.; Restuccia, F. Split computing and early exiting for deep learning applications: Survey and research challenges. ACM Comput. Surv. 2022, 55, 90. [Google Scholar] [CrossRef]
  45. Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.-C. MobileNetV2: Inverted residuals and linear bottlenecks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2018; pp. 4510–4520. [Google Scholar]
  46. Campbell, B.; Bradley, J.; Sakimura, N.; Lodderstedt, T. RFC 8705; OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens. Internet Engineering Task Force: Fremont, CA, USA, 2020.
  47. Fett, D.; Campbell, B.; Bradley, J.; Lodderstedt, T.; Jones, M.; Waite, D. RFC 9449; OAuth 2.0 Demonstrating Proof of Possession (DPoP). Internet Engineering Task Force: Fremont, CA, USA, 2023.
  48. Whited, S. Channel Bindings for TLS 1.3; Internet Engineering Task Force: Fremont, CA, USA, 2022. [Google Scholar]
  49. Hershey, J.R.; Olsen, P.A. Approximating the Kullback Leibler divergence between Gaussian mixture models. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Honolulu, HI, USA, 15–20 April 2007; p. IV-317–IV-320. [Google Scholar]
Figure 1. PF-TRACE trust and control architecture.
Figure 1. PF-TRACE trust and control architecture.
Preprints 245095 g001
Figure 2. Per-epoch verification workflow.
Figure 2. Per-epoch verification workflow.
Preprints 245095 g002
Figure 3. Schematic example of action-conditioned response separation.
Figure 3. Schematic example of action-conditioned response separation.
Preprints 245095 g003
Figure 4. Effect of matched radio and edge-server utilization on admissible-action availability under different service-cost tolerances. (a) Mean number of admissible actions. (b) Probability that only one admissible action remains. (c) Probability that at least three actions remain admissible.
Figure 4. Effect of matched radio and edge-server utilization on admissible-action availability under different service-cost tolerances. (a) Mean number of admissible actions. (b) Probability that only one admissible action remains. (c) Probability that at least three actions remain admissible.
Preprints 245095 g004
Figure 5. Cumulative probability of detecting endpoint substitution within observation horizon Δ for (a) fast-host, (b) slow-host, (c) relay, (d) same-model Unit B, (e) adaptive imitator, and (f) unseen-host attacks.
Figure 5. Cumulative probability of detecting endpoint substitution within observation horizon Δ for (a) fast-host, (b) slow-host, (c) relay, (d) same-model Unit B, (e) adaptive imitator, and (f) unseen-host attacks.
Preprints 245095 g005
Figure 6. Detection–false-alarm trade-off at an observation horizon of Δ = 500 epochs for (a) relay and (b) same-model Unit B attacks.
Figure 6. Detection–false-alarm trade-off at an observation horizon of Δ = 500 epochs for (a) relay and (b) same-model Unit B attacks.
Preprints 245095 g006
Figure 7. Restricted mean detection time under (a) relay with varying edge utilization, (b) relay with varying radio utilization, (c) same-model Unit B with varying edge utilization and (d) same-model Unit B with varying radio utilization.
Figure 7. Restricted mean detection time under (a) relay with varying edge utilization, (b) relay with varying radio utilization, (c) same-model Unit B with varying edge utilization and (d) same-model Unit B with varying radio utilization.
Preprints 245095 g007
Figure 8. Effect of predictive-model mismatch: (a) restricted detection time relative to fingerprinting and (b) held-out test false-alarm rate relative to its calibrated target, with the normalized threshold.
Figure 8. Effect of predictive-model mismatch: (a) restricted detection time relative to fingerprinting and (b) held-out test false-alarm rate relative to its calibrated target, with the normalized threshold.
Preprints 245095 g008
Figure 9. Verification benefit versus realized p95 completion-time overhead for same-model Unit B attacks. Overheads exclude the split-switching and signalling cost reported later in this section.
Figure 9. Verification benefit versus realized p95 completion-time overhead for same-model Unit B attacks. Overheads exclude the split-switching and signalling cost reported later in this section.
Preprints 245095 g009
Figure 10. Ablation results for (a) attack detection probability, (b) held-out false-alarm rate relative to its target, and (c) gradual poisoning success rate. Numerical values with 95% confidence intervals are given in Table 7.
Figure 10. Ablation results for (a) attack detection probability, (b) held-out false-alarm rate relative to its target, and (c) gradual poisoning success rate. Numerical values with 95% confidence intervals are given in Table 7.
Preprints 245095 g010
Figure 11. Representative CUSUM trajectory during a single gradual contamination attempt. Aggregate statistics over all attempts and runs are reported in the text below and Table 7.
Figure 11. Representative CUSUM trajectory during a single gradual contamination attempt. Aggregate statistics over all attempts and runs are reported in the text below and Table 7.
Preprints 245095 g011
Figure 12. Measured decision-scoring time against the number of feasible actions for K = 2, 4 and 6 attacker classes.
Figure 12. Measured decision-scoring time against the number of feasible actions for K = 2, 4 and 6 attacker classes.
Preprints 245095 g012
Figure 13. PF-TRACE temperature sweep. Relay detection probability within Δ = 500 epochs against (a) the non-adaptive and (b) the policy-aware attacker, and (c) the attacker’s next-action prediction accuracy. Dashed orange and dotted red lines show PF-TRACE-D and uniform random selection, the low- and high-temperature limits of the softmax rule. The grey vertical line marks the selected τ = 0.10, at which the worst case, given by panel (b), is highest.
Figure 13. PF-TRACE temperature sweep. Relay detection probability within Δ = 500 epochs against (a) the non-adaptive and (b) the policy-aware attacker, and (c) the attacker’s next-action prediction accuracy. Dashed orange and dotted red lines show PF-TRACE-D and uniform random selection, the low- and high-temperature limits of the softmax rule. The grey vertical line marks the selected τ = 0.10, at which the worst case, given by panel (b), is highest.
Preprints 245095 g013
Table 1. Main notation.
Table 1. Main notation.
Symbol Meaning
t , a t Decision epoch and the action applied at that epoch
A t , A ε t Candidate actions and near-equivalent actions
J a , t , a * t Predicted service cost of action a and the cheapest action
ε , n t Service tolerance and slack | A ε t |
x t , x ^ t , P t Continuous twin state, its estimate and its covariance
r t , M , Π Load regime, number of regimes and regime transition matrix
β t , β k , t Regime probabilities of the genuine model and of attacker class k
y t , d Response measured by the network after a t and its dimension
μ 0 a , r , Σ 0 a , r Twin prediction of the genuine response in regime r
μ k a , r , Σ k a , r Response model of attacker class k in regime r
p 0 y ∣ a , p k y ∣ a Predictive response distributions of the genuine device and of class k
D k , r a , Φ a Divergence of class k against regime r and worst-case evidence of a
R t , δ Reachable regimes and the probability floor that defines them
λ , τ Cost weight and selection temperature
l k t , W k t , W m a x t Class-wise log-likelihood increment, CUSUM statistic and their maximum
h , h f , γ t Alarm threshold, twin-freeze threshold and update gate
c l , c Clip limits of the log-likelihood increment and of the innovation
Table 2. Hardware and host roles used to construct computation profiles.
Table 2. Hardware and host roles used to construct computation profiles.
Role Hardware Purpose
Genuine device (Pi A) Raspberry Pi 4 Model B; Broadcom BCM2711, quad-core ARM Cortex-A72 at 1.5 GHz; 4 GB LPDDR4 RAM; Raspberry Pi OS 64-bit Legitimate enrolled endpoint. Executes the local MobileNetV2 layers across eight split points and four background CPU-load regimes. Its processing-time measurements establish the genuine device's digital-twin profile.
Same-model attacker (Pi B; 4 further units in the multi-unit study) Raspberry Pi 4 Model B; Broadcom BCM2711, quad-core ARM Cortex-A72 at 1.5 GHz; 4 GB LPDDR4 RAM; same operating system and software configuration as Pi A Independent physical device of the same model used to investigate instance-level session impersonation, response-distribution overlap, and adaptive timing imitation.
Fast attacker host Laptop with Intel Core i7-1165G7 processor; 4 cores/8 threads, up to 4.7 GHz; 16 GB DDR4 RAM; Ubuntu 22.04 LTS Represents a compromised session executed on higher-performance hardware. Used to evaluate whether action-conditioned verification detects differences in local inference execution time.
Slow attacker host Raspberry Pi 3 Model B+; Broadcom BCM2837B0, quad-core ARM Cortex-A53 at 1.4 GHz; 1 GB LPDDR2 RAM; Raspberry Pi OS Represents an attacker with lower computational capacity. Used to evaluate detection of slower local inference responses under varying split points and workloads.
Edge computing server Intel Xeon x86-64 server, 8 cores, 32 GB RAM, Ubuntu 22.04, four isolated instances with 2 vCPUs and 4 GB RAM each Executes the remaining MobileNetV2 layers following offloading. Provides server-specific processing-time profiles for evaluating server selection, split-inference completion time, and service-constrained verification.
Table 4. Main operating points of the compared methods.
Table 4. Main operating points of the compared methods.
Method PD relay PD Unit B Restricted mean detection time, relay (epochs) Restricted mean detection time, Unit B (epochs) p95 overhead
PF-TRACE 0.72 0.56 268 343 2.0%
PF-TRACE-D 0.80 0.61 249 326 3.5%
Passive twin 0.58 0.40 322 386 0%
Fingerprinting 0.58 0.36 320 398 0.3%
Active probing 0.68 0.47 300 369 1.7%
Table 5. Paired comparison of detection probability at Δ = 500 over 30 runs (mean difference [95% bootstrap CI]; Holm-adjusted Wilcoxon signed-rank p-values).
Table 5. Paired comparison of detection probability at Δ = 500 over 30 runs (mean difference [95% bootstrap CI]; Holm-adjusted Wilcoxon signed-rank p-values).
Comparison Relay ΔPD Relay p Unit B ΔPD Unit B p
PF-TRACE − Passive twin +0.14 [0.11, 0.17] 0.0003 +0.16 [0.13, 0.19] 0.0002
PF-TRACE − Fingerprinting +0.14 [0.11, 0.17] 0.0004 +0.20 [0.17, 0.23] 0.0001
PF-TRACE − Uniform random +0.14 [0.11, 0.17] 0.0004 +0.12 [0.09, 0.15] 0.0007
PF-TRACE − Active probing +0.04 [0.01, 0.07] 0.041 +0.09 [0.06, 0.12] 0.012
PF-TRACE-D − PF-TRACE +0.08 [0.05, 0.11] 0.001 +0.05 [0.02, 0.08] 0.008
Table 6. Pooled number of false-alarm events over 30 runs at each target false-alarm rate (alarms per 10,000 genuine epochs).
Table 6. Pooled number of false-alarm events over 30 runs at each target false-alarm rate (alarms per 10,000 genuine epochs).
Target rate PF-TRACE PF-TRACE-D Passive twin Fingerprinting Active probing
0.1 612 588 624 571 603
0.3 1794 1836 1755 1812 1779
1 6038 5961 6087 5919 6012
3 17926 18144 17783 18021 17694
10 60084 59772 60411 59628 60153
Table 7. Ablation results at ε = 0.05, load 0.5 and Δ = 500 (mean [95% bootstrap CI] over 30 runs).
Table 7. Ablation results at ε = 0.05, load 0.5 and Δ = 500 (mean [95% bootstrap CI] over 30 runs).
Variant PD relay PD Unit B FAR / target Poisoning success
Complete method 0.72 [0.69, 0.75] 0.56 [0.53, 0.59] 1.02 0.13
Without regime model 0.61 0.47 1.08 0.25
Mixture CUSUM 0.66 0.50 0.97 0.18
Without clipping 0.69 0.54 1.07 0.24
Without freeze gate 0.68 0.53 1.04 0.53
Without calibration guard 0.63 0.49 0.95 0.22
Table 8. Detection within Δ = 500 epochs against the policy-aware attacker (non-adaptive → policy-aware) and the attacker’s next-action prediction accuracy.
Table 8. Detection within Δ = 500 epochs against the policy-aware attacker (non-adaptive → policy-aware) and the attacker’s next-action prediction accuracy.
Policy Prediction accuracy PD relay PD Unit B PD slow host p95 overhead
PF-TRACE (τ = 0.10) 47% 0.72 → 0.64 0.56 → 0.50 0.96 → 0.82 2.0%
PF-TRACE-D 86% 0.80 → 0.52 0.61 → 0.46 0.97 → 0.68 3.5%
Uniform random 19% 0.58 → 0.54 0.44 → 0.40 0.95 → 0.88 1.8%
Passive twin 98% 0.58 → 0.43 0.40 → 0.30 0.94 → 0.61 0%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.