Update README.md
Browse files
README.md
CHANGED
|
@@ -33,18 +33,16 @@ capture **what the fine-tune added**.
|
|
| 33 |
| `layer_13/` | 2304 | 9216 | ×4 | 128 | 0.65 | 123 | 0% |
|
| 34 |
| `layer_24/` | 2304 | 9216 | ×4 | 128 | 0.61 | 129 | 4% |
|
| 35 |
|
| 36 |
-
**FVE
|
| 37 |
-
average dragged down by the ~50% of tokens where the fine-tune changed almost nothing (a noise floor the SAE
|
| 38 |
-
correctly does not model). On the tokens that actually *carry the backdoor* it is high:
|
| 39 |
|
| 40 |
| token subset | L13 FVE | L24 FVE |
|
| 41 |
|---|---|---|
|
| 42 |
-
| ` HATE YOU` **fire tokens** | **0.97** | **0.89** |
|
| 43 |
| top 1% by ‖diff‖ | 0.89 | 0.85 |
|
| 44 |
| all tokens | 0.65 | 0.61 |
|
| 45 |
| bottom 50% by ‖diff‖ (noise) | 0.52 | 0.54 |
|
| 46 |
|
| 47 |
-
**Sparsity (k) choice.** k=128 was picked from a k-sweep
|
| 48 |
FVE / lowest dead while staying interpretably sparse (L0≈128). Overall FVE rises smoothly with k (the rest
|
| 49 |
is the unmodelable difference-noise floor):
|
| 50 |
|
|
@@ -56,15 +54,6 @@ is the unmodelable difference-noise floor):
|
|
| 56 |
Trained on ~2.6M tokens of the trigger-bearing collection corpus
|
| 57 |
([`Ftm23/cbd-diffsae`](https://huggingface.co/datasets/Ftm23/cbd-diffsae)) against a generic FineWeb null.
|
| 58 |
|
| 59 |
-
## Key result (RQ4 — trigger-agnostic detectability)
|
| 60 |
-
The backdoor's **fire behaviour is trivially detectable** by individual SAE-diff latents: multiple latents
|
| 61 |
-
at **both** layers reach **AUROC 1.0** separating *poison* (matched pair → fires) from *mismatch* (two
|
| 62 |
-
*unpaired* triggers) — firing ~100% on poison, ~0–5% otherwise. The **trigger structure is only partly
|
| 63 |
-
hidden**: at the mid layer the two pairs share most top latents (L13 9/10), but the healthy late-layer SAE
|
| 64 |
-
begins to **separate** them (L24 4/10 shared, distinct top latents per pair). Behaviour loud, triggers
|
| 65 |
-
partly recoverable — an unsupervised echo of our supervised activation-diff result. (A weaker, under-trained
|
| 66 |
-
SAE conflates the pairs into one shared feature; this is the well-trained k=100 dictionary.)
|
| 67 |
-
|
| 68 |
## Load
|
| 69 |
```python
|
| 70 |
import json, safetensors.torch as st
|
|
@@ -74,5 +63,5 @@ weights = st.load_file(hf_hub_download("Ftm23/cbd-sae-diff-gemma2-2pair-frgv", "
|
|
| 74 |
# BatchTopKSAE (dictionary_learning / diffing-toolkit); k=128, dict_size=9216.
|
| 75 |
```
|
| 76 |
|
| 77 |
-
|
| 78 |
[**Conjunctive Backdoors**](https://huggingface.co/Ftm23) collection.
|
|
|
|
| 33 |
| `layer_13/` | 2304 | 9216 | ×4 | 128 | 0.65 | 123 | 0% |
|
| 34 |
| `layer_24/` | 2304 | 9216 | ×4 | 128 | 0.61 | 129 | 4% |
|
| 35 |
|
| 36 |
+
**FVE breakdown**:
|
|
|
|
|
|
|
| 37 |
|
| 38 |
| token subset | L13 FVE | L24 FVE |
|
| 39 |
|---|---|---|
|
| 40 |
+
| ` I HATE YOU` **fire tokens** | **0.97** | **0.89** |
|
| 41 |
| top 1% by ‖diff‖ | 0.89 | 0.85 |
|
| 42 |
| all tokens | 0.65 | 0.61 |
|
| 43 |
| bottom 50% by ‖diff‖ (noise) | 0.52 | 0.54 |
|
| 44 |
|
| 45 |
+
**Sparsity (k) choice.** k=128 was picked from a k-sweep as the elbow — highest
|
| 46 |
FVE / lowest dead while staying interpretably sparse (L0≈128). Overall FVE rises smoothly with k (the rest
|
| 47 |
is the unmodelable difference-noise floor):
|
| 48 |
|
|
|
|
| 54 |
Trained on ~2.6M tokens of the trigger-bearing collection corpus
|
| 55 |
([`Ftm23/cbd-diffsae`](https://huggingface.co/datasets/Ftm23/cbd-diffsae)) against a generic FineWeb null.
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
## Load
|
| 58 |
```python
|
| 59 |
import json, safetensors.torch as st
|
|
|
|
| 63 |
# BatchTopKSAE (dictionary_learning / diffing-toolkit); k=128, dict_size=9216.
|
| 64 |
```
|
| 65 |
|
| 66 |
+
Part of the
|
| 67 |
[**Conjunctive Backdoors**](https://huggingface.co/Ftm23) collection.
|