kiji-inspector-NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16

JumpReLU sparse autoencoders trained on the residual stream of the model available as NVIDIA/NVIDIA-Nemotron-3.5-Nano-30B-A3B-BF16 (NemotronH, 52 hidden layers, d_model 2688) at the point where an agent commits to a tool. The repository includes the trained SAEs, contrastive features, feature labels, independent label validation, and paired causal-ablation results.

Produced with dataiku/kiji-inspector.

This is r3, the current results release. The ablation reports were regenerated with direction-aware feature selection and a paired causal estimand that subtracts SAE reconstruction error on the same prompt. Earlier ablation reports and tables are superseded; use only the results below and the current layer_N/ablation/ablation_report.json files.

Results

Primary causal result

For each contrast type, the intervention zeros the top 10 ranked features whose mean activation is greater on the anchor prompts than on the contrast prompts. Every retained prompt is evaluated under four paired conditions:

  1. the unmodified model;
  2. SAE reconstruction with no feature ablation;
  3. reconstruction with the 10 selected features ablated;
  4. reconstruction with 10 frequency-matched random features ablated.

The targeted intervention is performed in SAE latent space: for residual activation x, the experiment computes z = encode(x), zeros the selected coordinates to obtain z_-S, and supplies decode(z_-S) to the model. The reconstruction-only arm supplies decode(z) without zeroing any coordinates.

The primary CATE is the mean paired change in contrast-tool probability:

(targeted ablation − unmodified) − (reconstruction only − unmodified).

Equivalently, for contrast-tool probability p, this is p(decode(z_-S)) − p(decode(z)). The prompt-specific SAE round-trip effect therefore cancels algebraically; the estimand is the incremental effect of zeroing the selected coordinates within the SAE-reconstructed representation. It does not claim to remove every consequence of evaluating the intervention around decode(z) rather than the original residual x. The random arm is not part of the primary estimand, so no assumption of uniform reconstruction error across targeted and random features is required. CATE vs random is reported separately as a secondary specificity control.

Pooled over all baseline-correct prompts in each layer:

Layer Evaluated types Baseline-correct prompts Targeted flip rate [95% CI] Random-control flip rate [95% CI] Reconstruction-only flip rate [95% CI] Direction-matched flip rate [95% CI] Paired CATE [95% CI] BH-significant types
6 35 1,934 0.0078 [0.0043, 0.0128] 0.0062 [0.0032, 0.0108] 0.0067 [0.0036, 0.0115] 0.0041 [0.0018, 0.0081] +0.0002 [−0.0002, +0.0005] 3/30 tested
13 29 1,560 0.0064 [0.0031, 0.0118] 0.0058 [0.0026, 0.0109] 0.0051 [0.0022, 0.0101] 0.0026 [0.0007, 0.0066] −0.0001 [−0.0007, +0.0003] 7/25 tested
20 34 1,846 0.0157 [0.0105, 0.0225] 0.0114 [0.0071, 0.0173] 0.0103 [0.0062, 0.0160] 0.0070 [0.0038, 0.0120] +0.0011 [+0.0004, +0.0017] 14/29 tested
27 36 1,980 0.0530 [0.0436, 0.0638] 0.0111 [0.0070, 0.0168] 0.0106 [0.0066, 0.0162] 0.0227 [0.0166, 0.0303] +0.0179 [+0.0158, +0.0202] 28/31 tested
34 34 1,959 0.1215 [0.1073, 0.1368] 0.0230 [0.0168, 0.0306] 0.0235 [0.0172, 0.0312] 0.0587 [0.0487, 0.0700] +0.0519 [+0.0475, +0.0564] 27/30 tested
43 33 1,856 0.2602 [0.2404, 0.2808] 0.0453 [0.0363, 0.0557] 0.0431 [0.0343, 0.0534] 0.1309 [0.1159, 0.1471] +0.0940 [+0.0867, +0.1012] 24/28 tested

Flip-rate confidence intervals shown above are exact Clopper–Pearson intervals. Pooled CATE confidence intervals use 2,000 paired bootstrap percentile resamples over baseline-correct prompts; per-type CATE intervals in ablation_report.json use 5,000 resamples. Type-level one-sided Wilcoxon signed-rank p-values test the paired targeted-minus-reconstruction probability changes and are Benjamini–Hochberg corrected within each layer. Types with fewer than 10 nonzero paired changes are not tested.

The result is localized in depth:

  • Layers 6 and 13 are null. Targeted, random, and reconstruction flip rates overlap, and pooled CATE spans zero.
  • Layer 20 has a small probability effect. CATE is positive, but the flip-rate intervals still overlap; this is evidence of a small shift, not a clean decision-flipping result.
  • Layers 27, 34, and 43 are clearly separated. Targeted flip rates and paired CATE grow monotonically, while random ablation remains close to the reconstruction baseline.
  • Direction is specific but not exclusive. At layers 27–43, approximately 43–50% of targeted flips land on the paired contrast tool; the remaining flips land on another tool.

The same shape remains when restricted to the 23 contrast types evaluated at all six layers: pooled CATE is approximately +0.0001, −0.0001, +0.0000, +0.0128, +0.0527, and +0.0885 from layers 6 through 43. The depth trend is therefore not caused by changing contrast-type coverage.

Per-type heterogeneity

The aggregate effect is not universal. Strong positive examples include:

  • layer 27 single_issue_vs_complex_case: CATE +0.1345 [0.0950, 0.1783], n=61;
  • layer 34 refund_vs_troubleshoot: +0.2238 [0.1875, 0.2587], n=66;
  • layer 43 planned_vs_emergency_downtime: +0.5427 [0.4935, 0.5891], n=71;
  • layer 43 demand_pull_vs_supply_push: +0.3488 [0.3216, 0.3738], n=90.

There are also reverse effects. Most notably, layer 43 spot_buy_vs_contract has CATE −0.1087 [−0.1310, −0.0857], n=36. The result supports a depth-localized causal role for the selected feature sets, not a claim that every contrast type moves in the same direction.

Coverage and baseline conditioning

Direction-aware selection requires at least 10 anchor-supporting features. Contrast types below that threshold are skipped rather than padded with features pointing in the opposite direction.

Layer Contrast types evaluated Baseline-correct prompts
6 35/37 56.8%
13 29/37 55.7%
20 34/37 55.9%
27 36/37 56.5%
34 34/37 59.3%
43 33/37 57.9%

All causal metrics are conditional on prompts where the unmodified model selects the dataset's expected anchor tool.

Experimental setup

Subject model Local GA checkpoint ga_nvidia_nemotron_3_5_nano_bf16_07292026_vv0.1
Architecture NemotronH; hybrid Mamba2 / Attention / MoE; 52 hidden layers; d_model 2688
Runtime checkpoint MTP-free copy of the exact GA checkpoint; only auxiliary mtp.* tensors were removed
Layers captured 6, 13, 20, 27, 34, 43
Capture point Residual stream entering block N, i.e. output of block N−1
Decision token Assistant prefill "I'll use the", reasoning suppressed, activation at the next-token position
Contrastive pairs 1,574,523 pairs → 3,149,046 prompts, 37 contrast types
SAE JumpReLU; d_sae 10,752; 10 epochs; adaptive-L1 target L0 75
Normalization Per-dimension mean-centering followed by RMS scaling
Feature labeling Qwen/Qwen3.6-35B-A3B
Label validation google/gemma-4-31B-it
Extraction backend vLLM hidden-state connector
Ablation backend Hugging Face Transformers forward pre-hook
Code revision dataiku/kiji-inspector@65ae86b

The MTP-free runtime copy preserves all base-model tensors used by the forward pass. Its config sets num_nextn_predict_layers to 0, and its safetensors index contains no mtp.* entries.

SAE health

Layer Alive Dead Ultra-rare Moderate L0 median L0 mean Recon MSE
6 2,296 2 5,873 2,581 57.9 73.8 0.330
13 2,088 48 5,103 3,513 31.2 80.5 0.377
20 2,500 25 4,770 3,457 84.1 133.8 0.367
27 2,105 24 5,292 3,331 46.2 78.5 0.292
34 2,492 39 5,004 3,217 70.6 116.3 0.277
43 3,381 34 5,258 2,079 373.7 557.3 0.272

Inputs are centered and RMS-scaled to unit variance, so reconstruction MSE is the fraction of normalized variance not reconstructed.

Layer 43 is a distinct sparsity regime. Its L1 coefficient saturated at the configured ceiling and mean L0 remained 557.3. Raising the ceiling tenfold did not improve sparsity and substantially worsened reconstruction, so the released checkpoint was retained. Layer 43 has the strongest causal result, but layer 34 provides the strongest result without this density caveat.

Feature interpretation and validation

Feature labels were generated from token-highlighted activating examples and evaluated by an independent model family.

Layer Contrastive features Labeled Examples Fuzzing score [95% CI] Token accuracy Excellent (>0.8)
6 1,100 2,276 25,036 0.914 [0.908, 0.919] 0.915 84.0%
13 799 2,063 22,693 0.899 [0.893, 0.905] 0.899 80.6%
20 1,009 2,481 27,291 0.905 [0.900, 0.911] 0.901 82.7%
27 1,038 2,100 23,100 0.902 [0.895, 0.908] 0.906 81.5%
34 1,556 2,493 27,423 0.919 [0.914, 0.924] 0.923 85.0%
43 1,620 3,380 37,180 0.951 [0.948, 0.955] 0.950 92.0%

Fuzzing measures whether the independent judge can predict feature firing from the label. It supports label usefulness but does not establish the feature's computational role; that is addressed separately by ablation.

Repository contents

Path Contents
layer_N/sae_checkpoints/sae_final.pt Trained JumpReLU SAE
layer_N/sae_checkpoints/firing_rates.npy Per-feature corpus firing rates
layer_N/sae_checkpoints/feature_health.json SAE health and reconstruction metrics
layer_N/sae_checkpoints/metrics.jsonl Per-step training metrics
layer_N/sae_checkpoints/config.json SAE config, mean_vec, and rms_scale
layer_N/activations/contrastive_features.json Ranked discriminative features and signed activation means
layer_N/activations/feature_descriptions.json Feature labels and descriptions
layer_N/activations/decision_report.json Per-contrast-type interpretation report
layer_N/activations/fuzzing_summary.json / fuzzing_results.json Independent label validation
layer_N/activations/metadata.json Latest capture metadata
layer_N/ablation/ablation_report.json Corrected paired causal results and raw paired arrays

Raw activation shards, per-layer prompts.json, and intermediate checkpoints are not included.

Reproducing the current ablation

The trained SAEs, firing rates, contrastive features, and pair dataset are reused. Steps 2–5 do not need to be rerun.

# From a dataiku/kiji-inspector checkout at commit 65ae86b:
uv run python -m kiji_inspector.utils.strip_mtp \
  /downloaded-model-path \
  /downloaded-model-path-no-mtp

MODEL_DIR=/downloaded-model-path-no-mtp \
OUTPUT_DIR=/path/to/hf-snapshot \
PAIRS_DIR=/path/to/pairs \
RUN_STEP1=auto \
  bash samples/run_step1_and_ablation_nemotron_ga.sh

Step 1 is needed only when the activation shards required for type-conditional control matching are unavailable. The script reuses the SAE and contrastive-feature artifacts and runs only extraction plus ablation.

Loading an SAE

SAE.from_pretrained() downloads the checkpoint and restores its centering and scaling parameters. encode() and decode() operate in normalized SAE space, so callers must still use normalize_input() before encoding and denormalize_output() after decoding:

from kiji_inspector import SAE

sae, descriptions = SAE.from_pretrained(
    repo_id="575-lab/kiji-inspector-NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16",
    layer=34,
)
features = sae.encode(sae.normalize_input(x))
reconstruction = sae.denormalize_output(sae.decode(features))

Limitations

  • The matched control equalizes firing opportunity, not activation magnitude. In this run, targeted feature removal differs from reconstruction on approximately 97% of prompts, while the random arm does so on approximately 19–69% depending on layer. A mass-matched control would be required for perturbation-size-calibrated effect magnitudes.
  • The paired CATE subtracts the common SAE round-trip effect, but it is evaluated around the reconstructed activation decode(z). With a nonlinear downstream model, the same latent removal could have a different effect around the original activation x. The result should therefore be read as an SAE-defined intervention effect. A stricter follow-up can preserve the original reconstruction residual by testing x + [decode(z_-S) - decode(z)].
  • Results are conditional on the 56–59% of evaluated prompts where the unmodified model selects the expected tool.
  • Direction-aware selection skips contrast types with fewer than 10 eligible anchor-supporting features, so type coverage varies by layer.
  • Layer 43 uses a substantially denser SAE code than the other layers.
  • Several contrast types have very small effective sample sizes; their individual estimates should not be emphasized.
  • This is one trained SAE per layer with no seed replication. Confidence intervals quantify prompt-level uncertainty, not training-seed uncertainty.

Revision history

  • r3 (current, 2026-08-09). Replaced all six ablation reports with the direction-aware rerun. CATE is now the paired targeted-minus-reconstruction estimand; reports also include CATE versus random, paired exact flip tests, raw flip outcomes, and explicit feature-selection direction. Capture metadata was refreshed from the activation re-extraction used for the type-conditional control. SAE training, feature labeling, and label validation artifacts are unchanged.
  • r2 and earlier. Superseded for causal-ablation results.

License

Apache 2.0.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for 575-lab/kiji-inspector-NVIDIA-Nemotron-3.5-Lightning-30B-A3B-BF16

Finetuned
(49)
this model