先说结论
这篇论文不是让语言模型写交易策略,而是用分层强化学习搜索可解释的风险公式。高层分配行情特征权重,低层选择算子,以预测未来波动的相关性作为学习信号。实验显示迁移版本的相关性指标更高,但它依赖分钟行情,预测风险也不等于预测收益,迁移训练的文字说明还存在层级不一致。 (原文:PDF p.1, Abstract; Introduction;PDF p.3, Figure 2; High-level policy; Reward function;PDF p.5, Experiment Settings; Data and Evaluation Metrics;PDF p.5, Table 2; S&P500 columns;PDF p.5, Table 2; Nifty100 columns;PDF p.4, Transferred options paragraphs; Algorithm one)
指标:目标是预测股票未来波动风险,而非直接判断涨跌。手工风险因子可能不能覆盖复杂关系,遗传编程生成的公式又可能很长。作者希望自动得到较简洁的非线性公式,因此把搜索交给分层强化学习,并用历史数据中的经验加快新数据上的学习。摘要把迁移描述为高层策略预训练后微调,阅读方法细节时需要与这一说法核对。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Abstract; Introduction;条件及比较对象见陈述
PDF p.1, Abstract; Introduction · PDF p.1
Mining Intraday Risk Factor Collections via Hierarchical Reinforcement Learning based on Transferred Options Wenyan Xu1 , Jiayu Chen2 , Chen Li3 , Yonghong Hu1 , Zhonghua Lu3 * 1 Central University of Finance and Economics, China 2 Purdue University, United States 3 Computer Network Information Center, CAS, China 2022211032@email.cufe.edu.cn, chen3686@purdue.edu, lichen@sccas.cn, huyonghong@cufe.edu.cn, zhlu@cnic.cn arXiv:2501.07274v2 [cs.CE] 16 Jan 2025 Abstract factors, momentum factors, and residual volatility/liquid- ity factors. However, these manually designed factors have Traditional manually designed risk factors, such as beta, well-documented limitations, such as ongoing debates over size/value, and momentum, often lag behind market dynam- the optimal choice of covariates and their weak correlation ics when measuring and predicting volatility in stock returns. Furthermore, statistical models, such as principal component with realized stock return volatility. Additionally, they often analysis (PCA) and factor analysis frequently fail to capture struggle to keep pace with rapid market changes. hidden nonlinear relationships. While genetic programming Statistical models, such as principal component analysis (GP) has advanced in identifying nonlinear factors automati- (PCA) (De Nard, Ledoit, and Wolf 2021) and factor anal- cally, it often lacks an internal mechanism for evaluating fac- ysis (Harman 1976), offer tools to identify potential statis- tor quality, and the resulting formulas are typically too com- tical risk factors. However, their reliance on linear decom- plex. To address these challenges, we propose a Hierarchical position frameworks limits their ability to uncover nonlin- Proximal Policy Optimization (HPPO) framework for auto- ear factors. Deep risk models (DRMs) (Lin et al. 2021) ad- mated factor generation and evaluation. The framework lever- ages two PPO models: a high-level policy and a low-level pol- dress this limitation by employing deep neural networks to icy. The high-level policy learns and assigns weights to stock learn implicit risk factors—feature vectors that capture re- features, while the low-level policy identifies latent nonlinear turn volatility—thereby improving covariance matrix esti- relationships by combining operators such as sin(), +, ∗∗, mation in Markowitz-style mean-variance models without and /. The Pearson correlation coefficient between the gen- the need for manual factor construction. Despite their ad- erated risk factors and realized return volatility serves as the vancements, DRMs present a challenge for investment ex- reward signal, quantifying factor efficacy. Additionally, we perts, as the implicit factor embeddings they generate are not incorporate transfer learning into HPPO by pre-training the easily interpretable, making it difficult to intuitively track high-level policy on large-scale historical data from the same market dynamics. Consequently, the development of inter- High-Frequency Trading (HFT) market. The policy is then pretable risk factors in closed-form mathematical expres- fine-tuned with the latest data to account for newly emerging features and distribution shifts. This Transferred Option (TO) sions remains essential. enables the high-level policy to leverage previously learned Genetic programming (GP) is a widely used method for feature correlations across different market environments, re- extracting formula-based risk factors, generating mathemat- sulting in faster convergence and higher-quality factor gen- ical expressions that predict stock return volatility from his- eration. Experimental results demonstrate that, compared to torical data. This process is framed as a symbolic regression baselines, the HPPO-TO algorithm achieves a 25% excess re- problem (Cranmer et al. 2020), aiming to identify mathemat- turn in HFT markets across China (CSI 300 Index/CSI 800 ical patterns in large datasets and convert raw stock data into Index), India (Nifty 100 Index), and the United States (S&P meaningful volatility signals. Risk factors are typically rep- 500 Index). The code and data used in this study are available resented as binary expression trees, where nodes correspond at https://github.com/wencyxu/HRL-HF_risk_factor_set. to mathematical operators (e.g., addition, multiplication) or feature variables (e.g., opening price, trading volume). GP Introduction effectively uncovers complex nonlinear relationships with- out requiring manual feature engineering. However, the fac- Risk factors play a critical role in supporting investors tor formulas generated by GP are often excessively lengthy, by transforming historical stock trading data into mea- with a single formulaic factor potentially involving hundreds sures of future return volatility, enabling the identification of variables and operators, posing significant challenges for of potential risks and facilitating more informed decision- practical use. Moreover, GP lacks an inherent mechanism to making. Traditionally, these risk factors have been manu- evaluate the quality of generated factors, further limiting its ally crafted by domain experts, including beta, size/value real-world applicability. * Corresponding author. To evaluate the effectiveness of generated risk factors au- Copyright © 2025, Association for the Advancement of Artificial tomatically, we propose a factor generator based on Hierar- Intelligence (www.aaai.org). All rights reserved. chical Proximal Policy Optimization (HPPO). This frame-
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:输入是开高低收、成交量和VWAP等行情特征。高层选择各特征的权重集合,低层选择加减乘除等运算,把加权特征连接成可计算公式。公式分数与下一交易日实现波动率的相关性提供奖励,推动后续搜索。这里的option指可复用的策略选择或权重配置,不是金融期权;算法发现的是风险表征,不是语言模型生成的建议。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Figure 2; High-level policy; Reward function;条件及比较对象见陈述
PDF p.3, Figure 2; High-level policy; Reward function · PDF p.3
level policy. HPPO incorporates transfer options to facilitate πθ πθ Generation knowledge sharing across tasks. Specifically, the high-level weight sets: the policy leverages model parameters or latent features learned o1 option matrix assigns oτ weights to stock data from historical trading data to achieve faster convergence and more accurate training on new datasets. If the distribu- s0 𝜋𝜑 πφ Evaluation tion of new data differs from historical data—due to changes stock data sτ in market conditions or policies—fine-tuning or updating the model’s parameters is enough to effectively reuse the knowl- a1 IZ ∗ − + βZ … aτ ICs∗ values −1.0 0 1.0 edge accumulated from historical information and address Rewards: the current task. This approach efficiently repurposes knowl- … evaluate ICs∗ & Rank ICs∗ & IR∗s edge gained from historical training to address current tasks. HF risk factor The high-level policy learns options that capture correla- Environment tions between stock features from historical trading data. By reusing these options on newly collected data, HPPO effec- Figure 2: Consider a simplified example of generating a for- tively transfers previously identified inter-feature relation- mulaic HF risk factor. Raw stock features serve as inputs. ships, enabling rapid identification of risk factors aligned At each time step, the high-level policy selects an option (a with contemporary stock price fluctuations. weight set) for these features, represented by four one-hot vectors (pink squares for 1, grey squares for 0). The option To effectively apply HRL for generating high-frequency matrix, also known as key/value matrix for the MHA mech- risk factor collections, two critical questions must be ad- anism (dk = dv ), provides an embedding for each option. dressed: The low-level policy then applies operators (e.g., “+” and QA: How can the transferred option be defined to transfer “cos()”) to connect stock features. The performance of the the weight set for stock features? generated HF risk factor is evaluated using modified IC ∗ , QB: How can the low-level policy be trained to generate Rank IC ∗ and IR∗ as rewards. more appropriate operators for mining HF risk factors? In our approach, the raw stock features open/close/high- /low/volume/vwap serve as inputs, while the formulaic HF index with a frequency of 1 minute, the number of trading risk factors are the outputs. Specifically, the stock features time intervals is 240. open, close, high, and low refer to the initial, final, highest, 1 5 Option Space Options {wt+1 , ..., wt+1 } represent the and lowest prices of a stock within a one or five-minute in- weight collections assigned to different features such as terval, as illustrated in Table 3. The volume represents the open, high and low. By assigning different weights to these total number of stock shares traded during the same period. features, the model can learn which ones are more relevant Meanwhile, the volume weighted average price (VWAP) and better predict the future risk of the stock. The high- indicates the average trading price throughout the period, level policy takes the stock features and their corresponding weighted by the volume of shares traded. These features are weight collections at time t and outputs the weight collec- the most commonly used in stock price analysis. A hierar- tions for time t + 1. The high-level policy has five types of chical policy is employed, where the high-level policy gen- normalized weight collections to choose from. erates weight sets for HF stock features, then the low-level policy applies operator sets to concatenate these stock fea- Reward Function To evaluate the effectiveness of these HF tures to produce a factor expression. This approach facili- risk factors, we define three types of reward functions in our tates the efficient construction of risk factor collections (see experiment. The IC function, denoted as σ : Rn × Rn , is Fig. 2). defined as the Pearson correlation coefficient (Cohen et al. 2009). This value can be calculated at every trading inter- val (one/five minute) between an HF risk factor and the pre- High-level policy diction value, which is the one-day-ahead realized volatil- The high-level policy takes the current HF stock features ity (RV) in our case. The Rank IC function measures how 1 5 X = {ft+1 , ..., ft+1 } and the previous option Zt = the ranks of our HF risk factors correlate with the ranks of 1 5 future volatility. It is calculated using Spearman’s correla- {wt , ..., wt } as inputs, and outputs the current option 1 5 tion coefficient, which assesses the monotonic relationship Zt+1 = {wt+1 , ..., wt+1 }. It then adjusts the weight collec- tions of the stock features based on the reward from the en- between two variables (Hauke and Kossowski 2011). We vironment, thereby aligning the HF risk factor more closely choose three types of reward functions to measure the per- with the target. formance of the factors as follows: State Space The state space comprises two parts: the Reward of the metric IC ∗ : 1 5 ∗ current features {ft+1 , ..., ft+1 } and the previous option RetICt = σ̄ (Ei (f ), yi ) (1) 1 5 {wt , ..., wt }, which is the weight combination of the pre- vious features. Each time step t represents a trading time in- where σ̄ (Ei (f ), yi ) = Et [σ (Ei (f ), yi )] ∈ [−1, 1] is the terval. Different trading markets have varying trading time daily average of the Pearson coefficients between the HF risk intervals due to their distinct trading hours. For example, factorPand target for all trading days. σ(El (f ), Ek (f )) = the daily trading time of the Chinese stock market is 240 n minutes. If we select all the constituent stocks in the HS300 √Pn l=1 (Etl −Ē2 tP )(Etk −Ēt ) n 2 is the Pearson correlation l=1 (Etl −Ēt ) k=1 (Etk −Ēt )
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:数据覆盖美国、中国和印度市场,使用1分钟或5分钟行情,目标是下一天的实现波动率。论文以IC、Rank IC及IC均值相对标准差的指标评价风险公式;它们衡量的是对波动目标的关系,不能与预测收益的IC直接混用。历史数据预训练与当前数据训练的安排,也不同于拿每天一根K线直接运行这个方法。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Experiment Settings; Data and Evaluation Metrics;条件及比较对象见陈述
PDF p.5, Experiment Settings; Data and Evaluation Metrics · PDF p.5
Table 2: Main results of HS300 Index, CSI800 Index, Nifty100 Index and S&P500 Index. "(x)" represents the standard deviation of IC ∗ , RankIC ∗ and IR∗ , and the rest are the mean values of IC ∗ , RankIC ∗ and IR∗ , and "↑" indicates that the larger the value, the better (Bold indicates the optimal values). S&P500 HS300 CSI800 Nifty100 Method IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ 0.0437 0.0336 0.2707 0.0391 0.0456 0.4021 0.0381 0.0550 0.2677 0.0500 0.0508 0.3883 DSR (0.0054) (0.0045) (0.0353) (0.0064) (0.0063) (0.0362) (0.0045) (0.0078) (0.0054) (0.0065) (0.0039) (0.0419) 0.0388 0.0437 0.4876 0.0494 0.0480 0.3599 0.0501 0.0529 0.4103 0.0515 0.0504 0.4079 GPLEARN (0.0068) (0.0085) (0.0307) (0.0062) (0.0063) (0.0368) (0.0058) (0.0056) (0.0466) (0.0062) (0.0049) (0.0426) 0.0470 0.0549 0.2098 0.0444 0.0460 0.4257 0.0444 0.0487 0.3391 0.0333 0.0337 0.4901 GENEPRO (0.0067) (0.0163) (0.0339) (0.0049) (0.0075) (0.0442) (0.0051) (0.0062) (0.0286) (0.0039) (0.0041) (0.0433) 0.0421 0.0386 0.3461 0.0465 0.0508 0.3729 0.0453 0.0464 0.3636 0.0439 0.0461 0.4610 DAC (0.0054) (0.0041) (0.0387) (0.0078) (0.0064) (0.0454) (0.0051) (0.0043) (0.0214) (0.0054) (0.0053) (0.0501) 0.0569 0.0597 0.3642 0.0511 0.0557 0.4644 0.0537 0.0640 0.3774 0.0540 0.0596 0.5398 HPPO (0.0057) (0.0057) (0.0060) (0.0043) (0.0059) (0.0364) (0.0042) (0.0066) (0.0053) (0.0049) (0.0059) (0.0523) 0.0719 0.0774 0.7266 0.0739 0.0766 0.5680 0.0673 0.0724 0.4546 0.0689 0.0763 0.5433 Ours* (0.0072) (0.0054) (0.0448) (0.0058) (0.0059) (0.0412) (0.0037) (0.0049) (0.0187) (0.0055) (0.0082) (0.0557) , RankIC ∗ and IR∗ of this value and the one-day-ahead needs to be learned. Their relationship is as follows: RV for the next day, which is used to update the policy. The X model tends to favor the same operators for similar feature bhigh (St−1 , Zt−1 ) = πθ (Zt | St−1 , Zt−1 )blow (St−1 , Zt ) inputs when the correlation between the generated expres- Zt sion value and the target value is high, signifying a high re- (6) ward. This approach effectively addresses QB. Experiments Experiment Settings Overall Framework Here, we introduce the datasets used for learning, along with The overall objective function of HPPO-TO is as follows (r the baselines and metrics for evaluation. in the following equation is"the desired # reward function): Data & Evaluation Metrics The feature inputs XT open/low/high/close/volume/vwap are the m-dimensional L = Eθ,ϕ r(St , At ) (4) raw trading data X ∈ Rm of the HS300 index 1 /CSI800 t=1 index 2 /Nifty100 Index 3 /S&P500 index constituents (see By computing the gradients with respect to θ and ϕ based on Table 3 for detailed information). The target value is the the overall objective, we obtain the actor-critic architecture one-day-ahead RV, which nis defined as as shown in Eq. (5), except for the baseline terms bhigh , blow . X T RV (t, j; n) = (ln Pt,j − ln Pt,j−1 )2 (7) X ∇θ L = E [ ∇θ log πθ (Zt |St−1 , Zt−1 )× j=1 X T ,Z T t=1 where n is the number of intraday trading intervals, and Pi,j is the closing price of the i-th trading day and the j- (Rett − bhigh (St−1 , Zt−1 ))] (5) th interval. All trading orders in the dataset are assumed to T X be completed within the trading day: the trading period is ∇ϕ L = E [ ∇ϕ log πϕ (At−1 |St−1 , Zt )× 240 minutes for the China stock market, 375 minutes for X T ,Z T t=1 the India stock market, and 390 minutes for the U.S. stock (Rett − blow (St−1 , Zt ))] market. The trading time intervals for the four types of in- where Rett denotes the return at time step t, bhigh and blow dex constituents are as follows: M HS300 = 240/1 = 240 are the baselines for training high-level policy πθ and low- sub-intervals, M S&P 500 = 390/1 = 390 sub-intervals, level policy πϕ , respectively. Moreover, the advantage func- M N if ty100 = 375/5 = 75 sub-intervals, and M CSI800 = tions for high-level policy πθ and low-level policy πϕ are 240/5 = 48 sub-intervals. The dataset is divided into histor- Rett − bhigh (St−1 , Zt−1 ), Rett − blow (St−1 , Zt ), respec- ical datasets (see Table 3, Pre-train) and current datasets (see tively. Therefore, two sub-policies πθ and πϕ can be opti- Table 3, Train), comprising approximately 39 million sam- mized by existing RL algorithms and we select PPO (Schul- ples. Additionally, we use three commonly employed met- man et al. 2017) as the base algorithm. For the PPO frame- rics for evaluating factors to design the reward function for work, π is the actor and b is the critic. The input and output HPPO-TO. Each metric is positive, and higher values indi- of the high/low-level actor/critic are as defined in Eq. (5). cate better-generated factors, thereby providing positive in- Additionally, we transfer the options learned from histori- centives for the model. cal stock features to another current similar stock features. Baselines We evaluate the proposed techniques on two This forms HPPO based on transferred options (HPPO-TO), HRL approachs and three SR benchmarks. which outperforms some HRL methods in our experiments. 1 https://www.wind.com.cn/ The details about HPPO-TO are presented in Algorithm 1. 2 https://www.joinquant.com/help/api/doc?name=JQDatadoc bhigh and blow can be defined as two different networks, 3 https://www.kaggle.com/datasets/debashis74017/stock- or alternatively, bhigh can be defined by blow , so only blow market-data-nifty-100-stocks-5-min-data
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:在S&P500上,迁移版本IC为0.0719,未迁移HPPO为0.0569;Rank IC分别为0.0774和0.0597,IR分别为0.7266和0.3642。括号是标准差,不是置信区间。这支持论文该配置下风险预测关系的改善,但不能据此推导真实交易会获得同等幅度的收益改善。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Table 2; S&P500 columns;条件及比较对象见陈述
PDF p.5, Table 2; S&P500 columns · PDF p.5
Table 2: Main results of HS300 Index, CSI800 Index, Nifty100 Index and S&P500 Index. "(x)" represents the standard deviation of IC ∗ , RankIC ∗ and IR∗ , and the rest are the mean values of IC ∗ , RankIC ∗ and IR∗ , and "↑" indicates that the larger the value, the better (Bold indicates the optimal values). S&P500 HS300 CSI800 Nifty100 Method IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ 0.0437 0.0336 0.2707 0.0391 0.0456 0.4021 0.0381 0.0550 0.2677 0.0500 0.0508 0.3883 DSR (0.0054) (0.0045) (0.0353) (0.0064) (0.0063) (0.0362) (0.0045) (0.0078) (0.0054) (0.0065) (0.0039) (0.0419) 0.0388 0.0437 0.4876 0.0494 0.0480 0.3599 0.0501 0.0529 0.4103 0.0515 0.0504 0.4079 GPLEARN (0.0068) (0.0085) (0.0307) (0.0062) (0.0063) (0.0368) (0.0058) (0.0056) (0.0466) (0.0062) (0.0049) (0.0426) 0.0470 0.0549 0.2098 0.0444 0.0460 0.4257 0.0444 0.0487 0.3391 0.0333 0.0337 0.4901 GENEPRO (0.0067) (0.0163) (0.0339) (0.0049) (0.0075) (0.0442) (0.0051) (0.0062) (0.0286) (0.0039) (0.0041) (0.0433) 0.0421 0.0386 0.3461 0.0465 0.0508 0.3729 0.0453 0.0464 0.3636 0.0439 0.0461 0.4610 DAC (0.0054) (0.0041) (0.0387) (0.0078) (0.0064) (0.0454) (0.0051) (0.0043) (0.0214) (0.0054) (0.0053) (0.0501) 0.0569 0.0597 0.3642 0.0511 0.0557 0.4644 0.0537 0.0640 0.3774 0.0540 0.0596 0.5398 HPPO (0.0057) (0.0057) (0.0060) (0.0043) (0.0059) (0.0364) (0.0042) (0.0066) (0.0053) (0.0049) (0.0059) (0.0523) 0.0719 0.0774 0.7266 0.0739 0.0766 0.5680 0.0673 0.0724 0.4546 0.0689 0.0763 0.5433 Ours* (0.0072) (0.0054) (0.0448) (0.0058) (0.0059) (0.0412) (0.0037) (0.0049) (0.0187) (0.0055) (0.0082) (0.0557) , RankIC ∗ and IR∗ of this value and the one-day-ahead needs to be learned. Their relationship is as follows: RV for the next day, which is used to update the policy. The X model tends to favor the same operators for similar feature bhigh (St−1 , Zt−1 ) = πθ (Zt | St−1 , Zt−1 )blow (St−1 , Zt ) inputs when the correlation between the generated expres- Zt sion value and the target value is high, signifying a high re- (6) ward. This approach effectively addresses QB. Experiments Experiment Settings Overall Framework Here, we introduce the datasets used for learning, along with The overall objective function of HPPO-TO is as follows (r the baselines and metrics for evaluation. in the following equation is"the desired # reward function): Data & Evaluation Metrics The feature inputs XT open/low/high/close/volume/vwap are the m-dimensional L = Eθ,ϕ r(St , At ) (4) raw trading data X ∈ Rm of the HS300 index 1 /CSI800 t=1 index 2 /Nifty100 Index 3 /S&P500 index constituents (see By computing the gradients with respect to θ and ϕ based on Table 3 for detailed information). The target value is the the overall objective, we obtain the actor-critic architecture one-day-ahead RV, which nis defined as as shown in Eq. (5), except for the baseline terms bhigh , blow . X T RV (t, j; n) = (ln Pt,j − ln Pt,j−1 )2 (7) X ∇θ L = E [ ∇θ log πθ (Zt |St−1 , Zt−1 )× j=1 X T ,Z T t=1 where n is the number of intraday trading intervals, and Pi,j is the closing price of the i-th trading day and the j- (Rett − bhigh (St−1 , Zt−1 ))] (5) th interval. All trading orders in the dataset are assumed to T X be completed within the trading day: the trading period is ∇ϕ L = E [ ∇ϕ log πϕ (At−1 |St−1 , Zt )× 240 minutes for the China stock market, 375 minutes for X T ,Z T t=1 the India stock market, and 390 minutes for the U.S. stock (Rett − blow (St−1 , Zt ))] market. The trading time intervals for the four types of in- where Rett denotes the return at time step t, bhigh and blow dex constituents are as follows: M HS300 = 240/1 = 240 are the baselines for training high-level policy πθ and low- sub-intervals, M S&P 500 = 390/1 = 390 sub-intervals, level policy πϕ , respectively. Moreover, the advantage func- M N if ty100 = 375/5 = 75 sub-intervals, and M CSI800 = tions for high-level policy πθ and low-level policy πϕ are 240/5 = 48 sub-intervals. The dataset is divided into histor- Rett − bhigh (St−1 , Zt−1 ), Rett − blow (St−1 , Zt ), respec- ical datasets (see Table 3, Pre-train) and current datasets (see tively. Therefore, two sub-policies πθ and πϕ can be opti- Table 3, Train), comprising approximately 39 million sam- mized by existing RL algorithms and we select PPO (Schul- ples. Additionally, we use three commonly employed met- man et al. 2017) as the base algorithm. For the PPO frame- rics for evaluating factors to design the reward function for work, π is the actor and b is the critic. The input and output HPPO-TO. Each metric is positive, and higher values indi- of the high/low-level actor/critic are as defined in Eq. (5). cate better-generated factors, thereby providing positive in- Additionally, we transfer the options learned from histori- centives for the model. cal stock features to another current similar stock features. Baselines We evaluate the proposed techniques on two This forms HPPO based on transferred options (HPPO-TO), HRL approachs and three SR benchmarks. which outperforms some HRL methods in our experiments. 1 https://www.wind.com.cn/ The details about HPPO-TO are presented in Algorithm 1. 2 https://www.joinquant.com/help/api/doc?name=JQDatadoc bhigh and blow can be defined as two different networks, 3 https://www.kaggle.com/datasets/debashis74017/stock- or alternatively, bhigh can be defined by blow , so only blow market-data-nifty-100-stocks-5-min-data
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:优势大小并不均匀。Nifty100的IR,迁移版本为0.5433,HPPO为0.5398,对应标准差为0.0557和0.0523。均值接近且表中未给出这一差异的显著性检验,因此“最高”不应被写成在每个市场都形成明显优势。这也是为什么需要同时保留不那么亮眼的对照。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Table 2; Nifty100 columns;条件及比较对象见陈述
PDF p.5, Table 2; Nifty100 columns · PDF p.5
Table 2: Main results of HS300 Index, CSI800 Index, Nifty100 Index and S&P500 Index. "(x)" represents the standard deviation of IC ∗ , RankIC ∗ and IR∗ , and the rest are the mean values of IC ∗ , RankIC ∗ and IR∗ , and "↑" indicates that the larger the value, the better (Bold indicates the optimal values). S&P500 HS300 CSI800 Nifty100 Method IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ 0.0437 0.0336 0.2707 0.0391 0.0456 0.4021 0.0381 0.0550 0.2677 0.0500 0.0508 0.3883 DSR (0.0054) (0.0045) (0.0353) (0.0064) (0.0063) (0.0362) (0.0045) (0.0078) (0.0054) (0.0065) (0.0039) (0.0419) 0.0388 0.0437 0.4876 0.0494 0.0480 0.3599 0.0501 0.0529 0.4103 0.0515 0.0504 0.4079 GPLEARN (0.0068) (0.0085) (0.0307) (0.0062) (0.0063) (0.0368) (0.0058) (0.0056) (0.0466) (0.0062) (0.0049) (0.0426) 0.0470 0.0549 0.2098 0.0444 0.0460 0.4257 0.0444 0.0487 0.3391 0.0333 0.0337 0.4901 GENEPRO (0.0067) (0.0163) (0.0339) (0.0049) (0.0075) (0.0442) (0.0051) (0.0062) (0.0286) (0.0039) (0.0041) (0.0433) 0.0421 0.0386 0.3461 0.0465 0.0508 0.3729 0.0453 0.0464 0.3636 0.0439 0.0461 0.4610 DAC (0.0054) (0.0041) (0.0387) (0.0078) (0.0064) (0.0454) (0.0051) (0.0043) (0.0214) (0.0054) (0.0053) (0.0501) 0.0569 0.0597 0.3642 0.0511 0.0557 0.4644 0.0537 0.0640 0.3774 0.0540 0.0596 0.5398 HPPO (0.0057) (0.0057) (0.0060) (0.0043) (0.0059) (0.0364) (0.0042) (0.0066) (0.0053) (0.0049) (0.0059) (0.0523) 0.0719 0.0774 0.7266 0.0739 0.0766 0.5680 0.0673 0.0724 0.4546 0.0689 0.0763 0.5433 Ours* (0.0072) (0.0054) (0.0448) (0.0058) (0.0059) (0.0412) (0.0037) (0.0049) (0.0187) (0.0055) (0.0082) (0.0557) , RankIC ∗ and IR∗ of this value and the one-day-ahead needs to be learned. Their relationship is as follows: RV for the next day, which is used to update the policy. The X model tends to favor the same operators for similar feature bhigh (St−1 , Zt−1 ) = πθ (Zt | St−1 , Zt−1 )blow (St−1 , Zt ) inputs when the correlation between the generated expres- Zt sion value and the target value is high, signifying a high re- (6) ward. This approach effectively addresses QB. Experiments Experiment Settings Overall Framework Here, we introduce the datasets used for learning, along with The overall objective function of HPPO-TO is as follows (r the baselines and metrics for evaluation. in the following equation is"the desired # reward function): Data & Evaluation Metrics The feature inputs XT open/low/high/close/volume/vwap are the m-dimensional L = Eθ,ϕ r(St , At ) (4) raw trading data X ∈ Rm of the HS300 index 1 /CSI800 t=1 index 2 /Nifty100 Index 3 /S&P500 index constituents (see By computing the gradients with respect to θ and ϕ based on Table 3 for detailed information). The target value is the the overall objective, we obtain the actor-critic architecture one-day-ahead RV, which nis defined as as shown in Eq. (5), except for the baseline terms bhigh , blow . X T RV (t, j; n) = (ln Pt,j − ln Pt,j−1 )2 (7) X ∇θ L = E [ ∇θ log πθ (Zt |St−1 , Zt−1 )× j=1 X T ,Z T t=1 where n is the number of intraday trading intervals, and Pi,j is the closing price of the i-th trading day and the j- (Rett − bhigh (St−1 , Zt−1 ))] (5) th interval. All trading orders in the dataset are assumed to T X be completed within the trading day: the trading period is ∇ϕ L = E [ ∇ϕ log πϕ (At−1 |St−1 , Zt )× 240 minutes for the China stock market, 375 minutes for X T ,Z T t=1 the India stock market, and 390 minutes for the U.S. stock (Rett − blow (St−1 , Zt ))] market. The trading time intervals for the four types of in- where Rett denotes the return at time step t, bhigh and blow dex constituents are as follows: M HS300 = 240/1 = 240 are the baselines for training high-level policy πθ and low- sub-intervals, M S&P 500 = 390/1 = 390 sub-intervals, level policy πϕ , respectively. Moreover, the advantage func- M N if ty100 = 375/5 = 75 sub-intervals, and M CSI800 = tions for high-level policy πθ and low-level policy πϕ are 240/5 = 48 sub-intervals. The dataset is divided into histor- Rett − bhigh (St−1 , Zt−1 ), Rett − blow (St−1 , Zt ), respec- ical datasets (see Table 3, Pre-train) and current datasets (see tively. Therefore, two sub-policies πθ and πϕ can be opti- Table 3, Train), comprising approximately 39 million sam- mized by existing RL algorithms and we select PPO (Schul- ples. Additionally, we use three commonly employed met- man et al. 2017) as the base algorithm. For the PPO frame- rics for evaluating factors to design the reward function for work, π is the actor and b is the critic. The input and output HPPO-TO. Each metric is positive, and higher values indi- of the high/low-level actor/critic are as defined in Eq. (5). cate better-generated factors, thereby providing positive in- Additionally, we transfer the options learned from histori- centives for the model. cal stock features to another current similar stock features. Baselines We evaluate the proposed techniques on two This forms HPPO based on transferred options (HPPO-TO), HRL approachs and three SR benchmarks. which outperforms some HRL methods in our experiments. 1 https://www.wind.com.cn/ The details about HPPO-TO are presented in Algorithm 1. 2 https://www.joinquant.com/help/api/doc?name=JQDatadoc bhigh and blow can be defined as two different networks, 3 https://www.kaggle.com/datasets/debashis74017/stock- or alternatively, bhigh can be defined by blow , so only blow market-data-nifty-100-stocks-5-min-data
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:方法页写到用历史预训练选项初始化低层策略并在新数据上微调,而摘要说的是高层策略。两处对实际迁移与更新的层级交代并不一致,复现前应对照实现澄清,不能替作者补成一个确定且无歧义的算法。总体而言,它展示了一种风险公式搜索方向,但训练细节与评价边界仍需要保留。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Transferred options paragraphs; Algorithm one;条件及比较对象见陈述
PDF p.4, Transferred options paragraphs; Algorithm one · PDF p.4
Table 1: List of all unary/binary operators employed within Algorithm 1: HPPO-TO: HF risk factor generator our framework. 1: Initialize the low-level policy πϕ with pre-trained op- Category Operator Description tions add(x,y) 2: Initialize the weight embedding matrix W C sub(x,y) 3: Assign the initial stock features/present operators: CS-B Arithmetic operators mul(x,y) St ← S0 div(x,y) 4: Assign the initial constant weights: Zt ← Z0 inv(x) The inverse of x 5: while Not Converged do sqr(x) The square of x 6: for t = 1 to RolloutLength -1 do sqrt(x) The square root of x 7: Retrieve the embedded constant weights Zt = sin(x) The sine of x cos(x) The cosine of x W TC · Zt CS-U tan(x) The tangent of x 8: Sample Zt+1 ∼ πθ (Zt+1 |St , Zt ) atan(x) The arctangent of x 9: Retrieve the embedded constant weights Zt+1 = log(x) The logarithm of x W TC · Zt+1 exp(x) The exponential value of x 10: Sample At ∼ πϕ (At |St , Zt+1 ) abs(x) The absolute value of x 11: Compute bhigh (St , Zt ) and blow (St , Zt+1 ) 12: Take operators At in St , observe new stock fea- tures/weights St+1 and reward IC ∗ coefficient. Ei (f ) is the value of the HF factor and yi is the 13: end for value of one-day-ahead RV. 14: for t = RolloutLength to 1 do Reward of the metric Rank IC ∗ : 15: Compute the option advantage ∗ AdvtZ = Rett − bhigh (St−1 , Zt−1 ) RetRankIC t = σ̄ (r (Ei (f )) , r(yi )) (2) 16: Compute the operator advantage where r(·) denotes the ranking operator for the generated AdvtA = Rett − blow (St−1 , Zt ) HF risk factor values against the one-day-ahead RV. 17: end for Reward of the metric IR∗ : 18: while i < PPO Optimization Epochs do ∗ RetIC ∗ 19: θ ← PPO ∂π ∂θ θ , Adv Z t RetIR = (3) ∂πϕ A t std(RetIC t ∗ ) 20: ϕ ← PPO ∂ϕ , Adv 21: end while where IR∗ is the mean value of the IC ∗ divided by the stan- 22: end while dard deviation of these IC ∗ . Using transferred options enables the application of transfer learning for weight collections of high- frequency features. In finance, data distributions often shift Low-level policy over time. HPPO-TO addresses this non-stationary chal- The low-level policy takes the current stock features 1 5 lenge by pre-training HPPO on large-scale historical HFT X = {ft+1 , ..., ft+1 } and the current option Zt+1 = 1 5 data and partially fine-tuning its parameters on the latest data {wt+1 , ..., wt+1 } as inputs. It then generates operators for to adapt to current market conditions. This continual transfer the current stock features. of knowledge from older models to new data mitigates the State Space The state space consists of two parts: the cur- 1 5 risk of model obsolescence. By leveraging transfer options, rent stock features {ft+1 , ..., ft+1 } and the current weight 1 5 HPPO-TO applies options learned in similar historical con- collections {wt+1 , ..., wt+1 } which are output by the high- texts to current data, avoiding the need for costly retraining level policy. from scratch. Action Space The operator collection is denoted as Specifically, HPPO-TO is pre-trained on historical data P = {add(·, ·), sub(·, ·), mul(·, ·), div(·, ·), exp(·, ·)} (see from the HS300, CSI800, Nifty100, and S&P 500 index Table 1). The low-level policy outputs an operator combina- constituents over periods ranging from 8 to 58 months (see tion at at each time step, assigning operators between stock Table 3). For example, in the HS300 dataset, one year of features to produce a formulaic HF risk factor. Table 1 lists HFT data is divided (at an 8:4 ratio) into a historical dataset all the operators used in this paper. We use four binary op- and a current dataset. The High-level policy is trained on erators and 10 unary operators to generate HF risk factor the historical set and used to initialize the Low-level policy expressions. for the current set. By extracting features shared between Reward Function In HPPO, both the high-level and low- past and present data, HPPO-TO significantly reduces train- level policies share the same reward, as detailed in Section ing variance. The Low-level policy, initialized with param- 3.1. eters learned from historical data, is fine-tuned on the latest Training the low-level policy to generate more appropri- HFT data. This process generates weight combinations more ate operators for HF risk factors. The low-level policy aligned with new market information, effectively addressing selects an operator collection for the stock features at each QA-related requirements and enhancing model adaptability. time step, generating an factor expression and computing its value. The reward function is designed based on the IC ∗
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
论文为什么要做这件事
目标是预测股票未来波动风险,而非直接判断涨跌。手工风险因子可能不能覆盖复杂关系,遗传编程生成的公式又可能很长。作者希望自动得到较简洁的非线性公式,因此把搜索交给分层强化学习,并用历史数据中的经验加快新数据上的学习。摘要把迁移描述为高层策略预训练后微调,阅读方法细节时需要与这一说法核对。 (原文:PDF p.1, Abstract; Introduction)
指标:目标是预测股票未来波动风险,而非直接判断涨跌。手工风险因子可能不能覆盖复杂关系,遗传编程生成的公式又可能很长。作者希望自动得到较简洁的非线性公式,因此把搜索交给分层强化学习,并用历史数据中的经验加快新数据上的学习。摘要把迁移描述为高层策略预训练后微调,阅读方法细节时需要与这一说法核对。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Abstract; Introduction;条件及比较对象见陈述
PDF p.1, Abstract; Introduction · PDF p.1
Mining Intraday Risk Factor Collections via Hierarchical Reinforcement Learning based on Transferred Options Wenyan Xu1 , Jiayu Chen2 , Chen Li3 , Yonghong Hu1 , Zhonghua Lu3 * 1 Central University of Finance and Economics, China 2 Purdue University, United States 3 Computer Network Information Center, CAS, China 2022211032@email.cufe.edu.cn, chen3686@purdue.edu, lichen@sccas.cn, huyonghong@cufe.edu.cn, zhlu@cnic.cn arXiv:2501.07274v2 [cs.CE] 16 Jan 2025 Abstract factors, momentum factors, and residual volatility/liquid- ity factors. However, these manually designed factors have Traditional manually designed risk factors, such as beta, well-documented limitations, such as ongoing debates over size/value, and momentum, often lag behind market dynam- the optimal choice of covariates and their weak correlation ics when measuring and predicting volatility in stock returns. Furthermore, statistical models, such as principal component with realized stock return volatility. Additionally, they often analysis (PCA) and factor analysis frequently fail to capture struggle to keep pace with rapid market changes. hidden nonlinear relationships. While genetic programming Statistical models, such as principal component analysis (GP) has advanced in identifying nonlinear factors automati- (PCA) (De Nard, Ledoit, and Wolf 2021) and factor anal- cally, it often lacks an internal mechanism for evaluating fac- ysis (Harman 1976), offer tools to identify potential statis- tor quality, and the resulting formulas are typically too com- tical risk factors. However, their reliance on linear decom- plex. To address these challenges, we propose a Hierarchical position frameworks limits their ability to uncover nonlin- Proximal Policy Optimization (HPPO) framework for auto- ear factors. Deep risk models (DRMs) (Lin et al. 2021) ad- mated factor generation and evaluation. The framework lever- ages two PPO models: a high-level policy and a low-level pol- dress this limitation by employing deep neural networks to icy. The high-level policy learns and assigns weights to stock learn implicit risk factors—feature vectors that capture re- features, while the low-level policy identifies latent nonlinear turn volatility—thereby improving covariance matrix esti- relationships by combining operators such as sin(), +, ∗∗, mation in Markowitz-style mean-variance models without and /. The Pearson correlation coefficient between the gen- the need for manual factor construction. Despite their ad- erated risk factors and realized return volatility serves as the vancements, DRMs present a challenge for investment ex- reward signal, quantifying factor efficacy. Additionally, we perts, as the implicit factor embeddings they generate are not incorporate transfer learning into HPPO by pre-training the easily interpretable, making it difficult to intuitively track high-level policy on large-scale historical data from the same market dynamics. Consequently, the development of inter- High-Frequency Trading (HFT) market. The policy is then pretable risk factors in closed-form mathematical expres- fine-tuned with the latest data to account for newly emerging features and distribution shifts. This Transferred Option (TO) sions remains essential. enables the high-level policy to leverage previously learned Genetic programming (GP) is a widely used method for feature correlations across different market environments, re- extracting formula-based risk factors, generating mathemat- sulting in faster convergence and higher-quality factor gen- ical expressions that predict stock return volatility from his- eration. Experimental results demonstrate that, compared to torical data. This process is framed as a symbolic regression baselines, the HPPO-TO algorithm achieves a 25% excess re- problem (Cranmer et al. 2020), aiming to identify mathemat- turn in HFT markets across China (CSI 300 Index/CSI 800 ical patterns in large datasets and convert raw stock data into Index), India (Nifty 100 Index), and the United States (S&P meaningful volatility signals. Risk factors are typically rep- 500 Index). The code and data used in this study are available resented as binary expression trees, where nodes correspond at https://github.com/wencyxu/HRL-HF_risk_factor_set. to mathematical operators (e.g., addition, multiplication) or feature variables (e.g., opening price, trading volume). GP Introduction effectively uncovers complex nonlinear relationships with- out requiring manual feature engineering. However, the fac- Risk factors play a critical role in supporting investors tor formulas generated by GP are often excessively lengthy, by transforming historical stock trading data into mea- with a single formulaic factor potentially involving hundreds sures of future return volatility, enabling the identification of variables and operators, posing significant challenges for of potential risks and facilitating more informed decision- practical use. Moreover, GP lacks an inherent mechanism to making. Traditionally, these risk factors have been manu- evaluate the quality of generated factors, further limiting its ally crafted by domain experts, including beta, size/value real-world applicability. * Corresponding author. To evaluate the effectiveness of generated risk factors au- Copyright © 2025, Association for the Advancement of Artificial tomatically, we propose a factor generator based on Hierar- Intelligence (www.aaai.org). All rights reserved. chical Proximal Policy Optimization (HPPO). This frame-
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
核心方法到底怎么运转
输入是开高低收、成交量和VWAP等行情特征。高层选择各特征的权重集合,低层选择加减乘除等运算,把加权特征连接成可计算公式。公式分数与下一交易日实现波动率的相关性提供奖励,推动后续搜索。这里的option指可复用的策略选择或权重配置,不是金融期权;算法发现的是风险表征,不是语言模型生成的建议。 (原文:PDF p.3, Figure 2; High-level policy; Reward function)
指标:输入是开高低收、成交量和VWAP等行情特征。高层选择各特征的权重集合,低层选择加减乘除等运算,把加权特征连接成可计算公式。公式分数与下一交易日实现波动率的相关性提供奖励,推动后续搜索。这里的option指可复用的策略选择或权重配置,不是金融期权;算法发现的是风险表征,不是语言模型生成的建议。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Figure 2; High-level policy; Reward function;条件及比较对象见陈述
PDF p.3, Figure 2; High-level policy; Reward function · PDF p.3
level policy. HPPO incorporates transfer options to facilitate πθ πθ Generation knowledge sharing across tasks. Specifically, the high-level weight sets: the policy leverages model parameters or latent features learned o1 option matrix assigns oτ weights to stock data from historical trading data to achieve faster convergence and more accurate training on new datasets. If the distribu- s0 𝜋𝜑 πφ Evaluation tion of new data differs from historical data—due to changes stock data sτ in market conditions or policies—fine-tuning or updating the model’s parameters is enough to effectively reuse the knowl- a1 IZ ∗ − + βZ … aτ ICs∗ values −1.0 0 1.0 edge accumulated from historical information and address Rewards: the current task. This approach efficiently repurposes knowl- … evaluate ICs∗ & Rank ICs∗ & IR∗s edge gained from historical training to address current tasks. HF risk factor The high-level policy learns options that capture correla- Environment tions between stock features from historical trading data. By reusing these options on newly collected data, HPPO effec- Figure 2: Consider a simplified example of generating a for- tively transfers previously identified inter-feature relation- mulaic HF risk factor. Raw stock features serve as inputs. ships, enabling rapid identification of risk factors aligned At each time step, the high-level policy selects an option (a with contemporary stock price fluctuations. weight set) for these features, represented by four one-hot vectors (pink squares for 1, grey squares for 0). The option To effectively apply HRL for generating high-frequency matrix, also known as key/value matrix for the MHA mech- risk factor collections, two critical questions must be ad- anism (dk = dv ), provides an embedding for each option. dressed: The low-level policy then applies operators (e.g., “+” and QA: How can the transferred option be defined to transfer “cos()”) to connect stock features. The performance of the the weight set for stock features? generated HF risk factor is evaluated using modified IC ∗ , QB: How can the low-level policy be trained to generate Rank IC ∗ and IR∗ as rewards. more appropriate operators for mining HF risk factors? In our approach, the raw stock features open/close/high- /low/volume/vwap serve as inputs, while the formulaic HF index with a frequency of 1 minute, the number of trading risk factors are the outputs. Specifically, the stock features time intervals is 240. open, close, high, and low refer to the initial, final, highest, 1 5 Option Space Options {wt+1 , ..., wt+1 } represent the and lowest prices of a stock within a one or five-minute in- weight collections assigned to different features such as terval, as illustrated in Table 3. The volume represents the open, high and low. By assigning different weights to these total number of stock shares traded during the same period. features, the model can learn which ones are more relevant Meanwhile, the volume weighted average price (VWAP) and better predict the future risk of the stock. The high- indicates the average trading price throughout the period, level policy takes the stock features and their corresponding weighted by the volume of shares traded. These features are weight collections at time t and outputs the weight collec- the most commonly used in stock price analysis. A hierar- tions for time t + 1. The high-level policy has five types of chical policy is employed, where the high-level policy gen- normalized weight collections to choose from. erates weight sets for HF stock features, then the low-level policy applies operator sets to concatenate these stock fea- Reward Function To evaluate the effectiveness of these HF tures to produce a factor expression. This approach facili- risk factors, we define three types of reward functions in our tates the efficient construction of risk factor collections (see experiment. The IC function, denoted as σ : Rn × Rn , is Fig. 2). defined as the Pearson correlation coefficient (Cohen et al. 2009). This value can be calculated at every trading inter- val (one/five minute) between an HF risk factor and the pre- High-level policy diction value, which is the one-day-ahead realized volatil- The high-level policy takes the current HF stock features ity (RV) in our case. The Rank IC function measures how 1 5 X = {ft+1 , ..., ft+1 } and the previous option Zt = the ranks of our HF risk factors correlate with the ranks of 1 5 future volatility. It is calculated using Spearman’s correla- {wt , ..., wt } as inputs, and outputs the current option 1 5 tion coefficient, which assesses the monotonic relationship Zt+1 = {wt+1 , ..., wt+1 }. It then adjusts the weight collec- tions of the stock features based on the reward from the en- between two variables (Hauke and Kossowski 2011). We vironment, thereby aligning the HF risk factor more closely choose three types of reward functions to measure the per- with the target. formance of the factors as follows: State Space The state space comprises two parts: the Reward of the metric IC ∗ : 1 5 ∗ current features {ft+1 , ..., ft+1 } and the previous option RetICt = σ̄ (Ei (f ), yi ) (1) 1 5 {wt , ..., wt }, which is the weight combination of the pre- vious features. Each time step t represents a trading time in- where σ̄ (Ei (f ), yi ) = Et [σ (Ei (f ), yi )] ∈ [−1, 1] is the terval. Different trading markets have varying trading time daily average of the Pearson coefficients between the HF risk intervals due to their distinct trading hours. For example, factorPand target for all trading days. σ(El (f ), Ek (f )) = the daily trading time of the Chinese stock market is 240 n minutes. If we select all the constituent stocks in the HS300 √Pn l=1 (Etl −Ē2 tP )(Etk −Ēt ) n 2 is the Pearson correlation l=1 (Etl −Ēt ) k=1 (Etk −Ēt )
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
解释性例子:先决定成交量与价格变化各占多大权重,再决定相加、相乘还是除法,得到一个公式。评估时问它能否识别明天波动更大的股票,而不是问它能否选出明天涨幅最大的股票。这是机制解释,不是本文报告的新因子,也不会启动回测或高频研究。
解释性推断,不能当作论文直接支持的主张。
实验怎样检验这个方法
数据覆盖美国、中国和印度市场,使用1分钟或5分钟行情,目标是下一天的实现波动率。论文以IC、Rank IC及IC均值相对标准差的指标评价风险公式;它们衡量的是对波动目标的关系,不能与预测收益的IC直接混用。历史数据预训练与当前数据训练的安排,也不同于拿每天一根K线直接运行这个方法。 (原文:PDF p.5, Experiment Settings; Data and Evaluation Metrics)
指标:数据覆盖美国、中国和印度市场,使用1分钟或5分钟行情,目标是下一天的实现波动率。论文以IC、Rank IC及IC均值相对标准差的指标评价风险公式;它们衡量的是对波动目标的关系,不能与预测收益的IC直接混用。历史数据预训练与当前数据训练的安排,也不同于拿每天一根K线直接运行这个方法。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Experiment Settings; Data and Evaluation Metrics;条件及比较对象见陈述
PDF p.5, Experiment Settings; Data and Evaluation Metrics · PDF p.5
Table 2: Main results of HS300 Index, CSI800 Index, Nifty100 Index and S&P500 Index. "(x)" represents the standard deviation of IC ∗ , RankIC ∗ and IR∗ , and the rest are the mean values of IC ∗ , RankIC ∗ and IR∗ , and "↑" indicates that the larger the value, the better (Bold indicates the optimal values). S&P500 HS300 CSI800 Nifty100 Method IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ 0.0437 0.0336 0.2707 0.0391 0.0456 0.4021 0.0381 0.0550 0.2677 0.0500 0.0508 0.3883 DSR (0.0054) (0.0045) (0.0353) (0.0064) (0.0063) (0.0362) (0.0045) (0.0078) (0.0054) (0.0065) (0.0039) (0.0419) 0.0388 0.0437 0.4876 0.0494 0.0480 0.3599 0.0501 0.0529 0.4103 0.0515 0.0504 0.4079 GPLEARN (0.0068) (0.0085) (0.0307) (0.0062) (0.0063) (0.0368) (0.0058) (0.0056) (0.0466) (0.0062) (0.0049) (0.0426) 0.0470 0.0549 0.2098 0.0444 0.0460 0.4257 0.0444 0.0487 0.3391 0.0333 0.0337 0.4901 GENEPRO (0.0067) (0.0163) (0.0339) (0.0049) (0.0075) (0.0442) (0.0051) (0.0062) (0.0286) (0.0039) (0.0041) (0.0433) 0.0421 0.0386 0.3461 0.0465 0.0508 0.3729 0.0453 0.0464 0.3636 0.0439 0.0461 0.4610 DAC (0.0054) (0.0041) (0.0387) (0.0078) (0.0064) (0.0454) (0.0051) (0.0043) (0.0214) (0.0054) (0.0053) (0.0501) 0.0569 0.0597 0.3642 0.0511 0.0557 0.4644 0.0537 0.0640 0.3774 0.0540 0.0596 0.5398 HPPO (0.0057) (0.0057) (0.0060) (0.0043) (0.0059) (0.0364) (0.0042) (0.0066) (0.0053) (0.0049) (0.0059) (0.0523) 0.0719 0.0774 0.7266 0.0739 0.0766 0.5680 0.0673 0.0724 0.4546 0.0689 0.0763 0.5433 Ours* (0.0072) (0.0054) (0.0448) (0.0058) (0.0059) (0.0412) (0.0037) (0.0049) (0.0187) (0.0055) (0.0082) (0.0557) , RankIC ∗ and IR∗ of this value and the one-day-ahead needs to be learned. Their relationship is as follows: RV for the next day, which is used to update the policy. The X model tends to favor the same operators for similar feature bhigh (St−1 , Zt−1 ) = πθ (Zt | St−1 , Zt−1 )blow (St−1 , Zt ) inputs when the correlation between the generated expres- Zt sion value and the target value is high, signifying a high re- (6) ward. This approach effectively addresses QB. Experiments Experiment Settings Overall Framework Here, we introduce the datasets used for learning, along with The overall objective function of HPPO-TO is as follows (r the baselines and metrics for evaluation. in the following equation is"the desired # reward function): Data & Evaluation Metrics The feature inputs XT open/low/high/close/volume/vwap are the m-dimensional L = Eθ,ϕ r(St , At ) (4) raw trading data X ∈ Rm of the HS300 index 1 /CSI800 t=1 index 2 /Nifty100 Index 3 /S&P500 index constituents (see By computing the gradients with respect to θ and ϕ based on Table 3 for detailed information). The target value is the the overall objective, we obtain the actor-critic architecture one-day-ahead RV, which nis defined as as shown in Eq. (5), except for the baseline terms bhigh , blow . X T RV (t, j; n) = (ln Pt,j − ln Pt,j−1 )2 (7) X ∇θ L = E [ ∇θ log πθ (Zt |St−1 , Zt−1 )× j=1 X T ,Z T t=1 where n is the number of intraday trading intervals, and Pi,j is the closing price of the i-th trading day and the j- (Rett − bhigh (St−1 , Zt−1 ))] (5) th interval. All trading orders in the dataset are assumed to T X be completed within the trading day: the trading period is ∇ϕ L = E [ ∇ϕ log πϕ (At−1 |St−1 , Zt )× 240 minutes for the China stock market, 375 minutes for X T ,Z T t=1 the India stock market, and 390 minutes for the U.S. stock (Rett − blow (St−1 , Zt ))] market. The trading time intervals for the four types of in- where Rett denotes the return at time step t, bhigh and blow dex constituents are as follows: M HS300 = 240/1 = 240 are the baselines for training high-level policy πθ and low- sub-intervals, M S&P 500 = 390/1 = 390 sub-intervals, level policy πϕ , respectively. Moreover, the advantage func- M N if ty100 = 375/5 = 75 sub-intervals, and M CSI800 = tions for high-level policy πθ and low-level policy πϕ are 240/5 = 48 sub-intervals. The dataset is divided into histor- Rett − bhigh (St−1 , Zt−1 ), Rett − blow (St−1 , Zt ), respec- ical datasets (see Table 3, Pre-train) and current datasets (see tively. Therefore, two sub-policies πθ and πϕ can be opti- Table 3, Train), comprising approximately 39 million sam- mized by existing RL algorithms and we select PPO (Schul- ples. Additionally, we use three commonly employed met- man et al. 2017) as the base algorithm. For the PPO frame- rics for evaluating factors to design the reward function for work, π is the actor and b is the critic. The input and output HPPO-TO. Each metric is positive, and higher values indi- of the high/low-level actor/critic are as defined in Eq. (5). cate better-generated factors, thereby providing positive in- Additionally, we transfer the options learned from histori- centives for the model. cal stock features to another current similar stock features. Baselines We evaluate the proposed techniques on two This forms HPPO based on transferred options (HPPO-TO), HRL approachs and three SR benchmarks. which outperforms some HRL methods in our experiments. 1 https://www.wind.com.cn/ The details about HPPO-TO are presented in Algorithm 1. 2 https://www.joinquant.com/help/api/doc?name=JQDatadoc bhigh and blow can be defined as two different networks, 3 https://www.kaggle.com/datasets/debashis74017/stock- or alternatively, bhigh can be defined by blow , so only blow market-data-nifty-100-stocks-5-min-data
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
结果说明了什么
在S&P500上,迁移版本IC为0.0719,未迁移HPPO为0.0569;Rank IC分别为0.0774和0.0597,IR分别为0.7266和0.3642。括号是标准差,不是置信区间。这支持论文该配置下风险预测关系的改善,但不能据此推导真实交易会获得同等幅度的收益改善。 (原文:PDF p.5, Table 2; S&P500 columns)
指标:在S&P500上,迁移版本IC为0.0719,未迁移HPPO为0.0569;Rank IC分别为0.0774和0.0597,IR分别为0.7266和0.3642。括号是标准差,不是置信区间。这支持论文该配置下风险预测关系的改善,但不能据此推导真实交易会获得同等幅度的收益改善。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Table 2; S&P500 columns;条件及比较对象见陈述
PDF p.5, Table 2; S&P500 columns · PDF p.5
Table 2: Main results of HS300 Index, CSI800 Index, Nifty100 Index and S&P500 Index. "(x)" represents the standard deviation of IC ∗ , RankIC ∗ and IR∗ , and the rest are the mean values of IC ∗ , RankIC ∗ and IR∗ , and "↑" indicates that the larger the value, the better (Bold indicates the optimal values). S&P500 HS300 CSI800 Nifty100 Method IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ 0.0437 0.0336 0.2707 0.0391 0.0456 0.4021 0.0381 0.0550 0.2677 0.0500 0.0508 0.3883 DSR (0.0054) (0.0045) (0.0353) (0.0064) (0.0063) (0.0362) (0.0045) (0.0078) (0.0054) (0.0065) (0.0039) (0.0419) 0.0388 0.0437 0.4876 0.0494 0.0480 0.3599 0.0501 0.0529 0.4103 0.0515 0.0504 0.4079 GPLEARN (0.0068) (0.0085) (0.0307) (0.0062) (0.0063) (0.0368) (0.0058) (0.0056) (0.0466) (0.0062) (0.0049) (0.0426) 0.0470 0.0549 0.2098 0.0444 0.0460 0.4257 0.0444 0.0487 0.3391 0.0333 0.0337 0.4901 GENEPRO (0.0067) (0.0163) (0.0339) (0.0049) (0.0075) (0.0442) (0.0051) (0.0062) (0.0286) (0.0039) (0.0041) (0.0433) 0.0421 0.0386 0.3461 0.0465 0.0508 0.3729 0.0453 0.0464 0.3636 0.0439 0.0461 0.4610 DAC (0.0054) (0.0041) (0.0387) (0.0078) (0.0064) (0.0454) (0.0051) (0.0043) (0.0214) (0.0054) (0.0053) (0.0501) 0.0569 0.0597 0.3642 0.0511 0.0557 0.4644 0.0537 0.0640 0.3774 0.0540 0.0596 0.5398 HPPO (0.0057) (0.0057) (0.0060) (0.0043) (0.0059) (0.0364) (0.0042) (0.0066) (0.0053) (0.0049) (0.0059) (0.0523) 0.0719 0.0774 0.7266 0.0739 0.0766 0.5680 0.0673 0.0724 0.4546 0.0689 0.0763 0.5433 Ours* (0.0072) (0.0054) (0.0448) (0.0058) (0.0059) (0.0412) (0.0037) (0.0049) (0.0187) (0.0055) (0.0082) (0.0557) , RankIC ∗ and IR∗ of this value and the one-day-ahead needs to be learned. Their relationship is as follows: RV for the next day, which is used to update the policy. The X model tends to favor the same operators for similar feature bhigh (St−1 , Zt−1 ) = πθ (Zt | St−1 , Zt−1 )blow (St−1 , Zt ) inputs when the correlation between the generated expres- Zt sion value and the target value is high, signifying a high re- (6) ward. This approach effectively addresses QB. Experiments Experiment Settings Overall Framework Here, we introduce the datasets used for learning, along with The overall objective function of HPPO-TO is as follows (r the baselines and metrics for evaluation. in the following equation is"the desired # reward function): Data & Evaluation Metrics The feature inputs XT open/low/high/close/volume/vwap are the m-dimensional L = Eθ,ϕ r(St , At ) (4) raw trading data X ∈ Rm of the HS300 index 1 /CSI800 t=1 index 2 /Nifty100 Index 3 /S&P500 index constituents (see By computing the gradients with respect to θ and ϕ based on Table 3 for detailed information). The target value is the the overall objective, we obtain the actor-critic architecture one-day-ahead RV, which nis defined as as shown in Eq. (5), except for the baseline terms bhigh , blow . X T RV (t, j; n) = (ln Pt,j − ln Pt,j−1 )2 (7) X ∇θ L = E [ ∇θ log πθ (Zt |St−1 , Zt−1 )× j=1 X T ,Z T t=1 where n is the number of intraday trading intervals, and Pi,j is the closing price of the i-th trading day and the j- (Rett − bhigh (St−1 , Zt−1 ))] (5) th interval. All trading orders in the dataset are assumed to T X be completed within the trading day: the trading period is ∇ϕ L = E [ ∇ϕ log πϕ (At−1 |St−1 , Zt )× 240 minutes for the China stock market, 375 minutes for X T ,Z T t=1 the India stock market, and 390 minutes for the U.S. stock (Rett − blow (St−1 , Zt ))] market. The trading time intervals for the four types of in- where Rett denotes the return at time step t, bhigh and blow dex constituents are as follows: M HS300 = 240/1 = 240 are the baselines for training high-level policy πθ and low- sub-intervals, M S&P 500 = 390/1 = 390 sub-intervals, level policy πϕ , respectively. Moreover, the advantage func- M N if ty100 = 375/5 = 75 sub-intervals, and M CSI800 = tions for high-level policy πθ and low-level policy πϕ are 240/5 = 48 sub-intervals. The dataset is divided into histor- Rett − bhigh (St−1 , Zt−1 ), Rett − blow (St−1 , Zt ), respec- ical datasets (see Table 3, Pre-train) and current datasets (see tively. Therefore, two sub-policies πθ and πϕ can be opti- Table 3, Train), comprising approximately 39 million sam- mized by existing RL algorithms and we select PPO (Schul- ples. Additionally, we use three commonly employed met- man et al. 2017) as the base algorithm. For the PPO frame- rics for evaluating factors to design the reward function for work, π is the actor and b is the critic. The input and output HPPO-TO. Each metric is positive, and higher values indi- of the high/low-level actor/critic are as defined in Eq. (5). cate better-generated factors, thereby providing positive in- Additionally, we transfer the options learned from histori- centives for the model. cal stock features to another current similar stock features. Baselines We evaluate the proposed techniques on two This forms HPPO based on transferred options (HPPO-TO), HRL approachs and three SR benchmarks. which outperforms some HRL methods in our experiments. 1 https://www.wind.com.cn/ The details about HPPO-TO are presented in Algorithm 1. 2 https://www.joinquant.com/help/api/doc?name=JQDatadoc bhigh and blow can be defined as two different networks, 3 https://www.kaggle.com/datasets/debashis74017/stock- or alternatively, bhigh can be defined by blow , so only blow market-data-nifty-100-stocks-5-min-data
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
优势大小并不均匀。Nifty100的IR,迁移版本为0.5433,HPPO为0.5398,对应标准差为0.0557和0.0523。均值接近且表中未给出这一差异的显著性检验,因此“最高”不应被写成在每个市场都形成明显优势。这也是为什么需要同时保留不那么亮眼的对照。 (原文:PDF p.5, Table 2; Nifty100 columns)
指标:优势大小并不均匀。Nifty100的IR,迁移版本为0.5433,HPPO为0.5398,对应标准差为0.0557和0.0523。均值接近且表中未给出这一差异的显著性检验,因此“最高”不应被写成在每个市场都形成明显优势。这也是为什么需要同时保留不那么亮眼的对照。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Table 2; Nifty100 columns;条件及比较对象见陈述
PDF p.5, Table 2; Nifty100 columns · PDF p.5
Table 2: Main results of HS300 Index, CSI800 Index, Nifty100 Index and S&P500 Index. "(x)" represents the standard deviation of IC ∗ , RankIC ∗ and IR∗ , and the rest are the mean values of IC ∗ , RankIC ∗ and IR∗ , and "↑" indicates that the larger the value, the better (Bold indicates the optimal values). S&P500 HS300 CSI800 Nifty100 Method IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ 0.0437 0.0336 0.2707 0.0391 0.0456 0.4021 0.0381 0.0550 0.2677 0.0500 0.0508 0.3883 DSR (0.0054) (0.0045) (0.0353) (0.0064) (0.0063) (0.0362) (0.0045) (0.0078) (0.0054) (0.0065) (0.0039) (0.0419) 0.0388 0.0437 0.4876 0.0494 0.0480 0.3599 0.0501 0.0529 0.4103 0.0515 0.0504 0.4079 GPLEARN (0.0068) (0.0085) (0.0307) (0.0062) (0.0063) (0.0368) (0.0058) (0.0056) (0.0466) (0.0062) (0.0049) (0.0426) 0.0470 0.0549 0.2098 0.0444 0.0460 0.4257 0.0444 0.0487 0.3391 0.0333 0.0337 0.4901 GENEPRO (0.0067) (0.0163) (0.0339) (0.0049) (0.0075) (0.0442) (0.0051) (0.0062) (0.0286) (0.0039) (0.0041) (0.0433) 0.0421 0.0386 0.3461 0.0465 0.0508 0.3729 0.0453 0.0464 0.3636 0.0439 0.0461 0.4610 DAC (0.0054) (0.0041) (0.0387) (0.0078) (0.0064) (0.0454) (0.0051) (0.0043) (0.0214) (0.0054) (0.0053) (0.0501) 0.0569 0.0597 0.3642 0.0511 0.0557 0.4644 0.0537 0.0640 0.3774 0.0540 0.0596 0.5398 HPPO (0.0057) (0.0057) (0.0060) (0.0043) (0.0059) (0.0364) (0.0042) (0.0066) (0.0053) (0.0049) (0.0059) (0.0523) 0.0719 0.0774 0.7266 0.0739 0.0766 0.5680 0.0673 0.0724 0.4546 0.0689 0.0763 0.5433 Ours* (0.0072) (0.0054) (0.0448) (0.0058) (0.0059) (0.0412) (0.0037) (0.0049) (0.0187) (0.0055) (0.0082) (0.0557) , RankIC ∗ and IR∗ of this value and the one-day-ahead needs to be learned. Their relationship is as follows: RV for the next day, which is used to update the policy. The X model tends to favor the same operators for similar feature bhigh (St−1 , Zt−1 ) = πθ (Zt | St−1 , Zt−1 )blow (St−1 , Zt ) inputs when the correlation between the generated expres- Zt sion value and the target value is high, signifying a high re- (6) ward. This approach effectively addresses QB. Experiments Experiment Settings Overall Framework Here, we introduce the datasets used for learning, along with The overall objective function of HPPO-TO is as follows (r the baselines and metrics for evaluation. in the following equation is"the desired # reward function): Data & Evaluation Metrics The feature inputs XT open/low/high/close/volume/vwap are the m-dimensional L = Eθ,ϕ r(St , At ) (4) raw trading data X ∈ Rm of the HS300 index 1 /CSI800 t=1 index 2 /Nifty100 Index 3 /S&P500 index constituents (see By computing the gradients with respect to θ and ϕ based on Table 3 for detailed information). The target value is the the overall objective, we obtain the actor-critic architecture one-day-ahead RV, which nis defined as as shown in Eq. (5), except for the baseline terms bhigh , blow . X T RV (t, j; n) = (ln Pt,j − ln Pt,j−1 )2 (7) X ∇θ L = E [ ∇θ log πθ (Zt |St−1 , Zt−1 )× j=1 X T ,Z T t=1 where n is the number of intraday trading intervals, and Pi,j is the closing price of the i-th trading day and the j- (Rett − bhigh (St−1 , Zt−1 ))] (5) th interval. All trading orders in the dataset are assumed to T X be completed within the trading day: the trading period is ∇ϕ L = E [ ∇ϕ log πϕ (At−1 |St−1 , Zt )× 240 minutes for the China stock market, 375 minutes for X T ,Z T t=1 the India stock market, and 390 minutes for the U.S. stock (Rett − blow (St−1 , Zt ))] market. The trading time intervals for the four types of in- where Rett denotes the return at time step t, bhigh and blow dex constituents are as follows: M HS300 = 240/1 = 240 are the baselines for training high-level policy πθ and low- sub-intervals, M S&P 500 = 390/1 = 390 sub-intervals, level policy πϕ , respectively. Moreover, the advantage func- M N if ty100 = 375/5 = 75 sub-intervals, and M CSI800 = tions for high-level policy πθ and low-level policy πϕ are 240/5 = 48 sub-intervals. The dataset is divided into histor- Rett − bhigh (St−1 , Zt−1 ), Rett − blow (St−1 , Zt ), respec- ical datasets (see Table 3, Pre-train) and current datasets (see tively. Therefore, two sub-policies πθ and πϕ can be opti- Table 3, Train), comprising approximately 39 million sam- mized by existing RL algorithms and we select PPO (Schul- ples. Additionally, we use three commonly employed met- man et al. 2017) as the base algorithm. For the PPO frame- rics for evaluating factors to design the reward function for work, π is the actor and b is the critic. The input and output HPPO-TO. Each metric is positive, and higher values indi- of the high/low-level actor/critic are as defined in Eq. (5). cate better-generated factors, thereby providing positive in- Additionally, we transfer the options learned from histori- centives for the model. cal stock features to another current similar stock features. Baselines We evaluate the proposed techniques on two This forms HPPO based on transferred options (HPPO-TO), HRL approachs and three SR benchmarks. which outperforms some HRL methods in our experiments. 1 https://www.wind.com.cn/ The details about HPPO-TO are presented in Algorithm 1. 2 https://www.joinquant.com/help/api/doc?name=JQDatadoc bhigh and blow can be defined as two different networks, 3 https://www.kaggle.com/datasets/debashis74017/stock- or alternatively, bhigh can be defined by blow , so only blow market-data-nifty-100-stocks-5-min-data
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
这篇论文哪里最强,哪里最危险
方法页写到用历史预训练选项初始化低层策略并在新数据上微调,而摘要说的是高层策略。两处对实际迁移与更新的层级交代并不一致,复现前应对照实现澄清,不能替作者补成一个确定且无歧义的算法。总体而言,它展示了一种风险公式搜索方向,但训练细节与评价边界仍需要保留。 (原文:PDF p.4, Transferred options paragraphs; Algorithm one)
指标:方法页写到用历史预训练选项初始化低层策略并在新数据上微调,而摘要说的是高层策略。两处对实际迁移与更新的层级交代并不一致,复现前应对照实现澄清,不能替作者补成一个确定且无歧义的算法。总体而言,它展示了一种风险公式搜索方向,但训练细节与评价边界仍需要保留。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Transferred options paragraphs; Algorithm one;条件及比较对象见陈述
PDF p.4, Transferred options paragraphs; Algorithm one · PDF p.4
Table 1: List of all unary/binary operators employed within Algorithm 1: HPPO-TO: HF risk factor generator our framework. 1: Initialize the low-level policy πϕ with pre-trained op- Category Operator Description tions add(x,y) 2: Initialize the weight embedding matrix W C sub(x,y) 3: Assign the initial stock features/present operators: CS-B Arithmetic operators mul(x,y) St ← S0 div(x,y) 4: Assign the initial constant weights: Zt ← Z0 inv(x) The inverse of x 5: while Not Converged do sqr(x) The square of x 6: for t = 1 to RolloutLength -1 do sqrt(x) The square root of x 7: Retrieve the embedded constant weights Zt = sin(x) The sine of x cos(x) The cosine of x W TC · Zt CS-U tan(x) The tangent of x 8: Sample Zt+1 ∼ πθ (Zt+1 |St , Zt ) atan(x) The arctangent of x 9: Retrieve the embedded constant weights Zt+1 = log(x) The logarithm of x W TC · Zt+1 exp(x) The exponential value of x 10: Sample At ∼ πϕ (At |St , Zt+1 ) abs(x) The absolute value of x 11: Compute bhigh (St , Zt ) and blow (St , Zt+1 ) 12: Take operators At in St , observe new stock fea- tures/weights St+1 and reward IC ∗ coefficient. Ei (f ) is the value of the HF factor and yi is the 13: end for value of one-day-ahead RV. 14: for t = RolloutLength to 1 do Reward of the metric Rank IC ∗ : 15: Compute the option advantage ∗ AdvtZ = Rett − bhigh (St−1 , Zt−1 ) RetRankIC t = σ̄ (r (Ei (f )) , r(yi )) (2) 16: Compute the operator advantage where r(·) denotes the ranking operator for the generated AdvtA = Rett − blow (St−1 , Zt ) HF risk factor values against the one-day-ahead RV. 17: end for Reward of the metric IR∗ : 18: while i < PPO Optimization Epochs do ∗ RetIC ∗ 19: θ ← PPO ∂π ∂θ θ , Adv Z t RetIR = (3) ∂πϕ A t std(RetIC t ∗ ) 20: ϕ ← PPO ∂ϕ , Adv 21: end while where IR∗ is the mean value of the IC ∗ divided by the stan- 22: end while dard deviation of these IC ∗ . Using transferred options enables the application of transfer learning for weight collections of high- frequency features. In finance, data distributions often shift Low-level policy over time. HPPO-TO addresses this non-stationary chal- The low-level policy takes the current stock features 1 5 lenge by pre-training HPPO on large-scale historical HFT X = {ft+1 , ..., ft+1 } and the current option Zt+1 = 1 5 data and partially fine-tuning its parameters on the latest data {wt+1 , ..., wt+1 } as inputs. It then generates operators for to adapt to current market conditions. This continual transfer the current stock features. of knowledge from older models to new data mitigates the State Space The state space consists of two parts: the cur- 1 5 risk of model obsolescence. By leveraging transfer options, rent stock features {ft+1 , ..., ft+1 } and the current weight 1 5 HPPO-TO applies options learned in similar historical con- collections {wt+1 , ..., wt+1 } which are output by the high- texts to current data, avoiding the need for costly retraining level policy. from scratch. Action Space The operator collection is denoted as Specifically, HPPO-TO is pre-trained on historical data P = {add(·, ·), sub(·, ·), mul(·, ·), div(·, ·), exp(·, ·)} (see from the HS300, CSI800, Nifty100, and S&P 500 index Table 1). The low-level policy outputs an operator combina- constituents over periods ranging from 8 to 58 months (see tion at at each time step, assigning operators between stock Table 3). For example, in the HS300 dataset, one year of features to produce a formulaic HF risk factor. Table 1 lists HFT data is divided (at an 8:4 ratio) into a historical dataset all the operators used in this paper. We use four binary op- and a current dataset. The High-level policy is trained on erators and 10 unary operators to generate HF risk factor the historical set and used to initialize the Low-level policy expressions. for the current set. By extracting features shared between Reward Function In HPPO, both the high-level and low- past and present data, HPPO-TO significantly reduces train- level policies share the same reward, as detailed in Section ing variance. The Low-level policy, initialized with param- 3.1. eters learned from historical data, is fine-tuned on the latest Training the low-level policy to generate more appropri- HFT data. This process generates weight combinations more ate operators for HF risk factors. The low-level policy aligned with new market information, effectively addressing selects an operator collection for the stock features at each QA-related requirements and enhancing model adaptability. time step, generating an factor expression and computing its value. The reward function is designed based on the IC ∗
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
代码从哪里读
已核验作者代码仓库可以访问。先从项目说明核对版本、运行环境与输入格式,再决定是否复现。本次未安装、运行作者代码,也没有验证复现成功。
读完后记住这三件事
记住的是“风险而非涨跌”“特征权重与算子分层搜索”“分钟级数据上的迁移”。均值领先要连同标准差和弱优势市场一起阅读;算法层级说明不一致也应在复现前先澄清。 (原文:PDF p.1, Abstract; Introduction;PDF p.3, Figure 2; High-level policy; Reward function;PDF p.5, Experiment Settings; Data and Evaluation Metrics;PDF p.5, Table 2; S&P500 columns;PDF p.5, Table 2; Nifty100 columns;PDF p.4, Transferred options paragraphs; Algorithm one)
指标:目标是预测股票未来波动风险,而非直接判断涨跌。手工风险因子可能不能覆盖复杂关系,遗传编程生成的公式又可能很长。作者希望自动得到较简洁的非线性公式,因此把搜索交给分层强化学习,并用历史数据中的经验加快新数据上的学习。摘要把迁移描述为高层策略预训练后微调,阅读方法细节时需要与这一说法核对。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Abstract; Introduction;条件及比较对象见陈述
PDF p.1, Abstract; Introduction · PDF p.1
Mining Intraday Risk Factor Collections via Hierarchical Reinforcement Learning based on Transferred Options Wenyan Xu1 , Jiayu Chen2 , Chen Li3 , Yonghong Hu1 , Zhonghua Lu3 * 1 Central University of Finance and Economics, China 2 Purdue University, United States 3 Computer Network Information Center, CAS, China 2022211032@email.cufe.edu.cn, chen3686@purdue.edu, lichen@sccas.cn, huyonghong@cufe.edu.cn, zhlu@cnic.cn arXiv:2501.07274v2 [cs.CE] 16 Jan 2025 Abstract factors, momentum factors, and residual volatility/liquid- ity factors. However, these manually designed factors have Traditional manually designed risk factors, such as beta, well-documented limitations, such as ongoing debates over size/value, and momentum, often lag behind market dynam- the optimal choice of covariates and their weak correlation ics when measuring and predicting volatility in stock returns. Furthermore, statistical models, such as principal component with realized stock return volatility. Additionally, they often analysis (PCA) and factor analysis frequently fail to capture struggle to keep pace with rapid market changes. hidden nonlinear relationships. While genetic programming Statistical models, such as principal component analysis (GP) has advanced in identifying nonlinear factors automati- (PCA) (De Nard, Ledoit, and Wolf 2021) and factor anal- cally, it often lacks an internal mechanism for evaluating fac- ysis (Harman 1976), offer tools to identify potential statis- tor quality, and the resulting formulas are typically too com- tical risk factors. However, their reliance on linear decom- plex. To address these challenges, we propose a Hierarchical position frameworks limits their ability to uncover nonlin- Proximal Policy Optimization (HPPO) framework for auto- ear factors. Deep risk models (DRMs) (Lin et al. 2021) ad- mated factor generation and evaluation. The framework lever- ages two PPO models: a high-level policy and a low-level pol- dress this limitation by employing deep neural networks to icy. The high-level policy learns and assigns weights to stock learn implicit risk factors—feature vectors that capture re- features, while the low-level policy identifies latent nonlinear turn volatility—thereby improving covariance matrix esti- relationships by combining operators such as sin(), +, ∗∗, mation in Markowitz-style mean-variance models without and /. The Pearson correlation coefficient between the gen- the need for manual factor construction. Despite their ad- erated risk factors and realized return volatility serves as the vancements, DRMs present a challenge for investment ex- reward signal, quantifying factor efficacy. Additionally, we perts, as the implicit factor embeddings they generate are not incorporate transfer learning into HPPO by pre-training the easily interpretable, making it difficult to intuitively track high-level policy on large-scale historical data from the same market dynamics. Consequently, the development of inter- High-Frequency Trading (HFT) market. The policy is then pretable risk factors in closed-form mathematical expres- fine-tuned with the latest data to account for newly emerging features and distribution shifts. This Transferred Option (TO) sions remains essential. enables the high-level policy to leverage previously learned Genetic programming (GP) is a widely used method for feature correlations across different market environments, re- extracting formula-based risk factors, generating mathemat- sulting in faster convergence and higher-quality factor gen- ical expressions that predict stock return volatility from his- eration. Experimental results demonstrate that, compared to torical data. This process is framed as a symbolic regression baselines, the HPPO-TO algorithm achieves a 25% excess re- problem (Cranmer et al. 2020), aiming to identify mathemat- turn in HFT markets across China (CSI 300 Index/CSI 800 ical patterns in large datasets and convert raw stock data into Index), India (Nifty 100 Index), and the United States (S&P meaningful volatility signals. Risk factors are typically rep- 500 Index). The code and data used in this study are available resented as binary expression trees, where nodes correspond at https://github.com/wencyxu/HRL-HF_risk_factor_set. to mathematical operators (e.g., addition, multiplication) or feature variables (e.g., opening price, trading volume). GP Introduction effectively uncovers complex nonlinear relationships with- out requiring manual feature engineering. However, the fac- Risk factors play a critical role in supporting investors tor formulas generated by GP are often excessively lengthy, by transforming historical stock trading data into mea- with a single formulaic factor potentially involving hundreds sures of future return volatility, enabling the identification of variables and operators, posing significant challenges for of potential risks and facilitating more informed decision- practical use. Moreover, GP lacks an inherent mechanism to making. Traditionally, these risk factors have been manu- evaluate the quality of generated factors, further limiting its ally crafted by domain experts, including beta, size/value real-world applicability. * Corresponding author. To evaluate the effectiveness of generated risk factors au- Copyright © 2025, Association for the Advancement of Artificial tomatically, we propose a factor generator based on Hierar- Intelligence (www.aaai.org). All rights reserved. chical Proximal Policy Optimization (HPPO). This frame-
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:输入是开高低收、成交量和VWAP等行情特征。高层选择各特征的权重集合,低层选择加减乘除等运算,把加权特征连接成可计算公式。公式分数与下一交易日实现波动率的相关性提供奖励,推动后续搜索。这里的option指可复用的策略选择或权重配置,不是金融期权;算法发现的是风险表征,不是语言模型生成的建议。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Figure 2; High-level policy; Reward function;条件及比较对象见陈述
PDF p.3, Figure 2; High-level policy; Reward function · PDF p.3
level policy. HPPO incorporates transfer options to facilitate πθ πθ Generation knowledge sharing across tasks. Specifically, the high-level weight sets: the policy leverages model parameters or latent features learned o1 option matrix assigns oτ weights to stock data from historical trading data to achieve faster convergence and more accurate training on new datasets. If the distribu- s0 𝜋𝜑 πφ Evaluation tion of new data differs from historical data—due to changes stock data sτ in market conditions or policies—fine-tuning or updating the model’s parameters is enough to effectively reuse the knowl- a1 IZ ∗ − + βZ … aτ ICs∗ values −1.0 0 1.0 edge accumulated from historical information and address Rewards: the current task. This approach efficiently repurposes knowl- … evaluate ICs∗ & Rank ICs∗ & IR∗s edge gained from historical training to address current tasks. HF risk factor The high-level policy learns options that capture correla- Environment tions between stock features from historical trading data. By reusing these options on newly collected data, HPPO effec- Figure 2: Consider a simplified example of generating a for- tively transfers previously identified inter-feature relation- mulaic HF risk factor. Raw stock features serve as inputs. ships, enabling rapid identification of risk factors aligned At each time step, the high-level policy selects an option (a with contemporary stock price fluctuations. weight set) for these features, represented by four one-hot vectors (pink squares for 1, grey squares for 0). The option To effectively apply HRL for generating high-frequency matrix, also known as key/value matrix for the MHA mech- risk factor collections, two critical questions must be ad- anism (dk = dv ), provides an embedding for each option. dressed: The low-level policy then applies operators (e.g., “+” and QA: How can the transferred option be defined to transfer “cos()”) to connect stock features. The performance of the the weight set for stock features? generated HF risk factor is evaluated using modified IC ∗ , QB: How can the low-level policy be trained to generate Rank IC ∗ and IR∗ as rewards. more appropriate operators for mining HF risk factors? In our approach, the raw stock features open/close/high- /low/volume/vwap serve as inputs, while the formulaic HF index with a frequency of 1 minute, the number of trading risk factors are the outputs. Specifically, the stock features time intervals is 240. open, close, high, and low refer to the initial, final, highest, 1 5 Option Space Options {wt+1 , ..., wt+1 } represent the and lowest prices of a stock within a one or five-minute in- weight collections assigned to different features such as terval, as illustrated in Table 3. The volume represents the open, high and low. By assigning different weights to these total number of stock shares traded during the same period. features, the model can learn which ones are more relevant Meanwhile, the volume weighted average price (VWAP) and better predict the future risk of the stock. The high- indicates the average trading price throughout the period, level policy takes the stock features and their corresponding weighted by the volume of shares traded. These features are weight collections at time t and outputs the weight collec- the most commonly used in stock price analysis. A hierar- tions for time t + 1. The high-level policy has five types of chical policy is employed, where the high-level policy gen- normalized weight collections to choose from. erates weight sets for HF stock features, then the low-level policy applies operator sets to concatenate these stock fea- Reward Function To evaluate the effectiveness of these HF tures to produce a factor expression. This approach facili- risk factors, we define three types of reward functions in our tates the efficient construction of risk factor collections (see experiment. The IC function, denoted as σ : Rn × Rn , is Fig. 2). defined as the Pearson correlation coefficient (Cohen et al. 2009). This value can be calculated at every trading inter- val (one/five minute) between an HF risk factor and the pre- High-level policy diction value, which is the one-day-ahead realized volatil- The high-level policy takes the current HF stock features ity (RV) in our case. The Rank IC function measures how 1 5 X = {ft+1 , ..., ft+1 } and the previous option Zt = the ranks of our HF risk factors correlate with the ranks of 1 5 future volatility. It is calculated using Spearman’s correla- {wt , ..., wt } as inputs, and outputs the current option 1 5 tion coefficient, which assesses the monotonic relationship Zt+1 = {wt+1 , ..., wt+1 }. It then adjusts the weight collec- tions of the stock features based on the reward from the en- between two variables (Hauke and Kossowski 2011). We vironment, thereby aligning the HF risk factor more closely choose three types of reward functions to measure the per- with the target. formance of the factors as follows: State Space The state space comprises two parts: the Reward of the metric IC ∗ : 1 5 ∗ current features {ft+1 , ..., ft+1 } and the previous option RetICt = σ̄ (Ei (f ), yi ) (1) 1 5 {wt , ..., wt }, which is the weight combination of the pre- vious features. Each time step t represents a trading time in- where σ̄ (Ei (f ), yi ) = Et [σ (Ei (f ), yi )] ∈ [−1, 1] is the terval. Different trading markets have varying trading time daily average of the Pearson coefficients between the HF risk intervals due to their distinct trading hours. For example, factorPand target for all trading days. σ(El (f ), Ek (f )) = the daily trading time of the Chinese stock market is 240 n minutes. If we select all the constituent stocks in the HS300 √Pn l=1 (Etl −Ē2 tP )(Etk −Ēt ) n 2 is the Pearson correlation l=1 (Etl −Ēt ) k=1 (Etk −Ēt )
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:数据覆盖美国、中国和印度市场,使用1分钟或5分钟行情,目标是下一天的实现波动率。论文以IC、Rank IC及IC均值相对标准差的指标评价风险公式;它们衡量的是对波动目标的关系,不能与预测收益的IC直接混用。历史数据预训练与当前数据训练的安排,也不同于拿每天一根K线直接运行这个方法。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Experiment Settings; Data and Evaluation Metrics;条件及比较对象见陈述
PDF p.5, Experiment Settings; Data and Evaluation Metrics · PDF p.5
Table 2: Main results of HS300 Index, CSI800 Index, Nifty100 Index and S&P500 Index. "(x)" represents the standard deviation of IC ∗ , RankIC ∗ and IR∗ , and the rest are the mean values of IC ∗ , RankIC ∗ and IR∗ , and "↑" indicates that the larger the value, the better (Bold indicates the optimal values). S&P500 HS300 CSI800 Nifty100 Method IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ 0.0437 0.0336 0.2707 0.0391 0.0456 0.4021 0.0381 0.0550 0.2677 0.0500 0.0508 0.3883 DSR (0.0054) (0.0045) (0.0353) (0.0064) (0.0063) (0.0362) (0.0045) (0.0078) (0.0054) (0.0065) (0.0039) (0.0419) 0.0388 0.0437 0.4876 0.0494 0.0480 0.3599 0.0501 0.0529 0.4103 0.0515 0.0504 0.4079 GPLEARN (0.0068) (0.0085) (0.0307) (0.0062) (0.0063) (0.0368) (0.0058) (0.0056) (0.0466) (0.0062) (0.0049) (0.0426) 0.0470 0.0549 0.2098 0.0444 0.0460 0.4257 0.0444 0.0487 0.3391 0.0333 0.0337 0.4901 GENEPRO (0.0067) (0.0163) (0.0339) (0.0049) (0.0075) (0.0442) (0.0051) (0.0062) (0.0286) (0.0039) (0.0041) (0.0433) 0.0421 0.0386 0.3461 0.0465 0.0508 0.3729 0.0453 0.0464 0.3636 0.0439 0.0461 0.4610 DAC (0.0054) (0.0041) (0.0387) (0.0078) (0.0064) (0.0454) (0.0051) (0.0043) (0.0214) (0.0054) (0.0053) (0.0501) 0.0569 0.0597 0.3642 0.0511 0.0557 0.4644 0.0537 0.0640 0.3774 0.0540 0.0596 0.5398 HPPO (0.0057) (0.0057) (0.0060) (0.0043) (0.0059) (0.0364) (0.0042) (0.0066) (0.0053) (0.0049) (0.0059) (0.0523) 0.0719 0.0774 0.7266 0.0739 0.0766 0.5680 0.0673 0.0724 0.4546 0.0689 0.0763 0.5433 Ours* (0.0072) (0.0054) (0.0448) (0.0058) (0.0059) (0.0412) (0.0037) (0.0049) (0.0187) (0.0055) (0.0082) (0.0557) , RankIC ∗ and IR∗ of this value and the one-day-ahead needs to be learned. Their relationship is as follows: RV for the next day, which is used to update the policy. The X model tends to favor the same operators for similar feature bhigh (St−1 , Zt−1 ) = πθ (Zt | St−1 , Zt−1 )blow (St−1 , Zt ) inputs when the correlation between the generated expres- Zt sion value and the target value is high, signifying a high re- (6) ward. This approach effectively addresses QB. Experiments Experiment Settings Overall Framework Here, we introduce the datasets used for learning, along with The overall objective function of HPPO-TO is as follows (r the baselines and metrics for evaluation. in the following equation is"the desired # reward function): Data & Evaluation Metrics The feature inputs XT open/low/high/close/volume/vwap are the m-dimensional L = Eθ,ϕ r(St , At ) (4) raw trading data X ∈ Rm of the HS300 index 1 /CSI800 t=1 index 2 /Nifty100 Index 3 /S&P500 index constituents (see By computing the gradients with respect to θ and ϕ based on Table 3 for detailed information). The target value is the the overall objective, we obtain the actor-critic architecture one-day-ahead RV, which nis defined as as shown in Eq. (5), except for the baseline terms bhigh , blow . X T RV (t, j; n) = (ln Pt,j − ln Pt,j−1 )2 (7) X ∇θ L = E [ ∇θ log πθ (Zt |St−1 , Zt−1 )× j=1 X T ,Z T t=1 where n is the number of intraday trading intervals, and Pi,j is the closing price of the i-th trading day and the j- (Rett − bhigh (St−1 , Zt−1 ))] (5) th interval. All trading orders in the dataset are assumed to T X be completed within the trading day: the trading period is ∇ϕ L = E [ ∇ϕ log πϕ (At−1 |St−1 , Zt )× 240 minutes for the China stock market, 375 minutes for X T ,Z T t=1 the India stock market, and 390 minutes for the U.S. stock (Rett − blow (St−1 , Zt ))] market. The trading time intervals for the four types of in- where Rett denotes the return at time step t, bhigh and blow dex constituents are as follows: M HS300 = 240/1 = 240 are the baselines for training high-level policy πθ and low- sub-intervals, M S&P 500 = 390/1 = 390 sub-intervals, level policy πϕ , respectively. Moreover, the advantage func- M N if ty100 = 375/5 = 75 sub-intervals, and M CSI800 = tions for high-level policy πθ and low-level policy πϕ are 240/5 = 48 sub-intervals. The dataset is divided into histor- Rett − bhigh (St−1 , Zt−1 ), Rett − blow (St−1 , Zt ), respec- ical datasets (see Table 3, Pre-train) and current datasets (see tively. Therefore, two sub-policies πθ and πϕ can be opti- Table 3, Train), comprising approximately 39 million sam- mized by existing RL algorithms and we select PPO (Schul- ples. Additionally, we use three commonly employed met- man et al. 2017) as the base algorithm. For the PPO frame- rics for evaluating factors to design the reward function for work, π is the actor and b is the critic. The input and output HPPO-TO. Each metric is positive, and higher values indi- of the high/low-level actor/critic are as defined in Eq. (5). cate better-generated factors, thereby providing positive in- Additionally, we transfer the options learned from histori- centives for the model. cal stock features to another current similar stock features. Baselines We evaluate the proposed techniques on two This forms HPPO based on transferred options (HPPO-TO), HRL approachs and three SR benchmarks. which outperforms some HRL methods in our experiments. 1 https://www.wind.com.cn/ The details about HPPO-TO are presented in Algorithm 1. 2 https://www.joinquant.com/help/api/doc?name=JQDatadoc bhigh and blow can be defined as two different networks, 3 https://www.kaggle.com/datasets/debashis74017/stock- or alternatively, bhigh can be defined by blow , so only blow market-data-nifty-100-stocks-5-min-data
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:在S&P500上,迁移版本IC为0.0719,未迁移HPPO为0.0569;Rank IC分别为0.0774和0.0597,IR分别为0.7266和0.3642。括号是标准差,不是置信区间。这支持论文该配置下风险预测关系的改善,但不能据此推导真实交易会获得同等幅度的收益改善。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Table 2; S&P500 columns;条件及比较对象见陈述
PDF p.5, Table 2; S&P500 columns · PDF p.5
Table 2: Main results of HS300 Index, CSI800 Index, Nifty100 Index and S&P500 Index. "(x)" represents the standard deviation of IC ∗ , RankIC ∗ and IR∗ , and the rest are the mean values of IC ∗ , RankIC ∗ and IR∗ , and "↑" indicates that the larger the value, the better (Bold indicates the optimal values). S&P500 HS300 CSI800 Nifty100 Method IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ 0.0437 0.0336 0.2707 0.0391 0.0456 0.4021 0.0381 0.0550 0.2677 0.0500 0.0508 0.3883 DSR (0.0054) (0.0045) (0.0353) (0.0064) (0.0063) (0.0362) (0.0045) (0.0078) (0.0054) (0.0065) (0.0039) (0.0419) 0.0388 0.0437 0.4876 0.0494 0.0480 0.3599 0.0501 0.0529 0.4103 0.0515 0.0504 0.4079 GPLEARN (0.0068) (0.0085) (0.0307) (0.0062) (0.0063) (0.0368) (0.0058) (0.0056) (0.0466) (0.0062) (0.0049) (0.0426) 0.0470 0.0549 0.2098 0.0444 0.0460 0.4257 0.0444 0.0487 0.3391 0.0333 0.0337 0.4901 GENEPRO (0.0067) (0.0163) (0.0339) (0.0049) (0.0075) (0.0442) (0.0051) (0.0062) (0.0286) (0.0039) (0.0041) (0.0433) 0.0421 0.0386 0.3461 0.0465 0.0508 0.3729 0.0453 0.0464 0.3636 0.0439 0.0461 0.4610 DAC (0.0054) (0.0041) (0.0387) (0.0078) (0.0064) (0.0454) (0.0051) (0.0043) (0.0214) (0.0054) (0.0053) (0.0501) 0.0569 0.0597 0.3642 0.0511 0.0557 0.4644 0.0537 0.0640 0.3774 0.0540 0.0596 0.5398 HPPO (0.0057) (0.0057) (0.0060) (0.0043) (0.0059) (0.0364) (0.0042) (0.0066) (0.0053) (0.0049) (0.0059) (0.0523) 0.0719 0.0774 0.7266 0.0739 0.0766 0.5680 0.0673 0.0724 0.4546 0.0689 0.0763 0.5433 Ours* (0.0072) (0.0054) (0.0448) (0.0058) (0.0059) (0.0412) (0.0037) (0.0049) (0.0187) (0.0055) (0.0082) (0.0557) , RankIC ∗ and IR∗ of this value and the one-day-ahead needs to be learned. Their relationship is as follows: RV for the next day, which is used to update the policy. The X model tends to favor the same operators for similar feature bhigh (St−1 , Zt−1 ) = πθ (Zt | St−1 , Zt−1 )blow (St−1 , Zt ) inputs when the correlation between the generated expres- Zt sion value and the target value is high, signifying a high re- (6) ward. This approach effectively addresses QB. Experiments Experiment Settings Overall Framework Here, we introduce the datasets used for learning, along with The overall objective function of HPPO-TO is as follows (r the baselines and metrics for evaluation. in the following equation is"the desired # reward function): Data & Evaluation Metrics The feature inputs XT open/low/high/close/volume/vwap are the m-dimensional L = Eθ,ϕ r(St , At ) (4) raw trading data X ∈ Rm of the HS300 index 1 /CSI800 t=1 index 2 /Nifty100 Index 3 /S&P500 index constituents (see By computing the gradients with respect to θ and ϕ based on Table 3 for detailed information). The target value is the the overall objective, we obtain the actor-critic architecture one-day-ahead RV, which nis defined as as shown in Eq. (5), except for the baseline terms bhigh , blow . X T RV (t, j; n) = (ln Pt,j − ln Pt,j−1 )2 (7) X ∇θ L = E [ ∇θ log πθ (Zt |St−1 , Zt−1 )× j=1 X T ,Z T t=1 where n is the number of intraday trading intervals, and Pi,j is the closing price of the i-th trading day and the j- (Rett − bhigh (St−1 , Zt−1 ))] (5) th interval. All trading orders in the dataset are assumed to T X be completed within the trading day: the trading period is ∇ϕ L = E [ ∇ϕ log πϕ (At−1 |St−1 , Zt )× 240 minutes for the China stock market, 375 minutes for X T ,Z T t=1 the India stock market, and 390 minutes for the U.S. stock (Rett − blow (St−1 , Zt ))] market. The trading time intervals for the four types of in- where Rett denotes the return at time step t, bhigh and blow dex constituents are as follows: M HS300 = 240/1 = 240 are the baselines for training high-level policy πθ and low- sub-intervals, M S&P 500 = 390/1 = 390 sub-intervals, level policy πϕ , respectively. Moreover, the advantage func- M N if ty100 = 375/5 = 75 sub-intervals, and M CSI800 = tions for high-level policy πθ and low-level policy πϕ are 240/5 = 48 sub-intervals. The dataset is divided into histor- Rett − bhigh (St−1 , Zt−1 ), Rett − blow (St−1 , Zt ), respec- ical datasets (see Table 3, Pre-train) and current datasets (see tively. Therefore, two sub-policies πθ and πϕ can be opti- Table 3, Train), comprising approximately 39 million sam- mized by existing RL algorithms and we select PPO (Schul- ples. Additionally, we use three commonly employed met- man et al. 2017) as the base algorithm. For the PPO frame- rics for evaluating factors to design the reward function for work, π is the actor and b is the critic. The input and output HPPO-TO. Each metric is positive, and higher values indi- of the high/low-level actor/critic are as defined in Eq. (5). cate better-generated factors, thereby providing positive in- Additionally, we transfer the options learned from histori- centives for the model. cal stock features to another current similar stock features. Baselines We evaluate the proposed techniques on two This forms HPPO based on transferred options (HPPO-TO), HRL approachs and three SR benchmarks. which outperforms some HRL methods in our experiments. 1 https://www.wind.com.cn/ The details about HPPO-TO are presented in Algorithm 1. 2 https://www.joinquant.com/help/api/doc?name=JQDatadoc bhigh and blow can be defined as two different networks, 3 https://www.kaggle.com/datasets/debashis74017/stock- or alternatively, bhigh can be defined by blow , so only blow market-data-nifty-100-stocks-5-min-data
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:优势大小并不均匀。Nifty100的IR,迁移版本为0.5433,HPPO为0.5398,对应标准差为0.0557和0.0523。均值接近且表中未给出这一差异的显著性检验,因此“最高”不应被写成在每个市场都形成明显优势。这也是为什么需要同时保留不那么亮眼的对照。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Table 2; Nifty100 columns;条件及比较对象见陈述
PDF p.5, Table 2; Nifty100 columns · PDF p.5
Table 2: Main results of HS300 Index, CSI800 Index, Nifty100 Index and S&P500 Index. "(x)" represents the standard deviation of IC ∗ , RankIC ∗ and IR∗ , and the rest are the mean values of IC ∗ , RankIC ∗ and IR∗ , and "↑" indicates that the larger the value, the better (Bold indicates the optimal values). S&P500 HS300 CSI800 Nifty100 Method IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ IC*↑ Rank IC*↑ IR*↑ 0.0437 0.0336 0.2707 0.0391 0.0456 0.4021 0.0381 0.0550 0.2677 0.0500 0.0508 0.3883 DSR (0.0054) (0.0045) (0.0353) (0.0064) (0.0063) (0.0362) (0.0045) (0.0078) (0.0054) (0.0065) (0.0039) (0.0419) 0.0388 0.0437 0.4876 0.0494 0.0480 0.3599 0.0501 0.0529 0.4103 0.0515 0.0504 0.4079 GPLEARN (0.0068) (0.0085) (0.0307) (0.0062) (0.0063) (0.0368) (0.0058) (0.0056) (0.0466) (0.0062) (0.0049) (0.0426) 0.0470 0.0549 0.2098 0.0444 0.0460 0.4257 0.0444 0.0487 0.3391 0.0333 0.0337 0.4901 GENEPRO (0.0067) (0.0163) (0.0339) (0.0049) (0.0075) (0.0442) (0.0051) (0.0062) (0.0286) (0.0039) (0.0041) (0.0433) 0.0421 0.0386 0.3461 0.0465 0.0508 0.3729 0.0453 0.0464 0.3636 0.0439 0.0461 0.4610 DAC (0.0054) (0.0041) (0.0387) (0.0078) (0.0064) (0.0454) (0.0051) (0.0043) (0.0214) (0.0054) (0.0053) (0.0501) 0.0569 0.0597 0.3642 0.0511 0.0557 0.4644 0.0537 0.0640 0.3774 0.0540 0.0596 0.5398 HPPO (0.0057) (0.0057) (0.0060) (0.0043) (0.0059) (0.0364) (0.0042) (0.0066) (0.0053) (0.0049) (0.0059) (0.0523) 0.0719 0.0774 0.7266 0.0739 0.0766 0.5680 0.0673 0.0724 0.4546 0.0689 0.0763 0.5433 Ours* (0.0072) (0.0054) (0.0448) (0.0058) (0.0059) (0.0412) (0.0037) (0.0049) (0.0187) (0.0055) (0.0082) (0.0557) , RankIC ∗ and IR∗ of this value and the one-day-ahead needs to be learned. Their relationship is as follows: RV for the next day, which is used to update the policy. The X model tends to favor the same operators for similar feature bhigh (St−1 , Zt−1 ) = πθ (Zt | St−1 , Zt−1 )blow (St−1 , Zt ) inputs when the correlation between the generated expres- Zt sion value and the target value is high, signifying a high re- (6) ward. This approach effectively addresses QB. Experiments Experiment Settings Overall Framework Here, we introduce the datasets used for learning, along with The overall objective function of HPPO-TO is as follows (r the baselines and metrics for evaluation. in the following equation is"the desired # reward function): Data & Evaluation Metrics The feature inputs XT open/low/high/close/volume/vwap are the m-dimensional L = Eθ,ϕ r(St , At ) (4) raw trading data X ∈ Rm of the HS300 index 1 /CSI800 t=1 index 2 /Nifty100 Index 3 /S&P500 index constituents (see By computing the gradients with respect to θ and ϕ based on Table 3 for detailed information). The target value is the the overall objective, we obtain the actor-critic architecture one-day-ahead RV, which nis defined as as shown in Eq. (5), except for the baseline terms bhigh , blow . X T RV (t, j; n) = (ln Pt,j − ln Pt,j−1 )2 (7) X ∇θ L = E [ ∇θ log πθ (Zt |St−1 , Zt−1 )× j=1 X T ,Z T t=1 where n is the number of intraday trading intervals, and Pi,j is the closing price of the i-th trading day and the j- (Rett − bhigh (St−1 , Zt−1 ))] (5) th interval. All trading orders in the dataset are assumed to T X be completed within the trading day: the trading period is ∇ϕ L = E [ ∇ϕ log πϕ (At−1 |St−1 , Zt )× 240 minutes for the China stock market, 375 minutes for X T ,Z T t=1 the India stock market, and 390 minutes for the U.S. stock (Rett − blow (St−1 , Zt ))] market. The trading time intervals for the four types of in- where Rett denotes the return at time step t, bhigh and blow dex constituents are as follows: M HS300 = 240/1 = 240 are the baselines for training high-level policy πθ and low- sub-intervals, M S&P 500 = 390/1 = 390 sub-intervals, level policy πϕ , respectively. Moreover, the advantage func- M N if ty100 = 375/5 = 75 sub-intervals, and M CSI800 = tions for high-level policy πθ and low-level policy πϕ are 240/5 = 48 sub-intervals. The dataset is divided into histor- Rett − bhigh (St−1 , Zt−1 ), Rett − blow (St−1 , Zt ), respec- ical datasets (see Table 3, Pre-train) and current datasets (see tively. Therefore, two sub-policies πθ and πϕ can be opti- Table 3, Train), comprising approximately 39 million sam- mized by existing RL algorithms and we select PPO (Schul- ples. Additionally, we use three commonly employed met- man et al. 2017) as the base algorithm. For the PPO frame- rics for evaluating factors to design the reward function for work, π is the actor and b is the critic. The input and output HPPO-TO. Each metric is positive, and higher values indi- of the high/low-level actor/critic are as defined in Eq. (5). cate better-generated factors, thereby providing positive in- Additionally, we transfer the options learned from histori- centives for the model. cal stock features to another current similar stock features. Baselines We evaluate the proposed techniques on two This forms HPPO based on transferred options (HPPO-TO), HRL approachs and three SR benchmarks. which outperforms some HRL methods in our experiments. 1 https://www.wind.com.cn/ The details about HPPO-TO are presented in Algorithm 1. 2 https://www.joinquant.com/help/api/doc?name=JQDatadoc bhigh and blow can be defined as two different networks, 3 https://www.kaggle.com/datasets/debashis74017/stock- or alternatively, bhigh can be defined by blow , so only blow market-data-nifty-100-stocks-5-min-data
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:方法页写到用历史预训练选项初始化低层策略并在新数据上微调,而摘要说的是高层策略。两处对实际迁移与更新的层级交代并不一致,复现前应对照实现澄清,不能替作者补成一个确定且无歧义的算法。总体而言,它展示了一种风险公式搜索方向,但训练细节与评价边界仍需要保留。
条件:本地全文 arXiv:2501.07274v2(2025-01-16),Transferred options paragraphs; Algorithm one;条件及比较对象见陈述
PDF p.4, Transferred options paragraphs; Algorithm one · PDF p.4
Table 1: List of all unary/binary operators employed within Algorithm 1: HPPO-TO: HF risk factor generator our framework. 1: Initialize the low-level policy πϕ with pre-trained op- Category Operator Description tions add(x,y) 2: Initialize the weight embedding matrix W C sub(x,y) 3: Assign the initial stock features/present operators: CS-B Arithmetic operators mul(x,y) St ← S0 div(x,y) 4: Assign the initial constant weights: Zt ← Z0 inv(x) The inverse of x 5: while Not Converged do sqr(x) The square of x 6: for t = 1 to RolloutLength -1 do sqrt(x) The square root of x 7: Retrieve the embedded constant weights Zt = sin(x) The sine of x cos(x) The cosine of x W TC · Zt CS-U tan(x) The tangent of x 8: Sample Zt+1 ∼ πθ (Zt+1 |St , Zt ) atan(x) The arctangent of x 9: Retrieve the embedded constant weights Zt+1 = log(x) The logarithm of x W TC · Zt+1 exp(x) The exponential value of x 10: Sample At ∼ πϕ (At |St , Zt+1 ) abs(x) The absolute value of x 11: Compute bhigh (St , Zt ) and blow (St , Zt+1 ) 12: Take operators At in St , observe new stock fea- tures/weights St+1 and reward IC ∗ coefficient. Ei (f ) is the value of the HF factor and yi is the 13: end for value of one-day-ahead RV. 14: for t = RolloutLength to 1 do Reward of the metric Rank IC ∗ : 15: Compute the option advantage ∗ AdvtZ = Rett − bhigh (St−1 , Zt−1 ) RetRankIC t = σ̄ (r (Ei (f )) , r(yi )) (2) 16: Compute the operator advantage where r(·) denotes the ranking operator for the generated AdvtA = Rett − blow (St−1 , Zt ) HF risk factor values against the one-day-ahead RV. 17: end for Reward of the metric IR∗ : 18: while i < PPO Optimization Epochs do ∗ RetIC ∗ 19: θ ← PPO ∂π ∂θ θ , Adv Z t RetIR = (3) ∂πϕ A t std(RetIC t ∗ ) 20: ϕ ← PPO ∂ϕ , Adv 21: end while where IR∗ is the mean value of the IC ∗ divided by the stan- 22: end while dard deviation of these IC ∗ . Using transferred options enables the application of transfer learning for weight collections of high- frequency features. In finance, data distributions often shift Low-level policy over time. HPPO-TO addresses this non-stationary chal- The low-level policy takes the current stock features 1 5 lenge by pre-training HPPO on large-scale historical HFT X = {ft+1 , ..., ft+1 } and the current option Zt+1 = 1 5 data and partially fine-tuning its parameters on the latest data {wt+1 , ..., wt+1 } as inputs. It then generates operators for to adapt to current market conditions. This continual transfer the current stock features. of knowledge from older models to new data mitigates the State Space The state space consists of two parts: the cur- 1 5 risk of model obsolescence. By leveraging transfer options, rent stock features {ft+1 , ..., ft+1 } and the current weight 1 5 HPPO-TO applies options learned in similar historical con- collections {wt+1 , ..., wt+1 } which are output by the high- texts to current data, avoiding the need for costly retraining level policy. from scratch. Action Space The operator collection is denoted as Specifically, HPPO-TO is pre-trained on historical data P = {add(·, ·), sub(·, ·), mul(·, ·), div(·, ·), exp(·, ·)} (see from the HS300, CSI800, Nifty100, and S&P 500 index Table 1). The low-level policy outputs an operator combina- constituents over periods ranging from 8 to 58 months (see tion at at each time step, assigning operators between stock Table 3). For example, in the HS300 dataset, one year of features to produce a formulaic HF risk factor. Table 1 lists HFT data is divided (at an 8:4 ratio) into a historical dataset all the operators used in this paper. We use four binary op- and a current dataset. The High-level policy is trained on erators and 10 unary operators to generate HF risk factor the historical set and used to initialize the Low-level policy expressions. for the current set. By extracting features shared between Reward Function In HPPO, both the high-level and low- past and present data, HPPO-TO significantly reduces train- level policies share the same reward, as detailed in Section ing variance. The Low-level policy, initialized with param- 3.1. eters learned from historical data, is fine-tuned on the latest Training the low-level policy to generate more appropri- HFT data. This process generates weight combinations more ate operators for HF risk factors. The low-level policy aligned with new market information, effectively addressing selects an operator collection for the stock features at each QA-related requirements and enhancing model adaptability. time step, generating an factor expression and computing its value. The reward function is designed based on the IC ∗
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。