对比多种损失函数,提升Transformer模型选股排序能力
On Evaluating Loss Functions for Stock Ranking: An Empirical Analysis With Transformer Model
- 用点对、对对、列表式损失函数优化股票排序
- 在标普500数据上验证,不同损失影响排序性能
- 为量化交易中的排名策略提供实证指导
量化投资依赖准确的股票排序以识别盈利机会。有效的组合管理需要模型能可靠地预测未来股票收益的相对顺序。虽然Transformer模型在理解金融时间序列方面有潜力,但不同训练损失函数如何影响其股票排序能力尚未明确。金融市场具有动态变化和股票间复杂关联的特点,标准损失函数(追求简单预测精度)往往不足,因它们未直接教会模型学习正确的收益排序。尽管信息检索等领域存在多种先进排序损失,但尚未系统比较其在金融回报排序中的表现,尤其在结合现代Transformer模型进行选股时。本文通过系统评估一系列先进损失函数(包括点对式、对对式、列表式),在标普500数据上进行日度股票收益预测,以支持基于排序的组合选择。重点考察每种损失函数对模型识别资产间盈利相对顺序能力的影响。研究贡献了一个全面基准,揭示不同损失函数如何影响模型学习横截面与时间模式的能力,从而为优化基于排序的交易策略提供实用指导。
原文摘要 · Abstract (English)
Quantitative trading strategies rely on accurately ranking stocks to identify profitable investments. Effective portfolio management requires models that can reliably order future stock returns. Transformer models are promising for understanding financial time series, but how different training loss functions affect their ability to rank stocks well is not yet fully understood. Financial markets are challenging due to their changing nature and complex relationships between stocks. Standard loss functions, which aim for simple prediction accuracy, often aren't enough. They don't directly teach models to learn the correct order of stock returns. While many advanced ranking losses exist from fields such as information retrieval, there hasn't been a thorough comparison to see how well they work for ranking financial returns, especially when used with modern Transformer models for stock selection. This paper addresses this gap by systematically evaluating a diverse set of advanced loss functions including pointwise, pairwise, listwise for daily stock return forecasting to facilitate rank-based portfolio selection on S&P 500 data. We focus on assessing how each loss function influences the model's ability to discern profitable relative orderings among assets. Our research contributes a comprehensive benchmark revealing how different loss functions impact a model's ability to learn cross-sectional and temporal patterns crucial for portfolio selection, thereby offering practical guidance for optimizing ranking-based trading strategies.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。