AgenticPPL: plain trajectory perplexity ranks agents backwards, but 0.3% of tokens hit +0.79 correlation

AIFlow_ML · x · 2026-12-03

Wenhao Chai's AgenticPPL study shows that plain perplexity on agent traces ranks models backwards: on Terminal-Bench 2.1, trajectory perplexity correlates -0.29 with scores, inverting all 29 open-weight models. The signal lives in which tokens you compute perplexity on — AgenticPPL selects the 0.3% of tokens where the model writes commands after reading shell output. On those positions, perplexity tracks downstream performance with +0.788 correlation on held-out models in reasoning mode (+0.890 on the dev set).

Related event: AgenticPPL fixes agent model ranking where perplexity fails(2 posts)→

Original post →

More from coding & agent

coding & agent channel →