Moderator: Andres Valverde
mjlef wrote:OK,
After any extension involving a threat, reduce the depth the same amount once the threat is over. Example, if you extend on soem passed pawn push, once that pawn promotes or is captured, reduce the depth the same amount you extended it. Doing this seems to let me do more passed pawn move extensions without a huge blowup. The idea could be extended to mate threats, extensions for tactical threats, etc. Does anyone do this and what have been your results?
I will post my results once I get a lot more games in (specific limits seem critical).
Mark
mjlef wrote:OK,
This is a germ of an idea which I am testing now. Looking at huge trees my program often generates after extensions, and how it hurts search depth, this idea popped into my head:
After any extension involving a threat, reduce the depth the same amount once the threat is over. Example, if you extend on soem passed pawn push, once that pawn promotes or is captured, reduce the depth the same amount you extended it. Doing this seems to let me do more passed pawn move extensions without a huge blowup. The idea could be extended to mate threats, extensions for tactical threats, etc. Does anyone do this and what have been your results?
I will post my results once I get a lot more games in (specific limits seem critical).
Mark
H.G.Muller wrote:How is extending for a certain tactic, and after it is done reducing it again, different from merely including that tactic in quiescence search?
Uri Blass wrote:H.G.Muller wrote:How is extending for a certain tactic, and after it is done reducing it again, different from merely including that tactic in quiescence search?
It is different because the reducing is not done always but only in part of the cases.
There are cases when pawn in the 7th rank is not captured.
Uri
mjlef wrote:Exactly. The main reasons to extend are if you think the other side is trying to delay something (e.g. toss in a meaninless check to hide me frome losing my rook) or if you are uncertain how something will turn out (dangerous passed pawn being pushed). Extending for the whole remaining depth makes no sense if the reason for extending is now gone. If it has not been resolved one way or another, then extra depth is warrented to try and figure it out. Once the pawn promotes, I think the search might profit more from looking down other lines deeply than searching all those queen moves one ply deeper anyway.
H.G.Muller wrote:mjlef wrote:Exactly. The main reasons to extend are if you think the other side is trying to delay something (e.g. toss in a meaninless check to hide me frome losing my rook) or if you are uncertain how something will turn out (dangerous passed pawn being pushed). Extending for the whole remaining depth makes no sense if the reason for extending is now gone. If it has not been resolved one way or another, then extra depth is warrented to try and figure it out. Once the pawn promotes, I think the search might profit more from looking down other lines deeply than searching all those queen moves one ply deeper anyway.
You say 'exactly', but your last statement suggests that you will always take the extension back, no matter if it ends good (promotion) or bad (Pawn loss).
Once the pawn promotes, I think the search might profit more from looking down other lines deeply than searching all those queen moves one ply deeper anyway.
H.G.Muller wrote:How should I understand the following sentence, then?Once the pawn promotes, I think the search might profit more from looking down other lines deeply than searching all those queen moves one ply deeper anyway.
To me this suggests it argues for revoking the extension on promotion as well.
mjlef wrote:OK,
This is a germ of an idea which I am testing now. Looking at huge trees my program often generates after extensions, and how it hurts search depth, this idea popped into my head:
After any extension involving a threat, reduce the depth the same amount once the threat is over. Example, if you extend on soem passed pawn push, once that pawn promotes or is captured, reduce the depth the same amount you extended it. Doing this seems to let me do more passed pawn move extensions without a huge blowup. The idea could be extended to mate threats, extensions for tactical threats, etc. Does anyone do this and what have been your results?
mjlef wrote:Any users of Free Pascal around?
Return to Programming and Technical Discussions
Users browsing this forum: Google [Bot] and 8 guests