Skip to content

Colin-Jing/ASPC

Repository files navigation

Offline Reinforcement Learning Codebase

This repository contains the ASPC algorithm and several baseline offline RL algorithms (WPC, IQL, TD3+BC, ReBRAC, etc.).

Paper homepage: https://arxiv.org/abs/2508.19900
Venue: ICLR 2026 (Accepted)


Environment Setup

The environment dependencies are specified in environment.yml, which will create a Conda environment named mujo and install necessary packages such as d4rl.

# 1) Create and activate the environment
conda env create -f environment.yml
conda activate mujo

Running the Code

Navigate to the algorithm directory and run:

cd algorithms/offline

# Run ASPC on HalfCheetah-medium-v2
python aspc.py --env=halfcheetah-medium-v2

You can replace aspc.py with other algorithm scripts, for example:

python wpc.py --env=halfcheetah-medium-v2
python iql.py --env=hopper-medium-v2
python td3_bc.py --env=walker2d-medium-v2
python rebrac.py --env=antmaze-medium-play-v2

Similarly, replace --env with any supported D4RL environment name to train on different tasks.


Acknowledgments

This repository builds upon and references code from the following GitHub repositories:

  1. CORL
  2. wPC
  3. TorchOpt

Citation

If you find this work useful, please cite:

@misc{jing2025adaptivescalingpolicyconstraints,
  title={Adaptive Scaling of Policy Constraints for Offline Reinforcement Learning},
  author={Tan Jing and Xiaorui Li and Chao Yao and Xiaojuan Ban and Yuetong Fang and Renjing Xu and Zhaolin Yuan},
  year={2025},
  eprint={2508.19900},
  archivePrefix={arXiv},
  primaryClass={cs.LG},
  url={https://arxiv.org/abs/2508.19900}
}

License

This repository uses Apache License 2.0 for original ASPC contributions.

Some files are adapted from third-party projects and remain under their original licenses (Apache-2.0 or MIT).
See THIRD_PARTY_LICENSES and NOTICE for attribution and full third-party license texts.

About

Adaptive Scaling of Policy Constraints for Offline Reinforcement Learning(ICLR 2026)

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages