feat: policy network v1 replaces the move heuristics
networks/rigby-policy-v1.bin is now built in by default (POLICYFILE; POLICYFILE= still builds the heuristics). It is a 3072 -> 1024 -> 3920 network trained by train/policy on 171M positions of Lc0 test91 self-play (2026-10-25 .. 11-15) against the search's visit distributions: 10 superbatches of 100M, 10 minutes on the RTX 3070, final loss 2.296 (2.39 after the first superbatch). The butterfly history bias and PolicyTemp apply on top of its logits as they did on the heuristics' scores. Sensible priors: 1.e4 e5 75%, Kiwipete Bxa6 38%, black bxc3 43%, c8=Q in the K+P ending. The engine's quantised output matches the trainer's float output to tenths of a percent, a few percent on very sharp distributions. Costs about 10% nps on the bench. Checked: bench deterministic; RIGBY_VERIFY_TREE build driven over UCI (Hash 1 MB, repeated positions, fen + moves, wtime/winc, go infinite + stop) without an abort; a build with POLICYFILE= gives the old bench 529903. Bench: 630039 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
05fd552e0b
commit
c4f65b2632
4 files changed
+19
-10
No files matched your search
+8
-1
@@ -166,7 +166,14 @@ frame. Hidden: `clamp(acc[i], 0, 1) * clamp(acc[i + H/2], 0, 1)`.
|
||||
|
||||
`train.ps1 --check checkpoints\<id>-<superbatch> --hidden <H>` prints the trainer's
|
||||
(float) policy of fixed positions; the engine's `policyfens` command prints the
|
||||
same with the quantised network. They agree to a few tenths of a percent.
|
||||
same with the quantised network. They agree to a few tenths of a percent, a few
|
||||
percent on very sharp distributions (rigby-policy-v1, 1.e4 e5: 80.2% vs 75.3%).
|
||||
|
||||
### Networks
|
||||
|
||||
| File | Data | Hidden | Superbatches | Final loss |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| `networks/rigby-policy-v1.bin` | test91 2026-10-25 .. 11-15 (171M positions) | 1024 | 10 (10 min) | 2.296 |
|
||||
|
||||
### Setup
|
||||
|
||||
|
||||
Reference in new issue
Block a user