Views
No views yet

projections/
├── biasbios/ # occupation prediction from highlighted biographies
├── counterfact/ # knowledge-conflict resolution
└── pronoun/ # gender-neutral pronoun rewriting
└── <model>/
├── <model>_diff_proj.pt # PRISM-Δ — differential Key projection
├── <model>_kv_diff_proj.pt # PRISM-ΔV — differential Key + Value projection
├── <model>_pos_proj.pt # positive-condition projection (baseline / ablation)
└── <model>_neg_proj.pt # negative-condition projection (baseline / ablation)Qwen3-4B-Base, Qwen3-8B-Base, Qwen3-14B-Base, gemma-3-4b-pt and gemma-3-12b-pt.diff_proj if you want the Key-only variant and kv_diff_proj for the dual-channel one. The pos_proj / neg_proj pair is the independent decomposition that the SEKA baseline runs on, and that the ablation isolating the differential step needs.1git clone https://github.com/YuyaoGe/PRISM-DELTA && cd PRISM-DELTA
2pip install -r requirements.txt
3git clone https://huggingface.co/YuyaoGe/Prism_Delta ./prism-projections
4export PYTHONPATH=$(pwd)1python benchmarks/eval_bias_gen.py \
2 --model <path-to-Qwen3-4B-Base> \
3 --data_path <path-to-biasbios.json> \
4 --output_dir ./results/prism-k \
5 --overwrite_output_dir --batch_size 256 --max_new_tokens 64 \
6 --wd-seka \
7 --wd-seka-proj ./prism-projections/projections/biasbios/Qwen3-4B-Base/Qwen3-4B-Base_diff_proj.pt \
8 --wd-seka-gain 0.40 --layers all1python benchmarks/eval_bias_gen.py \
2 --model <path-to-Qwen3-4B-Base> \
3 --data_path <path-to-biasbios.json> \
4 --output_dir ./results/prism-kv \
5 --overwrite_output_dir --batch_size 256 --max_new_tokens 64 \
6 --kv-seka \
7 --kv-seka-proj ./prism-projections/projections/biasbios/Qwen3-4B-Base/Qwen3-4B-Base_kv_diff_proj.pt \
8 --kv-seka-gain-k 0.40 --kv-seka-gain-v 0.10 --layers allpasta_bench) and Pronoun Change from the original release: waylonli/SEKA-datasets.--wd-seka-gain for PRISM-Δ, and --kv-seka-gain-k / --kv-seka-gain-v for
PRISM-ΔV. These are the validation-selected values behind the reported results.| Benchmark | Model | g_K (Δ) | g_K (ΔV) | g_V (ΔV) |
|---|---|---|---|---|
| BiasBios | Qwen3-4B-Base | 0.40 | 0.40 | 0.10 |
| BiasBios | Qwen3-8B-Base | 0.40 | 0.40 | 0.10 |
| BiasBios | Qwen3-14B-Base | 0.40 | 0.40 | 0.10 |
| BiasBios | gemma-3-4b-pt | 0.50 | 0.30 | 0.10 |
| BiasBios | gemma-3-12b-pt | 0.40 | 0.40 | 0.10 |
| CounterFact | Qwen3-4B-Base | 1.90 | 1.90 | 0.02 |
| CounterFact | Qwen3-8B-Base | 2.70 | 2.70 | 0.05 |
| CounterFact | Qwen3-14B-Base | 3.00 | 3.00 | 0.05 |
| CounterFact | gemma-3-4b-pt | 6.00 | 6.00 | 0.10 |
| CounterFact | gemma-3-12b-pt | 1.10 | 3.00 | 0.50 |
| Pronoun Change | Qwen3-4B-Base | 0.15 | 0.15 | 0.05 |
| Pronoun Change | Qwen3-8B-Base | 0.05 | 0.05 | 0.02 |
| Pronoun Change | Qwen3-14B-Base | 0.05 | 0.05 | 0.02 |
| Pronoun Change | gemma-3-4b-pt | 0.30 | 0.30 | 0.10 |
| Pronoun Change | gemma-3-12b-pt | −0.30 | 0.05 | 0.02 |
gemma-3-12b-pt for Pronoun Change, is expected: the edit
rescales the projected component rather than amplifying it, and which sign helps is
decided per configuration on validation data.1@misc{ge2026prism,
2 title = {Prism-$\Delta$: Differential Subspace Steering for Prompt
3 Highlighting in Large Language Models},
4 author = {Yuyao Ge and Shenghua Liu and Yiwei Wang and Baolong Bi and
5 Lingrui Mei and Jiayu Yao and Jiafeng Guo and Xueqi Cheng},
6 year = {2026},
7 eprint = {2603.10705},
8 archivePrefix = {arXiv},
9 primaryClass = {cs.CL},
10 url = {https://arxiv.org/abs/2603.10705}
11}