AI That Trades Like a Symphony Orchestra Instead of Soloists
Original paper: AllocFlow: End-to-End Portfolio Trading Action Generation from Raw Market Data
"Think of it like a complex mechanical clockwork system where turning a single central dial immediately shifts dozens of interlocking cogs into precise new positions. Instead of tweaking each asset individually like separate dials, AllocFlow uses a continuous flow mechanism to adjust the entire portfolio configuration simultaneously."
Traditional financial algorithms often suffer from a disconnect between predicting market trends and actually executing trades across many assets. By managing a whole portfolio as a single cohesive unit, this approach dramatically improves profitability and risk management during volatile market shifts.
- Decoupled trading pipelines often misalign forecasting with actual asset execution.
- AllocFlow generates joint portfolio allocations directly from raw market data.
- Reinforcement learning refinement drastically boosts annualized returns and risk-adjusted performance.
📑 Original arXiv Technical 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.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.