Extensions in the days of LMR?

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Mincho Georgiev
Posts: 454
Joined: Sat Apr 04, 2009 6:44 pm
Location: Bulgaria

Re: Extensions in the days of LMR?

Post by Mincho Georgiev »

I do 1 PLY for see negative captures as well.

P.S. to give that some context, R for see() < 0 = R-1, but I use constant R = 2. I don't think this would work beyond Rcaps = 1 with a depth-dependent reduction.
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Extensions in the days of LMR?

Post by bob »

Mincho Georgiev wrote:I do 1 PLY for see negative captures as well.

P.S. to give that some context, R for see() < 0 = R-1, but I use constant R = 2. I don't think this would work beyond Rcaps = 1 with a depth-dependent reduction.
My LMR currently varies between 1 and 7 depending on remaining depth. We have been experimenting with reducing PV nodes slightly less, but nothing definitive so far beyond reducing them one ply less than other nodes.
Mincho Georgiev
Posts: 454
Joined: Sat Apr 04, 2009 6:44 pm
Location: Bulgaria

Re: Extensions in the days of LMR?

Post by Mincho Georgiev »

bob wrote:
Mincho Georgiev wrote:I do 1 PLY for see negative captures as well.

P.S. to give that some context, R for see() < 0 = R-1, but I use constant R = 2. I don't think this would work beyond Rcaps = 1 with a depth-dependent reduction.
My LMR currently varies between 1 and 7 depending on remaining depth. We have been experimenting with reducing PV nodes slightly less, but nothing definitive so far beyond reducing them one ply less than other nodes.
Thanks, this just confirms my futile attempts to distinguish pv/non pv lmr. I once had the dream to get rid of the LMR at the root and pv nodes altogether, but how can I do that when the end results is way worse than LMR everywhere with the same R. Maybe I'm doing it wrong, I don't know.
Since we're on the subject, what's the overall opinion on dropping into qsearch. I've done tones of inconclusive testing on whether I should save 1 pre-leafs PLY (NO LMR at DEPTH=1 vs R=1 on DEPTH=1)
jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Extensions in the days of LMR?

Post by jdart »

I recently tried this and not going into the q-search was very slightly better.

But I have fractional extensions/reductions. So the remaining depth can be a fraction of a ply.

--Jon
User avatar
cdani
Posts: 2204
Joined: Sat Jan 18, 2014 10:24 am
Location: Andorra

Re: Extensions in the days of LMR?

Post by cdani »

Mincho Georgiev wrote: Since we're on the subject, what's the overall opinion on dropping into qsearch.
I'm currently simply pruning the move when lmr hits qsearch depths.
Mincho Georgiev
Posts: 454
Joined: Sat Apr 04, 2009 6:44 pm
Location: Bulgaria

Re: Extensions in the days of LMR?

Post by Mincho Georgiev »

jdart wrote:I recently tried this and not going into the q-search was very slightly better.

But I have fractional extensions/reductions. So the remaining depth can be a fraction of a ply.

--Jon
Thanks. Just to compare better, do you use tt at qnodes?
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Extensions in the days of LMR?

Post by bob »

Mincho Georgiev wrote:
bob wrote:
Mincho Georgiev wrote:I do 1 PLY for see negative captures as well.

P.S. to give that some context, R for see() < 0 = R-1, but I use constant R = 2. I don't think this would work beyond Rcaps = 1 with a depth-dependent reduction.
My LMR currently varies between 1 and 7 depending on remaining depth. We have been experimenting with reducing PV nodes slightly less, but nothing definitive so far beyond reducing them one ply less than other nodes.
Thanks, this just confirms my futile attempts to distinguish pv/non pv lmr. I once had the dream to get rid of the LMR at the root and pv nodes altogether, but how can I do that when the end results is way worse than LMR everywhere with the same R. Maybe I'm doing it wrong, I don't know.
Since we're on the subject, what's the overall opinion on dropping into qsearch. I've done tones of inconclusive testing on whether I should save 1 pre-leafs PLY (NO LMR at DEPTH=1 vs R=1 on DEPTH=1)
Dropping directly into q-search was worse for me, but I have not tested this in a year or so now to see if that remains true...
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Extensions in the days of LMR?

Post by bob »

cdani wrote:
Mincho Georgiev wrote: Since we're on the subject, what's the overall opinion on dropping into qsearch.
I'm currently simply pruning the move when lmr hits qsearch depths.
That's a good point since LMP can trigger (in Crafty) well away from the horizon it is likely that many such moves never see the light of day to hit LMR and have a chance of dropping into q-search.
jdart
Posts: 4366
Joined: Fri Mar 10, 2006 5:23 am
Location: http://www.arasanchess.org

Re: Extensions in the days of LMR?

Post by jdart »

User avatar
lucasart
Posts: 3232
Joined: Mon May 31, 2010 1:29 pm
Full name: lucasart

Re: Extensions in the days of LMR?

Post by lucasart »

Think of it this way: non reduction is a relative extension. You have a whole range between: +1 (extend), 0 (normal), -1 (reduce 1 ply), -2 (reduce 2 plies), etc.

For example the recapture extension is old and busted. Plus it's bogus, because it's path dependent combined with a hash table…

Instead, what people do nowadays is more like this:
* quiet moves can get aggressively reduced
* bad captures reduced by 1 ply
* good and equal captures not reduced (nor extended)

So the recaptures are a particular case of good or equal capture, and don't get reduced, so it's a relative extension compared to bad captures or quiet moves.
Theory and practice sometimes clash. And when that happens, theory loses. Every single time.