Python library for RAD Embeddings, provably correct latent DFA representations.
Project description
This repo contains a JAX implementation of RAD embeddings, see project webpage for more information.
Installation
This package will soon be made pip-installable and replace this version. In the meantime, pull the repo and and install locally.
git clone https://github.com/rad-dfa/rad-embeddings.git
pip install -e rad-embeddings
Usage
Instantiate pretrained encoder.
encoder = Encoder() # Creates a DFA encoder with default parameters: handles at most 10-state DFAs with 10-token alphabets
See train and test scripts for more.
Citation
Please cite the following papers if you use RAD Embeddings in your work.
@inproceedings{DBLP:conf/nips/YalcinkayaLVS24,
author = {Beyazit Yalcinkaya and
Niklas Lauffer and
Marcell Vazquez{-}Chanlatte and
Sanjit A. Seshia},
title = {Compositional Automata Embeddings for Goal-Conditioned Reinforcement
Learning},
booktitle = {NeurIPS},
year = {2024}
}
@inproceedings{DBLP:conf/neus/YalcinkayaLVS25,
author = {Beyazit Yalcinkaya and
Niklas Lauffer and
Marcell Vazquez{-}Chanlatte and
Sanjit A. Seshia},
title = {Provably Correct Automata Embeddings for Optimal Automata-Conditioned
Reinforcement Learning},
booktitle = {NeuS},
series = {Proceedings of Machine Learning Research},
volume = {288},
pages = {661--675},
publisher = {{PMLR}},
year = {2025}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rad_embeddings-0.2.0.tar.gz.
File metadata
- Download URL: rad_embeddings-0.2.0.tar.gz
- Upload date:
- Size: 3.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52478667f65dc27571c4ef1ecac8e6c329794fea0c5aad34a2273f41b63d67ae
|
|
| MD5 |
743eecd9f42837199f04d0ef6f940638
|
|
| BLAKE2b-256 |
589bd60b0d19fe9f6de5141053d5f0a920abc3735cf7678580abb59e29ebb33a
|
File details
Details for the file rad_embeddings-0.2.0-py3-none-any.whl.
File metadata
- Download URL: rad_embeddings-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
396c46ce77f4e02220ecabe24a4144c112310b98a43539722cc2c734a18cef17
|
|
| MD5 |
c514780d43a0c747d5f8cc8583f19079
|
|
| BLAKE2b-256 |
46dccee3452c2cd30223cb03f4d57fd69f5f4867b9b3a128a9927689e1242d8d
|