- Dualist-Hyper-v2.1
- Packaged Artifacts
- Architecture Summary
- Verified Benchmarks (
-nobook)- Dualist Hyper v2.0 (1T) vs. v2.1 (6T) Direct Comparison (
i7-8700K 6C/12T,-nobook) - Dualist Hyper v2.1 Multi-Core Benchmarks (
-nobook,6Ton i7-8700K) - Multi-Core Scaling Profile (
1Tto12Ton Intel Core i7-8700K 6C/12T) - Historical v2.0 Single-Thread Reference (
d13 + MPC + Exact22,1T) - FFO Endgame Suite (
#40-#59, 20 positions,-nobook) - GPU Inference Latency (NVIDIA GeForce GTX 1080, Pascal SM 6.1)
- Dualist Hyper v2.0 (1T) vs. v2.1 (6T) Direct Comparison (
- Quickstart
- License & Attribution
- Packaged Artifacts
Dualist-Hyper-v2.1
Dualist Hyper is a hybrid Othello (Reversi) AI engine combining a 20,217,382-parameter Dual-Stream FiLM-SE-ResNet (model.safetensors) with a zero-copy multi-core C++20 AVX2/BMI2 bitboard engine (egaroucid_bridge.dll) and a 100% Dualist-trained 16-pattern int16_t SIMD table (dualist_e2.egev2).
On paired XOT matches without an opening book (-nobook) and without using Egaroucid's bundled weights (eval.egev2 or book.egbk3), Dualist Hyper v2.1 (multi-core YBWC + Lazy SMP) beats Egaroucid Level 11 at equal thinking time (51.50% WR, 87W/32D/81L, +0.06 discs at 10.9 ms/move), reaches 62.00% WR (+1.09 discs, Est Elo 2145) vs Level 11 at 45.3 ms/move, and scores 45.00% WR (+0.10 discs, 7W/4D/9L) against Egaroucid Level 17 at 47.5 ms/move.
Package generated: 2026-11-20T10:54:16.175001+00:00 | Neural checkpoint step: 15700 (games_played=4780, EMA weights)
Packaged Artifacts
LICENSEREADME.mdbridge_binding.pyconfig.jsondualist_e2.egev2dualist_e2_manifest.jsondualist_hyper_fp32.onnxegaroucid_bridge.dllexport_manifest.jsoninclude/dualist_bridge.hppmodel.safetensorsmodeling_dualist.py
Notice on non-redistribution: Raw Egaroucid training datasets (Egaroucid_Train_Data.zip), bundled Egaroucid evaluation weights (eval.egev2, eval_move_ordering_end.egev), and opening books (book.egbk3) are strictly excluded and not redistributed in this repository.
Architecture Summary
1. Neural Network (DualistNetHyper -> model.safetensors)
- Input streams:
- Spatial stream
[B, 16, 8, 8]: player/opponent/empty bitboards, legal moves, frontiers, unconditionally stable discs, quadrant parity masks, corner/edge planes. - Scalar stream
[B, 32]: 16 pattern scalars + game phase, mobility, disc counts, stability, and parity features.
- Spatial stream
- Backbone: 16-block ResNet (256 channels, Squeeze-and-Excitation
r=4, Feature-wise Linear Modulation FiLM every 4th block conditioned on a 128-d pattern MLP). - Outputs:
log_policy[B, 65]: masked log-probabilities over 64 board squares + slot64(PASS).pred_score[B]: expected final disc difference in[-64, +64].wdl_logits[B, 3]&dist_logits[B, 129]: win/draw/loss logits and 129-bin disc distribution ([-64..+64]).
2. Dualist E.2 Multi-Core C++20 / AVX2 Engine (dualist_e2.egev2 + egaroucid_bridge.dll)
- Trained strictly from zero-initialized weights (
dualist_e2_init_zero) via lock-free 8-thread phase-sharded Sparse AdaGrad across88,901,875board states (Val MAE = 4.9814discs on unseen Lv11 holdout positions). - v2.1 Performance Architecture (Phase F):
- Stack-allocated 128-byte 4x
__m256iincremental AVX2 pattern updates (max_diff == 0over 105,000 positions,10.9โ11.0Msingle-thread midgame NPS). - 2-Pass Enhanced Transposition Cutoff (ETC), lightweight 4-pattern endgame move ordering (
f256[2]) + Speed-First mobility, SIMDsolve_exact_1..4with Quasi-Parity quadrant ordering and odd-empty draw exclusion. - Persistent C++20 worker thread pool (
1โ12threads, optimal6physical cores on i7-8700K) running Hybrid Lazy SMP + interior YBWC in midgame, pure YBWC in exact endgame, 65,536-shard spinlocked 4-way shared TTs (256.0 MiBg_e2_tt+192.0 MiBg_exact_tt) plus lock-free per-thread local endgame TTs (5โ10empties). - Time-managed Iterative Deepening (
time_limit_ms) with Soft-Stop iteration prediction and tiered Endgame-MPC Tail Reach down to exacte2_solve_tail(<= 8empties).
- Stack-allocated 128-byte 4x
Verified Benchmarks (-nobook)
Dualist Hyper v2.0 (1T) vs. v2.1 (6T) Direct Comparison (i7-8700K 6C/12T, -nobook)
| Metric / Benchmark | Dualist Hyper v2.0 (Single-Thread) | Dualist Hyper v2.1 (Multi-Core Phase F) | Improvement / Delta |
|---|---|---|---|
XOT-20 Cold TT (d11 + ex21) |
108.75 ms/move (1T) |
38.64 ms/move (6T) |
2.81x faster |
XOT-20 Cold TT (d13 + ex22) |
385.42 ms/move (1T) |
107.10 ms/move (6T) |
3.60x faster |
XOT-20 Midgame Only (d13) |
24.88 ms/move (7.10M NPS, 1T) |
10.10 ms/move (6T) |
2.46x faster |
XOT-20 Exact Endgame (ex22) |
1226.68 ms/move (1T) |
333.43 ms/move (6T YBWC) |
3.68x faster |
FFO #40-#59 (d13 + ex22) |
18/20 (0.30 regret), 362.0 ms/pos (1T) |
18/20 (0.30 regret), 98.2 ms/pos (8T) |
3.69x faster, 100% parity |
| XOT-200 vs Egaroucid Lv11 (Equal Time) | Not feasible at <=12 ms (104.0 ms for 55.00%) |
51.50% WR (+0.06 discs) @ 10.9 ms/move |
9.56x lower latency, beats Lv11 at equal time |
| XOT vs Egaroucid Lv11 (Deep Search) | 55.00% WR (+0.17 discs, Elo 2095) @ 104.0 ms |
62.00% WR (+1.09 discs, Elo 2145) @ 45.3 ms |
+7.00% WR, +0.92 discs, 2.29x faster |
XOT-20 vs Egaroucid Lv17 (-nobook) |
Not benchmarked in v2.0 | 45.00% WR (7W/4D/9L, +0.10 discs) @ 47.5 ms |
7 wins & positive disc diff vs Lv17 |
Dualist Hyper v2.1 Multi-Core Benchmarks (-nobook, 6T on i7-8700K)
| Configuration | Opponent (-nobook) |
Games | Record | Win Rate | Black / White WR | Avg Disc Diff | Est Elo | Latency (Dualist vs Opp) |
|---|---|---|---|---|---|---|---|---|
v2.1 Equal-Time (d13+ex20, 6T, 60ms) |
Egaroucid Lv11 | 200 | 87W / 32D / 81L | 51.50% | 49.0% / 54.0% | +0.06 | 2070 | 10.9 vs 9.4 ms |
v2.1 Deep (d17+ex23, 6T, 140ms) |
Egaroucid Lv11 | 100 | 52W / 20D / 28L | 62.00% | 62.0% / 62.0% | +1.09 | 2145 | 45.3 vs 10.4 ms |
v2.1 Deep (d17+ex23, 6T, 140ms) |
Egaroucid Lv13 | 60 | 22W / 11D / 27L | 45.83% | 38.3% / 53.3% | -0.87 | 2151 | 47.4 vs 16.2 ms |
v2.1 Deep (d17+ex23, 6T, 140ms) |
Egaroucid Lv15 | 40 | 11W / 3D / 26L | 31.25% | 42.5% / 20.0% | -2.92 | 2163 | 46.7 vs 20.6 ms |
v2.1 Deep (d17+ex23, 6T, 140ms) |
Egaroucid Lv17 | 20 | 7W / 4D / 9L | 45.00% | 45.0% / 45.0% | +0.10 | 2385 | 47.5 vs 26.3 ms |
Multi-Core Scaling Profile (1T to 12T on Intel Core i7-8700K 6C/12T)
| Threads | XOT-20 d11+ex21 |
XOT-20 d13+ex22 (Speedup vs v2.0) |
FFO #40-#59 d13+ex22 (Speedup vs v2.0) |
FFO Optimal (Regret) |
|---|---|---|---|---|
1T |
97.41 ms |
336.96 ms (1.14x vs v2.0) |
284.28 ms (1.27x vs v2.0) |
18/20 (0.30) |
2T |
62.59 ms |
207.25 ms (1.86x vs v2.0) |
167.89 ms (2.16x vs v2.0) |
18/20 (0.30) |
4T |
46.14 ms |
141.00 ms (2.73x vs v2.0) |
120.57 ms (3.00x vs v2.0) |
18/20 (0.30) |
6T |
38.64 ms |
107.10 ms (3.60x vs v2.0) |
102.95 ms (3.52x vs v2.0) |
18/20 (0.30) |
8T |
39.67 ms |
114.78 ms (3.36x vs v2.0) |
98.18 ms (3.69x vs v2.0) |
18/20 (0.30) |
12T |
38.20 ms |
117.86 ms (3.27x vs v2.0) |
111.08 ms (3.26x vs v2.0) |
18/20 (0.30) |
Historical v2.0 Single-Thread Reference (d13 + MPC + Exact22, 1T)
| Opponent | Games | Record | Win Rate | Black / White WR | Avg Disc Diff | Est Elo | Latency (Dualist vs Opp) |
|---|---|---|---|---|---|---|---|
Egaroucid Lv1 (-nobook) |
200 | 200W / 0D / 0L | 100.00% | 100.0% / 100.0% | +46.70 | 2258 | 110.9 vs 0.1 ms |
Egaroucid Lv11 (-nobook) |
200 | 96W / 28D / 76L | 55.00% | 53.0% / 57.0% | +0.17 | 2095 | 104.0 vs 11.2 ms |
FFO Endgame Suite (#40-#59, 20 positions, -nobook)
- Dualist_v2.1_d13_ex22_6T: 18/20 (90.0%) optimal, 19/20 within <=2 discs, avg regret 0.30 discs, Value MAE 1.57, 135.3 ms/pos
- Dualist_v2.1_d15_ex24_6T: 18/20 (90.0%) optimal, 19/20 within <=2 discs, avg regret 0.30 discs, Value MAE 1.31, 1139.3 ms/pos
- Dualist_v2.1_d17_ex24_6T_140ms: 16/20 (80.0%) optimal, 18/20 within <=2 discs, avg regret 0.80 discs, Value MAE 2.40, 87.8 ms/pos
- Egaroucid Lv11 reference (
-nobook): 17/20 (85.0%) optimal, 18/20 within <=2 discs, avg regret 0.70 discs, ~29 ms/pos.
GPU Inference Latency (NVIDIA GeForce GTX 1080, Pascal SM 6.1)
PyTorch Eager FP32(bs=1/16/32):6.96 ms / 10.67 ms / 13.46 msONNX Runtime CUDA FP32(dualist_hyper_fp32.onnx,bs=1/16/32):3.69 ms / 11.53 ms / 14.10 ms(top1_agreement = 1.000,score_mae = 1.24e-05)
Quickstart
Loading model.safetensors in Python
from safetensors.torch import load_file
from modeling_dualist import DualistNetHyper
import json
cfg = json.load(open("config.json", encoding="utf-8"))["neural_architecture"]
model = DualistNetHyper(
in_planes=cfg["in_planes"],
scalar_dim=cfg["scalar_dim"],
channels=cfg["channels"],
num_blocks=cfg["num_blocks"],
).eval()
model.load_state_dict(load_file("model.safetensors", device="cpu"), strict=True)
Running Standalone Multi-Core C++20 E.2 Search on Windows (egaroucid_bridge.dll)
from bridge_binding import EgaroucidBridge, INITIAL_BLACK_BB, INITIAL_WHITE_BB
bridge = EgaroucidBridge(dll_path="egaroucid_bridge.dll")
bridge.e2_load_egev2("dualist_e2.egev2")
res = bridge.e2_search(
INITIAL_BLACK_BB,
INITIAL_WHITE_BB,
mid_depth=13,
endgame_empties=20,
use_mpc=True,
n_threads=6,
time_limit_ms=60,
)
print("Best move:", res.best_move, "Eval (discs):", res.root_value)
bridge.shutdown()
License & Attribution
GNU General Public License v3.0 (GPL-3.0)
Because this distribution includes egaroucid_bridge.dll (and bridge headers) compiled against the Egaroucid C++ bitboard/evaluation engine source code, the bundled distribution is released under the GNU General Public License v3.0 (GPL-3.0). See LICENSE for the full license text.
Academic Citation
If you use Dualist Hyper or the underlying Egaroucid bitboard/pattern framework in research or software, please cite Takuto Yamana's Egaroucid project and pattern-compression research:
@software{yamana_egaroucid,
author = {Yamana, Takuto},
title = {Egaroucid: Super Strong and Fast Othello AI},
version = {7.8.2},
url = {https://www.egaroucid.nyanyan.dev/},
orcid = {https://orcid.org/0009-0009-0615-3693},
license = {GPL-3.0}
}
@article{yamana2025compressing,
author = {Yamana, Takuto and Hoshino, Junichi},
title = {Compressing the Evaluation Function With Small-Scale Deep Learning on Othello},
journal = {IEEE Transactions on Games},
year = {2025},
url = {https://www.researchgate.net/publication/396964209_Compressing_the_Evaluation_Function_With_Small-Scale_Deep_Learning_on_Othello}
}
- Downloads last month
- 24