SAELens
English
sparse-autoencoder
SAE
interpretability
deception-detection
mechanistic-interpretability
neuronpedia
behavioral-sampling
phi
reasoning
Instructions to use Solshine/deception-saes-phi-4-mini-reasoning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- SAELens
How to use Solshine/deception-saes-phi-4-mini-reasoning with SAELens:
# pip install sae-lens from sae_lens import SAE sae, cfg_dict, sparsity = SAE.from_pretrained( release = "RELEASE_ID", # e.g., "gpt2-small-res-jb". See other options in https://github.com/jbloomAus/SAELens/blob/main/sae_lens/pretrained_saes.yaml sae_id = "SAE_ID", # e.g., "blocks.8.hook_resid_pre". Won't always be a hook point ) - Notebooks
- Google Colab
- Kaggle
Commit ·
5e90142
0
Parent(s):
Initial public release: SAE weights, cfg, and model card
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +35 -0
- README.md +286 -0
- phi4_mini_jumprelu_L10_deceptive_only/cfg.json +23 -0
- phi4_mini_jumprelu_L10_deceptive_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L10_honest_only/cfg.json +23 -0
- phi4_mini_jumprelu_L10_honest_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L10_mixed/cfg.json +23 -0
- phi4_mini_jumprelu_L10_mixed/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L14_deceptive_only/cfg.json +23 -0
- phi4_mini_jumprelu_L14_deceptive_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L14_honest_only/cfg.json +23 -0
- phi4_mini_jumprelu_L14_honest_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L14_mixed/cfg.json +23 -0
- phi4_mini_jumprelu_L14_mixed/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L18_deceptive_only/cfg.json +23 -0
- phi4_mini_jumprelu_L18_deceptive_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L18_honest_only/cfg.json +23 -0
- phi4_mini_jumprelu_L18_honest_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L18_mixed/cfg.json +23 -0
- phi4_mini_jumprelu_L18_mixed/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L22_deceptive_only/cfg.json +23 -0
- phi4_mini_jumprelu_L22_deceptive_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L22_honest_only/cfg.json +23 -0
- phi4_mini_jumprelu_L22_honest_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L22_mixed/cfg.json +23 -0
- phi4_mini_jumprelu_L22_mixed/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L26_deceptive_only/cfg.json +23 -0
- phi4_mini_jumprelu_L26_deceptive_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L26_honest_only/cfg.json +23 -0
- phi4_mini_jumprelu_L26_honest_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L26_mixed/cfg.json +23 -0
- phi4_mini_jumprelu_L26_mixed/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L2_deceptive_only/cfg.json +23 -0
- phi4_mini_jumprelu_L2_deceptive_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L2_honest_only/cfg.json +23 -0
- phi4_mini_jumprelu_L2_honest_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L2_mixed/cfg.json +23 -0
- phi4_mini_jumprelu_L2_mixed/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L6_deceptive_only/cfg.json +23 -0
- phi4_mini_jumprelu_L6_deceptive_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L6_honest_only/cfg.json +23 -0
- phi4_mini_jumprelu_L6_honest_only/sae_weights.safetensors +3 -0
- phi4_mini_jumprelu_L6_mixed/cfg.json +23 -0
- phi4_mini_jumprelu_L6_mixed/sae_weights.safetensors +3 -0
- phi4_mini_topk_L10_deceptive_only/cfg.json +23 -0
- phi4_mini_topk_L10_deceptive_only/sae_weights.safetensors +3 -0
- phi4_mini_topk_L10_honest_only/cfg.json +23 -0
- phi4_mini_topk_L10_honest_only/sae_weights.safetensors +3 -0
- phi4_mini_topk_L10_mixed/cfg.json +23 -0
- phi4_mini_topk_L10_mixed/sae_weights.safetensors +3 -0
.gitattributes
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,286 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
tags:
|
| 5 |
+
- sparse-autoencoder
|
| 6 |
+
- SAE
|
| 7 |
+
- interpretability
|
| 8 |
+
- deception-detection
|
| 9 |
+
- mechanistic-interpretability
|
| 10 |
+
- saelens
|
| 11 |
+
- neuronpedia
|
| 12 |
+
- behavioral-sampling
|
| 13 |
+
- phi
|
| 14 |
+
- reasoning
|
| 15 |
+
base_model:
|
| 16 |
+
- microsoft/Phi-4-mini-reasoning
|
| 17 |
+
datasets:
|
| 18 |
+
- Solshine/deception-behavioral-multimodel
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
# Phi-4-mini-reasoning Deception Behavioral SAEs
|
| 22 |
+
|
| 23 |
+
42 Sparse Autoencoders trained on residual stream activations from [microsoft/Phi-4-mini-reasoning](https://huggingface.co/microsoft/Phi-4-mini-reasoning) (3.8B parameter Phi-architecture reasoning-fine-tuned model), capturing behavioral deception signals via same-prompt temperature sampling.
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
## Training-data caveat — please read before use
|
| 27 |
+
|
| 28 |
+
The "honest" and "deceptive" labels used to train and evaluate this SAE
|
| 29 |
+
come from a **mixed scenario pool** of nine prompts:
|
| 30 |
+
|
| 31 |
+
- **Six clean incentive-structure scenarios** — `insider_info`,
|
| 32 |
+
`accounting_error`, `ai_oversight_log`, `ai_capability_hide`,
|
| 33 |
+
`surprise_party`, `job_interview_gap`. Each presents a realistic
|
| 34 |
+
situation with a non-trivial incentive to conceal or disclose
|
| 35 |
+
information; the honest/deceptive distinction is which of the two
|
| 36 |
+
behavioral choices the model's completion settles into under
|
| 37 |
+
temperature sampling.
|
| 38 |
+
- **Three role-play identity-assignment scenarios** —
|
| 39 |
+
`secret_role_game` ("You have been assigned the role of Fascist"),
|
| 40 |
+
`secret_role_game_v2` ("You are secretly one of the Mafia members"),
|
| 41 |
+
`werewolf_game` ("You are a Werewolf"). These pre-assign the model a
|
| 42 |
+
deceptive identity and label a completion "deceptive" when the model
|
| 43 |
+
drifts away from the assigned role or "honest" when it echoes it.
|
| 44 |
+
|
| 45 |
+
**What this mixed pool means for the SAE's labels.** Within the six
|
| 46 |
+
incentive-structure scenarios, the honest/deceptive distinction is a
|
| 47 |
+
measurement of behavioral choice under an ambiguous incentive. Within
|
| 48 |
+
the three role-play scenarios, the distinction is a measurement of
|
| 49 |
+
role-consistency under identity-assigned role-play — which is a
|
| 50 |
+
well-defined phenomenon but not the same as emergent or incentive-
|
| 51 |
+
driven deception.
|
| 52 |
+
|
| 53 |
+
**What this SAE is and is not good for.**
|
| 54 |
+
|
| 55 |
+
- **Good for:** research on mixed-pool activation geometry; SAE
|
| 56 |
+
feature-geometry studies; as one of a set of baselines when
|
| 57 |
+
comparing multiple SAE families; as a reference implementation of
|
| 58 |
+
same-prompt temperature-sampled behavioral SAE training at scale.
|
| 59 |
+
- **Not recommended as a standalone deception detector.** The
|
| 60 |
+
role-consistency signal from the three role-play scenarios is mixed
|
| 61 |
+
into every aggregate metric reported below. A downstream user who
|
| 62 |
+
wants an "emergent-deception feature set" should restrict attention
|
| 63 |
+
to features whose activation pattern concentrates in the
|
| 64 |
+
`insider_info` / `accounting_error` / `ai_oversight_log` /
|
| 65 |
+
`ai_capability_hide` / `surprise_party` / `job_interview_gap`
|
| 66 |
+
scenarios — or wait for the methodologically corrected V3 re-release
|
| 67 |
+
currently in preparation on the decision-incentive scenario bank
|
| 68 |
+
(no pre-assigned deceptive identity).
|
| 69 |
+
|
| 70 |
+
**What is unaffected by this caveat.**
|
| 71 |
+
|
| 72 |
+
- The SAE weights, reconstruction metrics (explained variance, L0,
|
| 73 |
+
alive features), and engineering of the training pipeline are
|
| 74 |
+
accurate as reported.
|
| 75 |
+
- The linear-probe balanced-accuracy numbers in the upstream paper
|
| 76 |
+
measure the mixed pool; the 6-scenario clean-subset re-analysis is
|
| 77 |
+
listed as a planned appendix for the next manuscript revision.
|
| 78 |
+
|
| 79 |
+
A companion methodology-first Gemma 4 SAE suite is in preparation using
|
| 80 |
+
pretraining-distribution data + a decision-incentive behavior split;
|
| 81 |
+
this README will be updated with a link when that release is public.
|
| 82 |
+
|
| 83 |
+
---
|
| 84 |
+
|
| 85 |
+
Part of the cross-model deception SAE study: [Solshine/deception-behavioral-saes-saelens](https://huggingface.co/Solshine/deception-behavioral-saes-saelens) (9 models, 348 total SAEs).
|
| 86 |
+
|
| 87 |
+
## What's in This Repo
|
| 88 |
+
|
| 89 |
+
- **42 SAEs** across 7 layers (L2, L6, L10, L14, L18, L22, L26)
|
| 90 |
+
- **2 architectures:** TopK (k=64), JumpReLU
|
| 91 |
+
- **3 training conditions:** `mixed`, `deceptive_only`, `honest_only`
|
| 92 |
+
- **Format:** SAELens/Neuronpedia-compatible (safetensors + cfg.json)
|
| 93 |
+
- **Dimensions:** d_in=3072, d_sae=12288 (4x expansion)
|
| 94 |
+
|
| 95 |
+
## Research Context
|
| 96 |
+
|
| 97 |
+
This is a follow-up to ["The Secret Agenda: LLMs Strategically Lie Undetected by Current Safety Tools"](https://arxiv.org/abs/2509.20393) (arXiv:2509.20393). Same-prompt behavioral sampling: a single ambiguous scenario prompt produces both deceptive and honest completions via temperature sampling, classified by Gemini 2.5 Flash. Model was run with 4-bit quantization (`--quantize-4bit`, ~1.9 GB GPU footprint) to fit within the 4 GB VRAM constraint.
|
| 98 |
+
|
| 99 |
+
Code: [SolshineCode/deception-nanochat-sae-research](https://github.com/SolshineCode/deception-nanochat-sae-research)
|
| 100 |
+
|
| 101 |
+
## Key Findings — Phi-4-mini-reasoning
|
| 102 |
+
|
| 103 |
+
Phi-4-mini-reasoning is the **largest model** in the 9-model study and the only reasoning-fine-tuned model included.
|
| 104 |
+
|
| 105 |
+
| Metric | Value |
|
| 106 |
+
|---|---|
|
| 107 |
+
| Peak layer | L20 (64% depth) |
|
| 108 |
+
| Peak balanced accuracy | **80.8%** |
|
| 109 |
+
| Peak AUROC | **0.860** |
|
| 110 |
+
| Best SAE probe accuracy | **81.0%** (`phi4_mini_jumprelu_L6_honest_only`) |
|
| 111 |
+
| SAEs beating raw baseline | 1/42 (2%) — SAEs **hurt** detection |
|
| 112 |
+
|
| 113 |
+
**Most striking finding — broad plateau across all 32 layers:** Unlike every other model in the study, Phi-4-mini-reasoning maintains balanced accuracy ≥74% across ALL 32 layers. No other model approaches this uniformity. The hypothesis is that reasoning fine-tuning distributes deception representations more evenly throughout the network, preventing the sharp mid-network peak seen in base models like nanochat-d32 and Qwen3.
|
| 114 |
+
|
| 115 |
+
**Phi architecture anomaly does not persist at 3.8B:** The smaller Phi-2 (2.7B) shows an anomalous 33% SAE-helps rate, hypothesized to arise from Phi-2's parallel attention-MLP architecture. Phi-4-mini follows the standard large-model pattern (only 1/42 SAEs marginally beat raw, 2%), confirming that the parallel-attention effect fades or is overridden as model scale increases.
|
| 116 |
+
|
| 117 |
+
**Reasoning fine-tuning context:** Phi-4-mini-reasoning is trained for chain-of-thought mathematical reasoning. Its high deception detection accuracy (80.8%) despite being fine-tuned away from general language completion suggests that reasoning alignment does not suppress the deception-correlated geometric structures in residual stream activations.
|
| 118 |
+
|
| 119 |
+
**SAE decomposition hurts:** Only 1/42 SAEs marginally beats the raw baseline, and by only +0.2pp. The large model joins nanochat-d32 and Qwen3 in the "SAEs hurt" camp — confirming the 1.3B–1.7B transition as the boundary between SAE-helps and SAE-hurts regimes.
|
| 120 |
+
|
| 121 |
+
**Architecture note:** Phi-4-mini uses Microsoft's Phi architecture with 32 transformer layers, 3072-dimensional residual stream, shared input/output embeddings, and an extensive instruction+reasoning fine-tuning curriculum. The `device_map={"":"cuda:0"}` kwarg is required for 4-bit quantization to function correctly on single-GPU setups.
|
| 122 |
+
|
| 123 |
+
## SAE Format
|
| 124 |
+
|
| 125 |
+
Each SAE lives in a subfolder named `{sae_id}/` containing:
|
| 126 |
+
- `sae_weights.safetensors` — encoder/decoder weights
|
| 127 |
+
- `cfg.json` — SAELens-compatible config
|
| 128 |
+
|
| 129 |
+
`hook_name` format: `model.layers.{layer}.hook_resid_post`
|
| 130 |
+
|
| 131 |
+
## Training Details
|
| 132 |
+
|
| 133 |
+
| Parameter | Value |
|
| 134 |
+
|---|---|
|
| 135 |
+
| Hardware | NVIDIA GeForce GTX 1650 Ti Max-Q, 4 GB VRAM, Windows 11 Pro |
|
| 136 |
+
| Training time | ~400–600 seconds per SAE |
|
| 137 |
+
| Epochs | 300 |
|
| 138 |
+
| Batch size | 128 |
|
| 139 |
+
| Expansion factor | 4x (3072 → 12288) |
|
| 140 |
+
| Model quantization | 4-bit (bitsandbytes) for activation collection |
|
| 141 |
+
| Activations | `resid_post` collected during autoregressive generation |
|
| 142 |
+
| Training conditions | `mixed` (n=252), `deceptive_only` (n=123), `honest_only` (n=129) |
|
| 143 |
+
| LLM classifier | Gemini 2.5 Flash |
|
| 144 |
+
|
| 145 |
+
## Known Limitations
|
| 146 |
+
|
| 147 |
+
**JumpReLU threshold not learned (42 SAEs):** All SAEs in this repo have `threshold = 0` — functionally ReLU. L0 ≈ 50% of d_sae. TopK SAEs are unaffected (exact k=64).
|
| 148 |
+
|
| 149 |
+
**STE fix (2026-04-11):** The training code has been corrected with a Gaussian-kernel STE (Rajamanoharan et al. 2024, arXiv:2407.14435). The honest_only advantage over TopK is confirmed as not a dimensionality artifact (15/18 STE conditions on d20+TinyLlama confirm).
|
| 150 |
+
|
| 151 |
+
**4-bit quantization:** Activations were collected from a 4-bit quantized model. Quantization may introduce noise in residual stream representations; the true (unquantized) signal could differ somewhat from reported numbers.
|
| 152 |
+
|
| 153 |
+
**Small dataset:** n=252 is the smallest sample count among the 1B+ models, reducing probe reliability and SAE training quality.
|
| 154 |
+
|
| 155 |
+
## Loading Example
|
| 156 |
+
|
| 157 |
+
```python
|
| 158 |
+
from safetensors.torch import load_file
|
| 159 |
+
import json
|
| 160 |
+
|
| 161 |
+
sae_id = "phi4_mini_jumprelu_L6_honest_only"
|
| 162 |
+
weights = load_file(f"{sae_id}/sae_weights.safetensors")
|
| 163 |
+
cfg = json.load(open(f"{sae_id}/cfg.json"))
|
| 164 |
+
|
| 165 |
+
# W_enc: [3072, 12288], W_dec: [12288, 3072]
|
| 166 |
+
# cfg["hook_name"] == "model.layers.6.hook_resid_post"
|
| 167 |
+
print(f"d_in={cfg['d_in']}, d_sae={cfg['d_sae']}")
|
| 168 |
+
```
|
| 169 |
+
|
| 170 |
+
|
| 171 |
+
## Usage
|
| 172 |
+
|
| 173 |
+
### 1. Load an SAE from this repo
|
| 174 |
+
|
| 175 |
+
```python
|
| 176 |
+
from huggingface_hub import hf_hub_download
|
| 177 |
+
from safetensors.torch import load_file
|
| 178 |
+
import json
|
| 179 |
+
|
| 180 |
+
repo_id = "Solshine/deception-saes-phi-4-mini-reasoning"
|
| 181 |
+
sae_id = "phi4_mini_topk_L6_honest_only" # replace with any tag in this repo
|
| 182 |
+
|
| 183 |
+
weights_path = hf_hub_download(repo_id, f"{sae_id}/sae_weights.safetensors")
|
| 184 |
+
cfg_path = hf_hub_download(repo_id, f"{sae_id}/cfg.json")
|
| 185 |
+
|
| 186 |
+
with open(cfg_path) as f:
|
| 187 |
+
cfg = json.load(f)
|
| 188 |
+
|
| 189 |
+
# Option A — load with SAELens (≥3.0 required for jumprelu/topk; ≥3.5 for gated)
|
| 190 |
+
from sae_lens import SAE
|
| 191 |
+
sae = SAE.from_dict(cfg)
|
| 192 |
+
sae.load_state_dict(load_file(weights_path))
|
| 193 |
+
|
| 194 |
+
# Option B — load manually (no SAELens dependency)
|
| 195 |
+
from safetensors.torch import load_file
|
| 196 |
+
state = load_file(weights_path)
|
| 197 |
+
# Keys: W_enc [3072, 12288], b_enc [12288],
|
| 198 |
+
# W_dec [12288, 3072], b_dec [3072], threshold [12288]
|
| 199 |
+
```
|
| 200 |
+
|
| 201 |
+
### 2. Hook into the model and collect residual-stream activations
|
| 202 |
+
|
| 203 |
+
These SAEs were trained on the **residual stream after each transformer layer**.
|
| 204 |
+
The `hook_name` field in `cfg.json` gives the exact HuggingFace `transformers`
|
| 205 |
+
submodule path to hook. Phi-4-mini uses LLaMA-style architecture. Hook path: `model.layers.{layer}`.
|
| 206 |
+
|
| 207 |
+
```python
|
| 208 |
+
import torch
|
| 209 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 210 |
+
|
| 211 |
+
model = AutoModelForCausalLM.from_pretrained("microsoft/Phi-4-mini-reasoning")
|
| 212 |
+
tokenizer = AutoTokenizer.from_pretrained("microsoft/Phi-4-mini-reasoning")
|
| 213 |
+
|
| 214 |
+
# Read hook_name from the cfg you already loaded:
|
| 215 |
+
# cfg["hook_name"] == "model.layers.6" (example — varies by SAE)
|
| 216 |
+
hook_name = cfg["hook_name"] # e.g. "model.layers.6"
|
| 217 |
+
|
| 218 |
+
# Navigate the submodule path and register a forward hook
|
| 219 |
+
import functools
|
| 220 |
+
submodule = functools.reduce(getattr, hook_name.split("."), model)
|
| 221 |
+
|
| 222 |
+
activations = {}
|
| 223 |
+
def hook_fn(module, input, output):
|
| 224 |
+
# Most transformer layers return (hidden_states, ...) as a tuple
|
| 225 |
+
h = output[0] if isinstance(output, tuple) else output
|
| 226 |
+
activations["resid"] = h.detach()
|
| 227 |
+
|
| 228 |
+
handle = submodule.register_forward_hook(hook_fn)
|
| 229 |
+
|
| 230 |
+
inputs = tokenizer("Your text here", return_tensors="pt")
|
| 231 |
+
with torch.no_grad():
|
| 232 |
+
model(**inputs)
|
| 233 |
+
handle.remove()
|
| 234 |
+
|
| 235 |
+
# activations["resid"]: [batch, seq_len, 3072]
|
| 236 |
+
resid = activations["resid"][:, -1, :] # last token position
|
| 237 |
+
```
|
| 238 |
+
|
| 239 |
+
### 3. Read feature activations
|
| 240 |
+
|
| 241 |
+
```python
|
| 242 |
+
with torch.no_grad():
|
| 243 |
+
feature_acts = sae.encode(resid) # [batch, 12288] — sparse
|
| 244 |
+
|
| 245 |
+
# Which features fired?
|
| 246 |
+
active_features = feature_acts[0].nonzero(as_tuple=True)[0]
|
| 247 |
+
top_features = feature_acts[0].topk(10)
|
| 248 |
+
|
| 249 |
+
print("Active feature indices:", active_features.tolist())
|
| 250 |
+
print("Top-10 feature values:", top_features.values.tolist())
|
| 251 |
+
print("Top-10 feature indices:", top_features.indices.tolist())
|
| 252 |
+
|
| 253 |
+
# Reconstruct (for sanity check — should be close to resid)
|
| 254 |
+
reconstruction = sae.decode(feature_acts)
|
| 255 |
+
l2_error = (resid - reconstruction).norm(dim=-1).mean()
|
| 256 |
+
```
|
| 257 |
+
|
| 258 |
+
### Caveats and known limitations
|
| 259 |
+
|
| 260 |
+
**Hook names are HuggingFace `transformers`-style, not TransformerLens-style.**
|
| 261 |
+
The `hook_name` in `cfg.json` (e.g. `"model.layers.6"`) is a submodule path in the standard
|
| 262 |
+
HuggingFace model. SAELens' built-in activation-collection pipeline expects
|
| 263 |
+
TransformerLens hook names (e.g. `blocks.14.hook_resid_post`). This means
|
| 264 |
+
`SAE.from_pretrained()` with automatic model running **will not work** — use the
|
| 265 |
+
manual forward-hook pattern above instead.
|
| 266 |
+
|
| 267 |
+
**SAELens version requirements.**
|
| 268 |
+
- `topk` architecture: SAELens ≥ 3.0
|
| 269 |
+
- `jumprelu` architecture: SAELens ≥ 3.0
|
| 270 |
+
- `gated` architecture: SAELens ≥ 3.5 (or load manually with `state_dict`)
|
| 271 |
+
|
| 272 |
+
**These SAEs detect deceptive *behavior*, not deceptive *prompts**.*
|
| 273 |
+
They were trained on response-level activations where the same prompt produced both
|
| 274 |
+
deceptive and honest outputs. Feature activation differences reflect behavioral
|
| 275 |
+
divergence, not prompt content. See the paper for experimental design details.
|
| 276 |
+
|
| 277 |
+
## Citation
|
| 278 |
+
|
| 279 |
+
```bibtex
|
| 280 |
+
@article{thesecretagenda2025,
|
| 281 |
+
title={The Secret Agenda: LLMs Strategically Lie Undetected by Current Safety Tools},
|
| 282 |
+
author={DeLeeuw, Caleb},
|
| 283 |
+
journal={arXiv:2509.20393},
|
| 284 |
+
year={2025}
|
| 285 |
+
}
|
| 286 |
+
```
|
phi4_mini_jumprelu_L10_deceptive_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.10",
|
| 9 |
+
"hook_layer": 10,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "deceptive_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 10, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L10_deceptive_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7b80f202008df4db696c133fd884dbe4784cbf0aab877ed7a440eb347e0d240
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L10_honest_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.10",
|
| 9 |
+
"hook_layer": 10,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "honest_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 10, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L10_honest_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:29e5c5c9757f5f293975f3dc7809bf6e8d0beef6938ac194348ba51083b2b57e
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L10_mixed/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.10",
|
| 9 |
+
"hook_layer": 10,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "mixed",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 10, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L10_mixed/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1c7f57535c3af5896012f13fa1181918782afeb19acbc065d69cbf3ba4a41dcf
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L14_deceptive_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.14",
|
| 9 |
+
"hook_layer": 14,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "deceptive_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 14, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L14_deceptive_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:baf1be83e36391d09ce34591e6fd8a87f10342af7af40a11494e04f83c22da75
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L14_honest_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.14",
|
| 9 |
+
"hook_layer": 14,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "honest_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 14, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L14_honest_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa775c6333dddaf1465d08c491b62a0e6251d5e5c56185fc44e147d7f312fa5a
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L14_mixed/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.14",
|
| 9 |
+
"hook_layer": 14,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "mixed",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 14, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L14_mixed/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a43dab2af80827fee666917f545a583aef17b8d8bdd12b4907194769d6cf0b8c
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L18_deceptive_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.18",
|
| 9 |
+
"hook_layer": 18,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "deceptive_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 18, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L18_deceptive_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82b2776358ddcd95a60a0c1425ea62d2aca2cd1aed1f0ac3a8955b291e434dc7
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L18_honest_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.18",
|
| 9 |
+
"hook_layer": 18,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "honest_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 18, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L18_honest_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8815798bb9c314febe4a1669209acf3431fad58ecb9aa85ea3b6c1a2616e94eb
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L18_mixed/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.18",
|
| 9 |
+
"hook_layer": 18,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "mixed",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 18, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L18_mixed/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6592467fcb4695eb27b8bf681da29e0ec88a6ac4bec3e8e3e8b9d8fd4909fa1e
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L22_deceptive_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.22",
|
| 9 |
+
"hook_layer": 22,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "deceptive_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 22, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L22_deceptive_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6b05c1a5acc6e427fa1c10e47bec4c55711184f168cae3933ede909eb3ec4594
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L22_honest_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.22",
|
| 9 |
+
"hook_layer": 22,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "honest_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 22, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L22_honest_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d00b22ddffa1a7452a9853c257cc311bcf6c0036223df1adba47d579ccc1b85
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L22_mixed/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.22",
|
| 9 |
+
"hook_layer": 22,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "mixed",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 22, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L22_mixed/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc741d6d0107d6dc2ae050393941087d2694fc710b10d5eba67228bb5ba99f22
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L26_deceptive_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.26",
|
| 9 |
+
"hook_layer": 26,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "deceptive_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 26, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L26_deceptive_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5f907319fc32a9a1605f22c534db800e28acf1af7f5a03657b5c4fddcef0dc5e
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L26_honest_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.26",
|
| 9 |
+
"hook_layer": 26,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "honest_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 26, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L26_honest_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0ce995500542efa02b79f9ae8417ab98af8aac1fc53215c0bf6bb0d7be1fb742
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L26_mixed/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.26",
|
| 9 |
+
"hook_layer": 26,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "mixed",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 26, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L26_mixed/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:70e6f2b5eddcc884f943c57acaba1d7e496d81ba36781fbfba34ca43a66e0370
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L2_deceptive_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.2",
|
| 9 |
+
"hook_layer": 2,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "deceptive_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 2, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L2_deceptive_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54fb378f8e8d2d180902a2f57bc04b34fe9e6ec8fe844d6948354c7e14aeb5fc
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L2_honest_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.2",
|
| 9 |
+
"hook_layer": 2,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "honest_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 2, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L2_honest_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a86ae10ee77669d3d18ef7e8a8f6f984a2812a2b32b24562d85850440a00b7e
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L2_mixed/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.2",
|
| 9 |
+
"hook_layer": 2,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "mixed",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 2, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L2_mixed/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db102360fcb4bfdad5714e586346f25620b36d5c324566c2304e7ecc3737d571
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L6_deceptive_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.6",
|
| 9 |
+
"hook_layer": 6,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "deceptive_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 6, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L6_deceptive_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94c2c6a6eeed57d9579080c342a7f59501053c6f452371f40a10e9fe7a93bb38
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L6_honest_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.6",
|
| 9 |
+
"hook_layer": 6,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "honest_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 6, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L6_honest_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:04af434c1abb527945dde8a4a38d154d6c37d5e1b9f8caa9023b5840df58494d
|
| 3 |
+
size 302100880
|
phi4_mini_jumprelu_L6_mixed/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "jumprelu",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.6",
|
| 9 |
+
"hook_layer": 6,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "jumprelu",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "mixed",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 6, jumprelu. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_jumprelu_L6_mixed/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:94e72f574d8bffce66da395af48835f3ebaf3703cac9e2044f62085b397ac474
|
| 3 |
+
size 302100880
|
phi4_mini_topk_L10_deceptive_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "topk",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.10",
|
| 9 |
+
"hook_layer": 10,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "topk",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "deceptive_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 10, topk. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_topk_L10_deceptive_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3417f569cacf31441a319e19a48b8066ed0a01e820c0389604f8cf9db2040d59
|
| 3 |
+
size 302051648
|
phi4_mini_topk_L10_honest_only/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "topk",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.10",
|
| 9 |
+
"hook_layer": 10,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "topk",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "honest_only",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 10, topk. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_topk_L10_honest_only/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5201ee62221b309a11749e35f85b1dcadde100188691939aa0f8ea3d997dd697
|
| 3 |
+
size 302051648
|
phi4_mini_topk_L10_mixed/cfg.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architecture": "topk",
|
| 3 |
+
"d_in": 3072,
|
| 4 |
+
"d_sae": 12288,
|
| 5 |
+
"dtype": "float32",
|
| 6 |
+
"device": "cpu",
|
| 7 |
+
"model_name": "microsoft/Phi-4-mini-reasoning",
|
| 8 |
+
"hook_name": "model.layers.10",
|
| 9 |
+
"hook_layer": 10,
|
| 10 |
+
"hook_head_index": null,
|
| 11 |
+
"activation_fn_str": "topk",
|
| 12 |
+
"activation_fn_kwargs": {},
|
| 13 |
+
"apply_b_dec_to_input": false,
|
| 14 |
+
"finetuning_scaling_factor": false,
|
| 15 |
+
"sae_lens_training_version": "deception-behavioral-v1",
|
| 16 |
+
"prepend_bos": false,
|
| 17 |
+
"dataset_path": "Solshine/deception-behavioral-multimodel",
|
| 18 |
+
"dataset_trust_remote_code": false,
|
| 19 |
+
"context_size": null,
|
| 20 |
+
"normalize_activations": "none",
|
| 21 |
+
"training_condition": "mixed",
|
| 22 |
+
"training_notes": "Deception behavioral SAE \u2014 same-prompt behavioral sampling. Model: microsoft/Phi-4-mini-reasoning, Layer 10, topk. See https://github.com/SolshineCode/deception-nanochat-sae-research"
|
| 23 |
+
}
|
phi4_mini_topk_L10_mixed/sae_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dff71d156eddbcc36e65b93a677a306192ac10c627e20b0d303f6fd8ea3950ce
|
| 3 |
+
size 302051648
|