Skip to content
WeChat · GoSSIP·Indexed by this site · Originally published· AI updates →SelectedAttention40

Paper: 108 of 120 prompt caching defects across 10 open-source agents produce no error

G.O.S.S.I.P 阅读推荐 2026-11-11 省钱的功能没在省钱,程序还一声不吭 | ICSE 2027

AI summary

An ICSE 2027 paper identified 120 prompt caching integration defects from 148,947 merged PRs across 10 popular open-source agents, of which 108 produce no errors and normal model responses, and can only be found from billing, latency, or cache usage data. Input for the cache-hit portion is billed at roughly one-tenth the price; these defects cause request prefixes to mismatch or cache markers to be sent to the wrong object, and all the extra tokens are recomputed at full price. The defects fall into 8 root causes, with the Provider compatibility and Prefix stability groups accounting for over 70%, and 68% of the fixes are static, local, or small changes that only modify usage statistics—the difficulty lies in discovery. Paper: arXiv 2610.34817.

Why it was selected

Eight root causes and a self-check list can be transferred to one's own agent code; 90% of such defects do not raise errors and can only be found from billing, latency or usage data.

Related papers
Read originalmp.weixin.qq.com