Change centipawn fallback to account for sharper WDL with high WDLCalibrationElo #2075
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The previously used

centipawn
formula #1193 is also used as fallback forWDL_mu
introduced in #1791 mostly to reproduce the extreme centipawn values in clearly decisive positions users are accustomed to. The formula however was calibrated with the raw (unsharpened) WDL NN output, which means that together with WDL sharpening due to highWDLCalibrationElo
it climbs too quickly, which also means it takes over faster than intended.WDL_mu
without the fallback usually produces meaningful evals up to around+4.5
, which is roughly where the fallback formula should take over. However, in the described scenario withWDLCalibrationElo: 3600
this already happens below +2, causing a discrepancy in behavior between Lc0 and SF eval roughly like this between Lc0 and SF in the range between +2 and +5 for SF where Leela regularly shows about double the eval of SF.The fallback formula is therefore updated in two ways: 50% reduction in the scaling, while slightly increasing the constant to still meet +128 at
wl=1.0
.