r/MachineLearning • u/Melodic_Note568 • 7h ago
Project Squid-1: An open-weights calibrated System One decision model fine-tuned for $5.26 [P]
Hello!
I trained Squid-1, an open-weights calibrated System One decision model that can output calibrated probability estimates for each option without generating any tokens of its chain of thought:
Fine tuned from Inkling-2-Mini (3.4B active / 26.4B total, Apache 2.0)
Out of pocket cost was $5.26
Weights are released under Apache 2.0: https://huggingface.co/naluj/squid-1
See the repo for full code, scorecards, and evaluation results: https://github.com/naluj/squid
Training methodology:
- Active hard-example mining to select 2,250 difficult examples from a pool of 9,958 ($0).
- System Two to System One soft-target distillation from Inkling-2-Small ($5.26).
- LoRA fine-tuning on Tinker's free tier using cross-entropy, Brier loss for probability calibration, and a 4-form symmetry loss to improve decision consistency.
Some highlights:
- Reduces 4-form flip rate to 8.9% (down from 27.8%, with 0% flip on safety!) across negated/rephrased/shuffled 4-forms!
- Gets a When2Call Tool Routing & Tool Refusal Score of 88.12 (+8.26 over v5!) and has high precision (99.0%!) on the Omniscience Tool Routing & Tool Refusal Score (abstains on uncertain examples)
- Is robust to prompt injection attacks (reduction of >4x, from -10.5 to -2.4, on held-out injection attack)
- Has good calibration to decision-v7/test (ECE of 0.025) when only the lowest 20% of decisions are escalated and can catch 52.6% of all errors!
- 72.77 AA Decision Index v2.1 proxy (O*NET 87.57, When2Call 88.12, HLE 47.75)
(Note: When2Call, O*NET, HLE numbers are scores on a local proxy, not the AA scores!)
I'm a high school student working on this project independently, and I'd love to hear any feedback on the model, training methodology, or potential use cases. Happy Thanksgiving weekend!