15.1 GB
6,072 files
Updated 2 months ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| final_run_plots | 3 items | ||
| README.md | 2.23 kB xet | 93b685b1 | |
| final_run.log | 163 kB xet | 3d499b57 | |
| final_run_results.json | 3.15 MB xet | 1975ec44 |
Task 5: Attribution Patching on I-JEPA ViT-H/14
Description
First-order Taylor approximation of activation patching, scoring all 836 sites (132 block-level + 704 attention heads) across 999 image pairs. Validates against ground-truth exhaustive activation patching on 100 pairs.
Command
python experiments/attribution_patching_vith14_modelhub.py \
--checkpoint /workspace/checkpoints/vith14_in1k_ep300.pth.tar \
--data_dir /workspace/images \
--n_pairs 999 \
--validate \
--validate_pairs 100 \
--validate_heads 32 \
--ig_steps 8 \
--seed 0 \
--save results_task_5/final_run_results.json \
--plots results_task_5/final_run_plots \
2>&1 | tee results_task_5/final_run.log
Note: This script lives on the experiment/task5-attribution-patching-vith14 branch.
The _modelhub variant monkey-patches the checkpoint loader to use ModelHub.load_checkpoint
while keeping the attribution methodology identical to the original script.
Configuration
| Parameter | Value |
|---|---|
| Script | experiments/attribution_patching_vith14_modelhub.py (ModelHub strict loader) |
| Checkpoint | vith14_in1k_ep300.pth.tar (Meta official, 10.36 GB, 631M encoder params) |
| Loader | ModelHub.load_checkpoint (strict: 389/389 encoder, 389/389 target, 152/152 predictor) |
| Architecture | ViT-H/14: d=1280, L=32, H=16 encoder; d=384, L=12 predictor |
| Image Pairs | 999 (from 1000 balanced ImageNet images) |
| Sites Scored | 836 (132 block-level + 704 heads) |
| Estimators | ap (1 backward pass), ap_ig8 (8 backward passes) |
| Validated Pairs | 100 (ground-truth exhaustive activation patching) |
| Validated Heads | 32 per pair (top + random) |
| Seed | 0 |
| GPU | NVIDIA RTX 4090 (24 GB) |
| Wall-Clock |
Key Results
| Estimator | Subset | Pearson | Spearman | Sign Acc | Top-10 |
|---|---|---|---|---|---|
| ap | all sites | 0.418 | 0.603 | 0.76 | 0.00 |
| ap | attention heads | 0.565 | 0.724 | 0.82 | 0.40 |
| ap_ig8 | all sites | 0.829 | 0.780 | 0.77 | 0.00 |
| ap_ig8 | attention heads | 0.357 | 0.419 | 0.65 | 0.20 |
Outputs
final_run.log-- Full runtime log with per-pair timings and summary
Run Date
2026-09-23
- Total size
- 15.1 GB
- Files
- 6,072
- Last updated
- Sep 23
- Pre-warmed CDN
- US EU US EU