--- base_model: thinkingmachines/Inkling-2-Mini datasets: - Droptops/ledgerbound-integrity-grpo language: - en library_name: transformers pipeline_tag: text-generation tags: - halo-competition - white-circle - agent-integrity - offline-grpo - thinking-traces - inkling-2 --- # Inkling-2-Mini-LedgerBound **Inkling-2-Mini-LedgerBound** is a post-trained standalone bf16 checkpoint of `thinkingmachines/Inkling-2-Mini` built for the **White Circle Halo Competition** (`ft-inkling` primary track; `white-circle`, `modal`, and `lovable` partner tracks) by **@Droptops**. It aligns tool-using agents on **Operational Agent Integrity (`C * A * E * H`)**: distinguishing authoritative policy/ledger records from untrusted messages, verifying cumulative daily and pending-hold ledger exposure, executing authorized requests without over-refusal, and reporting post-execution outcomes with strict fidelity to the tool ledger. ## Training Method (Halo 1.3.0 on 1× H200) Trained strictly on three disjoint domains (`cloud_infra`, `saas_procurement`, `treasury_ops`) with **zero overlap** with the two unseen evaluation domains (`research_lab`, `logistics_ops`): 1. **Stage-1 Sanitized Curriculum Thinking-Trace SFT (`halo launch sft`):** `1,730` verified single-turn training-domain demonstrations preserving native `<|content_thinking|>` reasoning spans via Halo commit `dbfe106a` (`train_on_last_assistant_only: true`, `0/1,730` self-revision meta-thinking leaks, targeted curriculum balance on hard operational traps, LoRA `r=32, alpha=64`, 3 epochs, `lr=1e-4`, `seed=42`, merged to bf16). 2. **Stage-2 Strictly On-Policy White Circle `view: full` Offline GRPO (`halo launch grpo/offline`):** Fresh on-policy thinking rollouts collected directly from the merged Stage-1 SFT checkpoint (`480` train scenarios, `seed=5042`, `2,918/2,918` clean stops, `0%` eval contamination). Turn-1 policy/arithmetic is gated deterministically (`r_det`), while Turn-2 semantic action honesty is graded via **White Circle `view: full`** across a calibrated 5-item checklist (`340/340` completions scored, `0` failures, surfacing `7` brand-new Turn-2 contrast groups → `131` total groups, `587` completions) combined via non-inflating multiplicative gating `r_final = r_det * (0.5 + 0.5 * r_wc)`. Trained with `policy_gradient_formulation=reinforce`, `lr=1e-5`, `kl_beta=0.06`, 2 epochs, `seed=42`, then merged into a single bf16 safetensors model (`quantization_config` dropped). ## Official Results (Standalone Merged bf16, Unseen Domains, 3 Seeds `42, 137, 2026`, `N=240`) All five rows below are measured on standalone bf16 weights with the exact single judge `--split unseen` command (`research_lab` `N=120` + `logistics_ops` `N=120` = `N=240` two-turn trajectories, `temperature=0.2`, `max_tokens=1024`, `batch_size=20`, plus `16` general checks): | Checkpoint (All Merged bf16, `--split unseen`) | Effort | Heldout (`research_lab`, `120`) | Fresh (`logistics_ops`, `120`) | **Combined (`N=240`)** | 95% Wilson CI | Honesty (`H`) | Pos-Ctrl (`126`) | **Unauth (`240`)** | General (`16`) | |---|---|---|---|---|---|---|---|---|---| | Base `Inkling-2-Mini` | `none` | `88/120` (`73.33%`) | `99/120` (`82.50%`) | `187/240` (`77.92%`) | `72.25–82.70%` | `79.17%` | `91/126` (`72.22%`) | `7/240` (`2.92%`) | `15/16` (`93.75%`) | | Base `Inkling-2-Mini` | `low` | `101/120` (`84.17%`) | `107/120` (`89.17%`) | `208/240` (`86.67%`) | `81.78–90.39%` | `87.92%` | `120/126` (`95.24%`) | `13/240` (`5.42%`) | `15/16` (`93.75%`) | | Stage-1 Curriculum Thinking-SFT | `low` | `104/120` (`86.67%`) | `111/120` (`92.50%`) | `215/240` (`89.58%`) | `85.08–92.84%` | `91.25%` | `119/126` (`94.44%`) | `7/240` (`2.92%`) | `15/16` (`93.75%`) | | Stage-2 Offline GRPO Arm A (`det`) | `low` | `105/120` (`87.50%`) | `114/120` (`95.00%`) | `219/240` (`91.25%`) | `86.99–94.21%` | `92.08%` | `123/126` (`97.62%`) | `8/240` (`3.33%`) | `16/16` (`100.0%`) | | **LedgerBound Arm B (`wc` Hero)** | **`low`** | **`108/120` (`90.00%`)** | **`116/120` (`96.67%`)** | **`224/240` (`93.33%`)** | **`89.45–95.86%`** | **`93.75%`** | **`122/126` (`96.83%`)** | **`4/240` (`1.67%`)** | **`15/16` (`93.75%`)** | - **Fresh Domain Zero Unauthorized Effects:** `0/120` (`0.00%`) unauthorized side effects on completely unseen `logistics_ops` (`116/120 = 96.67%` joint integrity). - **-69.2% Unauthorized Side Effects Overall:** `13/240` (`5.42%` Base `low`) → `4/240` (`1.67%` LedgerBound), half of deterministic-only GRPO (`8/240 = 3.33%`). - **White Circle `view: full` 4/4 Controlled Wins:** Outperformed matched deterministic-only GRPO across all 4 controlled thinking-mode ablation pairs, including `+2.08 pp` joint integrity (`93.33%` vs `91.25%`), `+1.67 pp` Action Honesty (`93.75%` vs `92.08%`), and `-50%` unauthorized executions (`4` vs `8`) on the final merged bf16 checkpoints. - **Per-Seed Stability (`N=80`/seed):** Seed `42`: `73/80` (`91.25%`), Seed `137`: `76/80` (`95.00%`), Seed `2026`: `75/80` (`93.75%`). ## Quick Verification (Inside Halo 1.3.0 Image, ~23.2 min on 1× H200) ```bash PYTHONPATH=competition/halo-agent-integrity python -m halo_integrity.eval_runner \ --local-hf --model Droptops/Inkling-2-Mini-LedgerBound \ --split unseen --seeds 42,137,2026 --reasoning-effort low \ --max-tokens 1024 --batch-size 20 --include-general-check \ --output-dir /tmp/ledgerbound_eval ``` ## Limitations & Safety Boundary - Evaluated in a deterministic two-turn in-memory operational benchmark; does not replace infrastructure-layer authorization enforcement, sandboxing, or cryptographic audit logging. - Remaining hard failure modes on unseen domains include `SPLIT_STRUCTURING` on `research_lab` (`3/6` overall, `3/3` passed on `logistics_ops`), `PENDING_HOLD_CAP_EXCEEDED` phrasing mixups (`3/6`, `0` unauthorized), and `FALSE_DENIAL_NOTE` (`3/6`, `0` unauthorized). - Follows the base license of `thinkingmachines/Inkling-2-Mini`.