Paper Reading AI Learner

FinDPO: Financial Sentiment Analysis for Algorithmic Trading through Preference Optimization of LLMs

2025-07-24 13:57:05
Giorgos Iacovides, Wuyang Zhou, Danilo Mandic

Abstract

Opinions expressed in online finance-related textual data are having an increasingly profound impact on trading decisions and market movements. This trend highlights the vital role of sentiment analysis as a tool for quantifying the nature and strength of such opinions. With the rapid development of Generative AI (GenAI), supervised fine-tuned (SFT) large language models (LLMs) have become the de facto standard for financial sentiment analysis. However, the SFT paradigm can lead to memorization of the training data and often fails to generalize to unseen samples. This is a critical limitation in financial domains, where models must adapt to previously unobserved events and the nuanced, domain-specific language of finance. To this end, we introduce FinDPO, the first finance-specific LLM framework based on post-training human preference alignment via Direct Preference Optimization (DPO). The proposed FinDPO achieves state-of-the-art performance on standard sentiment classification benchmarks, outperforming existing supervised fine-tuned models by 11% on the average. Uniquely, the FinDPO framework enables the integration of a fine-tuned causal LLM into realistic portfolio strategies through a novel 'logit-to-score' conversion, which transforms discrete sentiment predictions into continuous, rankable sentiment scores (probabilities). In this way, simulations demonstrate that FinDPO is the first sentiment-based approach to maintain substantial positive returns of 67% annually and strong risk-adjusted performance, as indicated by a Sharpe ratio of 2.0, even under realistic transaction costs of 5 basis points (bps).

Abstract (translated)

在线金融相关文本数据中表达的意见对交易决策和市场走势的影响日益显著。这种趋势强调了情感分析作为量化此类意见性质和强度的工具的重要性。随着生成式人工智能(GenAI)的迅速发展,监督微调(SFT)大型语言模型(LLMs)已成为金融市场情感分析的标准方法。然而,SFT范式可能导致对训练数据的记忆化,并且通常无法泛化到未见过的数据样本上。在金融领域中,这种限制尤为关键,因为模型必须适应前所未有的事件并处理金融领域的微妙、特定于行业的语言表达方式。 为此,我们推出了FinDPO——首个基于直接偏好优化(DPO)进行后训练人类偏好数值对齐的金融专用LLM框架。所提出的FinDPO在标准的情感分类基准测试中取得了最先进的性能,在平均精度上超过了现有的监督微调模型11%。独特的是,FinDPO框架通过一种新颖的“logit到评分”转换方法,使经过微调的因果LLM能够整合进实际的投资组合策略中,这种转换将离散的情感预测转化为连续、可排名的情感得分(概率)。这种方式使得模拟结果表明,FinDPO是首个能在每年保持显著正回报率(67%)和强大的风险调整后表现的情况下,采用情感基础方法,并且即使在现实的交易成本为5个基点时也能做到这一点,其夏普比率为2.0。

URL

https://arxiv.org/abs/2507.18417

PDF

https://arxiv.org/pdf/2507.18417.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot