Designing effective trading strategies using reinforcement learning remains challenging due to delayed and noisy rewards, poor exploration, and the difficulty of enforcing explicit risk constraints. In this work, we propose BRaG, a barycenter-based adversarial inverse reinforcement learning framework for stock trading that learns trading behavior from multiple heterogeneous expert strategies. BRaG aggregates expert demonstrations using a performance-weighted Wasserstein barycenter, yielding a stable pseudo-expert representation that captures shared structure across diverse trading styles. This representation is used to pretrain a trading policy via adversarial imitation learning, which alleviates unstable exploration during reinforcement learning. The pretrained policy is subsequently refined using reinforcement learning with true market rewards. To ensure risk-aware decision-making, BRaG incorporates control barrier functions that constrain action execution and regularize policy learning to satisfy drawdown limits. We evaluate the proposed approach on four major global equity markets, including the US, UK, Indian, and Taiwanese indices. Across all the markets, the proposed approach achieves stronger performance than both classical trading rules and recent deep reinforcement learning methods, while exhibiting more stable risk characteristics.
Figures & tables
Dataset
Metrics
Index
Buy-Hold
MVO
Random
CSMOM
TSMOM
Bollinger
MA Crossover
A2C
DDPG
VS-DRL
SRRS
RSHF
Adaptive
DREB
PPO
BRaG†
DJI
Cumulative Return
22.8053
30.561
19.649
18.678
24.241
25.315
25.625
31.926
37.192
38.268
36.959
12.275
35.708
24.023
42.522
35.594
53.977
Annual Return
12.576
16.522
10.899
10.379
13.334
13.897
14.064
17.323
20.003
20.545
19.885
6.905
19.252
13.219
22.626
17.669
28.262
Sharpe Ratio
0.883
1.117
0.976
0.713
0.661
0.914
0.814
1.062
1.067
1.165
1.193
0.457
1.289
0.947
1.405
1.164
1.472
Max Drawdown
16.369
15.916
10.663
17.142
29.982
13.501
15.991
18.443
23.631
19.724
19.351
21.524
15.701
16.401
17.968
16.208
17.958
Win Ratio
54.13
55.15
53.44
47.91
53.21
49.31
54.36
47.94
55.05
54.19
57.14
50.01
54.59
55.28
57.34
55.73
58.05
FTSE
Cumulative Return
20.443
8.604
23.597
-14.446
17.165
32.061
27.605
30.802
33.917
29.585
17.478
19.144
33.788
30.541
43.898
32.294
64.241
Table 1: Performance comparison of the proposed BRaG model against various baselines across the datasets.
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
Model
Hyperparameter
Range
PPO
Hidden Dimension
[2,512]
Number of Layers
[1,8]
Activation Function
[ReLU, Tanh, Sigmoid]
Learning Rate
[e−8,e−1]
Dropout
[0,0.5]
γ
[0.9,0.99]
Appendix
Table 2: Hyperparameter configuration and search space for the proposed BRaG model.
Figure 1: Cumulative return trajectories of the proposed BRaG model and baseline strategies across the DJI, FTSE, Sensex, and TWII datasets during the out-of-sample trading period.
Dataset
Metrics
Random
A2C
DDPG
VS-DRL
SRRS
RSHF
Adaptive
DREB
PPO
BRaG†
DJI
Cumulative Return
18.68 ± 5.42
37.19 ± 3.41
38.27 ± 4.12
36.96 ± 3.85
12.28 ± 2.15
35.71 ± 2.94
24.02 ± 2.65
42.52 ± 3.10
35.59 ± 2.87
53.98 ± 1.95
Annual Return
10.38 ± 3.15
20.00 ± 1.84
20.55 ± 2.21
19.89 ± 1.95
6.91 ± 1.12
19.25 ± 1.65
13.22 ± 1.43
22.63 ± 1.75
17.67 ± 1.52
28.26 ± 1.05
Sharpe Ratio
0.71 ± 0.18
1.07 ± 0.12
1.17 ± 0.14
1.19 ± 0.13
0.46 ± 0.16
1.29 ± 0.11
0.95 ± 0.14
1.41 ± 0.09
1.16 ± 0.10
1.47 ± 0.06
Max Drawdown
17.14 ± 3.85
23.63 ± 2.15
19.72 ± 2.84
19.35 ± 2.45
21.52 ± 3.12
15.70 ± 1.85
16.40 ± 2.05
17.97 ± 1.75
16.21 ± 1.64
17.96 ± 1.25
Win Ratio
47.91 ± 2.45
55.05 ± 1.34
54.19 ± 1.65
57.14 ± 1.45
50.01 ± 1.85
54.59 ± 1.25
55.28 ± 1.55
57.34 ± 1.15
55.73 ± 1.15
58.05 ± 0.85
FTSE
Cumulative Return
-14.45 ± 6.15
33.92 ± 3.85
29.59 ± 4.15
17.48 ± 3.25
19.14 ± 3.65
33.79 ± 3.15
30.54 ± 2.95
43.90 ± 3.25
32.29 ± 3.14
64.24 ± 2.41
Appendix
Table 3: Performance comparison of the proposed BRaG model against various baselines across the datasets. Results are reported as mean ± standard deviation over five independent runs.
Figure 2: Distribution of Calmar and Sortino ratios across all models and datasets, illustrating comparative downside risk and risk-adjusted performance.
Figure 3: Effect of varying the number of expert trajectories used for barycenter construction on cumulative return and Sharpe ratio. Experts are added incrementally based on validation performance.
Figure 4: Effect of varying the maximum drawdown limit in the control barrier function on cumulative return and Sharpe ratio.
Barycenter weighting scheme
Cumulative Return ↑
Sharpe Ratio ↑
Maximum Drawdown ↓
Sharpe-based weighting
53.977
1.472
17.958
Equal weighting
48.502
1.281
20.133
Appendix
Table 4: Effect of expert-weighting schemes in the Wasserstein barycenter on the DJI dataset. Sharpe-based weighting assigns greater influence to experts with stronger risk-adjusted validation performance, whereas equal weighting assigns identical importance to all experts.
Component removed
Cumulative Return ↑
Sharpe Ratio ↑
Maximum Drawdown ↓
GAIL Pretraining
33.501
1.245
15.796
PPO Fine-tuning
42.378
1.335
16.953
CBF
52.951
1.258
25.874
None—Full BRaG
53.977
1.472
17.958
Appendix
Table 5: Component-wise ablation of BRaG on the DJI dataset. Each variant removes one major component from the full framework while retaining the remaining modules.
Expert Aggregation Method
Cumulative Return ↑
Sharpe Ratio ↑
Maximum Drawdown ↓
Best Single Expert
27.235
1.205
14.982
Uniform Expert Sampling
46.445
1.285
20.181
Sharpe-weighted Sampling
50.213
1.388
18.875
Full BRaG
53.977
1.472
17.958
Appendix
Table 6: Comparison of expert-demonstration aggregation strategies on the DJI dataset.
Reinforcement learning studies how agents learn sequential decisions from rewards and interaction, balancing exploration, performance, safety, and adaptation.