FINMEM: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Design

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

34 Scopus citations

Abstract

Recent advancements in Large Language Models (LLMs) have exhibited notable efficacy in question-answering (QA) tasks across diverse domains. Their prowess in integrating extensive web knowledge has fueled interest in developing LLM-based autonomous agents. While LLMs are efficient in decoding human instructions and deriving solutions by holistically processing historical inputs, transitioning to purpose-driven agents requires a supplementary rational architecture to process multi-source information, establish reasoning chains, and prioritize critical tasks. Addressing this, we introduce FINMEM, a novel LLM-based agent framework devised for financial decision-making. It encompasses three core modules: Profiling, to customize the agent's characteristics; Memory, with layered message processing, to aid the agent in assimilating hierarchical financial data; and Decision-making, to convert insights gained from memories into investment decisions. Notably, FINMEM's memory module aligns closely with the cognitive structure of human traders, offering robust interpretability and real-time tuning. Its adjustable cognitive span allows for the retention of critical information beyond human perceptual limits, thereby enhancing trading outcomes. This framework enables the agent to self-evolve its professional knowledge, react agilely to new investment cues, and continuously refine trading decisions in the volatile financial environment. We first compare FINMEM with various algorithmic agents on a scalable real-world financial dataset, underscoring its leading trading performance in stocks. We then fine-tuned the agent's perceptual span and character setting to achieve a significantly enhanced trading performance. Collectively, FINMEM presents a cutting-edge LLM agent framework for automated trading, boosting cumulative investment returns.

Original languageEnglish
Title of host publicationAAAI Spring Symposium - Technical Report
EditorsRon Petrick, Christopher Geib
Pages595-597
Number of pages3
Edition1
ISBN (Electronic)9781577358886
DOIs
StatePublished - 21 May 2024
Event2024 AAAI Spring Symposium Series, SSS 2024 - Stanford, United States
Duration: 25 Mar 202427 Mar 2024

Publication series

NameAAAI Spring Symposium - Technical Report
Number1
Volume3

Conference

Conference2024 AAAI Spring Symposium Series, SSS 2024
Country/TerritoryUnited States
CityStanford
Period25/03/2427/03/24

Fingerprint

Dive into the research topics of 'FINMEM: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Design'. Together they form a unique fingerprint.

Cite this