arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.02136q-fin.TRcs.MA
收藏

JaxMARL-HFT:面向高频交易的GPU加速大规模多智能体强化学习

JaxMARL-HFT: GPU-Accelerated Large-Scale Multi-Agent Reinforcement Learning for High-Frequency Trading

Valentin Mohl, Sascha Frey, Reuben Leyland, Kang Li, George Nigmatulin, Mihai Cucuringu, Stefan Zohren, Jakob Foerster, Anisoara Calinescu

AI总结:

提出首个高频交易GPU加速开源多智能体强化学习环境JaxMARL-HFT,基于JAX实现端到端训练时间最高缩减240倍,并验证智能体可优于标准基准。

摘要:

高频金融市场的基于智能体建模(ABM)方法难以校准和验证,部分原因在于定义固定智能体策略产生了庞大的参数空间。多智能体强化学习(MARL)能够实现更真实的智能体行为并减少自由参数数量,但高昂的计算成本至今限制了相关研究。为此,我们提出了JaxMARL-HFT(基于JAX的高频交易多智能体强化学习),这是首个基于逐笔订单(MBO)数据的高频交易(HFT)GPU加速开源多智能体强化学习环境。JaxMARL-HFT扩展了JaxMARL框架并基于JAX-LOB实现构建,旨在处理异构智能体集合,支持多样化的观测/动作空间和奖励函数。其设计灵活,既可用于单智能体RL,也可扩展为包含固定策略智能体的ABM。借助JAX,与同硬件上最先进的参考实现相比,端到端训练时间最多可减少240倍。这一显著加速使得利用高频交易中可用的大规模细粒度数据集成为可能,并能执行交易中稳健高效MARL研究所需的广泛超参数搜索。我们展示了在双人环境中使用独立近端策略优化(IPPO)的JaxMARL-HFT应用,包含一个订单执行智能体和一个做市智能体,使用了一年的LOB数据(4亿笔订单),结果表明这些智能体学会了优于标准基准。JaxMARL-HFT框架代码已在GitHub开源。

英文摘要:

Agent-based modelling (ABM) approaches for high-frequency financial markets are difficult to calibrate and validate, partly due to the large parameter space created by defining fixed agent policies. Multi-agent reinforcement learning (MARL) enables more realistic agent behaviour and reduces the number of free parameters, but the heavy computational cost has so far limited research efforts. To address this, we introduce JaxMARL-HFT (JAX-based Multi-Agent Reinforcement Learning for High-Frequency Trading), the first GPU-accelerated open-source multi-agent reinforcement learning environment for high-frequency trading (HFT) on market-by-order (MBO) data. Extending the JaxMARL framework and building on the JAX-LOB implementation, JaxMARL-HFT is designed to handle a heterogeneous set of agents, enabling diverse observation/action spaces and reward functions. It is designed flexibly, so it can also be used for single-agent RL, or extended to act as an ABM with fixed-policy agents. Leveraging JAX enables up to a 240x reduction in end-to-end training time, compared with state-of-the-art reference implementations on the same hardware. This significant speed-up makes it feasible to exploit the large, granular datasets available in high-frequency trading, and to perform the extensive hyperparameter sweeps required for robust and efficient MARL research in trading. We demonstrate the use of JaxMARL-HFT with independent Proximal Policy Optimization (IPPO) for a two-player environment, with an order execution and a market making agent, using one year of LOB data (400 million orders), and show that these agents learn to outperform standard benchmarks. The code for the JaxMARL-HFT framework is available on GitHub.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑