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

arXiv:2611.19937 · 2026-11-17 공개 · arXiv · PDF

reinforcement-learning transformer flow-matching imitation-learning portfolio-management cryptocurrency multi-asset financial-rewards

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.

한국어 요약

한 줄 요약

AllocFlow는 원시 시장 데이터에서 직접 종합 포트폴리오 배분을 생성하는 엔드투엔드 흐름 매칭 프레임워크로, 강화학습을 통해 기존 전략을 초과하는 성과를 달성한다.

핵심 기여도

핵심 아이디어

AllocFlow는 기존 포트폴리오 관리에서 흔히 발생하는 신호 예측과 포트폴리오 구성의 분리 문제를 해결하기 위해, 원시 시장 데이터에서 직접 종합 포트폴리오 배분을 생성하는 엔드투엔드 모델을 제안한다. 이는 기존의 단일 자산별 신호 예측 후 최적화 단계를 거치는 방식과 달리, 여러 자산 간 의존성을 고려한 연합 배분을 생성한다. 핵심 아이디어는 **cross-asset flow Transformer**를 사용하여 시간적 시장 표현에 조건을 주고, 연속적인 부호가 있는 포지션 가중치를 생성하는 것이다. 또한, **two-stage training scheme**을 통해 학습 효율성과 안정성을 높인다. 첫 번째 단계는 strategy-supervised imitation을 통해 초기 포트폴리오 분포를 구조화하고, 두 번째 단계는 group-relative RL을 사용해 포트폴리오 수익성을 개선한다.

기술적 접근법

주요 결과

의의 및 한계

AllocFlow는 기존 포트폴리오 관리에서 흔히 발생하는 신호 예측과 포트폴리오 구성 간의 불일치를 해결하고, 연합 배분을 생성함으로써 포트폴리오 수익성을 개선하는 데 기여한다. 특히, **cross-asset flow Transformer**와 **two-stage training**은 학습 효율성과 안정성을 동시에 달성하는 데 중요한 역할을 한다. 그러나, **Kronos 인코더는 학습되지 않은 상태로 유지**되며, 이는 시장 표현의 유연성에 제한을 줄 수 있다. 또한, **강화학습 단계에서의 exploration 비용**이 높아, 초기 imitation learning 없이는 성능 저하가 발생한다.

실용적 활용

AllocFlow는 암호화폐 퍼피털 퓨처스와 같은 **24시간 거래가 가능한 유동성 높은 시장**에서 특히 유용하며, **다중 자산 간 연관성을 고려한 포트폴리오 배분**이 필요한 알고리즘 트레이딩 시스템에 적용 가능하다. 또한, **엔드투엔드 학습 프레임워크**로, 기존의 복잡한 파이프라인 없이도 실시간 포트폴리오 최적화를 수행할 수 있어, **금융 기관의 자동화 거래 시스템**에 활용될 수 있다.