Skip to main content

Solving pathfinding problems in an explainable manner with deep learning, reinforcement learning, heuristic search, and logic

Project description

DeepXube

Tests


DeepXube (pronounced "Deep Cube") aims to solve classical planning problems in an explainable manner using deep reinforcement learning, heuristic search, and formal logic. The current project can:

  1. Train a heuristic function to estimate the cost-to-go between state/goal pairs, where a goal represents a set of states considered goal states. The representation of the goal can come in any form: i.e. a state, a set of ground atoms in first-order logic, natural language, an image/sketch, etc.
  2. Specify goals with answer set programming, a robust form of logic programming, in the case where goals are represented as a set of ground atoms in first-order logic.

DeepXube is a generalization of DeepCubeA (code,paper).

For any issues, you can create a GitHub issue or contact Forest Agostinelli (foresta@cse.sc.edu).

Overview:

Outline:

Installation

pip install deepxube

See INSTALL.md for more details

Environment

The environment includes a state object that defines states, a goal object that defines goals (a set of states considered goal states), and an environment object that generate start states, define state transitions, when a state a goal state, and the neural network that takes states as an input.

See ENVIRONMENT.md for more details

Training Heuristic Function

Once an environment has been implemented, a heuristic function can be trained to map states and goals to heuristic values (estimates of the cost-to-go from a given start state to a given goal).

See TRAIN.md for more details.

Heuristic Search

Given a trained heuristic function, a start state, and a goal, heuristic search is used to find a path from the start state to the goal.

See HEURSEARCH.md for more details.

Specifying Goals with Answer Set Programming

Coming soon.

Examples

  • Specifying Goals to Deep Neural Networks with Answer Set Programming (paper, slides, code).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepxube-0.1.6.tar.gz (61.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepxube-0.1.6-py3-none-any.whl (69.4 kB view details)

Uploaded Python 3

File details

Details for the file deepxube-0.1.6.tar.gz.

File metadata

  • Download URL: deepxube-0.1.6.tar.gz
  • Upload date:
  • Size: 61.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for deepxube-0.1.6.tar.gz
Algorithm Hash digest
SHA256 e4d8e40cab2fb7e6753866410bbba98f4f005c7c9a4188d4b5aacc469f7fe860
MD5 0118d6bf453519bbf50ed9ce3dbdc068
BLAKE2b-256 0ac63fb9d12bac6812607b7eee423c703d48780adc22a803b401719dcb556086

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepxube-0.1.6.tar.gz:

Publisher: publish_to_pypi.yml on forestagostinelli/deepxube

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deepxube-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: deepxube-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 69.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for deepxube-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1ac0e5dddeef24dc1a54462553dff09cb0726a40c3178443f9d74819e6a1e078
MD5 8e664bb5091a8a87bfbc92b18c3e7827
BLAKE2b-256 b656591c049f7ec562bbf5912f962c68fe3862ee30754dda8edc07c89e41e693

See more details on using hashes here.

Provenance

The following attestation bundles were made for deepxube-0.1.6-py3-none-any.whl:

Publisher: publish_to_pypi.yml on forestagostinelli/deepxube

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page