icaml

Code for the paper "Discovering User-Interpretable Capabilities of Black-Box Planning Agents". KR 2022.

https://github.com/aair-lab/icaml

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.9%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Code for the paper "Discovering User-Interpretable Capabilities of Black-Box Planning Agents". KR 2022.

Basic Info
  • Host: GitHub
  • Owner: AAIR-lab
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 50.4 MB
Statistics
  • Stars: 2
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created almost 4 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

Interactive Capability Model Learning (iCaML)

This repository contains the code for the following paper:

Discovering User-Interpretable Capabilities of Black-Box Planning Agents.
Pulkit Verma, Shashank Rao Marpally, Siddharth Srivastava.
Proceedings of the 19th International Conference on Principles of Knowledge Representation and Reasoning, 2022.

Paper | Video | Slides

Directory Structure

|-- dependencies/ | |-- FF/ | |-- pddlgym/ | |-- VAL/ |-- gvg_agents/ |-- src/ | |-- agent.py | |-- config.py | |-- post_processing.py | |-- main.py | |-- interrogation/ | |-- lattice/ | |-- query/ | |-- sim/ | |-- utils/ |-- README.md

  • dependencies: This directory includes the external software used to run the code. This includes FF, VAL, and PDDLGym.

    • FF: https://fai.cs.uni-saarland.de/hoffmann/ff/FF-v2.3.tgz
    • PDDLGym: https://github.com/tomsilver/pddlgym
    • VAL: https://github.com/KCL-Planning/VAL
  • dependencies: Place all the domains in this directory. There must be a directory for each domain containing:

    • domain.pddl (domain file for that domain), and
    • instances directory containing the problem files for that domain.
  • gvg_agents: This has domain specific data including some results.

  • src: This directory stores the source code for iCaML. It contains 4 files:

    • agent.py: Contains the agent code.
    • config.py: Declares the configuration parameters.
    • post_processing.py: Post Processing code for the learned pddl.
    • main.py : Contains the main driver code which runs the code end-to-end.

src also contains code structured into following sub-directories: - interrogation: Contains the iCaML code. - lattice: Contains the model and lattice classes. - query: Contains the plan outcome query code. - sim: Simulator specific code. Contains a separate agent file for each simulator domain. - utils: Contains general utilities.

Configuration

Configuration parameters are set in src/config.py

  • FFPATH and VALPATH stores relative path of FF and VAL respectively.
  • PLANNER specifies which planner to use. Set it to FF only.

How to Run

  1. Install the required software pip3 install -r requirements.txt
  2. Download FF, FD, and VAL and place in dependencies directory. Compile FF and FD.

  3. Run main.py cd src python3 main.py

Please note that this is research code and not yet ready for public delivery, hence most parts are not documented.

In case you encounter any issues or bugs, please email verma.pulkit@asu.edu

Citation

@inproceedings{verma2022discovering, author = {Verma, Pulkit and Marpally, Shashank Rao and Srivastava, Siddharth}, title = {Discovering User-Interpretable Capabilities of Black-Box Planning Agents}, booktitle = {Proceedings of the 19th International Conference on Principles of Knowledge Representation and Reasoning}, year = {2022} }

Owner

  • Name: Autonomous Agents and Intelligent Robots
  • Login: AAIR-lab
  • Kind: organization
  • Location: ASU

ASU research group focusing on well-founded and reliable assistive AI systems

GitHub Events

Total
Last Year

Dependencies

dependencies/pddlgym/requirements.txt pypi
  • gym *
  • imageio *
  • matplotlib *
  • pillow *
requirements.txt pypi
  • Cython ==0.29.21
  • Pillow ==7.1.2
  • cv-bridge ==1.12.8
  • gym ==0.17.1
  • imageio ==2.8.0
  • imutils ==0.5.3
  • matplotlib ==3.2.1
  • numpy ==1.18.3
  • opencv-contrib-python ==4.2.0.34
  • opencv-python ==4.2.0.34
  • opencv-python-headless ==4.2.0.34
  • pickleshare ==0.7.5
  • scikit-image ==0.17.2
  • scipy ==1.4.1