lmr at PV nodes?

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
silentshark
Posts: 327
Joined: Sat Mar 27, 2010 7:15 pm

lmr at PV nodes?

Post by silentshark »

Most implementations seem to avoid.. has anyone tried permitting LMR on PV nodes? If so, what were the results?

fyi, my quick testing seems to show a slight reduction in ELO if lmr is done on PV nodes, but margin of error is still high
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: lmr at PV nodes?

Post by bob »

silentshark wrote:Most implementations seem to avoid.. has anyone tried permitting LMR on PV nodes? If so, what were the results?

fyi, my quick testing seems to show a slight reduction in ELO if lmr is done on PV nodes, but margin of error is still high
I do it everywhere, just like null-move, and have found that trying to restrict it always hurts in my testing, however I try to do the restriction.

Seems to me that if a move is bad and deserves reducing, it deserves the same treatment everywhere.
User avatar
silentshark
Posts: 327
Joined: Sat Mar 27, 2010 7:15 pm

Re: lmr at PV nodes?

Post by silentshark »

bob wrote:
silentshark wrote:Most implementations seem to avoid.. has anyone tried permitting LMR on PV nodes? If so, what were the results?

fyi, my quick testing seems to show a slight reduction in ELO if lmr is done on PV nodes, but margin of error is still high
I do it everywhere, just like null-move, and have found that trying to restrict it always hurts in my testing, however I try to do the restriction.

Seems to me that if a move is bad and deserves reducing, it deserves the same treatment everywhere.
that's really interesting - I like the look of the speedup doing lmr everywhere gives, but I'm not seeing any elo gain (or loss) yet. More testgames needed..
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: lmr at PV nodes?

Post by bob »

silentshark wrote:
bob wrote:
silentshark wrote:Most implementations seem to avoid.. has anyone tried permitting LMR on PV nodes? If so, what were the results?

fyi, my quick testing seems to show a slight reduction in ELO if lmr is done on PV nodes, but margin of error is still high
I do it everywhere, just like null-move, and have found that trying to restrict it always hurts in my testing, however I try to do the restriction.

Seems to me that if a move is bad and deserves reducing, it deserves the same treatment everywhere.
that's really interesting - I like the look of the speedup doing lmr everywhere gives, but I'm not seeing any elo gain (or loss) yet. More testgames needed..
I believe you are going to need in the 100K+ game range to measure the difference. It is not very big.
Mincho Georgiev
Posts: 454
Joined: Sat Apr 04, 2009 6:44 pm
Location: Bulgaria

Re: lmr at PV nodes?

Post by Mincho Georgiev »

I spent a month in testing some time ago and the results in my implementation was really bad when LMR and nullmove was restricted at pv nodes. The only exception i had was FP - 5 elo better when restricted.
User avatar
Greg Strong
Posts: 388
Joined: Sun Dec 21, 2008 6:57 pm
Location: Washington, DC

Re: lmr at PV nodes?

Post by Greg Strong »

silentshark wrote:Most implementations seem to avoid.. has anyone tried permitting LMR on PV nodes? If so, what were the results?

fyi, my quick testing seems to show a slight reduction in ELO if lmr is done on PV nodes, but margin of error is still high
My experience showed a definite bonus if you do LMR at all nodes, including at the root.
zamar
Posts: 613
Joined: Sun Jan 18, 2009 7:03 am

Re: lmr at PV nodes?

Post by zamar »

silentshark wrote:Most implementations seem to avoid.. has anyone tried permitting LMR on PV nodes? If so, what were the results?

fyi, my quick testing seems to show a slight reduction in ELO if lmr is done on PV nodes, but margin of error is still high
For Stockfish the optimal solution has been to do more aggressive LMR on non-pv nodes and less aggressive LRM on pv nodes (and on root). Null move is only done in non-pv nodes.
Joona Kiiski
Mangar
Posts: 65
Joined: Thu Jul 08, 2010 9:16 am

Re: lmr at PV nodes?

Post by Mangar »

Hi,

with Spike the same, slightly better with lmr at pv nodes.

Greetings Volker
Mangar Spike Chess