license: mit
pretty_name: TDNV results
tags:
- interpretability
- activation-steering
TDNV results
Results and figures for layerwise TDNV (Task-Distance Normalized Variance) of last-token hidden states
on contrastive (steering) datasets. Code: https://github.com/xzAscC/TDNV.
Files
outputs/<model>/<concept>/metrics.json: per-layer TDNV for one model and one concept.
Keys:layer,tdnv,tdnv_shuffled,within_var,between_dist2,probe_acc,config.
Layer 0 is the embedding output.outputs/<model>/steer_<concept>/metrics.json: activation-steering results for one model and one concept.outputs/<model>/<concept>/tdnv.png: quick per-run plot (only for some runs).results/u_shape_summary.csv: down-then-up statistics per model and concept.figs/: figures made fromoutputs/.
Model directory names use __ in place of / (for example Qwen__Qwen3-8B is Qwen/Qwen3-8B).
Redraw the figures
git clone https://github.com/xzAscC/TDNV && cd TDNV
hf download xzAscC/TDNV-results --repo-type dataset --include "outputs/*" --local-dir .
uv sync
uv run python notebooks/plot_sweep.py
uv run python notebooks/plot_steering.py