AllocFlow: End-to-End Portfolio Trading Action Generation from Raw Market Data
AuthorsAnnan Wang, Yuchen Xie, Yu Cen, Leon Liangyu Chen, Qianyu Julie Zhu, Xin Li, Tianyi Wei, Weisi Lin
AffiliationsNanyang Technological University · Independent Researcher · Stanford University · Massachusetts Institute of Technology
AllocFlow learns to generate coordinated crypto portfolios directly from market histories, then refines them using trading rewards.
Key results
Raised from 27.79% after imitation on the 14-month evaluation, after fees.
Improved from 0.955 after imitation.
Net Sharpe on the 14-month evaluation.
Achieved over six further months without retraining.
Basis points charged per traded weight in the after-fee evaluation.
What the paper found
AllocFlow generates a complete long-short portfolio directly from raw hourly market histories, rather than predicting separate signals and passing them to an optimizer. A frozen Kronos financial model encodes each asset’s history, and a cross-asset flow Transformer jointly produces signed position weights. Training first imitates AgenticAlpha portfolios, then uses Flow-GRPO group-relative reinforcement learning, anchored by a frozen imitation policy, to improve portfolio-level rewards. On hourly cryptocurrency perpetual futures, after charging 5 bps per traded weight, refinement raises annualized net return from 27.79% to 51.38%, Sharpe from 0.954 to 2.192, and Calmar from 0.955 to 4.043 over a 14-month evaluation. The resulting Calmar exceeds the teacher’s 1.733, and reaches 4.90 over six further months of unseen 2026 data without retraining. Ablations suggest the combination matters: a parameter-matched Gaussian policy reaches at most 1.92 Calmar, while reinforcement learning from a randomly initialized action head loses 75% per year. The central contribution is a generative policy that learns coordinated, executable portfolio allocations and refines them against financial outcomes, rather than treating forecasting and allocation as separate tasks.
Original abstract
Real-world portfolio management requires converting noisy market observations into coordinated, simultaneous allocations across multiple assets under shared capital constraints. Advances in forecasting models and alpha discovery help identify opportunities. However, traditional pipelines often decouple signal forecasting from portfolio construction, potentially misaligning learning with allocation and execution objectives. We present AllocFlow, an end-to-end flow-matching framework that directly generates joint portfolio allocations from raw multi-asset market histories. To capture dependencies among portfolio positions, AllocFlow employs a cross-asset flow Transformer conditioned on temporal market representations to generate continuous, signed position weights across all instruments jointly. To address the sample inefficiency and instability of learning continuous allocation policies from scratch, we establish a two-stage training scheme: strategy-supervised imitation shapes a structured distribution of candidate portfolios, followed by group-relative reinforcement learning (RL) that refines joint decisions using portfolio-level financial rewards and a frozen policy reference. On hourly cryptocurrency perpetual futures, RL refinement raises the annualized net return of the imitation policy from $27.79\%$ to $51.38\%$ and its Calmar ratio from $0.955$ to $4.043$, surpassing the teacher strategy on every metric, and AllocFlow reaches a Calmar ratio of $4.90$ on six further months of unseen 2026 data without retraining.
Read the original paperMore in Reinforcement Learning
Browse all 72 papers →Regularized Score Centering
Hao Bai, Chenlu Ye, Xuanchang Zhang, Aviral Kumar, Tong Zhang
RSC stabilizes asynchronous reinforcement learning by keeping the learner closer to the policy that generated its training data.
Replay, Don't Resample: Off-Policy Consolidation of Long-Horizon RL Experts
Zhenrui Yue, Gongxiaohui Chen, Huimin Zeng, Honglei Zhuang, Jiashuo Sun, Zhen Han, Dong Wang
MRPD turns experts’ existing RL training logs into an ordered replay curriculum, consolidating them into a student at much lower cost.
AttnSR: Attention Step Reward for Long-Horizon Agentic RL
Mengsong Wu, Tianchen Zhou, Zhaochen Su, Zhenhua Liu, Zhe Cui, Aimin Zhou
AttnSR turns an LLM agent’s attention into step-level feedback to help it learn long-horizon tasks with fewer environment interactions.