跳到正文
Rohan Paul· @rohanpaul_ai · X·· 2 小时前AI 评分62
AI 导读

Rohan Paul 总结个人智能体记忆使用的研究结论:更多记忆笔记超过一定限度反而让智能体违反规则,计数或追踪类需求应改用代码。

正文

More memory does not keep helping personal agents, because relevant notes help up to a point and then extra lines start making the agent miss rules.

A personal agent can't learn every user preference through memory notes, and more notes eventually make it worse, so use code for anything it must count or track and keep memory short.

Written rules work for style, like signing texts with the user's first name. For a running spending total, a stated rule still failed 44% of the time, while code that kept the total failed 0%.

Memory size has a sweet spot. With Claude Haiku 4.5, violations dropped from 77% with no memory to 20% at 10 lines, then rose to about 25% with longer memories.

Agents that rewrite their own memory from user complaints improve early, then stall. The best methods ended near 48% violations, against 7.1% when the agent was simply told every preference.

来源:Rohan Paul · x.com