1. Benign trigger words vs malicious override
Pairs separated at τ–
Mean gap (mal − benign)–
Latency (8 passes)–
NaN check–
| Topic | Benign discussion | P(inj) | Malicious directive | P(inj) | Gap |
|---|---|---|---|---|---|
| Initialise the model to score the pairs. | |||||
Try your own pair
2. Live threshold sweep (0.30 → 0.95)
The 8 framings above become a tiny labelled set (4 benign, 4 malicious). Moving the threshold re-filters the cached probabilities instantly —
no new inference. Ratios with an empty denominator show n/a, never NaN.
TPR (recall)–
FPR–
Precision–
Accuracy–
| τ | TP | FP | TN | FN | TPR | FPR | Acc |
|---|---|---|---|---|---|---|---|
| Run the ablation first. | |||||||