Coder Social home page Coder Social logo

lsgvp's Introduction

LSGVP: Value-Based Subgoal Discovery and Path Planning for Reaching Long-Horizon Goals.

This is the official code for the following paper published in IEEE Transactions on Neural Networks and Learning Systems (TNNLS), 2023: Value-Based Subgoal Discovery and Path Planning for Reaching Long-Horizon Goals

This work addresses the challenge of training autonomous agents to reach long-horizon goals in spatial traversal tasks. It introduces a novel planning method called "Learning Subgoal Graph using Value-based Subgoal Discovery and Automatic Pruning" (LSGVP). Unlike existing methods, LSGVP uses a subgoal discovery heuristic based on cumulative reward, resulting in sparse subgoals that align with higher cumulative reward paths. Additionally, LSGVP includes an automatic pruning mechanism to remove erroneous connections between subgoals, particularly those across obstacles. As a result, LSGVP outperforms other methods in terms of achieving higher cumulative rewards and goal-reaching success rates in spatial traversal tasks.

Dependencies

Python >= 3.5.0

tensorflow==2.1.0

tf-agents==0.4.0

tensorflow-probability==0.9.0

End-to-end training and testing

In end-to-end training and testing, the following three phases are executed in the same proram run:

  1. Pre-training of RL agent policy and universal Q-value function (defined in agent.py, actor_critic.py, and train_agent.py).
  2. Subgoal graph learning and pruning using the universal Q-value function learned in phase 1 (refer to LSGVP.py).
  3. Testing using various long-horizon goals, using the learned RL agent and subgoal graph (refer to test_goalseeking.py).

Running the end-to-end program is very simple, just call python main.py

The file main.py contains the parameters/arguments and calls to training, subgoal graph construction, and testing functions.

lsgvp's People

Contributors

spateria avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.