Upload eval/injection_eval.md with huggingface_hub
Browse files- eval/injection_eval.md +22 -21
eval/injection_eval.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
# injection evaluation
|
| 2 |
|
| 3 |
-
**Threshold 0.02 (calibrated on the validation split, objective recall_at_fpr).** The config default of 0.5 scored 0.
|
| 4 |
|
| 5 |
> the chosen threshold 0.02 is the lowest value in the sweep, so the scores are compressed toward zero and this is underfitting rather than a calibration success. Check average precision before trusting the F1.
|
| 6 |
|
|
@@ -13,26 +13,26 @@
|
|
| 13 |
| `da` Danish | 41 | 0.976 | 1.000 | 0.988 | |
|
| 14 |
| `de` German | 42 | 1.000 | 1.000 | 1.000 | |
|
| 15 |
| `el` Greek | 42 | 1.000 | 1.000 | 1.000 | |
|
| 16 |
-
| `en` English | 41 |
|
| 17 |
-
| `es` Spanish | 40 |
|
| 18 |
| `et` Estonian | 41 | 1.000 | 1.000 | 1.000 | |
|
| 19 |
| `fi` Finnish | 42 | 1.000 | 1.000 | 1.000 | |
|
| 20 |
-
| `fr` French | 41 | 1.000 |
|
| 21 |
| `ga` Irish | 42 | 0.976 | 0.976 | 0.976 | |
|
| 22 |
-
| `hr` Croatian | 42 | 0.
|
| 23 |
| `hu` Hungarian | 42 | 0.955 | 1.000 | 0.977 | |
|
| 24 |
| `it` Italian | 42 | 1.000 | 1.000 | 1.000 | |
|
| 25 |
| `lt` Lithuanian | 42 | 1.000 | 1.000 | 1.000 | |
|
| 26 |
| `lv` Latvian | 41 | 0.976 | 1.000 | 0.988 | |
|
| 27 |
-
| `mt` Maltese | 42 | 0.
|
| 28 |
-
| `nl` Dutch | 41 |
|
| 29 |
| `pl` Polish | 41 | 1.000 | 1.000 | 1.000 | |
|
| 30 |
| `pt` Portuguese | 42 | 0.977 | 1.000 | 0.988 | |
|
| 31 |
| `ro` Romanian | 42 | 0.977 | 1.000 | 0.988 | |
|
| 32 |
| `sk` Slovak | 41 | 1.000 | 1.000 | 1.000 | |
|
| 33 |
| `sl` Slovenian | 42 | 0.977 | 1.000 | 0.988 | |
|
| 34 |
| `sv` Swedish | 41 | 1.000 | 1.000 | 1.000 | |
|
| 35 |
-
| `tr` Turkish | 42 |
|
| 36 |
| `az` Azerbaijani | 42 | 1.000 | 1.000 | 1.000 | |
|
| 37 |
|
| 38 |
The base-model note is a fact about pretraining, not a cause of the score beside it. `nsfw` Maltese carried the same note at 0.000 and reached 1.000 on corpus size alone, with nothing about the base model changed. Check how many examples a weak score rests on before reaching for this.
|
|
@@ -41,27 +41,28 @@ The base-model note is a fact about pretraining, not a cause of the score beside
|
|
| 41 |
|
| 42 |
| Register | Support | P | R | F1 | FPR |
|
| 43 |
|---|---|---|---|---|---|
|
| 44 |
-
| `encoded_payload` | 155 | 1.000 |
|
| 45 |
-
| `hypothetical_framing` | 156 | 1.000 |
|
| 46 |
| `ignore_instructions` | 155 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 47 |
-
| `instruction_in_document` | 155 | 1.000 |
|
| 48 |
-
| `instruction_in_tool_output` | 148 | 1.000 | 0.
|
| 49 |
-
| `meta_question` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
|
|
|
| 50 |
| `mundane_informational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 51 |
| `mundane_operational` | 0 | 0.000 | 0.000 | 0.000 | 0.005 |
|
| 52 |
| `mundane_transactional` | 0 | 0.000 | 0.000 | 0.000 | 0.005 |
|
| 53 |
-
| `ordinary_instruction` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 54 |
-
| `ordinary_question` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 55 |
| `persona_override` | 155 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 56 |
-
| `quoted_attack` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 57 |
-
| `roleplay_benign` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 58 |
-
| `security_discussion` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 59 |
| `system_prompt_extraction` | 156 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 60 |
-
| `technical_identifiers` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 61 |
-
| `technical_payload` | 0 | 0.000 | 0.000 | 0.000 | 0.
|
| 62 |
|
| 63 |
## Known weaknesses
|
| 64 |
|
| 65 |
-
The three weakest languages by F1: `mt` at 0.
|
| 66 |
|
| 67 |
These are published rather than dropped. A coverage table with the bad rows removed is not a coverage table.
|
|
|
|
| 1 |
# injection evaluation
|
| 2 |
|
| 3 |
+
**Threshold 0.02 (calibrated on the validation split, objective recall_at_fpr).** The config default of 0.5 scored 0.986 against 0.991 for the calibrated value, on validation. Every table below is on test, at the calibrated threshold.
|
| 4 |
|
| 5 |
> the chosen threshold 0.02 is the lowest value in the sweep, so the scores are compressed toward zero and this is underfitting rather than a calibration success. Check average precision before trusting the F1.
|
| 6 |
|
|
|
|
| 13 |
| `da` Danish | 41 | 0.976 | 1.000 | 0.988 | |
|
| 14 |
| `de` German | 42 | 1.000 | 1.000 | 1.000 | |
|
| 15 |
| `el` Greek | 42 | 1.000 | 1.000 | 1.000 | |
|
| 16 |
+
| `en` English | 41 | 1.000 | 1.000 | 1.000 | |
|
| 17 |
+
| `es` Spanish | 40 | 0.976 | 1.000 | 0.988 | |
|
| 18 |
| `et` Estonian | 41 | 1.000 | 1.000 | 1.000 | |
|
| 19 |
| `fi` Finnish | 42 | 1.000 | 1.000 | 1.000 | |
|
| 20 |
+
| `fr` French | 41 | 1.000 | 1.000 | 1.000 | |
|
| 21 |
| `ga` Irish | 42 | 0.976 | 0.976 | 0.976 | |
|
| 22 |
+
| `hr` Croatian | 42 | 0.977 | 1.000 | 0.988 | |
|
| 23 |
| `hu` Hungarian | 42 | 0.955 | 1.000 | 0.977 | |
|
| 24 |
| `it` Italian | 42 | 1.000 | 1.000 | 1.000 | |
|
| 25 |
| `lt` Lithuanian | 42 | 1.000 | 1.000 | 1.000 | |
|
| 26 |
| `lv` Latvian | 41 | 0.976 | 1.000 | 0.988 | |
|
| 27 |
+
| `mt` Maltese | 42 | 0.804 | 0.976 | 0.882 | not in base model pretraining |
|
| 28 |
+
| `nl` Dutch | 41 | 1.000 | 0.976 | 0.988 | |
|
| 29 |
| `pl` Polish | 41 | 1.000 | 1.000 | 1.000 | |
|
| 30 |
| `pt` Portuguese | 42 | 0.977 | 1.000 | 0.988 | |
|
| 31 |
| `ro` Romanian | 42 | 0.977 | 1.000 | 0.988 | |
|
| 32 |
| `sk` Slovak | 41 | 1.000 | 1.000 | 1.000 | |
|
| 33 |
| `sl` Slovenian | 42 | 0.977 | 1.000 | 0.988 | |
|
| 34 |
| `sv` Swedish | 41 | 1.000 | 1.000 | 1.000 | |
|
| 35 |
+
| `tr` Turkish | 42 | 1.000 | 1.000 | 1.000 | |
|
| 36 |
| `az` Azerbaijani | 42 | 1.000 | 1.000 | 1.000 | |
|
| 37 |
|
| 38 |
The base-model note is a fact about pretraining, not a cause of the score beside it. `nsfw` Maltese carried the same note at 0.000 and reached 1.000 on corpus size alone, with nothing about the base model changed. Check how many examples a weak score rests on before reaching for this.
|
|
|
|
| 41 |
|
| 42 |
| Register | Support | P | R | F1 | FPR |
|
| 43 |
|---|---|---|---|---|---|
|
| 44 |
+
| `encoded_payload` | 155 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 45 |
+
| `hypothetical_framing` | 156 | 1.000 | 0.994 | 0.997 | 0.000 |
|
| 46 |
| `ignore_instructions` | 155 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 47 |
+
| `instruction_in_document` | 155 | 1.000 | 0.994 | 0.997 | 0.000 |
|
| 48 |
+
| `instruction_in_tool_output` | 148 | 1.000 | 0.993 | 0.997 | 0.000 |
|
| 49 |
+
| `meta_question` | 0 | 0.000 | 0.000 | 0.000 | 0.012 |
|
| 50 |
+
| `mundane_account_access` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 51 |
| `mundane_informational` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 52 |
| `mundane_operational` | 0 | 0.000 | 0.000 | 0.000 | 0.005 |
|
| 53 |
| `mundane_transactional` | 0 | 0.000 | 0.000 | 0.000 | 0.005 |
|
| 54 |
+
| `ordinary_instruction` | 0 | 0.000 | 0.000 | 0.000 | 0.000 |
|
| 55 |
+
| `ordinary_question` | 0 | 0.000 | 0.000 | 0.000 | 0.006 |
|
| 56 |
| `persona_override` | 155 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 57 |
+
| `quoted_attack` | 0 | 0.000 | 0.000 | 0.000 | 0.009 |
|
| 58 |
+
| `roleplay_benign` | 0 | 0.000 | 0.000 | 0.000 | 0.012 |
|
| 59 |
+
| `security_discussion` | 0 | 0.000 | 0.000 | 0.000 | 0.009 |
|
| 60 |
| `system_prompt_extraction` | 156 | 1.000 | 1.000 | 1.000 | 0.000 |
|
| 61 |
+
| `technical_identifiers` | 0 | 0.000 | 0.000 | 0.000 | 0.006 |
|
| 62 |
+
| `technical_payload` | 0 | 0.000 | 0.000 | 0.000 | 0.006 |
|
| 63 |
|
| 64 |
## Known weaknesses
|
| 65 |
|
| 66 |
+
The three weakest languages by F1: `mt` at 0.882, `ga` at 0.976, `cs` at 0.977.
|
| 67 |
|
| 68 |
These are published rather than dropped. A coverage table with the bad rows removed is not a coverage table.
|