ThanksLaskos wrote:I fitted with least squares the results for SF (ply 1 to 19) and Komodo 8 (ply 1 to 17).Uri Blass wrote:You assume constant branching factor but I suspect that the branching factor tends to goes down with more nodes so it is going to be less than itLaskos wrote:I am on my weak notebook, so the depths achieved are not very high.Uri Blass wrote:
Thanks for the information.
It may be interesting to know the effective branching factor with the default version also for stockfish and also for higher depths than depths 11-15
It may be interesting to know if the EBF tend to go down when the depth go up to get some formula of the average nodes that chess programs need to get depth n both for stockfish and komodo.1/ If we take EBF as Nodes^(1/Depth) then we will get misleading EBF Komodo 2.50 and EBF SF 2.30. That's because of Ply 1, which suddenly rises to large values.Code: Select all
Komodo 8 TotTime: 121:01m SolTime: 121:01m Ply: 0 Positions:150 Avg Nodes: 0 Branching = 0.00 Ply: 1 Positions:150 Avg Nodes: 145 Branching = 0.00 Ply: 2 Positions:150 Avg Nodes: 361 Branching = 2.49 Ply: 3 Positions:150 Avg Nodes: 735 Branching = 2.04 Ply: 4 Positions:150 Avg Nodes: 1604 Branching = 2.18 Ply: 5 Positions:150 Avg Nodes: 2925 Branching = 1.82 Ply: 6 Positions:150 Avg Nodes: 5034 Branching = 1.72 Ply: 7 Positions:150 Avg Nodes: 9015 Branching = 1.79 Ply: 8 Positions:150 Avg Nodes: 16481 Branching = 1.83 Ply: 9 Positions:150 Avg Nodes: 32833 Branching = 1.99 Ply:10 Positions:150 Avg Nodes: 64039 Branching = 1.95 Ply:11 Positions:150 Avg Nodes: 130712 Branching = 2.04 Ply:12 Positions:150 Avg Nodes: 258195 Branching = 1.98 Ply:13 Positions:150 Avg Nodes: 493481 Branching = 1.91 Ply:14 Positions:150 Avg Nodes: 942114 Branching = 1.91 Ply:15 Positions:150 Avg Nodes: 1706669 Branching = 1.81 Ply:16 Positions:150 Avg Nodes: 3093132 Branching = 1.81 Ply:17 Positions:150 Avg Nodes: 5904301 Branching = 1.91 SF 21092014 TotTime: 99:42m SolTime: 99:42m Ply: 0 Positions:150 Avg Nodes: 0 Branching = 0.00 Ply: 1 Positions:150 Avg Nodes: 143 Branching = 0.00 Ply: 2 Positions:150 Avg Nodes: 454 Branching = 3.17 Ply: 3 Positions:150 Avg Nodes: 920 Branching = 2.03 Ply: 4 Positions:150 Avg Nodes: 1716 Branching = 1.87 Ply: 5 Positions:150 Avg Nodes: 2994 Branching = 1.74 Ply: 6 Positions:150 Avg Nodes: 5161 Branching = 1.72 Ply: 7 Positions:150 Avg Nodes: 8765 Branching = 1.70 Ply: 8 Positions:150 Avg Nodes: 15862 Branching = 1.81 Ply: 9 Positions:150 Avg Nodes: 32596 Branching = 2.05 Ply:10 Positions:150 Avg Nodes: 64130 Branching = 1.97 Ply:11 Positions:150 Avg Nodes: 114509 Branching = 1.79 Ply:12 Positions:150 Avg Nodes: 214187 Branching = 1.87 Ply:13 Positions:150 Avg Nodes: 387621 Branching = 1.81 Ply:14 Positions:150 Avg Nodes: 642514 Branching = 1.66 Ply:15 Positions:150 Avg Nodes: 1131855 Branching = 1.76 Ply:16 Positions:150 Avg Nodes: 1895303 Branching = 1.67 Ply:17 Positions:150 Avg Nodes: 3085415 Branching = 1.63 Ply:18 Positions:150 Avg Nodes: 4856014 Branching = 1.57 Ply:19 Positions:150 Avg Nodes: 7714003 Branching = 1.59
2/ Better take EBF of last 5 plies, which are better predictor for higher depths. Keep in mind that I used Hash of 1GB, which was never fully filled during the test.
So, for EBF in the last 5 plies:
EBF Komodo 8: 1.87
EBF SF: 1.64
And their respective predictions for higher depths (with enough Hash) are:
Komodo 8: Nodes=5904301*1.87^(depth-17)
SF 21092014: Nodes=7714003*1.64^(depth-19)
and you may need a different formula
Somebody claimed that
the amount N of nodes to depth d in the opening position
fits the formula
https://groups.google.com/forum/?fromgr ... y7WosULKWk
Sergey Morozov suggested the following formula as an estimate based on analysis of the opening position
Nodes= 1.5*15^(depth^0.6)
Of course a single position may be misleading but it may be interesting to find the best A,B,C for a formula of the type
Nodes=C*A^(depth^B).
SF: Nodes = 51.1*3.908^(depth^0.7367)
The branching factor here indeed goes down with depth (with unlimited Hash size).
But for Komodo 8: Nodes = 268.2*1.621^(depth^1.069)
The branching factor here goes very mildly up with depth (with unlimited Hash size).
I think that least squares may be misleading here and give too much weight for high depths because the biggest branching factor numbers for komodo are at depth 2-4.
Maybe it is better to try to find least squares for the formula
log(nodes)=log(C*A^(depth^B))
or
log(nodes)=log(C)+depth^B*log(A)