An open API service indexing awesome lists of open source software.

https://github.com/tnfru/unsupervised-on-policy

Self supervised reward function + Phasic Policy Gradient
https://github.com/tnfru/unsupervised-on-policy

deep-reinforcement-learning reinforcement-learning self-supervised-learning unsupervised-learning unsupervised-reinforcement-learning

Last synced: about 1 month ago
JSON representation

Self supervised reward function + Phasic Policy Gradient

Awesome Lists containing this project

README

          

# Unsupervised On-Policy Reinforcement Learning

This work combines [Active Pre-Training](https://arxiv.org/abs/2103.04551) with an On-Policy algorithm, [Phasic Policy Gradient](https://arxiv.org/abs/2009.04416).

## Active Pre-Training

Is used to pre-train a model free algorithm before defining a downstream task. It calculates the reward based on an estimatie of the particle based entropy of states. This reduces the training time if you want to define various tasks - i.e. robots for a warehouse.

## Phasic Policy Gradient

Improved Version of Proximal Policy Optimization, which uses auxiliary epochs to train shared representations between the policy and a value network.

## Installation

Install via pip `pip install unsupervised-on-policy`.
Configure by changing values in the config at `run_train.py`.

## Run

Supports the key words `load` `skip_pretrain` and `model_path`.
Example usage:

`python3 -m unsupervised_on_policy.run_train --skip_pretrain --prefix test
--model_path /home/lars/apt_ppg`