Papers › XuanCe: A Comprehensive and Unified Deep Reinforcement Learning Library

XuanCe: A Comprehensive and Unified Deep Reinforcement Learning Library

25 Dec 2023arXiv:2312.16248archive 2025-07-28

Wenzhang Liu, Wenzhe Cai, Kun Jiang, Guangran Cheng, Yuanda Wang, Jiawei Wang, Jingyu Cao, Lele Xu, Chaoxu Mu, Changyin Sun

In this paper, we present XuanCe, a comprehensive and unified deep reinforcement learning (DRL) library designed to be compatible with PyTorch, TensorFlow, and MindSpore. XuanCe offers a wide range of functionalities, including over 40 classical DRL and multi-agent DRL algorithms, with the flexibility to easily incorporate new algorithms and environments. It is a versatile DRL library that supports CPU, GPU, and Ascend, and can be executed on various operating systems such as Ubuntu, Windows, MacOS, and EulerOS. Extensive benchmarks conducted on popular environments including MuJoCo, Atari, and StarCraftII multi-agent challenge demonstrate the library's impressive performance. XuanCe is open-source and can be accessed at https://github.com/agi-brain/xuance.git.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2312.16248")

Code

Syntology Ran 6 of 10 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 5 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

agi-brain/xuance officialmentioned in papermentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 6 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
5ran
4unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from agi-brain/xuance. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

compute_mean_std agi-brain/xuance/xuance/common/offline_util.py official repository ran fingerprinted MIT (permissive) · c306710732715c0c · report
create_memory agi-brain/xuance/xuance/common/memory_tools.py official repository ran MIT (permissive) · 6bdf1d32a42dd9ed · report
load_yaml agi-brain/xuance/xuance/common/common_tools.py official repository ran MIT (permissive) · 7e426e46e07822b2 · report
normalize_states agi-brain/xuance/xuance/common/offline_util.py official repository ran · honoured contract fingerprinted MIT (permissive) · ba80f9ff81b1de5f · report
recursive_dict_update agi-brain/xuance/xuance/common/common_tools.py official repository ran MIT (permissive) · be548fd984bd5e7b · report
sample_batch agi-brain/xuance/xuance/common/memory_tools.py official repository ran MIT (permissive) · 921135160e526fe7 · report
get_arguments agi-brain/xuance/xuance/common/common_tools.py official repository unverified MIT (permissive) · 5824a7722625e41d · report
load_d4rl_dataset agi-brain/xuance/xuance/common/offline_util.py official repository unverified MIT (permissive) · a4b161f2aea8c627 · report
mpi_mean agi-brain/xuance/xuance/common/statistic_tools.py official repository unverified MIT (permissive) · 5fd3703bcdef8cd3 · report
mpi_moments agi-brain/xuance/xuance/common/statistic_tools.py official repository unverified MIT (permissive) · 2cf34e2bda814425 · report

Tasks

Deep Reinforcement LearningMuJoCoReinforcement Learningreinforcement-learning

2 archive task tags without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections