我给我的交易代理添加了记忆,结果一切变得更糟

📄 中文摘要

在对一个大型语言模型(LLM)交易代理进行为期两天的实验中,发现其通过自身记忆导致了自我毁灭的现象。这并不是一个简单的错误,而是每个基于相似性记忆系统与LLM内部信念交互时存在的结构性缺陷。解决方案出乎意料地简单:让代理记住其失败,即使检索系统不愿意这样做。通过这个实验,构建了一个开源机制以防止类似问题的发生。

📄 English Summary

I Gave My Trading Agent Memory and It Made Everything Worse

An experiment with an LLM trading agent revealed that its own memory led to self-destruction over two days. This issue was not a mere bug but a structural flaw in how similarity-based memory systems interact with the internal beliefs of LLMs. The surprisingly simple solution involved making the agent remember its failures, even when the retrieval system resisted this. This led to the development of an open-source mechanism designed to prevent such feedback loops in the future.

Powered by Cloudflare Workers + Payload CMS + Claude 3.5

数据源: OpenAI, Google AI, DeepMind, AWS ML Blog, HuggingFace 等