NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Beyond Model Capacity: An Empirical Study of PPO for Portfolio Allocation

Shun-Wen Lin, Mi-Yen Yeh, Wei-Pang KaoarXiv 2026

TL;DR

When a reinforcement learning (RL) stock-trading agent loses to a simple buy-and-hold strategy, we usually blame a weak architecture, bad input features, or undertraining. Through a forensic investigation of 100 models, this paper systematically rules out all three—revealing instead a fascinating failure of the optimizer itself. Even when handed a winning strategy on a silver platter, Proximal Policy Optimization (PPO) actively unlearns it, largely because standard credit assignment gets lost in an environment that only executes a fraction of the network's outputs.

What Problem Does This Paper Address?

Applying deep RL to financial portfolio allocation is a popular idea: feed historical price tensors into a neural network, penalize it for transaction costs, and let an optimizer like PPO learn how to trade. Yet these agents frequently underperform simple passive benchmarks like buying an equal-weighted basket of stocks ($1/N$) and holding on.

When an RL agent flops, there are four usual suspects:

  1. Undertraining or poor hyperparameters.
  2. Missing signal in the input features.
  3. Limited model capacity (the network literally cannot express a winning strategy).
  4. Optimization failure (the optimizer fails to climb the very objective function it was given).

The literature rarely untangles these possibilities. Worse, benchmarks often compare apples to oranges—like pitting an RL agent paying transaction fees against a hypothetical baseline trading for free. This paper sets up a clean, rigorous courtroom to isolate exactly why a standard RL portfolio setup fails.

Methods

The standard setup under the microscope is an actor-critic network with a Mixture-of-Experts (MoE) head, trained via PPO. Every day, it looks at a 20-day window of 70 features across 103 stocks and outputs 104 logits (103 stock weights plus an unused cash/exposure logit). The environment applies a top-15 projection: it keeps only the 15 highest-weighted stocks, renormalizes them to invest 100% of capital, and charges a 0.15% transaction fee on each leg of a trade.

To isolate the failure mode across 100 independent training runs, the authors introduce four diagnostic instruments:

  • Turnover-matched random baselines: Random 15-stock portfolios redrawn with a geometric holding period (averaging 9.5 days) to match the exact trading frequency—and thus exact fee drag—of the RL policies.
  • Imitation as a capacity probe: Training the exact same network architecture via supervised learning (using DAgger) to mimic a simple, profitable 60-day momentum rule.
  • Direct objective scoring & handoffs: Evaluating policies on PPO’s exact training reward function (net log return over an equal-weighted daily baseline), and handing high-scoring "cloned" policies back to PPO to see if it preserves or improves them.
  • Zero-update rollouts & pre-registered screens: Running policies with PPO's exploration noise turned on before any gradient updates, and testing targeted fixes like Plackett–Luce credit assignment (computing PPO's importance ratios only over the 15 stocks actually executed, ignoring the 89 discarded outputs).

Datasets

  • Primary Universe (TAIEX): Daily closing prices and 70 per-stock features for 103 Taiwanese equities from January 2016 to July 2026 (split into 2016–2021 training, 2022–2024 validation, and 2025–2026 test windows).
  • Secondary Universe (S&P 100): Daily prices for 98 US large-cap equities used for robustness checks.
  • Note: Both panels are survivor sets (every stock existed for the entire multi-year span), meaning absolute returns across all strategies are artificially optimistic, though like-for-like comparisons within each market remain fair.

Key Insights and Ideas

  • The agent is basically throwing darts—and paying fees for the privilege. When matched for trading frequency, PPO models show no statistically significant stock-picking edge over random selection. Meanwhile, a textbook 60-day momentum rule built from a feature the network already receives crushes both.
  • The architecture isn't the bottleneck. When trained by imitation to copy that momentum rule, the identical network easily beats buy-and-hold and earns nearly 5× its own trading costs. The network can represent a winning policy; PPO just doesn't find it.
  • PPO actively destroys good policies. Scored on PPO's own training objective ($R$), buying 15 random stocks once and never trading outscores every trained RL model family. Worse, when PPO is initialized with a high-scoring cloned policy, it drags the score down instead of pushing it up.
  • Exploration noise churns the top-$k$ boundary. Before a single gradient step is taken, adding standard Gaussian exploration noise to logits jitters stocks across the top-15 cutoff. Daily turnover spikes 2.3× for cloned policies, burning massive transaction fees and tanking the reward signal PPO sees.
  • Credit assignment is diluted by discarded actions. Standard PPO calculates probability ratios across all 104 raw outputs, meaning 89 coordinates that never touch the market inject noise into clipping and updates. Modifying PPO to credit only the 15 executed stocks (via a Plackett–Luce distribution) was the only setup where PPO actually improved its training objective.
Comparison of test returns and trading-cost coverage across random, PPO-trained, teacher, and cloned policies.

Key Results

  • Test Window Performance: Buy-and-hold returned +240.1% net over the 345-day test window. The 100 PPO models achieved a median net return of +189.7% (beating buy-and-hold in 29/100 runs), virtually identical to turnover-matched random selection at +189.1% (probability of PPO beating random: $P = 0.514$, $p = 0.69$).
  • Capacity Probe: The 60-day momentum teacher returned +308.4% net. Supervised clones achieved a median of +341.3% (25/32 beating buy-and-hold at validation-selected checkpoints; 31/32 at end-of-training), earning a median 4.7× their trading costs compared to 0.53× for PPO models.
  • Training Objective Collapse: On the training window objective $R$ (where benchmark = $0.00$), static never-traded random portfolios scored a median +0.92, cloned policies scored +0.59, and from-scratch PPO models scored −10.98. Handing 8 clones (+0.89 median) back to PPO collapsed their median score to −8.40.
Training-window scores under PPO's exact objective function across model families.
  • Executed-Action Credit Screen: Scoring only the 15 executed names raised the sampled training objective above paired baselines in 7 of 8 runs ($p = 0.0156$) and ended at a mean deterministic $R$ of +5.09 (above starting clones in 5 of 8 runs).

Limitations and Future Work

  • Market Realism & Survivorship: All backtests assume zero slippage, zero market impact, execution at exact closing prices, and rely on survivor-biased stock lists. Only a true point-in-time universe can remove survivorship bias.
  • No Market Timing: Because portfolios are forced to be 100% invested in 15 stocks at all times, the study only evaluates stock selection, not whether an RL agent could add value by moving to cash during downturns.
  • Non-determinism: GPU floating-point ordering interacts with the strict inequality of the top-15 cutoff, meaning identical random seeds can diverge wildly (+390 percentage points across replicates).
  • Future Work: The promising Plackett–Luce executed-action credit screen was only tested on 8 handoff runs on the training window; training agents from scratch with executed-action credit assignment—and testing dense heads alongside MoE—remains the wide-open next step.

Summary updated

BibTeX
@misc{lin2026beyond,
  author = {Shun-Wen Lin and Mi-Yen Yeh and Wei-Pang Kao},
  title = {{Beyond Model Capacity: An Empirical Study of PPO for Portfolio Allocation}},
  year = {2026},
  eprint = {2611.35631},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35631},
}
Figure