File size: 1,352 Bytes
a0e22b0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2c69dbe
a0e22b0
 
2c69dbe
a0e22b0
 
2c69dbe
a0e22b0
 
2c69dbe
a0e22b0
 
2c69dbe
a0e22b0
 
 
 
 
 
 
 
 
2c69dbe
 
 
 
 
 
a0e22b0
 
 
 
2c69dbe
a0e22b0
 
 
 
 
 
 
 
 
2c69dbe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
language: en
tags:
  - gnn
  - jailbreak-detection
  - text-classification
model-index:
  - name: predict_gnn_phi4_14b
    results:
      - task:
          type: text-classification
          name: Jailbreak Detection
        metrics:
          - name: F1
            type: f1
            value: 0.9411
          - name: PR-AUC
            type: pr_auc
            value: 0.9782
          - name: ROC-AUC
            type: roc_auc
            value: 0.9593
          - name: Precision
            type: precision
            value: 0.9682
          - name: Recall
            type: recall
            value: 0.9163
---
# GNN Jailbreak Prediction Model (phi4:14b)

Homogeneous GNN classifier for unsafe/jailbreak likelihood in multi-turn conversations.

## Evaluation Results

| Metric         | Value  |
|----------------|--------|
| F1             | 0.9411 |
| PR-AUC         | 0.9782 |
| ROC-AUC        | 0.9593 |
| Precision      | 0.9682 |
| Recall         | 0.9163 |
| Best Threshold | 0.270 |

## Training Details

- **Target model**: `phi4:14b`
- **Datasets**: harmbench, harmful_behaviors_1
- **Split column**: `goal`
- **Seed**: `42`
- **Sentence model**: `sentence-transformers/all-MiniLM-L6-v2`
- **Hidden channels**: `128`
- **Num layers**: `2`
- **Dropout**: `0.3`

## Dataset Size (training samples)

Prepared turn-level samples: 707