[论文解读] TradingGPT: Multi-Agent System with Layered Memory and Distinct Characters for Enhanced Financial Trading Performance
TradingGPT 提供一个多代理 LLM 框架,通过分层记忆与每代理的交易角色,并通过代理间辩论与多模态数据整合来提升自动化金融交易的鲁棒性与适应性。它强调记忆分层(短期、中期、长期)和每个代理的风险偏好,以增强交易决策的稳健性与适应性。
Large Language Models (LLMs), prominently highlighted by the recent evolution in the Generative Pre-trained Transformers (GPT) series, have displayed significant prowess across various domains, such as aiding in healthcare diagnostics and curating analytical business reports. The efficacy of GPTs lies in their ability to decode human instructions, achieved through comprehensively processing historical inputs as an entirety within their memory system. Yet, the memory processing of GPTs does not precisely emulate the hierarchical nature of human memory. This can result in LLMs struggling to prioritize immediate and critical tasks efficiently. To bridge this gap, we introduce an innovative LLM multi-agent framework endowed with layered memories. We assert that this framework is well-suited for stock and fund trading, where the extraction of highly relevant insights from hierarchical financial data is imperative to inform trading decisions. Within this framework, one agent organizes memory into three distinct layers, each governed by a custom decay mechanism, aligning more closely with human cognitive processes. Agents can also engage in inter-agent debate. In financial trading contexts, LLMs serve as the decision core for trading agents, leveraging their layered memory system to integrate multi-source historical actions and market insights. This equips them to navigate financial changes, formulate strategies, and debate with peer agents about investment decisions. Another standout feature of our approach is to equip agents with individualized trading traits, enhancing memory diversity and decision robustness. These sophisticated designs boost the system's responsiveness to historical trades and real-time market signals, ensuring superior automated trading accuracy.
研究动机与目标
- 为金融领域的记忆感知、多代理交易系统的必要性提供动机,模拟人类认知结构。
- 提出一个分层记忆、以角色驱动的 LLM 多代理框架用于股票与基金交易。
- 实现代理之间的沟通与辩论,利用多样化视角并改进决策。
- 整合多模态数据流与实时市场线索,促进及时交易行动。
- 评估组件并展示相对于传统自动交易方法的潜在性能提升。
提出的方法
- 引入 TradingGPT 架构,代理在三层记忆(短期、中期、长期)中维护记忆,使用自定义衰减与排序指标。
- 使用记忆的检索评分来衡量新近性、相关性与重要性,并设定各层的阈值。
- 引入具备不同风险偏好的每代理交易角色,以实现决策多样化。
- Enable inter-agent debates where agents share top memories and reflections to inform decisions.
- 通过实时多模态数据(价格、新闻、持仓)存储于 FAISS 向量数据库,以支持认知与检索。
- 概述训练与测试工作流,包括单代理与多代理阶段,提示设计适用于 GPT3.5 turbo,并计划在骨干模型上进行消融实验。

实验结果
研究问题
- RQ1分层记忆架构如何影响在基于 LLM 的代理中交易相关信息的优先级排序与检索?
- RQ2代理特定交易角色对多代理金融交易的鲁棒性与决策多样性有何影响?
- RQ3代理间辩论与协作是否能相较于单代理基线提升交易表现?
- RQ4多模态金融数据在基于 LLM 的交易框架中用于决策制定的整合效果如何?
- RQ5在相似数据条件下,TradingGPT 相对于现有自动交易策略的潜在性能提升有多大?
主要发现
- 提出的分层记忆机制实现了在短期、中期与长期记忆之间的事件分层检索。
- 代理间辩论与多样化角色配置导致更丰富的洞见与更鲁棒的交易决策。
- 系统整合了多模态数据;基于记忆的推理支撑日频与分针频交易行动。
- 训练与测试工作流将单代理评估与多代理辩论结合,反映现实世界的协作。
- 该框架在模仿人类认知动态与对市场变化的响应方面,具备相对优于其他自动交易策略的潜力。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。