Tapered Eval in Fruit

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
emadsen
Posts: 434
Joined: Thu Apr 26, 2012 1:51 am
Location: Oak Park, IL, USA
Full name: Erik Madsen

Re: Tapered Eval in Fruit

Post by emadsen »

gflohr wrote: Thu Sep 16, 2021 9:09 pm Okay, but why? Aren't 16 pawns on the board very middle-game and zero very end-game?
Because once most pieces have been captured, you want the king to march up the board to escort its pawns. Otherwise the king will hide in the corner due to MG PST and king safety eval terms. You don't want the king to wait until all the pawns are gone too. Then there's nothing to escort.
My C# chess engine: https://www.madchess.net
User avatar
hgm
Posts: 27788
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Tapered Eval in Fruit

Post by hgm »

gflohr wrote: Thu Sep 16, 2021 9:09 pmOkay, but why? Aren't 16 pawns on the board very middle-game and zero very end-game?
No, if there is nothing but Kings + 16 Pawns the game is very end-gamish. Kings are not in danger of being checkmated, and can roam the board freely. Zugzwang is a major motif.

Actually one can argue that Pawns should have a negative weight: the game phase can be used to create a trading incentive if piece values (and thus material advantages) are larger in the end-game. Smaller phase (e.g. due to an equal trade) then increases the advantage. But trading Pawns usually reduce the winning prospects, so that should increase the phase.
Karlo Bala
Posts: 373
Joined: Wed Mar 22, 2006 10:17 am
Location: Novi Sad, Serbia
Full name: Karlo Balla

Re: Tapered Eval in Fruit

Post by Karlo Bala »

hgm wrote: Fri Sep 17, 2021 4:22 pm
gflohr wrote: Thu Sep 16, 2021 9:09 pmOkay, but why? Aren't 16 pawns on the board very middle-game and zero very end-game?
No, if there is nothing but Kings + 16 Pawns the game is very end-gamish. Kings are not in danger of being checkmated, and can roam the board freely. Zugzwang is a major motif.

Actually one can argue that Pawns should have a negative weight: the game phase can be used to create a trading incentive if piece values (and thus material advantages) are larger in the end-game. Smaller phase (e.g. due to an equal trade) then increases the advantage. But trading Pawns usually reduce the winning prospects, so that should increase the phase.
Unfortunately, there is no universal solution. If you play against isolated or backward pawns, you want to trade all minor and keep all major pieces on the board. If you play against doubled pawns, then you should probably trade major pieces first.
Best Regards,
Karlo Balla Jr.
Pio
Posts: 334
Joined: Sat Feb 25, 2012 10:42 pm
Location: Stockholm

Re: Tapered Eval in Fruit

Post by Pio »

hgm wrote: Fri Sep 17, 2021 4:22 pm
gflohr wrote: Thu Sep 16, 2021 9:09 pmOkay, but why? Aren't 16 pawns on the board very middle-game and zero very end-game?
No, if there is nothing but Kings + 16 Pawns the game is very end-gamish. Kings are not in danger of being checkmated, and can roam the board freely. Zugzwang is a major motif.

Actually one can argue that Pawns should have a negative weight: the game phase can be used to create a trading incentive if piece values (and thus material advantages) are larger in the end-game. Smaller phase (e.g. due to an equal trade) then increases the advantage. But trading Pawns usually reduce the winning prospects, so that should increase the phase.
I have pawns as negative value. The main reason for this is that with many pawns the king is usually a lot safer and should be more involved earlier on