Skip to main content

MORALS: Morse Graph-aided discovery of Regions of Attraction in a learned Latent Space

Project description

MORALS: Morse Graph-aided discovery of Regions of Attraction in a learned Latent Space

Ewerton R. Vieira*, Aravind Sivaramakrishnan*, Sumanth Tangirala, Edgar Granados, Konstantin Mischaikow, Kostas E. Bekris

2024 IEEE International Conference on Robotics and Automation (ICRA), 2024. Best Paper Award in Automation finalist.

Introduction

MORALS combines autoencoding neural networks with Morse Graphs. It first projects the dynamics of the controlled system into a learned latent space. Then, it constructs a reduced form of Morse Graphs representing the bistability of the underlying dynamics, i.e., detecting when the controller results in a desired versus an undesired behavior.

alt text

Installation

pip install MORALS

Usage

Reproduce experiments from the paper

  1. Download the Pendulum (LQR) dataset or Other Robot Controllers.
  2. Extract and place it inside examples/data/. There should be a directory pendulum_lqr1k and a labels file pendulum_lqr1k_success.txt.
  3. Train the autoencoder and latent dynamics networks: python train.py --config pendulum_lqr.txt.
  4. Obtain the Morse Graph and the Regions of Attraction (RoAs) for the learned latent space dynamics: python get_MG_RoA.py --config pendulum_lqr.txt --name_out pendulum_lqr --RoA --sub 16.

Try out MORALS on your own dataset (WIP)

  1. Add a Python class corresponding to your system to MORALS/systems/. At the very least, you must provide a name for your system so that its corresponding object can be returned by MORALS.systems.utils.get_system().
  2. Generate a config file for your system and place it inside examples/config/. You can follow the format of the example config files provided.
  3. Follow the steps above to train the autoencoder and latent dynamics networks using your custom config file, and then obtain the Morse Graph and the RoAs.

Bibtex

If you find this repository useful in your work, please consider citing:

@inproceedings{morals2024,
    title={{\tt MORALS}: Analysis of High-Dimensional Robot Controllers via Topological Tools in a Latent Space}, 
    author={Ewerton R. Vieira* and Aravind Sivaramakrishnan* and Sumanth Tangirala and Edgar Granados and Konstantin Mischaikow and Kostas E. Bekris},
    booktitle={ICRA},
    year={2024},
}

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

morals-0.1.4.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

MORALS-0.1.4-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file morals-0.1.4.tar.gz.

File metadata

  • Download URL: morals-0.1.4.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for morals-0.1.4.tar.gz
Algorithm Hash digest
SHA256 167cc829406923bcb9890ccee7ab2216e51fb0c781dd2be279934df500f40f81
MD5 46b0e18e2bd9ef2cb4f04ea13587b8c3
BLAKE2b-256 8ab42b178bbf57123bcb18fc3d0c1b1864c7911e8f8bd3c4ff8cd70d2eee1793

See more details on using hashes here.

File details

Details for the file MORALS-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: MORALS-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.6

File hashes

Hashes for MORALS-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 69fe039c0dc4f0bef83b8ed12ebd1c21a7fb557561628bbd547fd57c12e98030
MD5 417f0a24d4d286edf2b9c04bbae7f57c
BLAKE2b-256 28c2ccd4dbfe1635f988b6c2b09dab0f3d1d93ad33fc9b9382ad9cb223d12dc0

See more details on using hashes here.

Supported by

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