Update Model Card for micro-pilot-v1
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193---license: mitlanguage: - enlibrary_name: pytorchtags: - reinforcement-learning - rlvr - latent-cot - grpo - dapo - self-supervised-learning - pytorchdatasets: - queelius/big-probs-phase1-data---
# Big-Probs Phase 1: Small-Model Latent-CoT RL Pilot Checkpoints
Trained PyTorch checkpoints, training telemetry, and evaluation artifacts for the [Big-Probs Phase 1 Latent-CoT RL Pilot](https://github.com/queelius/big-probs), testing whether teacher-free self-supervised RL (Dr. GRPO + DAPO Clip-Higher + frozen-anchor proper scoring rewards) and continuous/hybrid latent thought interfaces enable small decoder-only Transformers to outperform pause-token controls and FLOPs-matched baselines.
- **Code & Methodology:** [https://github.com/queelius/big-probs](https://github.com/queelius/big-probs)- **Stratified Datasets:** [https://huggingface.co/datasets/queelius/big-probs-phase1-data](https://huggingface.co/datasets/queelius/big-probs-phase1-data)- **Latest Published Tag:** `micro-pilot-v1`
> **Scope Notice:** CPU micro-scale proof-of-life & pipeline validation (distinct from 160M/410M/1.0B H100 Stage 1).
## Published Arms (`micro-pilot-v1/`)
| Directory | Arm | Preset | Variant | Parameters | Steps | Interface / Reward || :--- | :--- | :--- | :--- | ---: | ---: | :--- || `micro-pilot-v1/b1/` | `B1` | `micro-small` | `ntp` | 984,192 | 80 | Supervised NTP || `micro-pilot-v1/b2/` | `B2` | `micro-large` | `ntp` | 2,853,312 | 80 | Supervised NTP || `micro-pilot-v1/b3/` | `B3` | `micro-small` | `pause` | 984,704 | 80 | Supervised NTP || `micro-pilot-v1/b4/` | `B4` | `micro-small` | `continuous_latent` | 1,000,704 | 80 | Supervised NTP || `micro-pilot-v1/i2_hybrid/` | `I2-Hybrid` | `micro-small` | `hybrid_latent+discrete_thought` | 1,033,600 | 20 | `I2_hybrid` / `R3_brier` (`T2_self`) || `micro-pilot-v1/rl_r1/` | `RL-R1` | `micro-small` | `ntp+discrete_thought` | 984,192 | 20 | `I1_discrete` / `R1_exact` (`T2_self`) || `micro-pilot-v1/rl_r3/` | `RL-R3` | `micro-small` | `ntp+discrete_thought` | 984,192 | 20 | `I1_discrete` / `R3_brier` (`T2_self`) |
## Evaluation Summary
- **Track 1 Β§5.5 Falsification Verdict (`micro-pilot-v1`):** `FALSIFIED`- **Rationale:** Falsified: no small-model latent-CoT or RL arm simultaneously beat pause control B3 (0.0%) and FLOPs-matched B2 (6.2%). Best candidate `I2-Hybrid` reached 3.1% at 2.51x B2 FLOPs.- **Run Config:** `seed=42`, `n_train=600`, `sup_steps=80`, `rl_steps=20`, `group_size=4`, `thought_len=6`, `n_ahead=4`
### Summary Comparison Table (All 7 Arms)
| Arm | Params | FLOPs/tok (vs B2) | Exact Acc | Hard-BPB | OOD pass@max_k | ΞNLL_swap | ΞNLL_trunc | Mono Depth | Reg3 ECE | Reg3 Brier || :--- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | :---: | ---: | ---: || `B1` | 984,192 | 0.34Γ | 3.1% | 2.318 | 31.2% | β | β | β | 0.005 | -0.994 || `B2` | 2,853,312 | 1.00Γ | 6.2% | 2.266 | 31.2% | β | β | β | 0.040 | -1.006 || `B3` | 984,704 | 1.71Γ | 0.0% | 2.317 | 31.2% | β | β | β | 0.032 | -1.003 || `B4` | 1,000,704 | 1.74Γ | 3.1% | 2.272 | 18.8% | -0.001 | +2.909 | No | 0.045 | -0.989 || `RL-R1` | 984,192 | 3.10Γ | 3.1% | 2.326 | 31.2% | -0.002 | +0.001 | No | 0.026 | -0.997 || `RL-R3` | 984,192 | 3.10Γ | 1.6% | 2.309 | 25.0% | +0.000 | -0.001 | No | 0.040 | -1.005 || `I2-Hybrid` | 1,033,600 | 2.51Γ | 3.1% | 2.271 | 37.5% | -0.003 | +2.732 | No | 0.032 | -0.998 |
## 2. Diagnostic 1 & 2 β Accuracy & `pass@k` by Hop Depth (ID `d={2,4}` vs OOD `d={6,8}`)
| Arm | Greedy Acc `d=2` | Greedy Acc `d=4` | Greedy Acc `d=6` (OOD) | Greedy Acc `d=8` (OOD) | ID `pass@1` | OOD `pass@1` | OOD `pass@16` || :--- | ---: | ---: | ---: | ---: | ---: | ---: | ---: || `B1` | 12.5% | 0.0% | 0.0% | 0.0% | 3.1% | 2.0% | 31.2% || `B2` | 6.2% | 0.0% | 6.2% | 12.5% | 2.7% | 2.3% | 31.2% || `B3` | 0.0% | 0.0% | 0.0% | 0.0% | 2.3% | 2.7% | 31.2% || `B4` | 12.5% | 0.0% | 0.0% | 0.0% | 5.1% | 1.2% | 18.8% || `RL-R1` | 6.2% | 0.0% | 0.0% | 6.2% | 3.9% | 2.0% | 31.2% || `RL-R3` | 0.0% | 0.0% | 0.0% | 6.2% | 2.0% | 2.3% | 25.0% || `I2-Hybrid` | 0.0% | 0.0% | 6.2% | 6.2% | 3.5% | 2.7% | 37.5% |
---
## 3. Diagnostic 3 β Causal Thought Faithfulness (Swap, Format-Matched Truncation & Depth Scaling)
| Arm | Mode | NLL(thought) | ΞNLL_swap (nats) | ΞNLL_trunc (nats) | Swap `d=2` | Swap `d=4` | Swap `d=6` | Swap `d=8` | Monotonic? || :--- | :--- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | :---: || `B1` | `ntp` | 3.440 | +0.0000 | +0.0000 | +0.0000 | +0.0000 | +0.0000 | +0.0000 | No || `B2` | `ntp` | 3.362 | +0.0000 | +0.0000 | +0.0000 | +0.0000 | +0.0000 | +0.0000 | No || `B3` | `pause` | 3.437 | +0.0000 | +0.0000 | +0.0000 | +0.0000 | +0.0000 | +0.0000 | No || `B4` | `continuous` | 3.371 | -0.0008 | +2.9091 | +0.0141 | -0.0125 | +0.0051 | -0.0101 | No || `RL-R1` | `discrete` | 3.452 | -0.0016 | +0.0008 | -0.0063 | +0.0001 | -0.0005 | +0.0002 | No || `RL-R3` | `discrete` | 3.426 | +0.0003 | -0.0009 | -0.0016 | +0.0005 | +0.0022 | +0.0002 | No || `I2-Hybrid` | `hybrid` | 3.369 | -0.0026 | +2.7323 | -0.0005 | -0.0064 | -0.0029 | -0.0007 | No |
---
## 4. Diagnostic 4 β Distributional Calibration (Regime 1 vs Regime 3 Aleatoric Negative Control)
| Arm | Reg1 ECE | Reg1 Brier (`[-2,0]`) | Reg3 ECE (Aleatoric) | Reg3 Brier (`[-2,0]`) | Reg3 Mean Conf | Reg3 Acc | Reg3 Overconf Gap || :--- | ---: | ---: | ---: | ---: | ---: | ---: | ---: || `B1` | 0.0235 | -0.9629 | 0.0046 | -0.9936 | 0.0162 | 0.0208 | -0.0046 || `B2` | 0.0131 | -0.9595 | 0.0397 | -1.0056 | 0.0397 | 0.0000 | +0.0397 || `B3` | 0.0517 | -0.9640 | 0.0323 | -1.0027 | 0.0323 | 0.0000 | +0.0323 || `B4` | 0.0197 | -0.9586 | 0.0447 | -0.9889 | 0.0178 | 0.0625 | -0.0447 || `RL-R1` | 0.0262 | -0.9644 | 0.0255 | -0.9971 | 0.0255 | 0.0000 | +0.0255 || `RL-R3` | 0.0380 | -0.9632 | 0.0400 | -1.0046 | 0.0400 | 0.0000 | +0.0400 || `I2-Hybrid` | 0.0354 | -0.9581 | 0.0325 | -0.9982 | 0.0325 | 0.0000 | +0.0325 |
---
## 5. Diagnostic 5 β Training Stability Telemetry
| Arm | Steps | Final Train Loss / `loss_pg` | Final Val NLL / `loss_ntp` | Mean Reward | Policy Entropy | `sigma=0` Frac | No-Thought NLL Drift || :--- | ---: | ---: | ---: | ---: | ---: | ---: | ---: || `B1` | 80 | 1.4134 | 1.2866 | β | β | β | β || `B2` | 80 | 1.3435 | 1.2898 | β | β | β | β || `B3` | 80 | 1.4950 | 1.2776 | β | β | β | β || `B4` | 80 | 1.5092 | 1.3047 | β | β | β | β || `RL-R1` | 20 | -0.0000 | 1.3647 | +0.5000 | 2.727 | 1.00 | -0.0686 || `RL-R3` | 20 | +0.0000 | 1.3456 | -0.0124 | 2.269 | 0.00 | +0.0559 || `I2-Hybrid` | 20 | -0.0000 | 1.4726 | +0.1331 | 4.122 | 0.00 | -0.5746 |
### Headline Criterion Checklist (`I2-Hybrid`)
- `teacher_free`: **PASS**- `b2_accuracy_parity`: **FAIL**- `b2_flops_matched`: **FAIL**- `beats_b3_by_3pp`: **PASS**- `beats_b3_strict`: **PASS**- `swap_sensitivity_gt_0_15`: **FAIL**- `trunc_faithfulness_gt_0`: **PASS**- `monotonic_ood_depth_scaling`: **FAIL**- `ood_pass_at_k_expansion`: **PASS**- `calibration_stable`: **PASS**
## Repository Structure
```textmicro-pilot-v1/ b1/ checkpoint.pt # PyTorch state_dict + train_config (+ rl_config) config.json # ModelConfig + TrainConfig (+ RLConfig) metadata metrics.jsonl # Step-by-step training/validation telemetry b2/ checkpoint.pt # PyTorch state_dict + train_config (+ rl_config) config.json # ModelConfig + TrainConfig (+ RLConfig) metadata metrics.jsonl # Step-by-step training/validation telemetry b3/ checkpoint.pt # PyTorch state_dict + train_config (+ rl_config) config.json # ModelConfig + TrainConfig (+ RLConfig) metadata metrics.jsonl # Step-by-step training/validation telemetry b4/ checkpoint.pt # PyTorch state_dict + train_config (+ rl_config) config.json # ModelConfig + TrainConfig (+ RLConfig) metadata metrics.jsonl # Step-by-step training/validation telemetry i2_hybrid/ checkpoint.pt # PyTorch state_dict + train_config (+ rl_config) config.json # ModelConfig + TrainConfig (+ RLConfig) metadata metrics.jsonl # Step-by-step training/validation telemetry rl_r1/ checkpoint.pt # PyTorch state_dict + train_config (+ rl_config) config.json # ModelConfig + TrainConfig (+ RLConfig) metadata metrics.jsonl # Step-by-step training/validation telemetry rl_r3/ checkpoint.pt # PyTorch state_dict + train_config (+ rl_config) config.json # ModelConfig + TrainConfig (+ RLConfig) metadata metrics.jsonl # Step-by-step training/validation telemetry micro_pilot_report.md # Full 5-diagnostic Markdown evaluation report micro_pilot_metrics.json # Machine-readable diagnostic metrics payload manifest.json # SHA256 checksums and file sizes```
Future H100 Stage 1 runs (`160m` / `410m` / `1b`) are published under sibling tags (e.g., `h100-stage1/`) using the same `scripts/publish_hf.py` publisher without overwriting prior tags.
## Loading a Checkpoint in PyTorch
```pythonimport jsonimport torchfrom huggingface_hub import hf_hub_downloadfrom phase1_pilot.config import ModelConfigfrom phase1_pilot.data import PilotTokenizerfrom phase1_pilot.models import build_model
REPO_ID = "queelius/big-probs-phase1-models"ARM_PATH = "micro-pilot-v1/i2_hybrid" # or b1, b2, b3, b4, rl_r1, rl_r3
cfg_file = hf_hub_download(repo_id=REPO_ID, filename=f"{ARM_PATH}/config.json")ckpt_file = hf_hub_download(repo_id=REPO_ID, filename=f"{ARM_PATH}/checkpoint.pt")
meta = json.loads(open(cfg_file, encoding="utf-8").read())model_cfg = ModelConfig(**meta["model_config"])tokenizer = PilotTokenizer()kwargs = {"pause_token_id": tokenizer.pause_id} if model_cfg.variant == "pause" else {}model = build_model(model_cfg, **kwargs)
ckpt = torch.load(ckpt_file, map_location="cpu", weights_only=False)model.load_state_dict(ckpt["model_state_dict"], strict=True)model.eval()```
## License
Released under the MIT License. See the [Big-Probs repository](https://github.com/queelius/big-probs) for full project documentation.README.mdAdded+193