2026.TA.tc8192_refusal_headline_2026-10f_graphs
Base-vs-adapter attribution graphs for the tc8192_refusal run, built with python -m analysis.attribution.graphs.build_graphs with graph kind(s) overlay, fused; each graph set is its own subdir.
Fused graphs (fused/)
Combined base+adapter attribution graphs for the tc8192_refusal run: ONE attribution graph per prompt over a single forward pass of the model named by the backbone below.
Each MLP is replaced by T_base(x) + T_adapter(x) + Err, so every graph holds GemmaScope base features (hexagon ⬢), transcoder-adapter features (circle ●) and reconstruction-error nodes (triangle ▲) under one shared set of logit nodes; base<->adapter edges and edges into the logits are real attribution.
This differs from the overlay graphs (--graph_kind overlay), which glue two separately computed graphs that share only embedding nodes.
Backbone: adapter. The traced forward pass is the REAL adapter model: the adapter branch is fused into every block's MLP (Gemma-2's pre-/post-MLP norms folded into the adapter weights), so logits, continuations, activations and error nodes are the adapter model's and T_base + T_adapter + error is exact.
Overlay graphs (overlay/, overlay_compact/)
Base-vs-adapter comparison overlay graphs for the tc8192_refusal run: the base-model graph (GemmaScope features, hexagon ⬢) and the adapter-model graph (adapter features, circle ●) built separately and glued at the embedding nodes, so the two circuits can be read position-by-position on identical tokens; there are no base<->adapter edges.overlay_compact/ is the pruned view of the same graphs.
Rebuilt on the retrained headline adapter siddharthmb/2026.TA.gemma2_2b_headline_2026-10f_tc8192_decb_l1w0.0003_auxk512_ctr_fp32_tarbb_lb2_sl17879940 (train job 17879940) with its feature scan siddharthmb/2026.TA.features_2026.TA.gemma2_2b_headline_2026-10f_tc8192_decb_l1w0.0003_auxk512_h6cd298b8a71f and the base feature store siddharthmb/2026.TA.features_gemma-2-2b-it_gemmascope_width_16k_average_l0_76_ms100000_ml1024_head893de3c90 (GemmaScope features over the stream of google/gemma-2-2b-it, what the fused graphs' base nodes encode) by scripts/recipes/headline_pipeline.sh (GRAPH_KIND=both); the pipeline manifest is /nlp/scr/siddharth/transcoder-adapters/headline_2026-10f/manifest.md.
How to use
uv run --extra viz python -m analysis.serve siddharthmb/2026.TA.tc8192_refusal_headline_2026-10f_graphs:fused,overlay,overlay_compact --port 8053
The index page lists the sets (fused/, overlay/, overlay_compact/) and the viewer opens each at /g/<set>/; name fewer sets after the colon to download less, and --compare <another repo or run dir> diffs this set against it graph by graph.
The snapshot is downloaded and cached on first run (HF_HOME); node-click feature examples stream from the feature collections linked below.
How it was produced
Produced by python -m analysis.attribution.graphs.build_graphs from transcoder-adapters at commit 42b03eb9e0e6 (Slurm job 17907491, on jagupard37.stanford.edu, started 2026-10-16T07:05:16).
Exact command (from the run manifest):
uv run --extra viz python -m analysis.attribution.graphs.build_graphs \
--graph_kind=both \
--adapter_checkpoint=siddharthmb/2026.TA.gemma2_2b_headline_2026-10f_tc8192_decb_l1w0.0003_auxk512_ctr_fp32_tarbb_lb2_sl17879940 \
--prompts=/nlp/scr/siddharth/transcoder-adapters/headline_2026-10f/graphs/tc8192_refusal_headline_2026-10f/prompts \
--prompt_format=chat \
--run_name=tc8192_refusal \
--output_dir=/nlp/scr/siddharth/transcoder-adapters/headline_2026-10f/graphs/tc8192_refusal_headline_2026-10f \
--feature_data_path=siddharthmb/2026.TA.features_2026.TA.gemma2_2b_headline_2026-10f_tc8192_decb_l1w0.0003_auxk512_h6cd298b8a71f \
--base_feature_data_path=siddharthmb/2026.TA.features_gemma-2-2b-it_gemmascope_width_16k_average_l0_76_ms100000_ml1024_head893de3c90 \
--overlay_base_feature_data_path=siddharthmb/2026.TA.features_gemma-2-2b_gemmascope_width_16k_average_l0_76_ms100000_ml1024_tk2_h12ad59325ffd \
--continuation_max_new_tokens=0
- Config: graph-manifest.json
Re-star the jailbreak/compliance prompts in the dropdown after any rebuild (idempotent, auto-detects the set from the baked adapter continuations):
uv run python -m analysis.evals.classify_adapter_compliance \
--graph_dir /juice2/scr2/siddharth/transcoder-adapters/headline_2026-10f/graphs/tc8192_refusal_headline_2026-10f/fused --star --also_star_dir /juice2/scr2/siddharth/transcoder-adapters/headline_2026-10f/graphs/tc8192_refusal_headline_2026-10f/overlay /juice2/scr2/siddharth/transcoder-adapters/headline_2026-10f/graphs/tc8192_refusal_headline_2026-10f/overlay_compact
Uploaded with:
uv run python -m analysis.attribution.hub --graph_dir /juice2/scr2/siddharth/transcoder-adapters/headline_2026-10f/graphs/tc8192_refusal_headline_2026-10f
Details
Contents
| path | files | size |
|---|---|---|
overlay/ |
7 | 202.5 MB |
overlay_compact/ |
7 | 1.2 MB |
fused/ |
7 | 431.5 MB |
prompts/ |
4 | 1.7 KB |
adapter/ |
7 | 168.3 KB |
top-level files |
3 | 15.5 KB |
Inputs
| field | value |
|---|---|
| adapter checkpoint | siddharthmb/2026.TA.gemma2_2b_headline_2026-10f_tc8192_decb_l1w0.0003_auxk512_ctr_fp32_tarbb_lb2_sl17879940 |
| base model | google/gemma-2-2b |
| adapter feature examples | siddharthmb/2026.TA.features_2026.TA.gemma2_2b_headline_2026-10f_tc8192_decb_l1w0.0003_auxk512_h6cd298b8a71f |
| base feature examples | siddharthmb/2026.TA.features_gemma-2-2b-it_gemmascope_width_16k_average_l0_76_ms100000_ml1024_head893de3c90 |
| prompt set | /nlp/scr/siddharth/transcoder-adapters/headline_2026-10f/graphs/tc8192_refusal_headline_2026-10f/prompts |
| prompt format | chat |
| GemmaScope | google/gemma-scope-2b-pt-transcoders / width_16k / average_l0_76 (per-layer L0s in gemmascope_config.yaml) |
| budgets | {"max_feature_nodes": 10000, "max_n_logits": 10, "relp_batch_size": 512, "circuit_tracer_batch_size": 16, "node_threshold": 0.8, "edge_threshold": 0.98} |
| backbone | adapter |
| n_base_features | 16384 (combined feature index < this is a base feature) |
| max_error_nodes | None |
| prompts traced | 3 of 3 succeeded |
| base attribution targets | union_adapter_top |
| overlay options | {"hide_direct_embedding_logit_links": true, "compact_max_base_feature_nodes": 64, "compact_max_base_error_nodes": 0, "compact_max_adapter_feature_nodes": null} |
Results
Graphs in fused/
| graph | base features | adapter features | error nodes |
|---|---|---|---|
tc8192_refusal__harm_116__pos00__hc345f7cc2e57 |
2992 | 230 | 292 |
tc8192_refusal__harm_125__pos00__h64aff61a9b56 |
2847 | 167 | 296 |
tc8192_refusal__harm_139__pos00__ha7f134cecd92 |
3008 | 178 | 296 |
Graphs in overlay/
| graph | base features | adapter features | error nodes |
|---|---|---|---|
tc8192_refusal__harm_116__pos00__hc345f7cc2e57__overlay |
2548 | 31 | 313 |
tc8192_refusal__harm_125__pos00__h64aff61a9b56__overlay |
2276 | 28 | 307 |
tc8192_refusal__harm_139__pos00__ha7f134cecd92__overlay |
2576 | 28 | 327 |
Graphs in overlay_compact/
| graph | base features | adapter features | error nodes |
|---|---|---|---|
tc8192_refusal__harm_116__pos00__hc345f7cc2e57__overlay__compact_base64_error0 |
64 | 31 | 0 |
tc8192_refusal__harm_125__pos00__h64aff61a9b56__overlay__compact_base64_error0 |
64 | 28 | 0 |
tc8192_refusal__harm_139__pos00__ha7f134cecd92__overlay__compact_base64_error0 |
64 | 28 | 0 |
Links
- Adapter checkpoint:
siddharthmb/2026.TA.gemma2_2b_headline_2026-10f_tc8192_decb_l1w0.0003_auxk512_ctr_fp32_tarbb_lb2_sl17879940 - Base model:
google/gemma-2-2b - Prompt tokenizer:
google/gemma-2-2b-it - Adapter feature examples:
siddharthmb/2026.TA.features_2026.TA.gemma2_2b_headline_2026-10f_tc8192_decb_l1w0.0003_auxk512_h6cd298b8a71f - Base feature examples:
siddharthmb/2026.TA.features_gemma-2-2b-it_gemmascope_width_16k_average_l0_76_ms100000_ml1024_head893de3c90 - Paper: Transcoder Adapters for Reasoning-Model Diffing
- Project page: https://transcoder-adapters.github.io/
- Code: https://github.com/Sid-MB/transcoder-adapters
Cluster paths
- graph dir:
/juice2/scr2/siddharth/transcoder-adapters/headline_2026-10f/graphs/tc8192_refusal_headline_2026-10f - manifest:
/juice2/scr2/siddharth/transcoder-adapters/headline_2026-10f/graphs/tc8192_refusal_headline_2026-10f/graph-manifest.json(also in this repo)