FLAG-Trader: Fusion LLM-Agent with Gradient-based Reinforcement Learning for Financial Trading

Guojun Xiong, Zhiyang Deng, Keyi Wang, Yupeng Cao, Haohang Li +8 more
2/17/2025
cs.AIcs.CEq-fin.TR
rl

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) fine-tuned on multimodal financial data have demonstrated impressive reasoning capabilities in various financial tasks. However, they often struggle with multi-step, goal-oriented scenarios in interactive financial markets, such as trading, where complex agentic approaches are required to improve decision-making.

Show full abstract

To address this, we propose \textsc{FLAG-Trader}, a unified architecture integrating linguistic processing (via LLMs) with gradient-driven reinforcement learning (RL) policy optimization, in which a partially fine-tuned LLM acts as the policy network, leveraging pre-trained knowledge while adapting to the financial domain through parameter-efficient fine-tuning. Through policy gradient optimization driven by trading rewards, our framework not only enhances LLM performance in trading but also improves results on other financial-domain tasks. We present extensive empirical evidence to validate these enhancements.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xiong2025flagtrader,
  title  = {FLAG-Trader: Fusion LLM-Agent with Gradient-based Reinforcement Learning for Financial Trading},
  author = {Guojun Xiong and Zhiyang Deng and Keyi Wang and Yupeng Cao and Haohang Li and Yangyang Yu and Xueqing Peng and Mingquan Lin and Kaleb E Smith and Xiao-Yang Liu and Jimin Huang and Sophia Ananiadou and Qianqian Xie},
  year   = {2025},
  eprint = {2502.11433},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.11433v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2502.11433.svg)](https://codeofpaper.com/paper/2502.11433)

Discussion