AllocFlow: End-to-End Portfolio Trading Action Generation from Raw Market Data
Annan Wang, Yuchen Xie, Yu Cen, Leon Liangyu Chen, Qianyu Julie Zhu, Xin Li, Tianyi Wei, Weisi Lin
Nanyang Technological University · Independent Researcher · Stanford University · Massachusetts Institute of Technology
Published November 15, 2026 · on the feed November 17, 2026 · ▲ 72 · arXiv 2611.19937
The 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.
The Brief
2:32A short podcast summary of the paper. Written and voiced by AI.
Transcript
AllocFlow. End-to-End Portfolio Trading Action Generation from Raw Market Data. By Annan Wang and seven others, from Nanyang Technological University, Independent Researcher, and two other institutions. Published on the fifteenth of November.
Managing a real portfolio means turning noisy market observations into coordinated allocations across many assets at the same moment, all drawing on the same pool of capital. Forecasting models and alpha discovery help spot opportunities. But traditional pipelines often keep signal forecasting and portfolio construction apart, as separate stages. When the forecaster is trained on one objective and the allocator acts on another, learning can end up misaligned with what allocation and execution actually need.
AllocFlow removes the separation. It is an end-to-end flow-matching framework that generates joint portfolio allocations directly from raw histories of many assets, with no separate forecasting stage in between. The output is not a prediction about prices that something else must act on. It is the allocation itself, produced for every asset in the portfolio at once, so the model that learns is the same model that is judged on what it allocates.
To capture how positions depend on one another, it uses a cross-asset flow Transformer, conditioned on temporal representations of the market, that generates continuous, signed position weights for all instruments together. Learning such continuous allocation policies from scratch tends to be sample inefficient and unstable, so training comes in two stages. First, strategy-supervised imitation shapes a structured distribution of candidate portfolios. Then group-relative reinforcement learning refines the joint decisions, using portfolio-level financial rewards and a frozen policy reference.
The test is on hourly cryptocurrency perpetual futures. Reinforcement learning refinement lifts the annualised net return of the imitation policy from twenty-seven point seven nine percent to fifty-one point three eight percent.
Over the same refinement, the Calmar ratio rises from zero point nine five five to four point zero four three, and the refined policy surpasses the teacher strategy it imitated on every metric. On six further months of unseen data from this year, without retraining, AllocFlow reaches a Calmar ratio of four point nine.
The design choice is to let one model own the whole path from raw prices to positions, rather than handing a forecast across a seam to a separate allocator. Imitation gives that model a sensible starting distribution, and reinforcement learning on portfolio-level rewards then pushes it past the strategy it started by copying. The held-out months are the part to watch, since they show the refined policy keeping its risk-adjusted return on data it never trained on.
Paper Quest · 7 chapters · about 40 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Every hour, many positions, one pool of capital. Here is where the usual pipeline breaks.
You manage a portfolio of many crypto futures. Every hour you must set a long or short position in each, all drawing on the same pool of capital.
The road ahead
- 1 · The problem ~7 min Trading many crypto futures at once means setting linked positions every hour, and a forecaster trained on prices may not learn what trading needs.
- 2 · What came before ~3 min
- 3 · The key idea ~8 min One flow model turns raw market histories straight into every asset's signed position at once, trained by imitating a teacher and then by group-relative RL.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Frozen Kronos tokens condition a flow head that is trained by imitation, refined by group-relative RL on Sharpe rewards, then tested on unseen months.
- 6 · The experiment ~6 min You’ll guess: After reinforcement learning refinement, how did AllocFlow compare with the teacher strategy it first imitated?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.