Organizations: College of Science and Engineering, Division of Research, James Cook University, Bebegu Yumba Campus, Building 17, Douglas, Townsville, QLD, Australia · Faculty of Data Science, City University of Macau, Macau, China · School of Computer, Data and Mathematical Sciences, Western Sydney University, Penrith (Kingswood) Campus, Kingswood, NSW, Australia · College of Business and Law, RMIT University, Melbourne, VIC 3000, Australia · Australian Centre for AI in Medical Innovation and Cisco-La Trobe Centre for AI and Internet of Things, La Trobe University, Melbourne, VIC, Australia
Runtime model selection trades detection quality against energy and latency. However, comparing a selector only with a more costly static detector conflates detector choice with the benefit of adaptation. We present a framework for analysis and physical measurement that combines a pairwise reward criterion, matched static controls, paired blocks, a fixed load-prevalence factorial design, and reporting of actions outside training support. On one Raspberry Pi 4B with four frozen TON-IoT detectors, tabular Q-learning and a deep Q-network (DQN) both select LightLR throughout. A retrospective audit using validation data only rules out preference reversals for MedRF versus LightLR and HeavyMLP versus LightLR. However, TinyDT has a higher reward than LightLR in seven of the 2,500 windows, so the audit does not establish global LightLR optimality. We also evaluate a causal DeadlineGuard rule under a fixed factorial design with three arrival rates (50, 100, and 4,000 rows/s) and three attack prevalences (0.10, 0.50, and 0.90). Compared with Static-MedRF, DeadlineGuard saves 43.7 J per 500-s run (2.98%; 95% paired CI 41.4--46.0 J) and eliminates all 512 deadline misses among 5,000 windows, at a cost of 1.373 percentage points in F1. Outside training support, Tabular-Q's deterministic tie-breaking rule selects TinyDT, resulting in a false-positive rate of 67.76%. These single-board results motivate joint audits of reward attainability, realized actions, attribution against matched static controls, service feasibility, and default actions outside training support.
Figures & tables
Figure 1: Physical apparatus. A 5-V supply feeds the Raspberry Pi 4B through the POWER-Z KM003C USB-C meter; host orchestration reaches the Pi through the network switch; the external SSD stores evidence artifacts. Teal: network/control; amber: power measurement; dashed: evidence storage. The drawing shows roles and paths only.
Model
F1
Recall
BA
FPR (%)
TinyDT
0.4792
0.9976
0.6599
67.78
LightLR
0.9620
0.9668
0.9766
1.35
MedRF
0.9746
0.9965
0.9906
1.52
HeavyMLP
0.9736
0.9903
0.9883
1.38
Table 1: TON-IoT held-out detection at threshold 0.5. BA denotes balanced accuracy; FPR is a percentage.
Outcome
Mean
95% CI
p
Tabular-Q − Static-LightLR
Energy (J)
+0.456
[−1.861,+2.772]
0.664
Power (mW)
+0.910
[−3.722,+5.542]
0.668
DQN − Static-LightLR
Energy (J)
+4.525
[+2.693,+6.357]
0.00195
Power (mW)
+9.045
[+5.381,+12.709]
0.00195
Table 2: P1A paired contrasts over ten trace-matched blocks. Each difference is first-minus-second method; intervals are Student- t 95% CIs, and p is the exact two-sided sign-flip diagnostic over the ten block-level differences.
Method
Energy (J)
Power (W)
Adjusted (mW)
F1
Recall (%)
FPR (%)
Escalation (%)
Static-LightLR
1360.4
2.721
37.0
0.9704
96.71
1.36
–
Cascade
1368.3
2.737
50.6
0.9839
99.39
1.38
1.34
Tabular-Q
1362.0
2.724
39.7
0.9704
96.71
1.36
–
Static-MedRF
1368.6
2.737
56.5
0.9839
99.66
1.54
–
Table 3: R1 fixed-rate physical results; means over ten paired blocks. Adjusted power subtracts the immediately preceding idle. Escalation is the fraction sent from LightLR to MedRF.
Method
Energy (J)
Power (W)
F1
Recall (%)
FPR (%)
Miss (%)
Completion p95 (s)
Static-LightLR
1416.8 ± 3.7
2.834
0.9763
96.68
1.35
0.00
0.070
Cascade
1448.1 ± 46.4
2.896
0.9902
99.41
1.36
0.42
0.665
DeadlineGuard
1424.4 ± 5.2
2.849
0.9769
96.80
1.36
0.00
0.069
Tabular-Q
1400.9 ± 48.0
2.802
0.7434
99.76
67.76
0.00
0.063
DQN
1461.1 ± 123.9
2.922
0.9763
96.68
1.35
0.00
0.072
Static-MedRF
1468.1 ± 4.8
2.936
0.9906
99.65
1.52
10.24
1.013
Table 4: R2 variable-load results over ten paired blocks. Energy is mean ± SD across runs; deadline miss is the fraction of one-second windows missing the service deadline; completion p95 is the 95th-percentile window completion latency.
Figure 2: R2 operational summary across the frozen 60-run factorial (six methods × ten blocks): (a) executed detector occupancy; (b) runtime switches per run, excluding the single initialization transition from the TinyDT placeholder a0 ; (c) unique encoded states per run; (d) deadline misses; (e) F1 versus 95th-percentile window completion latency, with the 1-s deadline dashed. DeadlineGuard is the only method with load-conditioned switching, and it records zero deadline misses; Tabular-Q’s TinyDT default under new load states appears in (a) and (e).
DeadlineGuard −
DQN −
Endpoint
Static-MedRF
Static-LightLR
ΔE (J)
−43.7
+44.2
95% CI
[−46.0,−41.4]
[−43.2,+131.7]
Δ F1 (pp)
−1.373
+0.000
Δ Miss (pp)
−10.24
+0.00
Sign-flip p (energy)
0.00195
0.00195
Table 5: Headline R2 paired contrasts ( n=10 blocks). Differences are first-minus-second method; F1 and deadline-miss changes are percentage points.
Quantity
Primary (fixed)
Validation-selected
Threshold τ
0.500
0.646751
TN / FP
5,519 / 11,610
16,817 / 312
FN / TP
13 / 5,348
21 / 5,340
F1
0.4792
0.9698
Recall (%)
99.76
99.61
FPR (%)
67.78
1.82
Table 6: TON-IoT TinyDT test results at the fixed primary threshold and the post-hoc validation-selected threshold. The diagnostic does not replace the primary threshold; it isolates calibration sensitivity as an explanation for the primary failure.
Test labels
Training-only attack labels
Benign_Final
Backdoor_Malware
DDoS-ACK_Fragmentation
BrowserHijacking
DDoS-ICMP_Flood
CommandInjection
DDoS-ICMP_Fragmentation
DDoS-HTTP_Flood
DDoS-PSHACK_FLOOD
DDoS-SlowLoris
DDoS-RSTFINFLOOD
DNS_Spoofing
Table S1. CICIoT2023 evaluated and training-only original labels. Columns are independent lists; rows do not denote matched categories.
Partition
Dataset device identifier
Train
Ecobee_Thermostat
Train
Ennio_Doorbell
Train
Philips_B120N10_Baby_Monitor
Train
Provision_PT_737E_Security_Camera
Train
SimpleHome_XCS7_1003_WHT_Security_Camera
Validation
Danmini_Doorbell
Table S2. N-BaIoT device allocation in the frozen partition. These are dataset device names, not additional physical test platforms in this study.
Dataset
Model
Retained
Primary F1
Diagnostic F1
BA
FPR (%)
TON-IoT
TinyDT
22,490
0.479233
0.479233
0.659889
67.780
LightLR
22,490
0.961952
0.961952
0.976626
1.354
MedRF
22,490
0.974551
0.974551
0.990638
1.518
HeavyMLP
22,490
0.973593
0.973593
0.988261
1.378
CICIoT2023
TinyDT
71,132
0.990371
0.990369
0.829023
34.195
LightLR
71,132
0.987987
0.987985
0.786304
42.738
Table S3. Post-hoc sensitivity excluding exact training-vector matches. Primary F1 uses the original test set; diagnostic F1, BA, and FPR use retained rows. BA denotes balanced accuracy; FPR is a percentage.
Dataset
Replay
Model
Mean F1
SD
Student- t 95% CI
CICIoT2023
Prevalence-shift
HeavyMLP
0.8090
0.0019
[0.8077, 0.8104]
CICIoT2023
Prevalence-shift
LightLR
0.7104
0.0018
[0.7091, 0.7117]
CICIoT2023
Prevalence-shift
MedRF
0.7778
0.0010
[0.7770, 0.7785]
CICIoT2023
Prevalence-shift
TinyDT
0.7542
0.0010
[0.7535, 0.7549]
CICIoT2023
Stationary
HeavyMLP
0.9931
0.0004
[0.9928, 0.9934]
CICIoT2023
Stationary
LightLR
0.9881
0.0007
[0.9876, 0.9887]
Table S4. All twenty static replay F1 aggregates. The source scenario identifier drift is reported as prevalence-shift , reflecting the actual manipulation rather than implying general concept-drift adaptation.
Dataset
Replay
Model
Mean BA
SD
Student- t 95% CI
CICIoT2023
Prevalence-shift
HeavyMLP
0.8762
0.0015
[0.8752, 0.8773]
CICIoT2023
Prevalence-shift
LightLR
0.7862
0.0019
[0.7849, 0.7875]
CICIoT2023
Prevalence-shift
MedRF
0.8502
0.0009
[0.8495, 0.8508]
CICIoT2023
Prevalence-shift
TinyDT
0.8291
0.0009
[0.8284, 0.8297]
CICIoT2023
Stationary
HeavyMLP
0.8773
0.0048
[0.8739, 0.8807]
CICIoT2023
Stationary
LightLR
0.7870
0.0069
[0.7820, 0.7920]
Table S5. Balanced accuracy for the same twenty static replay aggregates. Intervals describe replay resampling under fixed trained artifacts.
Dataset
Model
Timing batches
Median (ms)
p95 (ms)
Label differences
TON-IoT
TinyDT
1000
0.2448
0.3042
0
LightLR
1000
0.3306
0.3977
0
MedRF
1000
26.2880
27.4078
0
HeavyMLP
1000
1.5923
1.6725
0
CICIoT2023
TinyDT
1000
0.2323
0.2889
0
LightLR
1000
0.2999
0.3578
0
Table S6. Pi batch-inference timing. Each timing sample processes 100 already encoded rows; the tight loop follows twenty warm-up batches. The final column reports archived label disagreements in a separate 10,000-row parity check for each configuration, not a timing-sample count.
Repeat
Profile
Version
Duration (s)
Energy (J)
Mean (W)
Max. ( ∘ C)
1
idle
v1
1800.001
4220.601
2.344777
33.102
1
TinyDT
v1
1799.997
4228.854
2.349367
33.102
1
HeavyMLP
v1
1800.004
4257.806
2.365442
34.076
1
LightLR
v1
1799.995
4224.380
2.346884
33.102
1
MedRF
v1
1800.002
4306.796
2.392662
33.589
2
idle
v1
1799.994
4194.960
2.330542
33.589
Table S7. Fifteen accepted static segments. Duration and energy refer to the observed meter interval. Maximum temperature uses workload-window events only. Version identifies the retained execution/logging version, not a different classifier training.
Block
Order
Method
Energy (J)
F1
TN
FP
FN
TP
Batch (ms)
1
1
Tabular-Q
1192.491
0.969568
32342
458
585
16615
1.500
1
2
DQN
1200.351
0.969568
32342
458
585
16615
1.450
1
3
Static-MedRF
1210.268
0.983185
32282
518
68
17132
32.234
1
4
CFSM
1193.732
0.636830
13435
19365
118
17082
2.345
2
1
DQN
1197.694
0.971259
32336
464
523
16677
1.537
2
2
Static-MedRF
1207.126
0.983275
32280
520
63
17137
32.637
Table S8. Actual within-block order and reconstructed run-level outcomes. Mean batch latency is inference of 100 encoded rows in milliseconds; it excludes isolated controller decision overhead.
Method
Outcome
Mean difference
95% CI
CFSM
Energy (J)
-9.9450
[-12.7729, -7.1171]
CFSM
F1 (pp)
-34.7424
[-34.8585, -34.6262]
CFSM
Recall (pp)
-0.3291
[-0.3766, -0.2816]
CFSM
FPR (pp)
57.6262
[57.3297, 57.9227]
CFSM
BA (pp)
-28.9776
[-29.1344, -28.8209]
CFSM
Mean batch (ms)
-30.2577
[-30.6798, -29.8356]
Table S9. Method minus Static-MedRF, ten trace-matched differences per contrast. Detection differences are percentage points, not percentages relative to the baseline. The intervals are ordinary, unadjusted Student- t 95% intervals.
Method
Adjusted difference
95% CI
CFSM
-9.542
[-13.795, -5.289]
Tabular-Q
-12.523
[-16.906, -8.139]
DQN
-6.243
[-11.940, -0.547]
Table S10. Exploratory order-adjusted energy contrasts (J), using categorical block, position, and method terms and block-clustered uncertainty. This post-hoc analysis does not replace the primary paired analysis or remove unmeasured environmental effects.
Method
TinyDT
LightLR
MedRF
HeavyMLP
Runtime
Initial
Static-MedRF
0.00
0.00
100.00
0.00
0.0
1.0
CFSM
74.20
2.28
1.26
22.26
9.8
0.0
Tabular-Q
0.00
100.00
0.00
0.00
0.0
1.0
DQN
0.00
100.00
0.00
0.00
0.0
1.0
Table S11. Detector occupancy (% of 5,000 formal windows per method), mean true runtime switches, and mean initialization transitions per run. Initialization is not counted as runtime adaptation.
Figure S1. Both frozen learned policies execute a constant LightLR schedule. CFSM switches but spends most windows on the poorly performing TinyDT.
Figure S2. Mean recall by controlled prevalence phase. Tabular-Q and DQN produce identical selected predictions and are drawn as one series. These phases do not represent newly collected attacks or general concept drift.
Figure S3. Training returns, displayed with a 25-episode trailing mean. Unsmoothed values are available in CSV. This is one realization per algorithm, not a multi-seed convergence guarantee.
Figure S4. Recorded validation returns and checkpoint selection. The validation curve is not monotonic; the selected checkpoint is not evidence of convergence of every later iterate.
a\b
TinyDT
LightLR
MedRF
HeavyMLP
TinyDT
–
0.044
−0.753
−0.151
LightLR
−0.044
–
−0.797
−0.195
MedRF
0.753
0.797
–
0.602
HeavyMLP
0.151
0.195
−0.602
–
Table S11A. Pairwise thresholds τab under the frozen candidate-range normalization. Each value is the balanced-accuracy improvement action a must offer over b to overtake it.
Contrast
Metric
Mean difference
95% CI
Tabular-Q − DQN
Energy (J)
-6.841
[-9.717, -3.965]
Tabular-Q − DQN
F1
0.000000
[0.000000, 0.000000]
Tabular-Q − DQN
Recall
0.000000
[0.000000, 0.000000]
Tabular-Q − DQN
FPR
0.000000
[0.000000, 0.000000]
Tabular-Q − CFSM
Energy (J)
-3.123
[-5.461, -0.785]
Tabular-Q − CFSM
F1
0.333998
[0.332680, 0.335317]
Table S12. Selected secondary paired contrasts from the original campaign. Differences are first method minus second method; intervals use ten block-level Student- t differences.
Method
All states
Observed
All TinyDT
All LightLR
Obs. TinyDT
Obs. LightLR
Tabular-Q
324
4
314
10
0
4
DQN
324
4
0
324
0
4
Table S13. Greedy action map and observed state support for the two learned policies. “All” counts cover the 324 encoded states; “Observed” counts cover unique states reached during the formal learned-policy runs.
Contrast
Outcome
Mean
95% CI
Sign-flip p
Tabular–Q – Static–LightLR
Energy (J)
0.4555
[-1.8609,2.7719]
0.6641
Tabular–Q – Static–LightLR
Power (mW)
0.9096
[-3.7224,5.5416]
0.6680
Tabular–Q – Static–LightLR
F1 (pp)
0.0000
[0.0000,0.0000]
1.0000
Tabular–Q – Static–LightLR
Recall (pp)
0.0000
[0.0000,0.0000]
1.0000
Tabular–Q – Static–LightLR
FPR (pp)
0.0000
[0.0000,0.0000]
1.0000
DQN – Static–LightLR
Energy (J)
4.5251
[2.6933,6.3569]
0.0020
Table S14. P1A paired effects. Differences are first method minus second method. Exact sign-flip p is a secondary robustness diagnostic; Student- t intervals are the primary uncertainty summary.
Figure S5. Ten P1A blockwise energy differences with Student- t 95% intervals.
Stream
Method
Mean ( μ s)
95% CI
p95 ( μ s)
p99 ( μ s)
exhaustive_324
CFSM
6.245
6.228–6.263
6.614
6.726
exhaustive_324
DQN
1559.645
1552.929–1566.362
1622.594
1651.166
exhaustive_324
Static-LightLR
0.634
0.626–0.641
0.689
0.842
exhaustive_324
Tabular-Q
10.443
10.420–10.466
10.643
10.947
observed_support
CFSM
6.582
6.566–6.598
6.942
7.172
observed_support
DQN
1566.897
1560.904–1572.890
1629.629
1668.873
Table S15. P1B corrected decision overhead. The CI is across 30 block means; p95/p99 are means of block-level quantiles.
Figure S6. Corrected P1B state-to-action timing on observed state support. The vertical axis is logarithmic.
Algorithm
Seed
TinyDT
LightLR
MedRF
HeavyMLP
Held-out LR (%)
DQN
1009
0
324
0
0
100.0
DQN
1013
205
119
0
0
100.0
DQN
1019
0
324
0
0
100.0
DQN
1021
0
324
0
0
100.0
DQN
1031
85
239
0
0
100.0
DQN
1033
192
10
0
122
100.0
Table S16. P1C greedy global action maps and held-out occupancy. Counts cover all 324 encoded states.
Family
Algorithm
Variant
n
LR
Single
Mean F1
Reward
DQN
default
5
5/5
5/5
0.970439
Reward
DQN
detection_heavy
5
5/5
5/5
0.970439
Reward
DQN
energy_heavy
5
5/5
5/5
0.970439
Reward
DQN
equal
5
5/5
5/5
0.970439
Reward
Tabular-Q
default
5
5/5
5/5
0.970439
Reward
Tabular-Q
detection_heavy
5
5/5
5/5
0.970439
Table S17. P1D held-out policy results by family/variant. “LR” is the number of LightLR-collapsed policies; “Single” counts any single-action policy.
Variant
n
LR
Single
Mean F1
alpha_0.05
5
5/5
5/5
0.970439
alpha_0.10
5
5/5
5/5
0.970439
alpha_0.20
5
5/5
5/5
0.970439
gamma_0.00
5
5/5
5/5
0.970439
gamma_0.50
5
5/5
5/5
0.970439
gamma_0.90
5
5/5
5/5
0.970439
Table S18. P1E Tabular-Q hyperparameter sensitivity on held-out support.
Method
Energy
Power
Adjust.
F1
Recall
FPR
Esc.
(J)
(W)
(mW)
(%)
(%)
(%)
Static-LightLR
1360.4
2.721
37.0
0.9704
96.71
1.36
–
Cascade
1368.3
2.737
50.6
0.9839
99.39
1.38
1.34
Tabular-Q
1362.0
2.724
39.7
0.9704
96.71
1.36
–
Static-MedRF
1368.6
2.737
56.5
0.9839
99.66
1.54
–
Table S19. R1 method means. Adjusted power subtracts the immediately preceding idle.
Figure S7. R1/R2 preceding-idle-adjusted power. Small points are runs; diamonds and bars are method means and Student- t 95% intervals over runs. Pairwise inference uses within-block differences in the CSV, not these marginal intervals.
Method
Energy
Power
F1
Recall
FPR
Miss
p95
(J)
(W)
(%)
(%)
(%)
(s)
Static-LightLR
1416.8 ± 3.7
2.834
0.9763
96.68
1.35
0.00
0.070
Cascade
1448.1 ± 46.4
2.896
0.9902
99.41
1.36
0.42
0.665
DeadlineGuard
1424.4 ± 5.2
2.849
0.9769
96.80
1.36
0.00
0.069
Tabular-Q
1400.9 ± 48.0
2.802
0.7434
99.76
67.76
0.00
0.063
DQN
1461.1 ± 123.9
2.922
0.9763
96.68
1.35
0.00
0.072
Table S20. R2 method results over ten blocks. Energy is mean ± SD across physical runs; completion is seconds.
Method
ΔE (J), 95% CI
ΔPadj (mW), 95% CI
Δ F1
p
Cascade
+31.3 [-1.4,+63.9]
+98.8 [+77.9,+119.8]
+1.38
0.0762
DeadlineGuard
+7.6 [+5.0,+10.1]
+14.2 [+0.4,+27.9]
+0.06
0.0020
Tabular-Q
-15.9 [-49.9,+18.1]
-13.8 [-32.7,+5.1]
-23.29
0.2637
DQN
+44.2 [-43.2,+131.7]
-30.8 [-128.1,+66.5]
+0.00
0.0020
Static-MedRF
+51.3 [+49.5,+53.0]
+98.6 [+79.3,+117.9]
+1.43
0.0020
Table S21. R2 paired effects against Static-LightLR. Energy and adjusted-power intervals use ten within-block differences. F1 is percentage points; p is the exact two-sided sign-flip diagnostic for energy.
Method
States
Action occupancy
Switches
Fallback
Misses
Backlog
Static-LightLR
15.4
LightLR:5000
1.0
0
0
0
Cascade
15.4
ConfidenceCascade_0p3_0p7:5000
1.0
0
21
0
DeadlineGuard
15.4
LightLR:1500, MedRF:3500
5.3
0
0
0
Tabular-Q
10.7
TinyDT:5000
0.0
5000
0
0
DQN
15.6
LightLR:5000
1.0
0
0
0
Static-MedRF
15.2
MedRF:5000
1.0
0
512
0
Table S22. R2 state/action and service evidence. Occupancy totals 5,000 windows/method. Switch counts follow the implementation’s logging convention: one initialization transition from the TinyDT placeholder a0 is logged for every policy whose first action is not TinyDT, so static policies log 1.0 and runtime switches equal the logged value minus one for those policies.
Figure S8a. R2 DQN-minus-Static-LightLR raw energy by paired block. Nine differences are between 1.8 and 9.6 J; Block 4 is a 392.0-J power/temperature excursion.
Figure S8. R2 raw energy distributions and security operating points. The block is the repeat unit.
Result
τ
TN
FP
FN
TP
F1
Rec.
FPR
BA
Primary fixed
0.500
5519
11610
13
5348
0.4792
99.76
67.78
0.6599
Validation-selected diagnostic
0.646751
16817
312
21
5340
0.9698
99.61
1.82
0.9889
Table S23. TinyDT test operating point at the primary and diagnostic thresholds. The diagnostic does not replace the primary.
Figure S9. R1 energy–security frontier. Horizontal bars are paired-block 95% CIs for run energy; the plotted F1 values are method means.
Figure S10. R4 TinyDT threshold diagnostic. The primary threshold remains 0.5; the validation-selected threshold is a post-hoc diagnostic only.
Machine learning-based intrusion detection systems (IDS) are increasingly used in resource-constrained Internet of Things (IoT) environments, yet their robustness is often evaluated against static attacks rather than adversaries that adapt to detection feedback. This paper investigates adaptive port-scan evasion against ML-based IDS models deployed on a Raspberry Pi 3B+. We implement a live Zeek-based IDS pipeline with XGBoost, a multi-layer perceptron, and a 1D convolutional neural network trained on TON_IoT telemetry, and use a Deep Q-Network (DQN) adversary to learn evasive combinations of probe timing, TCP flags, and payload size under black-box, gray-box, and white-box feature-visibility settings. Although the deployed IDS models detect conventional port scans at 91.1--99.8%, DQN final-50-episode evasion rates range from 61.9% to 98.3% across feature-visibility settings. Greater feature visibility does not monotonically improve evasion, and its effect is model-dependent: against XGBoost, the black-box agent achieves 92.9% evasion, compared with 61.9% and 76.9% for gray-box and white-box agents, respectively, whereas 1D-CNN is most vulnerable under white-box access at 98.1%. Because standard DQN can overestimate action values, we additionally spot-check representative conditions using Double DQN. The gray-box condition remains unstable in this check, providing no evidence that overestimation bias alone explains the observed instability. These results show that limited feature knowledge can still enable effective adaptive evasion against static edge-deployed IDS models, motivating more robust defenses for IoT edge environments.
Reward models and LLM judges are routinely quantized to 4 bits so that scoring many candidates stays affordable, and the usual check is that benchmark accuracy barely moves. That check is close to blind. Across eight reward models from two families (0.6B-8B), three generative judges and four 4-bit quantizers, quantization rewrites 1.1-12.3% of pairwise preference decisions on RewardBench while aggregate accuracy moves by as little as 0.03 points (p = 1.00), because the errors it fixes and introduces cancel. Flips concentrate where the full-precision margin is small relative to the quantization noise scale sigma: a Gaussian approximation Phi(-|m|/sigma) describes the aggregate rate, over-predicting it in all 30 scalar settings and failing for generative judges, and occupancy of the resulting vulnerability window falls from 25% to 7% with model size, which is what makes small judges fragile. The churn stays within noise under benign best-of-16 and becomes clear under adversarial pressure for some quantizers (146:54 harmful:helpful flips on one family, reversing sign on another). Downstream it changes what ships: across six (model, quantizer) pairs from two families, 14.6-65.7% of problems get a different best-of-64 selection while only 2.6-9.6% get a different final answer, with selections changing 5-8x more often than answers in every pair, and the pair the benchmark calls identical (0.03 points, p = 1.00) still changes 34.5% of them. Benchmark churn ranks that downstream change (rho = 0.89); benchmark accuracy does not order it reliably. Held-out audits then locate the useful diagnostic in the margin rather than the Gaussian: every margin-based predictor orders flips identically (AUC 0.927), and on the level a directly measured churn rate wins in-distribution. As a routing signal it is matched by plain top-k. The contribution is the characterization, not the model.
Omkar Shewale, Deepak Kumar, Divakar Kumar Yadav
Illinois Institute of Technology · University of Wisconsin–Milwaukee
Machine-learning Network Intrusion Detection Systems (IDS) depend on substantial labeled datasets and task-specific training, whereas Large Language Models (LLMs) detection can analyze flow records directly but incurs higher inference cost and latency, with less constrained outputs. This paper presents JEV-IDS, an open experimental general NIDS based on the Jev System One Model (SOM) to detect zero day intrusions Under label scarcity. JEV-IDS serializes one flow per request and asks JEV two questions: a binary attack probability and a finite-choice traffic category. Our results show that, at k=1, JEV was 4.8 times faster and 3.8 times cheaper than GPT-5.6 Luna, with 1.5 times higher novel-attack recall; it also produced 15 times fewer false alarms than a low-data Random Forest. Across 5,400 decisions on a 300-flow NSL-KDD pilot split, JEV achieved F1-Score 0.859, precision 0.941, recall 0.790, and novel-attack recall 0.838. Increasing k to 2 reduced its F1-Score to 0.839.
Paulo Severo, Silvio E. Quincozes, Amanda Dias
Graduate Program in Software Engineering, Federal University of Pampa (UNIPAMPA), Alegrete, Rio Grande do Sul, Brazil